From 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/groupwise/soap/GroupWiseBinding.nsmap | 14 + kresources/groupwise/soap/Makefile.am | 47 + kresources/groupwise/soap/README | 26 + kresources/groupwise/soap/contactconverter.cpp | 632 + kresources/groupwise/soap/contactconverter.h | 54 + kresources/groupwise/soap/events.xsd | 313 + kresources/groupwise/soap/extractxml.pl | 57 + kresources/groupwise/soap/fixup_groupwise.h.pl | 60 + kresources/groupwise/soap/groupwise.wsdl | 2081 + kresources/groupwise/soap/groupwiseserver.cpp | 1640 + kresources/groupwise/soap/groupwiseserver.h | 246 + kresources/groupwise/soap/gwconverter.cpp | 171 + kresources/groupwise/soap/gwconverter.h | 64 + kresources/groupwise/soap/gwjobs.cpp | 733 + kresources/groupwise/soap/gwjobs.h | 133 + kresources/groupwise/soap/incidenceconverter.cpp | 820 + kresources/groupwise/soap/incidenceconverter.h | 76 + kresources/groupwise/soap/ksslsocket.cpp | 408 + kresources/groupwise/soap/ksslsocket.h | 60 + kresources/groupwise/soap/methods.xsd | 1429 + kresources/groupwise/soap/patches/README | 32 + .../groupwise/soap/patches/broken_namespace.diff | 20 + kresources/groupwise/soap/patches/socklen.diff | 28 + kresources/groupwise/soap/patches/type_typo.diff | 15 + .../groupwise/soap/patches/utf8_entities.diff | 15 + kresources/groupwise/soap/soapC.cpp | 96391 +++++++++++++++++++ kresources/groupwise/soap/soapClient.cpp | 4162 + .../groupwise/soap/soapGroupWiseBindingProxy.h | 114 + kresources/groupwise/soap/soapH.h | 9201 ++ kresources/groupwise/soap/soapStub.h | 8923 ++ kresources/groupwise/soap/soapdebug.cpp | 175 + kresources/groupwise/soap/stdsoap2.cpp | 12554 +++ kresources/groupwise/soap/stdsoap2.h | 1952 + kresources/groupwise/soap/stl.h | 43 + kresources/groupwise/soap/stldeque.h | 41 + kresources/groupwise/soap/stllist.h | 41 + kresources/groupwise/soap/stlset.h | 41 + kresources/groupwise/soap/stlvector.h | 41 + kresources/groupwise/soap/typemap.dat | 143 + kresources/groupwise/soap/types.xsd | 1782 + 40 files changed, 144778 insertions(+) create mode 100644 kresources/groupwise/soap/GroupWiseBinding.nsmap create mode 100644 kresources/groupwise/soap/Makefile.am create mode 100644 kresources/groupwise/soap/README create mode 100644 kresources/groupwise/soap/contactconverter.cpp create mode 100644 kresources/groupwise/soap/contactconverter.h create mode 100644 kresources/groupwise/soap/events.xsd create mode 100755 kresources/groupwise/soap/extractxml.pl create mode 100755 kresources/groupwise/soap/fixup_groupwise.h.pl create mode 100644 kresources/groupwise/soap/groupwise.wsdl create mode 100644 kresources/groupwise/soap/groupwiseserver.cpp create mode 100644 kresources/groupwise/soap/groupwiseserver.h create mode 100644 kresources/groupwise/soap/gwconverter.cpp create mode 100644 kresources/groupwise/soap/gwconverter.h create mode 100644 kresources/groupwise/soap/gwjobs.cpp create mode 100644 kresources/groupwise/soap/gwjobs.h create mode 100644 kresources/groupwise/soap/incidenceconverter.cpp create mode 100644 kresources/groupwise/soap/incidenceconverter.h create mode 100644 kresources/groupwise/soap/ksslsocket.cpp create mode 100644 kresources/groupwise/soap/ksslsocket.h create mode 100644 kresources/groupwise/soap/methods.xsd create mode 100644 kresources/groupwise/soap/patches/README create mode 100644 kresources/groupwise/soap/patches/broken_namespace.diff create mode 100644 kresources/groupwise/soap/patches/socklen.diff create mode 100644 kresources/groupwise/soap/patches/type_typo.diff create mode 100644 kresources/groupwise/soap/patches/utf8_entities.diff create mode 100644 kresources/groupwise/soap/soapC.cpp create mode 100644 kresources/groupwise/soap/soapClient.cpp create mode 100644 kresources/groupwise/soap/soapGroupWiseBindingProxy.h create mode 100644 kresources/groupwise/soap/soapH.h create mode 100644 kresources/groupwise/soap/soapStub.h create mode 100644 kresources/groupwise/soap/soapdebug.cpp create mode 100644 kresources/groupwise/soap/stdsoap2.cpp create mode 100644 kresources/groupwise/soap/stdsoap2.h create mode 100644 kresources/groupwise/soap/stl.h create mode 100644 kresources/groupwise/soap/stldeque.h create mode 100644 kresources/groupwise/soap/stllist.h create mode 100644 kresources/groupwise/soap/stlset.h create mode 100644 kresources/groupwise/soap/stlvector.h create mode 100644 kresources/groupwise/soap/typemap.dat create mode 100644 kresources/groupwise/soap/types.xsd (limited to 'kresources/groupwise/soap') diff --git a/kresources/groupwise/soap/GroupWiseBinding.nsmap b/kresources/groupwise/soap/GroupWiseBinding.nsmap new file mode 100644 index 000000000..b07dd5bb4 --- /dev/null +++ b/kresources/groupwise/soap/GroupWiseBinding.nsmap @@ -0,0 +1,14 @@ + +#include "soapH.h" +SOAP_NMAC struct Namespace namespaces[] = +{ + {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL}, + {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL}, + {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL}, + {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL}, + {"ngwt", "http://schemas.novell.com/2005/01/GroupWise/types", NULL, NULL}, + {"ngwm", "http://schemas.novell.com/2005/01/GroupWise/methods", NULL, NULL}, + {"ngw", "http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl", NULL, NULL}, + {"ngwe", "http://schemas.novell.com/2005/01/GroupWise/events", NULL, NULL}, + {NULL, NULL, NULL, NULL} +}; diff --git a/kresources/groupwise/soap/Makefile.am b/kresources/groupwise/soap/Makefile.am new file mode 100644 index 000000000..d0793429c --- /dev/null +++ b/kresources/groupwise/soap/Makefile.am @@ -0,0 +1,47 @@ +INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/groupwise $(all_includes) + +#AM_CPPFLAGS = -DDEBUG +KDE_CXXFLAGS = -Wno-non-virtual-dtor + +check_PROGRAMS = soapdebug + +soapdebug_LDFLAGS = $(all_libraries) $(KDE_RPATH) +soapdebug_LDADD = libgwsoap.la -lkdecore \ + $(top_builddir)/libkcal/libkcal.la \ + $(top_builddir)/libkdepim/libkdepim.la +soapdebug_SOURCES = soapdebug.cpp + +lib_LTLIBRARIES = libgwsoap.la + +libgwsoap_la_SOURCES = contactconverter.cpp gwconverter.cpp incidenceconverter.cpp \ + groupwiseserver.cpp gwjobs.cpp ksslsocket.cpp \ + soapC.cpp soapClient.cpp stdsoap2.cpp +libgwsoap_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined +libgwsoap_la_LIBADD = $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libkdepim/libkdepim.la + +# the following rule does: +# make a header file from the wsdl +# remove ns1__ prefixes from generated functions +# create the stubs from the header +# rename any 'delete' method declarations +# rename any 'delete' method invocations +# rename any 'new' method decls +# rename any 'new' method invocations + +# do not just set "srcdir=." here, it breaks when building with srcdir!=builddir +# srcdir = . + +stubs: groupwise.wsdl + wsdl2h -e -o $(srcdir)/groupwise.h $(srcdir)/groupwise.wsdl -t $(srcdir)/typemap.dat + cd $(srcdir); ./fixup_groupwise.h.pl --inplace + soapcpp2 -d $(srcdir) -I$(srcdir) $(srcdir)/groupwise.h + sed -e 's,*delete\([^d]\),*_delete\1,' $(srcdir)/soapStub.h > $(srcdir)/soapStub.h_ + mv $(srcdir)/soapStub.h_ $(srcdir)/soapStub.h + sed -e 's,->delete\([^d]\),->_delete\1,' $(srcdir)/soapC.cpp > $(srcdir)/soapC.cpp_ + mv $(srcdir)/soapC.cpp_ $(srcdir)/soapC.cpp + sed -e 's,*new\([^d]\),*_new\1,' $(srcdir)/soapStub.h > $(srcdir)/soapStub.h_ + mv $(srcdir)/soapStub.h_ $(srcdir)/soapStub.h + sed -e 's,->new\([^d]\),->_new\1,' $(srcdir)/soapC.cpp > $(srcdir)/soapC.cpp_ + mv $(srcdir)/soapC.cpp_ $(srcdir)/soapC.cpp + +METASOURCES = AUTO diff --git a/kresources/groupwise/soap/README b/kresources/groupwise/soap/README new file mode 100644 index 000000000..0ba493827 --- /dev/null +++ b/kresources/groupwise/soap/README @@ -0,0 +1,26 @@ +This directory contains the bindings for the Groupwise SOAP interface. They +consist of generated binding classes and the classes encapsulating +the SOAP for use by KDE programs. + +The bindings are generated with gSoap 2.7.0d (see +http://www.cs.fsu.edu/~engelen/soap.html) from the WSDL description in the file +groupwise.wsdl. Generate the stub classes and +interface implementations by calling "make stubs". The gSoap binaries have to be +in your PATH for this. + +FIXME: The generated code produces lots of compiler warnings. They should be +properly fixed as "[t]he generated code is not safe, so the warnings are correct, +even if we currently use it in a way which works." (Cornelius Schumacher) + +*) "Validation constraint violation: data type mismatch in element " + +is caused by gSoap's inablity to parse gwt:security tags, creating a spurious error. It can be fixed by editing soapC.cpp by hand and changing soap_s2ngwt__ItemSecurity(), at about lines +12490 in the generated code, + +Comment out the s2QName call and change the last param to soap_code to s +//soap_s2QName(soap, s, &t); +map = soap_code(soap_codes_ngwt__ItemSecurity, s); + +*) "delete" in generated code. + +The GroupWise WSDL uses the reserved word "delete" in two contexts. gSOAP is not smart enough to catch this and rewrite it, so you have to do this by hand. AgeAction and DeltaSyncType are the two types affected by this, so make sure you are consistent in renaming them. There is a sed call in Makefile.am/stubs but this does not catch all cases. diff --git a/kresources/groupwise/soap/contactconverter.cpp b/kresources/groupwise/soap/contactconverter.cpp new file mode 100644 index 000000000..a971e56a1 --- /dev/null +++ b/kresources/groupwise/soap/contactconverter.cpp @@ -0,0 +1,632 @@ +/* + This file is part of kdepim. + Copyright (c) 2004 Tobias Koenig + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include "contactconverter.h" + +#include +#include + +ContactConverter::ContactConverter( struct soap* soap ) + : GWConverter( soap ) +{ +} + +ngwt__Contact* ContactConverter::convertToContact( const KABC::Addressee &addr ) +{ + if ( addr.isEmpty() ) + return 0; + + ngwt__Contact* contact = soap_new_ngwt__Contact( soap(), -1 ); + + // ngwt__Contact + contact->fullName = 0; + contact->emailList = 0; + contact->imList = 0; + contact->addressList = 0; + contact->officeInfo = 0; + contact->personalInfo = 0; + contact->referenceInfo = 0; + // ngwt__AddressBookItem + contact->uuid = 0; + contact->comment = 0; + contact->sync = 0; + contact->domain = 0; + contact->postOffice = 0; + contact->distinguishedName = 0; + contact->userid = 0; + // ngwt__ContainerItem + contact->categories = 0; + contact->created = 0; + contact->customs = 0; + // ngwt__contact + contact->id = 0; + contact->name = 0; + contact->version = 0; + contact->modified = 0; + contact->changes = 0; + + // Uid + contact->id = qStringToString( addr.custom( "GWRESOURCE", "UID" ) ); + + // Container + if ( !addr.custom( "GWRESOURCE", "CONTAINER" ).isEmpty() ) { + std::vector* container = soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef( soap(), -1 ); + ngwt__ContainerRef* containerRef = soap_new_ngwt__ContainerRef( soap(), -1 ); + containerRef->deleted = 0; + containerRef->__item = addr.custom( "GWRESOURCE", "CONTAINER" ).utf8(); + container->push_back( containerRef ); + + contact->container = *container; + } + + // Name parts + ngwt__FullName* fullName = soap_new_ngwt__FullName( soap(), -1 ); + fullName->displayName = 0; + fullName->namePrefix = 0; + fullName->firstName = 0; + fullName->middleName = 0; + fullName->lastName = 0; + fullName->nameSuffix = 0; + + if ( !addr.formattedName().isEmpty() ) + fullName->displayName = qStringToString( addr.formattedName() ); + + if ( !addr.prefix().isEmpty() ) + fullName->namePrefix = qStringToString( addr.prefix() ); + + if ( !addr.givenName().isEmpty() ) + fullName->firstName = qStringToString( addr.givenName() ); + + if ( !addr.additionalName().isEmpty() ) + fullName->middleName = qStringToString( addr.additionalName() ); + + if ( !addr.familyName().isEmpty() ) + fullName->lastName = qStringToString( addr.familyName() ); + + if ( !addr.suffix().isEmpty() ) + fullName->nameSuffix = qStringToString( addr.suffix() ); + + contact->fullName = fullName; + + // Emails + if ( !addr.emails().isEmpty() ) { + ngwt__EmailAddressList* emailList = soap_new_ngwt__EmailAddressList( soap(), -1 ); + std::vector* list = soap_new_std__vectorTemplateOfstd__string( soap(), -1 ); + + QStringList emails = addr.emails(); + emailList->primary = qStringToString( emails.first() ); + + QStringList::Iterator it; + for ( it = emails.begin(); it != emails.end(); ++it ) + list->push_back( std::string( (*it).utf8() ) ); + + emailList->email = *list; + contact->emailList = emailList; + } else + contact->emailList = 0; + + // Phone numbers + if ( !addr.phoneNumbers().isEmpty() ) { + ngwt__PhoneList* phoneList = soap_new_ngwt__PhoneList( soap(), -1 ); + phoneList->default_ = 0; + std::vector *list = soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber( soap(), -1 ); + + KABC::PhoneNumber::List phones = addr.phoneNumbers(); + KABC::PhoneNumber::List::Iterator it; + for ( it = phones.begin(); it != phones.end(); ++it ) { + ngwt__PhoneNumber* number = convertPhoneNumber( *it ); + if ( number ) { + list->push_back( number ); + + // if preferred number assign it + if ( (*it).type() & KABC::PhoneNumber::Pref ) + phoneList->default_ = qStringToString( (*it).number() ); + } + } + + phoneList->phone = *list; + contact->phoneList = phoneList; + } else + contact->phoneList = 0; + + // Addresses + if ( !addr.addresses().isEmpty() ) { + ngwt__PostalAddressList* addressList = soap_new_ngwt__PostalAddressList( soap(), -1 ); + std::vector *list = soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress( soap(), -1 ); + + KABC::Address::List addresses = addr.addresses(); + KABC::Address::List::Iterator it; + for ( it = addresses.begin(); it != addresses.end(); ++it ) { + ngwt__PostalAddress* address = convertPostalAddress( *it ); + if ( address ) + list->push_back( address ); + } + + addressList->address = *list; + contact->addressList = addressList; + } else + contact->addressList = 0; + + // IM addresses + { + contact->imList = convertImAddresses( addr ); + } + + // Office information + { + ngwt__OfficeInfo* info = soap_new_ngwt__OfficeInfo( soap(), -1 ); + + // TODO: write back organization? + + if ( !addr.custom( "KADDRESSBOOK", "X-Department" ).isEmpty() ) + info->department = qStringToString( addr.custom( "KADDRESSBOOK", "X-Department" ) ); + else + info->department = 0; + + if ( !addr.title().isEmpty() ) + info->title = qStringToString( addr.title() ); + else + info->title = 0; + + if ( !addr.url().isEmpty() ) + info->website = qStringToString( addr.url().url() ); + else + info->website = 0; + + info->organization = 0; + + contact->officeInfo = info; + } + + // Personal information + { + ngwt__PersonalInfo* info = soap_new_ngwt__PersonalInfo( soap(), -1 ); + + if ( addr.birthday().isValid() ) + info->birthday = qDateToString( addr.birthday().date() ); + else + info->birthday = 0; + + // don't write back the web site here, otherwise we'll have it twice + info->website = 0; + + contact->personalInfo = info; + } + + return contact; +} + +KABC::Addressee ContactConverter::convertFromAddressBookItem( ngwt__AddressBookItem * addrBkItem ) +{ + //kdDebug() << "ContactConverter::convertFromAddressBookItem()" << endl; + KABC::Addressee addr; + if ( !addrBkItem ) + { + kdDebug() << "Null AddressBookItem, bailing out!" << endl; + return addr; + } + // gwt:Item + addr.insertCustom( "GWRESOURCE", "UID", stringToQString( addrBkItem->id ) ); + addr.setFormattedName( stringToQString( addrBkItem->name ) ); + // gwt::AddressBookItem + addr.insertCustom( "GWRESOURCE", "UUID", stringToQString( addrBkItem->uuid ) ); + addr.setNote( stringToQString( addrBkItem->comment ) ); + + return addr; +} + +KABC::Addressee ContactConverter::convertFromResource( ngwt__Resource* resource ) +{ + //kdDebug() << "ContactConverter::convertFromResource()" << endl; + KABC::Addressee addr = convertFromAddressBookItem( resource ); + if ( !resource ) + { + kdDebug() << "Null Resource, bailing out!" << endl; + return addr; + } + if ( resource->phone ) + addr.insertPhoneNumber( KABC::PhoneNumber( stringToQString( resource->phone ), KABC::PhoneNumber::Work ) ); + if ( resource->email ) + addr.insertEmail( stringToQString( resource->email ), true ); + if ( resource->owner ) + addr.insertCustom( "KADDRESSBOOK", "X-ManagersName", stringToQString( resource->owner->__item ) ); + + addr.insertCategory( i18n( "Resource" ) ); + return addr; +} + +KABC::Addressee ContactConverter::convertFromGroup( ngwt__Group* group) +{ +// kdDebug() << "ContactConverter::convertFromGroup()" << endl; + KABC::Addressee addr = convertFromAddressBookItem( group ); + if ( !group ) + { + kdDebug() << "Null Resource, bailing out!" << endl; + return addr; + } + addr.insertCategory( i18n( "Group" ) ); + return addr; +} + +KABC::Addressee ContactConverter::convertFromContact( ngwt__Contact* contact ) +{ +// kdDebug() << "ContactConverter::convertFromContact()" << endl; + + KABC::Addressee addr = convertFromAddressBookItem( contact ); + + if ( !contact ) + { + kdDebug() << "Null Contact, bailing out!" << endl; + return addr; + } + + // Name parts + ngwt__FullName* fullName = contact->fullName; + + if ( fullName ) { + if ( fullName->displayName ) + addr.setFormattedName( stringToQString( fullName->displayName ) ); + else + addr.setFormattedName( QString::null ); + + if ( fullName->namePrefix ) + addr.setPrefix( stringToQString( fullName->namePrefix ) ); + + if ( fullName->firstName ) + addr.setGivenName( stringToQString( fullName->firstName ) ); + + if ( fullName->middleName ) + addr.setAdditionalName( stringToQString( fullName->middleName ) ); + + if ( fullName->lastName ) + addr.setFamilyName( stringToQString( fullName->lastName ) ); + + if ( fullName->nameSuffix ) + addr.setSuffix( stringToQString( fullName->nameSuffix ) ); + } + + // Emails + if ( contact->emailList ) { + QStringList emails; + + if ( contact->emailList->primary ) + emails.append( stringToQString( contact->emailList->primary ) ); + + if ( !contact->emailList->email.empty() ) { + std::vector list = contact->emailList->email; + std::vector::const_iterator it; + for ( it = list.begin(); it != list.end(); ++it ) { + if ( emails.find( stringToQString( *it ) ) == emails.end() ) + emails.append( stringToQString( *it ) ); + } + } + + if ( emails.count() ) + addr.setEmails( emails ); + } + + // Phone numbers + if ( contact->phoneList && !contact->phoneList->phone.empty() ) { + QString defaultNumber = stringToQString( contact->phoneList->default_ ); + + std::vector list = contact->phoneList->phone; + std::vector::const_iterator it; + for ( it = list.begin(); it != list.end(); ++it ) { + KABC::PhoneNumber phone = convertPhoneNumber( *it ); + if ( !phone.number().isEmpty() ) { + if ( phone.number() == defaultNumber ) + phone.setType( phone.type() | KABC::PhoneNumber::Pref ); + addr.insertPhoneNumber( phone ); + } + } + } + + // Addresses + if ( contact->addressList && !contact->addressList->address.empty() ) { + std::vector list = contact->addressList->address; + std::vector::const_iterator it; + for ( it = list.begin(); it != list.end(); ++it ) { + KABC::Address address = convertPostalAddress( *it ); + if ( !address.isEmpty() ) + addr.insertAddress( address ); + } + } + + // Office information + if ( contact->officeInfo ) { + ngwt__OfficeInfo* info = contact->officeInfo; + + if ( info->organization ) + addr.setOrganization( stringToQString( info->organization->__item ) ); + + if ( info->department ) + addr.insertCustom( "KADDRESSBOOK", "X-Department", stringToQString( info->department ) ); + + if ( info->title ) + addr.setTitle( stringToQString( info->title ) ); + + if ( info->website ) + addr.setUrl( KURL( stringToQString( info->website ) ) ); + } + + // Personal information + if ( contact->personalInfo ) { + ngwt__PersonalInfo* info = contact->personalInfo; + + if ( info->birthday ) { + QDate date = stringToQDate( info->birthday ); + if ( date.isValid() ) + addr.setBirthday( date ); + } + + if ( info->website ) // we might overwrite the office info website here... :( + addr.setUrl( KURL( stringToQString( info->website ) ) ); + } + + // IM addresses + if ( contact->imList ) { + // put all the im addresses on the same service into the same qstringlist + QMap addressMap; + std::vector list = contact->imList->im; + std::vector::const_iterator it; + for ( it = list.begin(); it != list.end(); ++it ) { + QStringList addressesForService = addressMap[ stringToQString( (*it)->service ) ]; + addressesForService.append( stringToQString( (*it)->address ) ); + addressMap.insert( stringToQString( (*it)->service ), addressesForService ); + } + + // then construct a custom field from each qstringlist + QMap::Iterator addrIt; + for ( addrIt = addressMap.begin(); addrIt != addressMap.end(); ++addrIt ) + { + QString protocol = addrIt.key(); + QStringList addresses = addrIt.data(); + //kdDebug() << "got IM addresses for '" << protocol << "' : " << addresses << endl; + // TODO: map protocol to KDE's set of known protocol names (need to know the set of services in use elsewhere) + if ( protocol == "nov" ) + protocol = "groupwise"; + addr.insertCustom( QString::fromLatin1("messaging/%1").arg( protocol ), + QString::fromLatin1( "All" ), + addresses.join( QChar( 0xE000 ) ) ); + } + } + + // addressbook delta sync info + if ( contact->sync ) + { + if ( *contact->sync == add ) + addr.insertCustom( "GWRESOURCE", "SYNC", "ADD" ); + else if ( *contact->sync == delete_ ) + addr.insertCustom( "GWRESOURCE", "SYNC", "DEL" ); + else if ( *contact->sync == update ) + addr.insertCustom( "GWRESOURCE", "SYNC", "UPD" ); + } + //kdDebug() << "Got the following addressee: " << endl; + //addr.dump(); + //kdDebug() << "Customs are: " << addr.customs() << endl; + + return addr; +} + +KABC::PhoneNumber ContactConverter::convertPhoneNumber( ngwt__PhoneNumber *phone ) const +{ + KABC::PhoneNumber phoneNumber; + + if ( !phone ) + return phoneNumber; + + phoneNumber.setNumber( stringToQString( phone->__item ) ); + if ( phone->type == Fax ) { + phoneNumber.setType( KABC::PhoneNumber::Fax ); + } else if ( phone->type == Home ) { + phoneNumber.setType( KABC::PhoneNumber::Home ); + } else if ( phone->type == Mobile ) { + phoneNumber.setType( KABC::PhoneNumber::Cell ); + } else if ( phone->type == Office ) { + phoneNumber.setType( KABC::PhoneNumber::Work ); + } else if ( phone->type == Pager ) { + phoneNumber.setType( KABC::PhoneNumber::Pager ); + } else { + // should never been reached, phone numbers have always a type set... + } + + return phoneNumber; +} + +ngwt__PhoneNumber* ContactConverter::convertPhoneNumber( const KABC::PhoneNumber &number ) const +{ + if ( number.number().isEmpty() ) + return 0; + + ngwt__PhoneNumber* phoneNumber = soap_new_ngwt__PhoneNumber( soap(), -1 ); + phoneNumber->__item = number.number().utf8(); + + if ( number.type() & KABC::PhoneNumber::Fax ) { + phoneNumber->type = Fax; + } else if ( number.type() == KABC::PhoneNumber::Home ) { + phoneNumber->type = Home; + } else if ( number.type() & KABC::PhoneNumber::Cell ) { + phoneNumber->type = Mobile; + } else if ( number.type() == KABC::PhoneNumber::Work ) { + phoneNumber->type = Office; + } else if ( number.type() & KABC::PhoneNumber::Pager ) { + phoneNumber->type = Pager; + } else { + // TODO: cache unsupported types + } + + return phoneNumber; +} + +KABC::Address ContactConverter::convertPostalAddress( ngwt__PostalAddress *addr ) const +{ + KABC::Address address; + + if ( !addr ) + return address; + + if ( addr->streetAddress ) + address.setStreet( stringToQString( addr->streetAddress ) ); + + if ( addr->location ) + address.setExtended( stringToQString( addr->location ) ); + + if ( addr->city ) // isn't city the same like location? + address.setLocality( stringToQString( addr->city ) ); + + if ( addr->state ) + address.setRegion( stringToQString( addr->state ) ); + + if ( addr->postalCode ) + address.setPostalCode( stringToQString( addr->postalCode ) ); + + if ( addr->country ) + address.setCountry( stringToQString( addr->country ) ); + + if ( addr->type == Home_ ) { + address.setType( KABC::Address::Home ); + } else if ( addr->type == Office_ ) { + address.setType( KABC::Address::Work ); + } else { + // should never been reached, addresses have always a type set... + } + + return address; +} + +ngwt__PostalAddress* ContactConverter::convertPostalAddress( const KABC::Address &address ) +{ + if ( address.isEmpty() ) + return 0; + + ngwt__PostalAddress* postalAddress = soap_new_ngwt__PostalAddress( soap(), -1 ); + + postalAddress->description = 0; + + if ( !address.street().isEmpty() ) + postalAddress->streetAddress = qStringToString( address.street() ); + else + postalAddress->streetAddress = 0; + + if ( !address.extended().isEmpty() ) + postalAddress->location = qStringToString( address.extended() ); + else + postalAddress->location = 0; + + if ( !address.locality().isEmpty() ) + postalAddress->city = qStringToString( address.locality() ); + else + postalAddress->city = 0; + + if ( !address.region().isEmpty() ) + postalAddress->state = qStringToString( address.region() ); + else + postalAddress->state = 0; + + if ( !address.postalCode().isEmpty() ) + postalAddress->postalCode = qStringToString( address.postalCode() ); + else + postalAddress->postalCode = 0; + + if ( !address.country().isEmpty() ) + postalAddress->country = qStringToString( address.country() ); + else + postalAddress->country = 0; + + if ( address.type() & KABC::Address::Home ) { + postalAddress->type = Home_; + } else if ( address.type() & KABC::Address::Work ) { + postalAddress->type = Office_; + } else { + // TODO: cache unsupported types + } + + return postalAddress; +} + +ngwt__ImAddressList* ContactConverter::convertImAddresses( const KABC::Addressee& addr ) +{ + //return 0; + /* TODO: use IM address dedicated functions in KDE 4.0. + Change semantics so that convertToContact pulls each + IM address out of the addressee and passes it to this + function, which converts one at a time. */ + kdDebug() << k_funcinfo << endl; + ngwt__ImAddressList* imList = soap_new_ngwt__ImAddressList( soap(), -1 ); + std::vector *list = soap_new_std__vectorTemplateOfPointerTongwt__ImAddress( soap(), -1 ); + + // for each custom + // if it contains IM addresses + // extract each one and add it to imList + + const QStringList customs = addr.customs(); + QStringList::ConstIterator it; + bool isSet = false; + for ( it = customs.begin(); it != customs.end(); ++it ) { + QString app, name, value; + splitField( *it, app, name, value ); + + if ( app.startsWith( QString::fromLatin1( "messaging/" ) ) && name == QString::fromLatin1( "All" ) ) { + // get the protocol for this field + QString protocol = app.section( '/', 1, 1 ); + if ( !protocol.isEmpty() ) { + if ( protocol == "groupwise" ) + protocol = "novell"; + QStringList addresses = QStringList::split( QChar( 0xE000 ), value ); + QStringList::iterator end = addresses.end(); + // extract each address for this protocol, and create an ngwt__ImAddress for it, and append it to list. + for ( QStringList::ConstIterator it = addresses.begin(); it != end; ++it ) { + ngwt__ImAddress* address = soap_new_ngwt__ImAddress( soap(), -1 ); + address->service = soap_new_std__string( soap(), -1 ); + address->address = soap_new_std__string( soap(), -1 ); + address->type = soap_new_std__string( soap(), -1 ); + address->service->append( protocol.utf8() ); + address->address->append( (*it).utf8() ); + address->type->append( "all" ); + kdDebug() << "adding: service: " << protocol << " address: " << *it << " type: all" << endl; + list->push_back( address ); + } + } + } + } + imList->im = *list; + if ( list->size() > 0 ) + return imList; + else + { + delete imList; + return 0; + } +} + +void ContactConverter::splitField( const QString &str, QString &app, QString &name, QString &value ) +{ + int colon = str.find( ':' ); + if ( colon != -1 ) { + QString tmp = str.left( colon ); + value = str.mid( colon + 1 ); + + int dash = tmp.find( '-' ); + if ( dash != -1 ) { + app = tmp.left( dash ); + name = tmp.mid( dash + 1 ); + } + } +} diff --git a/kresources/groupwise/soap/contactconverter.h b/kresources/groupwise/soap/contactconverter.h new file mode 100644 index 000000000..b4376713f --- /dev/null +++ b/kresources/groupwise/soap/contactconverter.h @@ -0,0 +1,54 @@ +/* + This file is part of kdepim. + Copyright (c) 2004 Tobias Koenig + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef KABC_GW_CONTACTCONVERTER_H +#define KABC_GW_CONTACTCONVERTER_H + +#include + +#include "gwconverter.h" + +class ContactConverter : public GWConverter +{ + public: + ContactConverter( struct soap* ); + + KABC::Addressee convertFromContact( ngwt__Contact* ); + ngwt__Contact* convertToContact( const KABC::Addressee& ); + KABC::Addressee convertFromResource( ngwt__Resource* ); + KABC::Addressee convertFromGroup( ngwt__Group* ); + + private: + KABC::Addressee convertFromAddressBookItem( ngwt__AddressBookItem * ); + KABC::PhoneNumber convertPhoneNumber( ngwt__PhoneNumber* ) const; + ngwt__PhoneNumber* convertPhoneNumber( const KABC::PhoneNumber& ) const; + + KABC::Address convertPostalAddress( ngwt__PostalAddress* ) const; + ngwt__PostalAddress* convertPostalAddress( const KABC::Address& ); + /* we convert all IM addresses in the addressee at once, + because multiple values per IM system are stored in a custom field each + which is a different structure to that used for phone numbers, email addresses etc */ + ngwt__ImAddressList* convertImAddresses( const KABC::Addressee& ); + // splits up an arbitrary custom field + void splitField( const QString &str, QString &app, QString &name, QString &value ); + static QMap mIMProtocolMap; +}; + +#endif diff --git a/kresources/groupwise/soap/events.xsd b/kresources/groupwise/soap/events.xsd new file mode 100644 index 000000000..9d032ddc3 --- /dev/null +++ b/kresources/groupwise/soap/events.xsd @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/kresources/groupwise/soap/extractxml.pl b/kresources/groupwise/soap/extractxml.pl new file mode 100755 index 000000000..ecab50861 --- /dev/null +++ b/kresources/groupwise/soap/extractxml.pl @@ -0,0 +1,57 @@ +#!/usr/bin/perl + +if ( @ARGV != 1 ) { + print STDERR "Usage: extractxml.pl \n"; + exit 1; +} + +$in = $ARGV[ 0 ]; + +print "In: $in\n"; + +if ( !open IN, $in ) { + print STDERR "Unable to open file '$in'.\n"; + exit 1; +} + +$count = 1; + +while ( ) { + if ( $xml ) { + if ( $_ =~ /(.*\<\/SOAP-ENV:Envelope\>)/ ) { + printXml( $xml . $1 ); + $xml = ""; + } else { + $xml .= $_; + } + } elsif ( $_ =~ /^(\<\?xml.*\?>)(.*)$/ ) { + $xml = $1 . $2; + + if ( $xml =~ /(.*\<\/SOAP-ENV:Envelope\>)/ ) { + printXml( $1 ); + $xml = ""; + + } + } +} + +sub printXml() +{ + $xml = shift; + + $xml =~ s/\n//g; + $xml =~ s/\r//g; + + $out = "$in.$count.xml"; + + print "Out: $out\n"; + + if ( !open OUT, ">$out" ) { + print STDERR "Unable to open file '$out'.\n"; + } else { + print OUT $xml; + close OUT; + } + + $count += 1; +} diff --git a/kresources/groupwise/soap/fixup_groupwise.h.pl b/kresources/groupwise/soap/fixup_groupwise.h.pl new file mode 100755 index 000000000..938811179 --- /dev/null +++ b/kresources/groupwise/soap/fixup_groupwise.h.pl @@ -0,0 +1,60 @@ +#!/usr/bin/perl + +use strict; + +my $inplace; + +if ( @ARGV == 1 && $ARGV[ 0 ] == "--inplace" ) { + print "Substituting in place.\n"; + $inplace = 1; +} + +my $fileIn = "groupwise.h"; +my $fileOut = "$fileIn.fixed"; +my $fileBack = "$fileIn.backup"; + +if ( !open IN, $fileIn ) { + print STDERR "Unable to open '$fileIn'.\n"; + exit 1; +} + +if ( !open OUT, ">$fileOut" ) { + print STDERR "Unable to open '$fileOut'.\n"; + exit 1; +} + +while ( ) { + my $newline; + + if ( /^(.*)ns1__(\w+\s+0?;.*)$/ ) { +# print; + $newline = $1 . $2 . "\n"; +# print $newline; + $_ = $newline; + } + +if ( 0 ) { + if ( /(^\s+\S+\s+)ns1__(.*)/ ) { + $newline = $1 . $2 . "\n"; + if ( !/enum/ && /element$/) { +# print; +# print $newline; + $_ = $newline; + } + } elsif ( /(^\s+unsigned long\*\s+)ns1__(.*)/ ) { + $newline = $1 . $2 . "\n"; +# print $newline; + $_ = $newline; + } elsif ( /(^\s+std\:\:\S+\s+\>.*)ns1__(.*)/ ) { + $newline = $1 . $2 . "\n"; + $_ = $newline; + } +} + + print OUT; +} + +if ( $inplace ) { + system( "mv $fileIn $fileBack" ); + system( "mv $fileOut $fileIn" ); +} diff --git a/kresources/groupwise/soap/groupwise.wsdl b/kresources/groupwise/soap/groupwise.wsdl new file mode 100644 index 000000000..55a29dc78 --- /dev/null +++ b/kresources/groupwise/soap/groupwise.wsdl @@ -0,0 +1,2081 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The default port for the GroupWise SOAP protocol is 7191. + + + + + + + The default port for the GroupWise Events is the same as the SOAP protocol - 7191. + + + + + + + \ No newline at end of file diff --git a/kresources/groupwise/soap/groupwiseserver.cpp b/kresources/groupwise/soap/groupwiseserver.cpp new file mode 100644 index 000000000..8445be9ff --- /dev/null +++ b/kresources/groupwise/soap/groupwiseserver.cpp @@ -0,0 +1,1640 @@ +/* + This file is part of KDE. + + Copyright (c) 2004 Cornelius Schumacher + Copyright (c) 2004 Tobias Koenig + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ + +// The namespace mapping table is required and associates namespace prefixes +// with namespace names: +#include "GroupWiseBinding.nsmap" + +#include +#include +#include + +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "ksslsocket.h" +#include "contactconverter.h" +#include "incidenceconverter.h" +#include "kcal_resourcegroupwise.h" +#include "soapH.h" +#include "stdsoap2.h" +#include "soapGroupWiseBindingProxy.h" +#include +#include +#include +#include + +#include "groupwiseserver.h" + +static QMap mServerMap; + +int myOpen( struct soap *soap, const char *endpoint, const char *host, int port ) +{ + QMap::ConstIterator it; + it = mServerMap.find( soap ); + if ( it == mServerMap.end() ) { + soap->error = SOAP_FAULT; + return SOAP_INVALID_SOCKET; + } + + return (*it)->gSoapOpen( soap, endpoint, host, port ); +} + +int myClose( struct soap *soap ) +{ + QMap::ConstIterator it; + it = mServerMap.find( soap ); + if ( it == mServerMap.end() ) return SOAP_FAULT; + + return (*it)->gSoapClose( soap ); +} + +int mySendCallback( struct soap *soap, const char *s, size_t n ) +{ + QMap::ConstIterator it; + it = mServerMap.find( soap ); + if ( it == mServerMap.end() ) return SOAP_FAULT; + + return (*it)->gSoapSendCallback( soap, s, n ); +} + +size_t myReceiveCallback( struct soap *soap, char *s, size_t n ) +{ + QMap::ConstIterator it; + it = mServerMap.find( soap ); + if ( it == mServerMap.end() ) { + kdDebug() << "No soap object found" << endl; + soap->error = SOAP_FAULT; + return 0; + } + + return (*it)->gSoapReceiveCallback( soap, s, n ); +} + +int GroupwiseServer::gSoapOpen( struct soap *soap, const char *, + const char *host, int port ) +{ +// kdDebug() << "GroupwiseServer::gSoapOpen()" << endl; + + if ( m_sock ) { + kdError() << "m_sock non-null: " << (void*)m_sock << endl; + delete m_sock; + } + + if ( mSSL ) { +// kdDebug() << "Creating KSSLSocket()" << endl; + m_sock = new KSSLSocket(); + m_sock->setTimeout( KProtocolManager::connectTimeout() ); + connect( m_sock, SIGNAL( sslFailure() ), SLOT( slotSslError() ) ); + } else { + m_sock = new KExtendedSocket(); + } + mErrorText = QString::null; + + m_sock->reset(); + m_sock->setBlockingMode( false ); + m_sock->setSocketFlags( KExtendedSocket::inetSocket ); + + m_sock->setAddress( host, port ); + int rc = m_sock->lookup(); + if (rc != 0 ) { + kdError() << "gSoapOpen: lookup of " << host << " failed " << rc << endl; + QString errorMessage; + errorMessage = QString::fromLatin1( strerror( errno ) ); + perror( 0 ); + soap->error = SOAP_TCP_ERROR; + mErrorText = i18n("Connect failed: %1.").arg( errorMessage ); + return SOAP_INVALID_SOCKET; + } + + rc = m_sock->connect(); + if ( rc != 0 ) { + kdError() << "gSoapOpen: connect failed " << rc << endl; + QString errorMessage; + if ( rc == -1 ) { + errorMessage = QString::fromLatin1( strerror( errno ) ); + perror( 0 ); + } + //set the soap struct's error here! + else { + if ( rc == -3 ) + errorMessage = QString::fromLatin1( "Connection timed out. Check host and port number" ); + } + mErrorText = i18n("Connect failed: %1.").arg( errorMessage ); + soap->error =SOAP_TCP_ERROR; + return SOAP_INVALID_SOCKET; + } + m_sock->enableRead( true ); + m_sock->enableWrite( true ); + + // hopefully never really used by SOAP +#if 0 + return m_sock->fd(); +#else + return 0; +#endif +} + +int GroupwiseServer::gSoapClose( struct soap * ) +{ +// kdDebug() << "GroupwiseServer::gSoapClose()" << endl; + + delete m_sock; + m_sock = 0; + +#if 0 + m_sock->close(); + m_sock->reset(); +#endif + return SOAP_OK; +} + +int GroupwiseServer::gSoapSendCallback( struct soap * soap, const char *s, size_t n ) +{ +// kdDebug() << "GroupwiseServer::gSoapSendCallback()" << endl; + + if ( !m_sock ) { + kdError() << "no open connection" << endl; + soap->error = SOAP_TCP_ERROR; + return SOAP_TCP_ERROR; + } + if ( mError ) { + kdError() << "SSL is in error state." << endl; + soap->error = SOAP_SSL_ERROR; + return SOAP_SSL_ERROR; + } + + if ( getenv("DEBUG_GW_RESOURCE") ) { + qDebug("*************************"); + char p[99999]; + strncpy(p, s, n); + p[n]='\0'; + qDebug("%s", p ); + qDebug("\n*************************"); + } + log( "SENT", s, n ); + + int ret; + while ( n > 0 ) { + ret = m_sock->writeBlock( s, n ); + if ( ret < 0 ) { + kdError() << "Send failed: " << strerror( m_sock->systemError() ) + << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl; + soap->error = SOAP_TCP_ERROR; + return SOAP_TCP_ERROR; + } + n -= ret; + } + + if ( n !=0 ) { + kdError() << "Send failed: " << strerror( m_sock->systemError() ) + << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl; + soap->error = SOAP_TCP_ERROR; + } + + m_sock->flush(); + + return SOAP_OK; +} + +size_t GroupwiseServer::gSoapReceiveCallback( struct soap *soap, char *s, + size_t n ) +{ +// kdDebug() << "GroupwiseServer::gSoapReceiveCallback()" << endl; + + if ( !m_sock ) { + kdError() << "no open connection" << endl; + soap->error = SOAP_FAULT; + return 0; + } + if ( mError ) { + kdError() << "SSL is in error state." << endl; + soap->error = SOAP_SSL_ERROR; + return 0; + } + +// m_sock->open(); + long ret = m_sock->readBlock( s, n ); + if ( ret < 0 ) { + kdError() << "Receive failed: " << strerror( m_sock->systemError() ) + << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl; + } else { + if ( getenv("DEBUG_GW_RESOURCE") ) { + qDebug("*************************"); + char p[99999]; + strncpy(p, s, ret); + p[ret]='\0'; + qDebug("%s", p ); + qDebug("\n*************************"); + qDebug("kioReceiveCallback return %ld", ret); + } + log( "RECV", s, ret ); + } + + return ret; +} + +GroupwiseServer::GroupwiseServer( const QString &url, const QString &user, + const QString &password, QObject *parent ) + : QObject( parent, "GroupwiseServer" ), + mUrl( url ), mUser( user ), mPassword( password ), + mSSL( url.left(6)=="https:" ), m_sock( 0 ), + mError( 0 ) +{ + mBinding = new GroupWiseBinding; + mSoap = mBinding->soap; + + kdDebug() << "GroupwiseServer(): URL: " << url << endl; + + soap_init( mSoap ); + +#if 1 + // disable this block to use native gSOAP network functions + mSoap->fopen = myOpen; + mSoap->fsend = mySendCallback; + mSoap->frecv = myReceiveCallback; + mSoap->fclose = myClose; + + KConfig cfg( "groupwiserc" ); + cfg.setGroup( "Debug" ); + mLogFile = cfg.readEntry( "LogFile" ); + + if ( !mLogFile.isEmpty() ) { + kdDebug() << "Debug log file enabled: " << mLogFile << endl; + } +#endif + + mServerMap.insert( mSoap, this ); +} + +GroupwiseServer::~GroupwiseServer() +{ + delete mSoap; + mSoap = 0; +} + +bool GroupwiseServer::login() +{ + _ngwm__loginResponse loginResp; + _ngwm__loginRequest loginReq; + loginReq.application = soap_new_std__string( mSoap, -1 ); + loginReq.application->append( "KDEPIM" ); + loginReq.language.append( "us" ); + loginReq.version.append( "1" ); + + GWConverter conv( mSoap ); + + ngwt__PlainText pt; + + pt.username = mUser.utf8(); + pt.password = conv.qStringToString( mPassword ); + loginReq.auth = &pt; + mSoap->userid = strdup( mUser.utf8() ); + mSoap->passwd = strdup( mPassword.utf8() ); + + mSession = ""; + + kdDebug() << "GroupwiseServer::login() URL: " << mUrl << endl; + + int result = 1, maxTries = 3; + mBinding->endpoint = mUrl.latin1(); + +// while ( --maxTries && result ) { + result = soap_call___ngw__loginRequest( mSoap, mUrl.latin1(), NULL, + &loginReq, &loginResp ); + /*result = mBinding->__ngw__loginRequest( &loginReq, &loginResp );*/ +// } + + if ( !checkResponse( result, loginResp.status ) ) return false; + + mSession = *(loginResp.session); + + if ( mSession.size() == 0 ) // workaround broken loginResponse error reporting + { + kdDebug() << "Login failed but the server didn't report an error" << endl; + mErrorText = i18n( "Login failed, but the GroupWise server did not report an error" ); + return false; + } + + mSoap->header = new( SOAP_ENV__Header ); + + mUserName = ""; + mUserEmail = ""; + mUserUuid = ""; + + ngwt__UserInfo *userinfo = loginResp.userinfo; + if ( userinfo ) { + kdDebug() << "HAS USERINFO" << endl; + mUserName = conv.stringToQString( userinfo->name ); + if ( userinfo->email ) mUserEmail = conv.stringToQString( userinfo->email ); + if ( userinfo->uuid ) mUserUuid = conv.stringToQString( userinfo->uuid ); + // can also get userid here in GW7 (userinfo->userid) + } + + kdDebug() << "USER: name: " << mUserName << " email: " << mUserEmail << + " uuid: " << mUserUuid << endl; + + return true; +} + +bool GroupwiseServer::getCategoryList() +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::getCategoryList(): no session." << endl; + return false; + } + +/*SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCategoryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse);*/ + + _ngwm__getCategoryListRequest catListReq; + _ngwm__getCategoryListResponse catListResp; + mSoap->header->ngwt__session = mSession; + int result = soap_call___ngw__getCategoryListRequest( mSoap, mUrl.latin1(), + 0, &catListReq, &catListResp); + if ( !checkResponse( result, catListResp.status ) ) return false; + + if ( catListResp.categories ) { + std::vector *categories; + categories = &catListResp.categories->category; + std::vector::const_iterator it; + for( it = categories->begin(); it != categories->end(); ++it ) { +// kdDebug() << "CATEGORY" << endl; + dumpItem( *it ); + } + } + + return true; +} + +bool GroupwiseServer::dumpData() +{ + mSoap->header->ngwt__session = mSession; + _ngwm__getAddressBookListRequest addressBookListRequest; + _ngwm__getAddressBookListResponse addressBookListResponse; + soap_call___ngw__getAddressBookListRequest( mSoap, mUrl.latin1(), + NULL, &addressBookListRequest, &addressBookListResponse ); + soap_print_fault(mSoap, stderr); + + if ( addressBookListResponse.books ) { + std::vector *addressBooks = &addressBookListResponse.books->book; + std::vector::const_iterator it; + for( it = addressBooks->begin(); it != addressBooks->end(); ++it ) { + ngwt__AddressBook *book = *it; + if ( book->description ) { + kdDebug() << "ADDRESSBOOK: description: " << book->description->c_str() << endl; + } + if ( book->id ) { + kdDebug() << "ADDRESSBOOK: id: " << book->id->c_str() << endl; + } + if ( book->name ) { + kdDebug() << "ADDRESSBOOK: name: " << book->name->c_str() << endl; + } + + _ngwm__getItemsRequest itemsRequest; + if ( !book->id ) { + kdError() << "Missing book id" << endl; + } else { + itemsRequest.container = book->id; + } + itemsRequest.filter = 0; + itemsRequest.items = 0; +// itemsRequest.count = -1; + + mSoap->header->ngwt__session = mSession; + _ngwm__getItemsResponse itemsResponse; + soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0, + &itemsRequest, + &itemsResponse ); + + std::vector *items = &itemsResponse.items->item; + if ( items ) { + std::vector::const_iterator it2; + for( it2 = items->begin(); it2 != items->end(); ++it2 ) { + kdDebug() << "ITEM" << endl; + dumpItem( *it2 ); + + if ( true ) { + _ngwm__getItemRequest itemRequest; + if ( !(*it2)->id ) { + kdError() << "Missing item id" << endl; + } else { + itemRequest.id = *( (*it2)->id ); + } + itemRequest.view = 0; + + mSoap->header->ngwt__session = mSession; + _ngwm__getItemResponse itemResponse; + soap_call___ngw__getItemRequest( mSoap, mUrl.latin1(), 0, + &itemRequest, + &itemResponse ); + + ngwt__Item *item = itemResponse.item; + ngwt__Contact *contact = dynamic_cast( item ); + if ( !contact ) { + kdError() << "Cast failed." << endl; + } else { + kdDebug() << "Cast succeeded." << endl; + } + } + } + } + } + } + + return true; +} + +void GroupwiseServer::dumpFolderList() +{ + mSoap->header->ngwt__session = mSession; + _ngwm__getFolderListRequest folderListReq; + folderListReq.parent = "folders"; + folderListReq.recurse = true; + _ngwm__getFolderListResponse folderListRes; + soap_call___ngw__getFolderListRequest( mSoap, mUrl.latin1(), 0, + &folderListReq, + &folderListRes ); + + if ( folderListRes.folders ) { + std::vector *folders = &folderListRes.folders->folder; + if ( folders ) { + std::vector::const_iterator it; + for ( it = folders->begin(); it != folders->end(); ++it ) { + kdDebug() << "FOLDER" << endl; + dumpFolder( *it ); +#if 0 + if ( (*it)->type && *((*it)->type) == "Calendar" ) { + if ( !(*it)->id ) { + kdError() << "Missing calendar id" << endl; + } else { + dumpCalendarFolder( *( (*it)->id ) ); + } + } +#else + if ( !(*it)->id ) { + kdError() << "Missing calendar id" << endl; + } else { + dumpCalendarFolder( *( (*it)->id ) ); + } +#endif + } + } + } +} + +void GroupwiseServer::dumpCalendarFolder( const std::string &id ) +{ + _ngwm__getItemsRequest itemsRequest; + + itemsRequest.container = soap_new_std__string( mSoap, -1 ); + *(itemsRequest.container) = id; + std::string *str = soap_new_std__string( mSoap, -1 ); + str->append( "recipients message recipientStatus" ); + itemsRequest.view = str; + + itemsRequest.filter = 0; + itemsRequest.items = 0; +// itemsRequest.count = 5; + + mSoap->header->ngwt__session = mSession; + _ngwm__getItemsResponse itemsResponse; + soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0, + &itemsRequest, + &itemsResponse ); + soap_print_fault(mSoap, stderr); + + std::vector *items = &itemsResponse.items->item; + + if ( items ) { + std::vector::const_iterator it; + for( it = items->begin(); it != items->end(); ++it ) { +#if 0 + if ( (*it)->type ) { + kdDebug() << "ITEM type '" << (*it)->type->c_str() << "'" << endl; + } else { + kdDebug() << "ITEM no type" << endl; + } +#endif + ngwt__Appointment *a = dynamic_cast( *it ); + if ( !a ) { + kdError() << "Appointment cast failed." << endl; + } else { + kdDebug() << "CALENDAR ITEM" << endl; + dumpAppointment( a ); + } + ngwt__Task *t = dynamic_cast( *it ); + if ( !t ) { + kdError() << "Task cast failed." << endl; + } else { + kdDebug() << "TASK" << endl; + dumpTask( t ); + } + } + } +} + +void GroupwiseServer::dumpMail( ngwt__Mail *m ) +{ + dumpItem( m ); + kdDebug() << " SUBJECT: " << m->subject << endl; +} + +void GroupwiseServer::dumpTask( ngwt__Task *t ) +{ + dumpMail( t ); + if ( t->completed ) { + kdDebug() << " COMPLETED: " << ( t->completed ? "true" : "false" ) << endl; + } +} + +void GroupwiseServer::dumpAppointment( ngwt__Appointment *a ) +{ + dumpMail( a ); + kdDebug() << " START DATE: " << a->startDate << endl; + kdDebug() << " END DATE: " << a->endDate << endl; + if ( a->allDayEvent ) { + kdDebug() << " ALL DAY: " << ( a->allDayEvent ? "true" : "false" ) << endl; + } +} + +void GroupwiseServer::dumpFolder( ngwt__Folder *f ) +{ + dumpItem( f ); + kdDebug() << " PARENT: " << f->parent.c_str() << endl; + if ( f->description ) { + kdDebug() << " DESCRIPTION: " << f->description->c_str() << endl; + } + // FIXME: More fields +// int *count; +// bool *hasUnread; +// int *unreadCount; +// unsigned long sequence; +// std::string *settings; +// bool *hasSubfolders; +// ngwt__SharedFolderNotification *notification; +} + +void GroupwiseServer::dumpItem( ngwt__Item *i ) +{ + if ( !i ) return; + if ( i->id ) { + kdDebug() << " ID: " << i->id->c_str() << endl; + } + if ( i->name ) { + kdDebug() << " NAME: " << i->name->c_str() << endl; + } + kdDebug() << " VERSION: " << i->version << endl; + kdDebug() << " MODIFIED: " << i->modified << endl; + if ( i->changes ) kdDebug() << " HASCHANGES" << endl; +#if 0 + if ( i->type ) { + kdDebug() << " TYPE: " << i->type->c_str() << endl; + } +#endif +} + +bool GroupwiseServer::logout() +{ + // FIXME: Send logoutRequest + mSoap->header->ngwt__session = mSession; + _ngwm__logoutRequest request; + _ngwm__logoutResponse response; + + int result = soap_call___ngw__logoutRequest( mSoap, mUrl.latin1(), + NULL, &request, &response); + soap_print_fault( mSoap, stderr ); + if (!checkResponse( result, response.status ) ) + kdDebug() << "error while logging out" << endl; + + soap_end( mSoap ); + soap_done( mSoap ); + + delete mSoap->header; + mSoap->header = 0; + + return true; +} + +GroupWise::DeltaInfo GroupwiseServer::getDeltaInfo( const QStringList & addressBookIds ) +{ + GroupWise::DeltaInfo info; + info.count = 0; + info.firstSequence = 0; + info.lastSequence = 0; + info.lastTimePORebuild = 0; + + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::getDeltaInfo(): no session." << endl; + return info; + } + + mSoap->header->ngwt__session = mSession; + _ngwm__getDeltaInfoRequest request; + _ngwm__getDeltaInfoResponse response; + + GWConverter conv( mSoap ); + request.container.append( addressBookIds.first().latin1() ); + + int result = soap_call___ngw__getDeltaInfoRequest( mSoap, mUrl.latin1(), + NULL, &request, &response); + soap_print_fault( mSoap, stderr ); + if (!checkResponse( result, response.status ) ) + return info; + + if ( response.deltaInfo->count ) + info.count = *( response.deltaInfo->count ); + if ( response.deltaInfo->firstSequence ) + info.firstSequence = *( response.deltaInfo->firstSequence ); + if ( response.deltaInfo->lastSequence ) + info.lastSequence = *( response.deltaInfo->lastSequence ); + if ( response.deltaInfo->lastTimePORebuild ) + info.lastTimePORebuild = response.deltaInfo->lastTimePORebuild; + + return info; +} + +GroupWise::AddressBook::List GroupwiseServer::addressBookList() +{ + GroupWise::AddressBook::List books; + + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::addressBookList(): no session." << endl; + return books; + } + + mSoap->header->ngwt__session = mSession; + _ngwm__getAddressBookListRequest addressBookListRequest; + _ngwm__getAddressBookListResponse addressBookListResponse; + int result = soap_call___ngw__getAddressBookListRequest( mSoap, mUrl.latin1(), + NULL, &addressBookListRequest, &addressBookListResponse ); + if ( !checkResponse( result, addressBookListResponse.status ) ) { + return books; + } + + if ( addressBookListResponse.books ) { + std::vector *addressBooks = &addressBookListResponse.books->book; + std::vector::const_iterator it; + for ( it = addressBooks->begin(); it != addressBooks->end(); ++it ) { + GroupWise::AddressBook ab; + ab.id = GWConverter::stringToQString( (*it)->id ); + ab.name = GWConverter::stringToQString( (*it)->name ); + ab.description = GWConverter::stringToQString( (*it)->description ); + if ( (*it)->isPersonal ) ab.isPersonal = (*it)->isPersonal; + if ( (*it)->isFrequentContacts ) { + ab.isFrequentContacts = (*it)->isFrequentContacts; + } + books.append( ab ); + } + } + + return books; +} + +bool GroupwiseServer::readAddressBooksSynchronous( const QStringList &addrBookIds ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::readAddressBooksSynchronous(): no session." << endl; + return false; + } + + ReadAddressBooksJob *job = new ReadAddressBooksJob( this, mSoap, + mUrl, mSession ); + job->setAddressBookIds( addrBookIds ); + + job->run(); + + return true; +} + +bool GroupwiseServer::updateAddressBooks( const QStringList &addrBookIds, const unsigned long startSequenceNumber, const unsigned long lastPORebuildTime ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::updateAddressBooks(): no session." << endl; + return false; + } + + UpdateAddressBooksJob * job = new UpdateAddressBooksJob( this, mSoap, mUrl, mSession ); + job->setAddressBookIds( addrBookIds ); + job->setStartSequenceNumber( startSequenceNumber ); + job->setLastPORebuildTime( lastPORebuildTime ); + + job->run(); + if ( job->error() == GroupWise::RefreshNeeded ) + { + mError = 1; + mErrorText = "The System Address Book must be refreshed"; + return false; + } + return true; +} + +std::string GroupwiseServer::getFullIDFor( const QString & gwRecordIDFromIcal ) +{ + // first get the ID of the calendar folder - because we don't store this in the resource we have to fetch it manually + std::string calendarFolderID; + _ngwm__getFolderListRequest folderListReq; + _ngwm__getFolderListResponse folderListRes; + folderListReq.parent = "folders"; + folderListReq.view = soap_new_std__string( mSoap, -1 ); + folderListReq.view->append( "id type" ); + folderListReq.recurse = false; + + mSoap->header->ngwt__session = mSession; + soap_call___ngw__getFolderListRequest( mSoap, mUrl.latin1(), 0, + &folderListReq, + &folderListRes ); + + if ( folderListRes.folders ) { + std::vector *folders = &folderListRes.folders->folder; + if ( folders ) { + std::vector::const_iterator it; + for ( it = folders->begin(); it != folders->end(); ++it ) { + ngwt__SystemFolder * fld = dynamic_cast( *it ); + if ( fld && *(fld->folderType) == Calendar ) + if ( !fld->id ) { + kdError() << "No folder id" << endl; + } else { + calendarFolderID = *fld->id; + } + } + } + } + if ( calendarFolderID.empty() ) + { + kdError() << "couldn't get calendar folder ID in order to accept invitation" << endl; + return std::string(); + } + + // now get the full Item ID of the + std::string fullItemID; + + _ngwm__getItemsRequest getItemRequest; + _ngwm__getItemsResponse getItemResponse; + //getItemRequest.id.append( gwRecordID.latin1() ); + getItemRequest.view = 0; + getItemRequest.filter = soap_new_ngwt__Filter( mSoap, -1 ); + ngwt__FilterEntry * fe = soap_new_ngwt__FilterEntry( mSoap, -1 ); + fe->op = eq; + fe->field = soap_new_std__string( mSoap, -1 ); + fe->field->append( "id" ); + fe->value = soap_new_std__string( mSoap, -1 ); + fe->value->append( gwRecordIDFromIcal.latin1() ); + fe->custom = 0; + fe->date = 0; + getItemRequest.filter->element = fe; + getItemRequest.container = &calendarFolderID; + getItemRequest.items = 0; + getItemRequest.count = 1; + + mSoap->header->ngwt__session = mSession; + int result = soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0, + &getItemRequest, &getItemResponse ); + if ( !checkResponse( result, getItemResponse.status ) ) return std::string(); + + std::vector *items = &getItemResponse.items->item; + if ( items ) { + std::vector::const_iterator it = items->begin(); + if ( it != items->end() ) + { + ngwt__Item * item = *it; + fullItemID = *item->id; + } + } + + if ( !fullItemID.empty() ) + { + kdDebug() << " obtained full item id " << fullItemID.c_str() << endl; + } + return fullItemID; +} + +bool GroupwiseServer::acceptIncidence( KCal::Incidence *incidence ) +{ + kdDebug() << "GroupwiseServer::acceptIncidence() " << incidence->schedulingID() << " : " << incidence->summary() << endl; + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::acceptIncidence(): no session." << endl; + return false; + } + + GWConverter conv( mSoap ); + + QString qGwUid = incidence->customProperty( "GWRESOURCE", "UID" ); + std::string gwUID; + + if ( qGwUid.isEmpty() ) + { + QString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" ); + // we need to do a getItem to get the item's complete ID, including the container portion + // this is only necessary because the Ical GWRECORDID property is incomplete + gwUID = getFullIDFor( gwRecordIDFromIcal ); + } + else + gwUID = qGwUid.latin1(); + + if ( gwUID.empty() ) + { + kdError() << "GroupwiseServer::declineIncidence(): no GroupWise item ID." << endl; + return false; + } + + _ngwm__acceptRequest request; + _ngwm__acceptResponse response; + + request.comment = 0; + request.acceptLevel = 0; + request.recurrenceAllInstances = 0; /*FIXME: This should be the recurrence key for recurring events */ + request.items = soap_new_ngwt__ItemRefList( mSoap, -1 ); +/* std::string acceptedItem; + acceptedItem.append( gwRecordID.utf8() );*/ + request.items->item.push_back( gwUID ); + + mSoap->header->ngwt__session = mSession; + int result = soap_call___ngw__acceptRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + if ( !checkResponse( result, response.status ) ) return false; + + return true; +} + +bool GroupwiseServer::declineIncidence( KCal::Incidence *incidence ) +{ + kdDebug() << "GroupwiseServer::declineIncidence() " << incidence->schedulingID() << " : " << incidence->summary() << endl; + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::declineIncidence(): no session." << endl; + return false; + } + + GWConverter conv( mSoap ); + + std::string gwUID = incidence->customProperty( "GWRESOURCE", "UID" ).latin1(); + + if ( gwUID.empty() ) + { + QString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" ); + // we need to do a getItem to get the item's complete ID, including the container portion + // this is only necessary because the Ical GWRECORDID property is incomplete + gwUID = getFullIDFor( gwRecordIDFromIcal ); + } + + if ( gwUID.empty() ) + { + kdError() << "GroupwiseServer::declineIncidence(): no GroupWise item ID." << endl; + return false; + } + + _ngwm__declineRequest request; + _ngwm__declineResponse response; + + request.comment = 0; + request.recurrenceAllInstances = 0; /*FIXME: This should be the recurrence key for recurring events */ + request.items = soap_new_ngwt__ItemRefList( mSoap, -1 ); +/* std::string acceptedItem; + acceptedItem.append( gwRecordID.utf8() );*/ + request.items->item.push_back( gwUID ); + + mSoap->header->ngwt__session = mSession; + int result = soap_call___ngw__declineRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + if ( !checkResponse( result, response.status ) ) return false; + + return true; +} + + +bool GroupwiseServer::addIncidence( KCal::Incidence *incidence, + KCal::ResourceCached * ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::addIncidence(): no session." << endl; + return false; + } + + kdDebug() << "GroupwiseServer::addIncidence() " << incidence->summary() + << endl; + + QString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" ); + if( !gwRecordIDFromIcal.isEmpty() || !incidence->customProperty( "GWRESOURCE", "UID" ).isEmpty() ) { + kdDebug() << "Incidence has GroupWise ID already: (" << gwRecordIDFromIcal << "ical|" << incidence->customProperty( "GWRESOURCE", "UID" ) << "soap) and organizer : " << incidence->organizer().email() << endl; + return acceptIncidence( incidence ); + } + else + kdDebug() << "Incidence has no scheduling ID." << endl; + + IncidenceConverter converter( mSoap ); + converter.setFrom( mUserName, mUserEmail, mUserUuid ); + + incidence->setCustomProperty( "GWRESOURCE", "CONTAINER", + converter.stringToQString( mCalendarFolder ) ); + + ngwt__Item *item; + if ( incidence->type() == "Event" ) { + item = converter.convertToAppointment( static_cast( incidence ) ); + } else if ( incidence->type() == "Todo" ) { + item = converter.convertToTask( static_cast( incidence ) ); + } else if ( incidence->type() == "Journal" ) { + item = converter.convertToNote( static_cast( incidence ) );; + } else { + kdError() << "KCal::GroupwiseServer::addIncidence(): Unknown type: " + << incidence->type() << endl; + return false; + } + + _ngwm__sendItemRequest request; + request.item = item; + + _ngwm__sendItemResponse response; + mSoap->header->ngwt__session = mSession; + + int result = soap_call___ngw__sendItemRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + if ( !checkResponse( result, response.status ) ) return false; + +// kdDebug() << "RESPONDED UID: " << response.id.c_str() << endl; + + // what if this returns multiple IDs - does a single recurring incidence create multiple ids on the server? + if ( response.id.size() == 1 ) + { + std::string firstId = *(response.id.begin() ); + incidence->setCustomProperty( "GWRESOURCE", "UID", + QString::fromUtf8( firstId.c_str() ) ); + } + return true; +} + +bool GroupwiseServer::changeIncidence( KCal::Incidence *incidence ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::changeIncidence(): no session." << endl; + return false; + } + + kdDebug() << "GroupwiseServer::changeIncidence() " << incidence->summary() + << endl; + + bool success = true; + bool todoCompletionChanged = false; + + IncidenceConverter converter( mSoap ); + converter.setFrom( mUserName, mUserEmail, mUserUuid ); + + incidence->setCustomProperty( "GWRESOURCE", "CONTAINER", + converter.stringToQString( mCalendarFolder ) ); + + ngwt__Item *item; + if ( incidence->type() == "Event" ) { + item = converter.convertToAppointment( static_cast( incidence ) ); + } else if ( incidence->type() == "Todo" ) { + item = converter.convertToTask( static_cast( incidence ) ); + } else if ( incidence->type() == "Journal" ) { + item = converter.convertToNote( static_cast( incidence ) );; + } else { + kdError() << "KCal::GroupwiseServer::changeIncidence(): Unknown type: " + << incidence->type() << endl; + return false; + } + + if ( iAmTheOrganizer( incidence ) ) + { + if ( incidence->attendeeCount() > 0 ) { + kdDebug() << "GroupwiseServer::changeIncidence() - retracting old incidence " << endl; + if ( !retractRequest( incidence, DueToResend ) ) { + kdDebug() << "GroupwiseServer::changeIncidence() - retracting failed." << endl; + return false; + } + kdDebug() << "GroupwiseServer::changeIncidence() - adding new meeting with attendees" << endl; + if ( !addIncidence( incidence, 0 ) ) { + kdDebug() << "GroupwiseServer::changeIncidence() - adding failed." << endl; + return false; + } + return true; + } + } + else // If I am not the organizer restrict my changes to accept or decline requests or task completion + { + // find myself as attendee. + GWConverter conv( mSoap ); + KCal::Attendee::List attendees = incidence->attendees(); + KCal::Attendee::List::ConstIterator it; + for( it = attendees.begin(); it != attendees.end(); ++it ) { + if ( conv.emailsMatch( (*it)->email(), mUserEmail ) ) { + if ( (*it)->status() == KCal::Attendee::Accepted ) + success &= acceptIncidence( incidence ); + else if ( (*it)->status() == KCal::Attendee::Declined ) + success &= declineIncidence( incidence ); + break; + } + } + + // task completion + if ( incidence->type() == "Todo" ) + { + KCal::Todo * todo = static_cast( incidence ); + success &= setCompleted( todo ); + //assume nothing else to change + } + return success; + + // if we are attending, but not the organiser, and we have not accepted or declined, there's nothing else to do. + return true; + } + + _ngwm__modifyItemRequest request; + if ( !item->id ) { + kdError() << "Missing incidence id" << endl; + } else { + request.id = *item->id; + } + request.updates = soap_new_ngwt__ItemChanges( mSoap, -1 ); + request.updates->add = 0; + request.updates->_delete = 0; + request.updates->update = item; + request.notification = 0; + request.recurrenceAllInstances = 0; + _ngwm__modifyItemResponse response; + mSoap->header->ngwt__session = mSession; + + int result = soap_call___ngw__modifyItemRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + + success &= checkResponse( result, response.status ); + + // task completion after modify + if ( incidence->type() == "Todo" ) + { + KCal::Todo * todo = static_cast( incidence ); + success &= setCompleted( todo ); + } + + return success; +} + +bool GroupwiseServer::checkResponse( int result, ngwt__Status *status ) +{ + if ( result != 0 ) { + soap_print_fault( mSoap, stderr ); + return false; + } else { + kdDebug() << "SOAP call succeeded" << endl; + } + if ( status && status->code != 0 ) { + QString msg = "SOAP Response Status: " + QString::number( status->code ); + if ( status->description ) { + msg += " "; + msg += status->description->c_str(); + mErrorText = status->description->c_str(); + } + kdError() << msg << endl; + return false; + } else { + return true; + } +} + +bool GroupwiseServer::deleteIncidence( KCal::Incidence *incidence ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::deleteIncidence(): no session." << endl; + return false; + } + + kdDebug() << "GroupwiseServer::deleteIncidence(): " << incidence->summary() + << endl; + + // decline if necessary on the server + QString gwRecordIDFromIcal = incidence->nonKDECustomProperty( "X-GWRECORDID" ); + + // debug contents of message custom properties + kdDebug() << "incidence custom properties BEGIN" << endl; + typedef QMap PropMap; + PropMap customs = incidence->customProperties(); + PropMap::Iterator it; + for ( it = customs.begin(); it != customs.end(); ++it ) + kdDebug() << "key: " << it.key() << ", data: " << it.data() << endl; + kdDebug() << "incidence custom properties END" << endl; + + if ( incidence->attendeeCount() > 0 ) { + kdDebug() << "Incidence has GroupWise ID already: (" << gwRecordIDFromIcal << "ical|" << incidence->customProperty( "GWRESOURCE", "UID" ) << "soap) and organizer : " << incidence->organizer().email() << endl; + return declineIncidence( incidence ); + } + + +#if 0 + kdDebug() << "UID: " << incidence->customProperty( "GWRESOURCE", "UID" ) + << endl; + kdDebug() << "CONTAINER: " << incidence->customProperty( "GWRESOURCE", "CONTAINER" ) + << endl; +#endif + + if ( incidence->customProperty( "GWRESOURCE", "UID" ).isEmpty() || + incidence->customProperty( "GWRESOURCE", "CONTAINER" ).isEmpty() ) + return false; + + _ngwm__removeItemRequest request; + _ngwm__removeItemResponse response; + mSoap->header->ngwt__session = mSession; + + GWConverter converter( mSoap ); + request.container = converter.qStringToString( incidence->customProperty( "GWRESOURCE", "CONTAINER" ) ); + request.id = std::string( incidence->customProperty( "GWRESOURCE", "UID" ).utf8() ); + + int result = soap_call___ngw__removeItemRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + return checkResponse( result, response.status ); +} + +bool GroupwiseServer::retractRequest( KCal::Incidence *incidence, RetractCause cause ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::retractRequest(): no session." << endl; + return false; + } + + kdDebug() << "GroupwiseServer::retractRequest(): " << incidence->summary() + << endl; + IncidenceConverter converter( mSoap ); + converter.setFrom( mUserName, mUserEmail, mUserUuid ); + + incidence->setCustomProperty( "GWRESOURCE", "CONTAINER", + converter.stringToQString( mCalendarFolder ) ); + + ngwt__Item *item; + if ( incidence->type() == "Event" ) { + item = converter.convertToAppointment( static_cast( incidence ) ); + } else if ( incidence->type() == "Todo" ) { + item = converter.convertToTask( static_cast( incidence ) ); + } else if ( incidence->type() == "Journal" ) { + item = converter.convertToNote( static_cast( incidence ) );; + } else { + kdError() << "KCal::GroupwiseServer::addIncidence(): Unknown type: " + << incidence->type() << endl; + return false; + } + + _ngwm__retractRequest request; + _ngwm__retractResponse response; + mSoap->header->ngwt__session = mSession; + request.items = soap_new_ngwt__ItemRefList( mSoap, 1 ); + request.items->item.push_back( *( item->id ) ); + request.comment = 0; + request.retractCausedByResend = (bool*)soap_malloc( mSoap, 1 ); + request.retractingAllInstances = (bool*)soap_malloc( mSoap, 1 ); + request.retractCausedByResend = ( cause == DueToResend ); + request.retractingAllInstances = true; + ngwt__RetractType * rt = new ngwt__RetractType; + *rt = allMailboxes; + request.retractType = rt; + + int result = soap_call___ngw__retractRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + delete rt; + return checkResponse( result, response.status ); +} + +bool GroupwiseServer::insertAddressee( const QString &addrBookId, KABC::Addressee &addr ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::insertAddressee(): no session." << endl; + return false; + } + + ContactConverter converter( mSoap ); + + addr.insertCustom( "GWRESOURCE", "CONTAINER", addrBookId ); + + ngwt__Contact* contact = converter.convertToContact( addr ); + + _ngwm__createItemRequest request; + request.item = contact; + request.notification = 0; + + _ngwm__createItemResponse response; + mSoap->header->ngwt__session = mSession; + + + int result = soap_call___ngw__createItemRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + if ( !checkResponse( result, response.status ) ) return false; + + addr.insertCustom( "GWRESOURCE", "UID", QString::fromUtf8( response.id.front().c_str() ) ); + addr.setChanged( false ); + + return true; +} + +bool GroupwiseServer::changeAddressee( const KABC::Addressee &addr ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::changeAddressee(): no session." << endl; + return false; + } + + ContactConverter converter( mSoap ); + + ngwt__Contact* contact = converter.convertToContact( addr ); + + _ngwm__modifyItemRequest request; + if ( !contact->id ) { + kdError() << "Missing addressee id" << endl; + } else { + request.id = *contact->id; + } + request.updates = soap_new_ngwt__ItemChanges( mSoap, -1 ); + request.updates->add = 0; + request.updates->_delete = 0; + request.updates->update = contact; + request.notification = 0; + request.recurrenceAllInstances = 0; + + _ngwm__modifyItemResponse response; + mSoap->header->ngwt__session = mSession; + + int result = soap_call___ngw__modifyItemRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + return checkResponse( result, response.status ); +} + +bool GroupwiseServer::removeAddressee( const KABC::Addressee &addr ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::removeAddressee(): no session." << endl; + return false; + } + + if ( addr.custom( "GWRESOURCE", "UID" ).isEmpty() || + addr.custom( "GWRESOURCE", "CONTAINER" ).isEmpty() ) + return false; + + _ngwm__removeItemRequest request; + _ngwm__removeItemResponse response; + mSoap->header->ngwt__session = mSession; + + GWConverter converter( mSoap ); + request.container = converter.qStringToString( addr.custom( "GWRESOURCE", "CONTAINER" ) ); + request.id = std::string( addr.custom( "GWRESOURCE", "UID" ).utf8() ); + + int result = soap_call___ngw__removeItemRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + return checkResponse( result, response.status ); +} + +bool GroupwiseServer::readCalendarSynchronous( KCal::Calendar *cal ) +{ + kdDebug() << "GroupwiseServer::readCalendar()" << endl; + + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::readCalendar(): no session." << endl; + return false; + } + + ReadCalendarJob *job = new ReadCalendarJob( this, mSoap, mUrl, mSession ); + job->setCalendarFolder( &mCalendarFolder ); + job->setChecklistFolder( &mCheckListFolder ); + job->setCalendar( cal ); + + job->run(); + + return true; +} + +bool GroupwiseServer::readFreeBusy( const QString &email, + const QDate &start, const QDate &end, KCal::FreeBusy *freeBusy ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::readFreeBusy(): no session." << endl; + return false; + } + + kdDebug() << "GroupwiseServer::readFreeBusy()" << endl; + + GWConverter conv( mSoap ); + + // Setup input data + ngwt__NameAndEmail user; + user.displayName = 0; + user.uuid = 0; + user.email = conv.qStringToString( email ); + + std::vector users; + users.push_back( &user ); + + ngwt__FreeBusyUserList userList; + userList.user = users; + + // Start session + _ngwm__startFreeBusySessionRequest startSessionRequest; + startSessionRequest.users = &userList; + startSessionRequest.startDate = conv.qDateToChar( start ); + startSessionRequest.endDate = conv.qDateToChar( end ); + + _ngwm__startFreeBusySessionResponse startSessionResponse; + + mSoap->header->ngwt__session = mSession; + + int result = soap_call___ngw__startFreeBusySessionRequest( mSoap, + mUrl.latin1(), NULL, &startSessionRequest, &startSessionResponse ); + if ( !checkResponse( result, startSessionResponse.status ) ) return false; + + int fbSessionId = *startSessionResponse.freeBusySessionId; + + kdDebug() << "Free/Busy session ID: " << fbSessionId << endl; + + + // Get free/busy data + _ngwm__getFreeBusyRequest getFreeBusyRequest; + getFreeBusyRequest.freeBusySessionId = QString::number( fbSessionId ).utf8(); + + _ngwm__getFreeBusyResponse getFreeBusyResponse; + + + + bool done = false; + + do { + mSoap->header->ngwt__session = mSession; + result = soap_call___ngw__getFreeBusyRequest( mSoap, + mUrl.latin1(), NULL, &getFreeBusyRequest, &getFreeBusyResponse ); + if ( !checkResponse( result, getFreeBusyResponse.status ) ) { + return false; + } + + ngwt__FreeBusyStats *stats = getFreeBusyResponse.freeBusyStats; + if ( !stats || stats->outstanding == 0 ) done = true; + + if ( !stats ) { + kdDebug() << "NO STATS!" << endl; + } else { + kdDebug() << "COUNT: " << stats->responded << " " << stats->outstanding + << " " << stats->total << endl; + } + + std::vector *infos = 0; + if ( getFreeBusyResponse.freeBusyInfo ) infos = + &getFreeBusyResponse.freeBusyInfo->user; + + if ( infos ) { + std::vector::const_iterator it; + for( it = infos->begin(); it != infos->end(); ++it ) { + std::vector *blocks = 0; + if ( (*it)->blocks ) blocks = &(*it)->blocks->block; + if ( blocks ) { + std::vector::const_iterator it2; + for( it2 = blocks->begin(); it2 != blocks->end(); ++it2 ) { + QDateTime blockStart = conv.charToQDateTime( (*it2)->startDate ); + QDateTime blockEnd = conv.charToQDateTime( (*it2)->endDate ); + ngwt__AcceptLevel acceptLevel = *(*it2)->acceptLevel; + + /* TODO: show Free/Busy subject in diagram - we need to support these as people use it for checking others' calendars */ +/* if ( (*it2)->subject ) + std::string subject = *(*it2)->subject;*/ + // kdDebug() << "BLOCK Subject: " << subject.c_str() << endl; + + if ( acceptLevel == Busy || acceptLevel == OutOfOffice ) { + freeBusy->addPeriod( blockStart, blockEnd ); + } + } + } + } + } + } while ( !done ); + + // Close session + _ngwm__closeFreeBusySessionRequest closeSessionRequest; + closeSessionRequest.freeBusySessionId = fbSessionId; + + _ngwm__closeFreeBusySessionResponse closeSessionResponse; + + mSoap->header->ngwt__session = mSession; + + result = soap_call___ngw__closeFreeBusySessionRequest( mSoap, + mUrl.latin1(), NULL, &closeSessionRequest, &closeSessionResponse ); + if ( !checkResponse( result, closeSessionResponse.status ) ) return false; + + return true; +} + +void GroupwiseServer::slotSslError() +{ + kdDebug() << "********************** SSL ERROR" << endl; + + mErrorText = i18n("SSL Error"); +} + +void GroupwiseServer::emitReadAddressBookTotalSize( int s ) +{ + emit readAddressBookTotalSize( s ); +} + +void GroupwiseServer::emitReadAddressBookProcessedSize( int s ) +{ + emit readAddressBookProcessedSize( s ); +} + +void GroupwiseServer::emitErrorMessage( const QString & msg, bool fatal ) +{ + emit errorMessage( msg, fatal ); +} + +void GroupwiseServer::emitGotAddressees( const KABC::Addressee::List addressees ) +{ + emit gotAddressees( addressees ); +} + +void GroupwiseServer::log( const QString &prefix, const char *s, size_t n ) +{ + if ( mLogFile.isEmpty() ) return; + + kdDebug() << "GroupwiseServer::log() " << prefix << " " << n << " bytes" + << endl; + + QString log = mLogFile + "_" + QString::number( getpid() ) + + "_" + prefix + ".log"; + QFile f( log ); + if ( !f.open( IO_WriteOnly | IO_Append ) ) { + kdError() << "Unable to open log file '" << log << "'" << endl; + } else { + uint written = 0; + while ( written < n ) { + kdDebug() << "written: " << written << endl; + int w = f.writeBlock( s + written, n - written ); + kdDebug() << "w: " << w << endl; + if ( w < 0 ) { + kdError() << "Unable to write log '" << log << "'" << endl; + break; + } + written += w; + } + f.putch( '\n' ); + f.close(); + } +} + +bool GroupwiseServer::readUserSettings( ngwt__Settings *&returnedSettings ) +{ + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::userSettings(): no session." << endl; + returnedSettings = 0; + return returnedSettings; + } + + _ngwm__getSettingsRequest request; + +#if 0 + // server doesn't give return any settings keys even if id is a null string + request.id = soap_new_std__string( mSoap, -1 ); + request.id->append("allowSharedFolders"); +#else + request.id = 0; +#endif + + _ngwm__getSettingsResponse response; + mSoap->header->ngwt__session = mSession; + + int result = soap_call___ngw__getSettingsRequest( mSoap, mUrl.latin1(), 0, &request, &response ); + + if ( !checkResponse( result, response.status ) ) + { + kdDebug() << "GroupwiseServer::userSettings() - checkResponse() failed" << endl; + returnedSettings = 0; + return returnedSettings; + } + + returnedSettings = response.settings; + if ( !returnedSettings ) + { + kdDebug() << "GroupwiseServer::userSettings() - no settings in response. " << endl; + // debug data pending server fix + // settings + returnedSettings = new ngwt__Settings; + // list of groups + //returnedSettings->group = new std::vector; // sample group + ngwt__SettingsGroup * grp = new ngwt__SettingsGroup; + grp->type = new std::string; + grp->type->append( "GROUP 1" ); + // list of settings + //grp->setting = new std::vector; + // 2 sample settings + ngwt__Custom * setting1 = new ngwt__Custom; + setting1->field.append("Setting 1"); + setting1->value = new std::string; + setting1->value->append("Value 1 "); + setting1->locked = new bool; + *(setting1->locked) = false; + ngwt__Custom * setting2 = new ngwt__Custom; + setting2->field.append("Setting 2"); + setting2->value = new std::string; + setting2->value->append("Value 2"); + setting2->locked = new bool; + *(setting2->locked) = true; + grp->setting.push_back( setting1 ); + grp->setting.push_back( setting2 ); + + returnedSettings->group.push_back( grp ); + } + kdDebug() << "GroupwiseServer::userSettings() - done. " << endl; + + return true; /** FIXME return false if no settings fetched */ +} + +bool GroupwiseServer::modifyUserSettings( QMap & settings ) +{ + kdDebug() << "GroupwiseServer::userSettings()" << endl; + + if ( mSession.empty() ) { + kdError() << "GroupwiseServer::userSettings(): no session." << endl; + return false; + } + _ngwm__modifySettingsRequest request; + _ngwm__modifySettingsResponse response; + request.settings = soap_new_ngwt__SettingsList( mSoap, -1 ); + QMap::Iterator it; + for ( it = settings.begin(); it != settings.end(); ++it ) + { + kdDebug() << " creating Custom for " << it.key() << ", " << it.data() << endl; + ngwt__Custom * custom = soap_new_ngwt__Custom( mSoap, -1 ); + custom->locked = 0; + custom->field.append( it.key().utf8() ); + custom->value = soap_new_std__string( mSoap, -1 ); + custom->value->append( it.data().utf8() ); + request.settings->setting.push_back( custom ); + + } + + mSoap->header->ngwt__session = mSession; + + int result = soap_call___ngw__modifySettingsRequest( mSoap, mUrl.latin1(), 0, &request, &response ); + if ( !checkResponse( result, response.status ) ) + { + kdDebug() << "GroupwiseServer::modifyUserSettings() - checkResponse() failed" << endl; + return false; + } + kdError() << "GroupwiseServer::userSettings() - success" << endl; + return true; +} + +bool GroupwiseServer::iAmTheOrganizer( KCal::Incidence * incidence ) +{ + return ( incidence->organizer().email() == mUserEmail ); +} + +bool GroupwiseServer::setCompleted( KCal::Todo * todo ) +{ + if ( todo ) + { + GWConverter conv( mSoap ); + QString id = todo->customProperty( "GWRESOURCE", "UID" ); + ngwt__ItemRefList * items = soap_new_ngwt__ItemRefList( mSoap, 1 ); + items->item.push_back( *( conv.qStringToString( id ) ) ); + if ( todo->isCompleted() ) + { + _ngwm__completeRequest request; + _ngwm__completeResponse response; + mSoap->header->ngwt__session = mSession; + request.items = items; + int result = soap_call___ngw__completeRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + return checkResponse( result, response.status ); + } + else + { + _ngwm__uncompleteRequest request; + _ngwm__uncompleteResponse response; + mSoap->header->ngwt__session = mSession; + request.items = items; + int result = soap_call___ngw__uncompleteRequest( mSoap, mUrl.latin1(), 0, + &request, &response ); + return checkResponse( result, response.status ); + } + } + return false; +} + +#include "groupwiseserver.moc" diff --git a/kresources/groupwise/soap/groupwiseserver.h b/kresources/groupwise/soap/groupwiseserver.h new file mode 100644 index 000000000..8197ba5cd --- /dev/null +++ b/kresources/groupwise/soap/groupwiseserver.h @@ -0,0 +1,246 @@ +/* + This file is part of KDE. + + Copyright (c) 2004 Cornelius Schumacher + Copyright (c) 2004 Tobias Koenig + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ +#ifndef GROUPWISESERVER_H +#define GROUPWISESERVER_H + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include "gwjobs.h" + +namespace KABC { + class AddresseeList; + class Resource; +} + +namespace KCal { +class Calendar; +class Incidence; +class ResourceCached; +} + +class ngwt__Settings; + +class KExtendedSocket; + +struct soap; + +class ngwt__Folder; +class ngwt__Item; +class ngwt__Appointment; +class ngwt__Mail; +class ngwt__Task; +class ngwt__Status; +class GroupWiseBinding; + +namespace GroupWise { + +enum ErrorCode { NoError, RefreshNeeded }; + +class AddressBook +{ + public: + typedef QValueList List; + + AddressBook() : isPersonal( false ), isFrequentContacts( false ), isSystemAddressBook( false ) {} + + QString id; + QString name; + QString description; + bool isPersonal; + bool isFrequentContacts; + bool isSystemAddressBook; +}; + +class DeltaInfo +{ + public: + long count; + long firstSequence; + long lastSequence; + long lastTimePORebuild; +}; +} + +class GroupwiseServer : public QObject +{ + Q_OBJECT + + public: + bool checkResponse( int result, ngwt__Status *status ); + enum RetractCause { DueToResend, Other }; + GroupwiseServer( const QString &url, const QString &user, + const QString &password, QObject *parent ); + ~GroupwiseServer(); + + int error() const { return mError; } + QString errorText() const { return mErrorText; } + + bool login(); + bool logout(); + + /** + * Send an accept message for an incidence organised by someone else to the server + */ + bool acceptIncidence( KCal::Incidence * ); + /** + * Add a new incidence to the server. This is a smart method that adds Incidences to the GroupWise server using the + * appropriate GroupWise call - own appointments are Sent, whereas appointments organized by others are Accepted. + */ + bool addIncidence( KCal::Incidence *, KCal::ResourceCached * ); + /** + * Alter an existing incidence on the server. This is a smart method that adds Incidences to the GroupWise server + * using the appropriate GroupWise call. If the item has no other attendees (personal), + * this is carried out with changeItem, otherwise it is retracted and resent. + */ + bool changeIncidence( KCal::Incidence * ); + /** + * send a Decline message for the given incidence to the server + */ + bool declineIncidence( KCal::Incidence * ); + /** + * delete an incidence from the server. This is a smart method that adds Incidences to the GroupWise server + * using the appropriate GroupWise call. If the item is personal, it is deleted. Items with attendees are Declined. + */ + bool deleteIncidence( KCal::Incidence * ); + /** + * @brief Retract a meeting request. + * This is needed to change a meeting, because you need to retract it from others' mailboxes before resending. + * @param causedByResend indicate if the retraction is caused by a resend, suppresses the retraction message in favour of the resent meeting. + */ + bool retractRequest( KCal::Incidence *, RetractCause cause ); + + /** + * @brief update a todo's completed state. + * @param the todo to set the completed state for. + */ + bool setCompleted( KCal::Todo * todo ); + + bool readCalendarSynchronous( KCal::Calendar *cal ); + + GroupWise::AddressBook::List addressBookList(); + + bool readAddressBooksSynchronous( const QStringList &addrBookIds ); + bool updateAddressBooks( const QStringList &addrBookIds, + const unsigned long startSequenceNumber, const unsigned long lastPORebuildTime ); + + bool insertAddressee( const QString &addrBookId, KABC::Addressee& ); + bool changeAddressee( const KABC::Addressee& ); + bool removeAddressee( const KABC::Addressee& ); + + bool readFreeBusy( const QString &email, const QDate &start, + const QDate &end, KCal::FreeBusy * ); + + bool dumpData(); + void dumpFolderList(); + +// bool getDelta(); + GroupWise::DeltaInfo getDeltaInfo( const QStringList & addressBookIds ); + + bool getCategoryList(); + + int gSoapOpen( struct soap *soap, const char *endpoint, const char *host, + int port ); + int gSoapClose( struct soap *soap ); + int gSoapSendCallback( struct soap *soap, const char *s, size_t n ); + size_t gSoapReceiveCallback( struct soap *soap, char *s, size_t n ); + + void emitReadAddressBookTotalSize( int ); + void emitReadAddressBookProcessedSize( int ); + void emitErrorMessage( const QString &, bool ); + void emitGotAddressees( const KABC::Addressee::List ); + + bool readUserSettings( ngwt__Settings *&settings ); + bool modifyUserSettings( QMap & ); + + QString userEmail() const { return mUserEmail; } + QString userName() const { return mUserName; } + QString userUuid() const { return mUserUuid; } + + signals: + void readAddressBookTotalSize( int ); + void readAddressBookProcessedSize( int ); + void errorMessage( const QString &, bool ); + void gotAddressees( const KABC::Addressee::List ); + + protected: + void dumpCalendarFolder( const std::string &id ); + + void dumpFolder( ngwt__Folder * ); + void dumpItem( ngwt__Item * ); + void dumpAppointment( ngwt__Appointment * ); + void dumpTask( ngwt__Task * ); + void dumpMail( ngwt__Mail * ); + + + /** + * Given a partial record ID, query the server for the full version from the calendar folder + */ + std::string getFullIDFor( const QString & ); + + /** + * Check if an incidence involves other people + */ + bool iAmTheOrganizer( KCal::Incidence * ); + + void log( const QString &prefix, const char *s, size_t n ); + + protected slots: + void slotSslError(); + + private: + QString mUrl; + QString mUser; + QString mPassword; + bool mSSL; + + std::string mSession; + + QString mUserName; + QString mUserEmail; + QString mUserUuid; + + std::string mCalendarFolder; + std::string mCheckListFolder; + + struct soap *mSoap; + GroupWiseBinding *mBinding; + + KExtendedSocket *m_sock; + + int mError; + QString mErrorText; + + QString mLogFile; +}; + +#endif diff --git a/kresources/groupwise/soap/gwconverter.cpp b/kresources/groupwise/soap/gwconverter.cpp new file mode 100644 index 000000000..e005974e6 --- /dev/null +++ b/kresources/groupwise/soap/gwconverter.cpp @@ -0,0 +1,171 @@ +/* + This file is part of kdepim. + Copyright (c) 2004 Tobias Koenig + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include "gwconverter.h" + +#include + +#include + +GWConverter::GWConverter( struct soap* soap ) + : mSoap( soap ) +{ + Q_ASSERT( mSoap ); +} + +struct soap* GWConverter::soap() const +{ + return mSoap; +} + +std::string* GWConverter::qStringToString( const QString &string ) +{ + std::string *str = soap_new_std__string( mSoap, -1 ); + str->append( string.utf8() ); + + return str; +} + +QString GWConverter::stringToQString( const std::string &str ) +{ + return QString::fromUtf8( str.c_str() ); +} + +QString GWConverter::stringToQString( std::string *str ) +{ + if ( !str ) return QString::null; + return QString::fromUtf8( str->c_str() ); +} + +char* GWConverter::qStringToChar( const QString &string ) +{ + QCString str = string.utf8(); + + char* charStr = (char*)soap_malloc( mSoap, str.length() + 1 ); + memcpy( charStr, str, str.length() ); + charStr[ str.length() ] = 0; + + return charStr; +} + +QDate GWConverter::charToQDate( const char *str ) +{ + if ( !str ) return QDate(); // FIXME: Qt::ISODate is probably no good here because it expects yyyy-MM-dd not yyyyMMdd + return QDate::fromString( QString::fromUtf8( str ), Qt::ISODate ); +} + +char *GWConverter::qDateTimeToChar( const QDateTime &dt, + const QString &timezone ) +{ + return qDateTimeToChar( KPimPrefs::localTimeToUtc( dt, timezone ) ); +} + +char *GWConverter::qDateTimeToChar( const QDateTime &dt ) +{ + return qStringToChar( dt.toString( "yyyyMMddThhmmZ" ) ); +} + +std::string* GWConverter::qDateTimeToString( const QDateTime &dt, const QString &timezone ) +{ + return qDateTimeToString( KPimPrefs::localTimeToUtc( dt, timezone ) ); +} + +std::string* GWConverter::qDateTimeToString( const QDateTime &dt ) +{ + return qStringToString( dt.toString( "yyyyMMddThhmmZ" ) ); +} + +QDateTime GWConverter::stringToQDateTime( const std::string* str ) +{ + QDateTime dt = QDateTime::fromString( QString::fromUtf8( str->c_str() ), Qt::ISODate ); + return dt; +} + +char* GWConverter::qDateToChar( const QDate &date ) +{ + return qStringToChar( date.toString( "yyyyMMdd" ) ); +} + +std::string* GWConverter::qDateToString( const QDate &date ) +{ + return qStringToString( date.toString( "yyyyMMdd" ) ); +} + +QDate GWConverter::stringToQDate( std::string* str ) +{ + //NB this ISODate may become unnecessary, if GW stops sending in yyyy-mm-dd format again + return QDate::fromString( QString::fromLatin1( str->c_str() ), Qt::ISODate ); +} + +QDateTime GWConverter::charToQDateTime( const char *str ) +{ + if ( !str ) return QDateTime(); +// kdDebug() << "charToQDateTime(): " << str << endl; + // as above re Qt::ISODate + QDateTime dt = QDateTime::fromString( QString::fromUtf8( str ), Qt::ISODate ); +// kdDebug() << " " << dt.toString() << endl; + return dt; +} + +QDateTime GWConverter::charToQDateTime( const char *str, + const QString &timezone ) +{ + if ( !str ) return QDateTime(); + QDateTime utc = charToQDateTime( str ); + return KPimPrefs::utcToLocalTime( utc, timezone ); +} + +bool GWConverter::emailsMatch( const QString & email1, const QString & email2 ) +{ + // eg demo3.po1.dom1@dmz1.provo.novell.com == demo3@dmz1.provo.novell.com + if ( email1 == email2 ) + return true; + + QString shorter, longer; + if ( email1.length() < email2.length() ) + { + shorter = email1; + longer = email2; + } + else + { + shorter = email2; + longer = email1; + } + + QString shortStem = shorter.section( '@', 0, 0 ); + QString longStem = longer.section( '@', 0, 0 ); + QString shortHost = shorter.section( '@', 1, 1 ); + QString longHost = longer.section( '@', 1, 1 ); + + QString extension = longStem.right( longStem.length() - shortStem.length() ); + + kdDebug() << "gwconverter::emailsMatch(): " << shorter << " = " << longer << endl; + kdDebug() << "shortStem: " << shortStem << ", longStem: " << longStem << ", extension: " << extension << endl; + + if ( longStem.startsWith( shortStem ) && extension.startsWith( "." ) && ( + shortHost == longHost ) ) + { + kdDebug() << "Looks like a match!" << endl; + return true; + } + return false; +} + diff --git a/kresources/groupwise/soap/gwconverter.h b/kresources/groupwise/soap/gwconverter.h new file mode 100644 index 000000000..be8a8dd61 --- /dev/null +++ b/kresources/groupwise/soap/gwconverter.h @@ -0,0 +1,64 @@ +/* + This file is part of kdepim. + Copyright (c) 2004 Tobias Koenig + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef KABC_GW_CONVERTER_H +#define KABC_GW_CONVERTER_H + +#include +#include + +#include "soapH.h" + +class GWConverter +{ + public: + GWConverter( struct soap* ); + + struct soap* soap() const; + + static QString stringToQString( const std::string& ); + static QString stringToQString( std::string* ); + + std::string* qStringToString( const QString& ); + char* qStringToChar( const QString& ); + + char* qDateToChar( const QDate& ); + QDate charToQDate( const char * ); + + std::string* qDateToString( const QDate &string ); + QDate stringToQDate( std::string* ); + + char *qDateTimeToChar( const QDateTime &dt, const QString &timezone ); + char *qDateTimeToChar( const QDateTime &dt ); + + QDateTime charToQDateTime( const char *str ); + QDateTime charToQDateTime( const char *str, const QString &timezone ); + + std::string* qDateTimeToString( const QDateTime &string, const QString &timezone ); + std::string* qDateTimeToString( const QDateTime &string ); + + QDateTime stringToQDateTime( const std::string* ); + + bool emailsMatch( const QString & email1, const QString & email2 ); + private: + struct soap* mSoap; +}; + +#endif diff --git a/kresources/groupwise/soap/gwjobs.cpp b/kresources/groupwise/soap/gwjobs.cpp new file mode 100644 index 000000000..f1cdd049a --- /dev/null +++ b/kresources/groupwise/soap/gwjobs.cpp @@ -0,0 +1,733 @@ +/* + This file is part of KDE. + + Copyright (c) 2004 Tobias Koenig + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ + +#include +#include +#include +#include + +#include +#include + +#include + +#include "contactconverter.h" +#include "incidenceconverter.h" +#include "soapH.h" +#include "groupwiseserver.h" + +#include "gwjobs.h" + +#define READ_ADDRESS_FOLDER_CHUNK_SIZE 50 +#define READ_CALENDAR_FOLDER_CHUNK_SIZE 50 + +GWJob::GWJob( GroupwiseServer *server, struct soap *soap, const QString &url, + const std::string &session ) + : mServer( server ), mSoap( soap ), mUrl( url ), mSession( session ), mError( GroupWise::NoError ) +{ +} + +ReadAddressBooksJob::ReadAddressBooksJob( GroupwiseServer *server, + struct soap *soap, const QString &url, const std::string &session ) + : GWJob( server, soap, url, session ) +{ +} + +void ReadAddressBooksJob::setAddressBookIds( const QStringList &ids ) +{ + mAddressBookIds = ids; + + kdDebug() << "ADDR IDS: " << ids.join( "," ) << endl; +} + +void ReadAddressBooksJob::run() +{ + kdDebug() << "ReadAddressBooksJob::run()" << endl; + +// alternate read logic added on 20061209, uses the list of address books provided by the job starter instead of asking the server for the address book list again. Risk might be that the list of address books is stale. +#if 0 + mSoap->header->ngwt__session = mSession; + _ngwm__getAddressBookListRequest addressBookListRequest; + _ngwm__getAddressBookListResponse addressBookListResponse; + soap_call___ngw__getAddressBookListRequest( mSoap, mUrl.latin1(), + NULL, &addressBookListRequest, &addressBookListResponse ); + soap_print_fault( mSoap, stderr ); + + if ( addressBookListResponse.books ) { + std::vector *addressBooks = &addressBookListResponse.books->book; + + mServer->emitReadAddressBookTotalSize( ( mAddressBookIds.count() ) + * 100 ); + mProgress = 0; + + std::vector::const_iterator it; + for ( it = addressBooks->begin(); it != addressBooks->end(); ++it ) { + if ( !(*it)->id ) { + kdError() << "No addressbook id" << endl; + } else { + QString id = GWConverter::stringToQString( (*it)->id ); + kdDebug() << "Reading ID: " << id << endl; + if ( mAddressBookIds.find( id ) != mAddressBookIds.end() ) { + readAddressBook( *(*it)->id ); + mProgress += 100; + } + } + } + } +#else + GWConverter conv( mSoap ); + QStringList::Iterator it = mAddressBookIds.begin(); + const QStringList::Iterator end = mAddressBookIds.end(); + for ( ; it != end; ++it ) + { + std::string* id = conv.qStringToString( *it ); + readAddressBook( *id ); + mProgress += 100; + } +#endif +} + +void ReadAddressBooksJob::readAddressBook( std::string &id ) +{ + kdDebug() << "ReadAddressBookJob::readAddressBook() " << id.c_str() << endl; +#if 0 + _ngwm__getItemsRequest itemsRequest; + itemsRequest.container = &id; + itemsRequest.count = -1; + itemsRequest.filter = 0; + itemsRequest.items = 0; + itemsRequest.view = 0; + + mSoap->header->ngwt__session = mSession; + _ngwm__getItemsResponse itemsResponse; + int result = soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0, + &itemsRequest, &itemsResponse ); + if ( result != 0 ) { + soap_print_fault( mSoap, stderr ); + mServer->emitErrorMessage( i18n("Unable to read GroupWise address book: %1" ).arg( id.c_str() ), false ); + return; + } + + std::vector *items = &itemsResponse.items->item; + if ( items ) { +#if 1 + kdDebug() << "ReadAddressBooksJob::readAddressBook() - got " << items->size() << " contacts in folder " << id.c_str() << endl; +#endif + ContactConverter converter( mSoap ); + + int maxCount = items->size(); + int count = 0; + + std::vector::const_iterator it; + for ( it = items->begin(); it != items->end(); ++it ) { + ngwt__Item *item = *it; + +#if 1 + if ( item ) + if ( item->name ) + kdDebug() << "ITEM: " << item->name->c_str() << endl; + if ( item->id ) + kdDebug() << "ITEM: (" << item->id->c_str() + << ")" << endl; + else + kdDebug() << "ITEM is null" << endl; +#endif + + ngwt__Contact *contact = dynamic_cast( item ); + + KABC::Addressee addr = converter.convertFromContact( contact ); + if ( !addr.isEmpty() ) { + addr.setResource( mResource ); + + addr.insertCustom( "GWRESOURCE", "CONTAINER", converter.stringToQString( id ) ); + + QString remoteUid = converter.stringToQString( (*it)->id ); + + KABC::Addressee oldAddressee = mResource->findByUid( mResource->idMapper().localId( remoteUid ) ); + if ( oldAddressee.isEmpty() ) // new addressee + mResource->idMapper().setRemoteId( addr.uid(), remoteUid ); + else { + addr.setUid( oldAddressee.uid() ); + mResource->removeAddressee( oldAddressee ); + } + + mResource->insertAddressee( addr ); + mResource->clearChange( addr ); + } + + int progress = int( mProgress + count++ * 100. / maxCount ); + + kdDebug() << "PROGRESS: mProgress: " << mProgress << " count: " + << count << " maxCount: " << maxCount << " progress: " << progress + << endl; + + mServer->emitReadAddressBookProcessedSize( progress ); + } + } +#else + unsigned int readItems = 0; + unsigned int readChunkSize = READ_ADDRESS_FOLDER_CHUNK_SIZE; + + int cursor = 0; + + _ngwm__createCursorRequest cursorRequest; + _ngwm__createCursorResponse cursorResponse; + + cursorRequest.container = id; + cursorRequest.view = 0; + if ( id.find( "GroupWiseSystemAddressBook" ) == 0 ) + { + kdDebug() << " Book: " << id.c_str() << " is a SAB " << endl; + // filter for Contacts until we support Groups + cursorRequest.filter = soap_new_ngwt__Filter( mSoap, -1 ); + ngwt__FilterEntry * fe = soap_new_ngwt__FilterEntry( mSoap, -1 ); + fe->op = isOf; + fe->field = soap_new_std__string( mSoap, -1 ); + fe->field->append( "@type" ); + fe->value = soap_new_std__string( mSoap, -1 ); + fe->value->append( "Contact" ); + fe->custom = 0; + fe->date = 0; + cursorRequest.filter->element = fe; + } + else + { + kdDebug() << " Book: " << id.c_str() << " is a personal address book " << endl; + cursorRequest.filter = 0; + } + + mSoap->header->ngwt__session = mSession; + soap_call___ngw__createCursorRequest( mSoap, mUrl.latin1(), 0, + &cursorRequest, + &cursorResponse ); + if ( cursorResponse.cursor ) + cursor = *(cursorResponse.cursor); + else + { + if ( cursorResponse.status && cursorResponse.status->code != 0 ) + { + kdDebug() << " Couldn't read " << GWConverter::stringToQString(id ) << " : " << GWConverter::stringToQString(cursorResponse.status->description) << endl; + //mError = GroupWise::RefreshNeeded; + } + return; + } + + _ngwm__readCursorRequest readCursorRequest; + + readCursorRequest.cursor = cursor; + readCursorRequest.container = id; + readCursorRequest.forward = true; + readCursorRequest.position = 0; + + readCursorRequest.count = (int*)soap_malloc( mSoap, sizeof(int) ); + *( readCursorRequest.count ) = (int)readChunkSize; + + while ( true ) + { + KABC::Addressee::List contacts; + mSoap->header->ngwt__session = mSession; + kdDebug() << "sending readCursorRequest with session: " << mSession.c_str() << endl; + _ngwm__readCursorResponse readCursorResponse; + if ( soap_call___ngw__readCursorRequest( mSoap, mUrl.latin1(), 0, + &readCursorRequest, + &readCursorResponse ) != SOAP_OK ) + { + kdDebug() << "Faults according to GSOAP:" << endl; + soap_print_fault(mSoap, stderr); + kdDebug() << "Unable to read " << *( readCursorRequest.count ) << " items at once, halving number and retrying request" << endl; + *( readCursorRequest.count ) = QMAX( 1, *( readCursorRequest.count )/2 ); + continue; + } + + if ( readCursorResponse.items ) { + ContactConverter converter( mSoap ); + + kdDebug() << "ReadAddressBooksJob::readAddressBook() - got " << readCursorResponse.items->item.size() << " contacts in cursor read of folder " << id.c_str() << endl; + + std::vector::const_iterator it; + for( it = readCursorResponse.items->item.begin(); it != readCursorResponse.items->item.end(); ++it ) { + ngwt__Item *item = *it; + +#if 0 + if ( item ) + if ( item->name ) + kdDebug() << "ITEM: " << item->name->c_str() << endl; + if ( item->id ) + kdDebug() << "ITEM: (" << item->id->c_str() + << ")" << endl; + else + kdDebug() << "ITEM is null" << endl; +#endif + ngwt__Contact *contact = dynamic_cast( item ); + KABC::Addressee addr; + if ( contact ) + { + addr = converter.convertFromContact( contact ); + } + else if ( ngwt__Resource *resource = dynamic_cast( item ) ) + { + addr = converter.convertFromResource( resource ); + } + else if ( ngwt__Group * group = dynamic_cast( item ) ) + { + addr = converter.convertFromGroup( group ); + } + if ( !addr.isEmpty() ) + contacts.append( addr ); + } + readItems += readCursorResponse.items->item.size(); // this means that the read count is increased even if the call fails, but at least the while will always end + kdDebug() << " just read " << readCursorResponse.items->item.size() << " items" << endl; + if ( readCursorResponse.items->item.size() == 0 ) + break; + } + else + { + kdDebug() << " readCursor got no Items in Response!" << endl; + break; + } + // pass the received addressees back to the server + mServer->emitGotAddressees( contacts ); + } + + _ngwm__destroyCursorRequest destReq; + _ngwm__destroyCursorResponse destResp; + destReq.container = id; + destReq.cursor = cursor; + mSoap->header->ngwt__session = mSession; + if ( soap_call___ngw__destroyCursorRequest( mSoap, mUrl.latin1(), 0, + &destReq, + &destResp ) != SOAP_OK ) + { + kdDebug() << "Faults according to GSOAP:" << endl; + soap_print_fault(mSoap, stderr); + } + + kdDebug() << " read " << readItems << " items in total" << endl; +#endif +} + +ReadCalendarJob::ReadCalendarJob( GroupwiseServer *server, struct soap *soap, const QString &url, + const std::string &session ) + : GWJob( server, soap, url, session ), mCalendar( 0 ) +{ + kdDebug() << "ReadCalendarJob()" << endl; +} + +void ReadCalendarJob::setCalendarFolder( std::string *calendarFolder ) +{ + mCalendarFolder = calendarFolder; +} + +void ReadCalendarJob::setChecklistFolder( std::string *checklistFolder ) +{ + mChecklistFolder = checklistFolder; +} + +void ReadCalendarJob::setCalendar( KCal::Calendar *calendar ) +{ + mCalendar = calendar; +} + +void ReadCalendarJob::run() +{ + kdDebug() << "ReadCalendarJob::run()" << endl; + + mSoap->header->ngwt__session = mSession; + _ngwm__getFolderListRequest folderListReq; + folderListReq.parent = "folders"; + folderListReq.view = 0; + folderListReq.recurse = true; + _ngwm__getFolderListResponse folderListRes; + int result = soap_call___ngw__getFolderListRequest( mSoap, mUrl.latin1(), 0, + &folderListReq, + &folderListRes ); + + if ( !mServer->checkResponse( result, folderListRes.status ) ) + { + kdError() << "Server did not return the folder list" << endl; + return; + } + // consistency check variables + unsigned int totalItems = 0; + ReadItemCounts totals; + totals.tasks = 0; + totals.notes = 0; + totals.appointments = 0; + + if ( folderListRes.folders ) { + std::vector *folders = &folderListRes.folders->folder; + if ( folders ) { + std::vector::const_iterator it; + for ( it = folders->begin(); it != folders->end(); ++it ) { + if ( !(*it)->id ) { + kdError() << "No calendar id" << endl; + } else { + ngwt__SystemFolder * fld = dynamic_cast( *it ); + if ( fld ) + { + bool haveReadFolder = false; + int count = 0; + ReadItemCounts itemCounts; + itemCounts.appointments = 0; + itemCounts.notes = 0; + itemCounts.tasks = 0; + if ( fld->count ) + { + count = *( fld->count ); + totalItems += count; + } + kdDebug() << "Folder " << (*(*it)->id).c_str() << ", containing " << count << " items." << endl; + if ( fld->folderType ) + { + if ( *(fld->folderType) == Calendar ) { + kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Calendar, physically containing " << count << " items." << endl; + readCalendarFolder( *(*it)->id, itemCounts ); + haveReadFolder = true; + *mCalendarFolder = *((*it)->id); + } + else if ( *(fld->folderType) == Checklist ) { + kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Checklist, physically containing " << count << " items." << endl; + readCalendarFolder( *(*it)->id, itemCounts ); + haveReadFolder = true; + *mChecklistFolder = *((*it)->id); + } + /* else if ( fld->folderType == SentItems ) { + kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type SentItems, physically containing " << count << " items." << endl; + readCalendarFolder( *(*it)->id, itemCounts ); + haveReadFolder = true; + *mChecklistFolder = *((*it)->id); + }*/ + /* else if ( fld->folderType == Mailbox ) { + kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Mailbox (not yet accepted items), containing " << count << " items." << endl; + readCalendarFolder( *(*it)->id, count, itemCounts ); + haveReadFolder = true; + }*/ + } + if ( haveReadFolder ) + { + kdDebug() << "Folder contained " << itemCounts.appointments << " appointments, " << itemCounts.notes << " notes, and " << itemCounts.tasks << " tasks." << endl; + totals.appointments += itemCounts.appointments; + totals.notes += itemCounts.notes; + totals.tasks += itemCounts.tasks; + } + else + kdDebug() << "Skipping folder: " << *((*it)->id )->c_str() << endl; + } + } + } + } + } + + // perform consistency checks + kdDebug() << "Total count of items of all types in folders we read: " << totalItems << endl; + kdDebug() << "Folders we read contained " << totals.appointments << " appointments, " << totals.notes << " notes, and " << totals.tasks << " tasks." << endl; + kdDebug() << "Local calendar now contains " << mCalendar->rawEvents().count() << " events and " << mCalendar->rawJournals().count() << " journals, and " << mCalendar->rawTodos().count() << " todos." << endl; + if ( totals.appointments == mCalendar->rawEvents().count() ) + kdDebug() << "All events accounted for." << endl; + else + kdDebug() << "ERROR: event counts do not match." << endl; + if ( totals.notes == mCalendar->rawJournals().count() ) + kdDebug() << "All journals accounted for." << endl; + else + kdDebug() << "ERROR: journal counts do not match." << endl; + if ( totals.tasks == mCalendar->rawTodos().count() ) + kdDebug() << "All todos accounted for." << endl; + else + kdDebug() << "ERROR: todo counts do not match." << endl; + + kdDebug() << "ReadCalendarJob::run() done" << endl; +} + +void ReadCalendarJob::readCalendarFolder( const std::string &id, ReadItemCounts & counts ) +{ + kdDebug() << "ReadCalendarJob::readCalendarFolder() '" << id.c_str() << endl; + mSoap->header->ngwt__session = mSession; + +#if 0 + _ngwm__getItemsRequest itemsRequest; + + itemsRequest.container = id; + std::string *str = soap_new_std__string( mSoap, -1 ); + str->append( "startDate endDate subject alarm allDayEvent place timezone iCalId recipients message recipientStatus recurrenceKey" ); + itemsRequest.view = str; + itemsRequest.filter = 0; + itemsRequest.items = 0; + itemsRequest.count = -1; + +/* + ngwt__Filter *filter = soap_new_ngwm__Filter( mSoap, -1 ); + ngwt__FilterEntry *filterEntry = soap_new_ngwm__FilterEntry( mSoap, -1 ); + filterEntry->op = gte; + filterEntry->field = QString::fromLatin1( "startDate" ).utf8(); + filterEntry->value = QDateTime::currentDateTime().toString( "yyyyMMddThhmmZ" ).utf8(); + + filter->element = filterEntry; + + itemsRequest.filter = filter; +*/ + + _ngwm__getItemsResponse itemsResponse; + soap_call___ngw__getItemsRequest( mSoap, mUrl.latin1(), 0, + &itemsRequest, + &itemsResponse ); + kdDebug() << "Faults according to GSOAP:" << endl; + soap_print_fault(mSoap, stderr); + + if ( itemsResponse.items ) { + IncidenceConverter conv( mSoap ); + + std::vector::const_iterator it; + for( it = itemsResponse.items->item.begin(); it != itemsResponse.items->item.end(); ++it ) { + ngwt__Appointment *a = dynamic_cast( *it ); + KCal::Incidence *i = 0; + if ( a ) { + i = conv.convertFromAppointment( a ); + } else { + ngwt__Task *t = dynamic_cast( *it ); + if ( t ) { + i = conv.convertFromTask( t ); + } + } + + if ( i ) { + i->setCustomProperty( "GWRESOURCE", "CONTAINER", conv.stringToQString( id ) ); + + mCalendar->addIncidence( i ); + } + } + } +#else + unsigned int readItems = 0; + unsigned int readChunkSize = READ_CALENDAR_FOLDER_CHUNK_SIZE; + + int cursor; + + _ngwm__createCursorRequest cursorRequest; + _ngwm__createCursorResponse cursorResponse; + + cursorRequest.container = id; +#if 1 + cursorRequest.view = soap_new_std__string( mSoap, -1 ); + cursorRequest.view->append( "default message recipients attachments recipientStatus peek completed status" /*"container status source security distribution acceptLevel startDate endDate subject alarm allDayEvent place timezone iCalId recipients message recurrenceKey"*/ ); + +#else + cursorRequest.view = 0; +#endif + cursorRequest.filter = 0; + + soap_call___ngw__createCursorRequest( mSoap, mUrl.latin1(), 0, + &cursorRequest, + &cursorResponse ); + if ( cursorResponse.cursor ) + cursor = *(cursorResponse.cursor); + else /* signal error? */ + return; + + _ngwm__readCursorRequest readCursorRequest; + + readCursorRequest.cursor = cursor; + readCursorRequest.container = id; + readCursorRequest.forward = true; +#if 0 // seeing if adding the position enum causes the server to truncate returned data + readCursorRequest.position = (ngwt__CursorSeek*)soap_malloc( mSoap, sizeof(ngwt__CursorSeek) ); + *( readCursorRequest.position ) = start; +#else + readCursorRequest.position = 0; +#endif + readCursorRequest.count = (int*)soap_malloc( mSoap, sizeof(int) ); + *( readCursorRequest.count ) = (int)readChunkSize; + + //soap_set_imode(mSoap, SOAP_XML_STRICT); + + while ( true ) + { + mSoap->header->ngwt__session = mSession; + kdDebug() << "sending readCursorRequest with session: " << mSession.c_str() << endl; + _ngwm__readCursorResponse readCursorResponse; + if ( soap_call___ngw__readCursorRequest( mSoap, mUrl.latin1(), 0, + &readCursorRequest, + &readCursorResponse ) != SOAP_OK ) + { + kdDebug() << "Faults according to GSOAP:" << endl; + soap_print_fault(mSoap, stderr); + soap_print_fault_location(mSoap, stderr); + + kdDebug() << "EXITING" << endl; + break; + } + + if ( readCursorResponse.items ) { + IncidenceConverter conv( mSoap ); + conv.setFrom( mServer->userName(), mServer->userEmail(), mServer->userUuid() ); + + std::vector::const_iterator it; + for( it = readCursorResponse.items->item.begin(); it != readCursorResponse.items->item.end(); ++it ) { + KCal::Incidence *i = 0; + ngwt__Appointment *a = dynamic_cast( *it ); + if ( a ) { + i = conv.convertFromAppointment( a ); + counts.appointments++; + } else { + ngwt__Task *t = dynamic_cast( *it ); + if ( t ) { + i = conv.convertFromTask( t ); + counts.tasks++; + } + else { + ngwt__Note *n = dynamic_cast( *it ); + if ( n ) { + kdDebug() << "found a Note" << endl; + i = conv.convertFromNote( n ); + counts.notes++; + } + } + } + if ( i ) { + i->setCustomProperty( "GWRESOURCE", "CONTAINER", conv.stringToQString( id ) ); + + mCalendar->addIncidence( i ); + } + } + readItems += readCursorResponse.items->item.size(); + kdDebug() << " just read " << readCursorResponse.items->item.size() << " items" << endl; + if ( readCursorResponse.items->item.size() == 0 ) + break; + } + else + { + kdDebug() << " readCursor got no Items in Response!" << endl; + mServer->emitErrorMessage( i18n("Unable to read GroupWise address book: reading %1 returned no items." ).arg( id.c_str() ), false ); + break; + } + } + + _ngwm__destroyCursorRequest destReq; + _ngwm__destroyCursorResponse destResp; + destReq.container = id; + destReq.cursor = cursor; + mSoap->header->ngwt__session = mSession; + if ( soap_call___ngw__destroyCursorRequest( mSoap, mUrl.latin1(), 0, + &destReq, + &destResp ) != SOAP_OK ) + { + kdDebug() << "Faults according to GSOAP:" << endl; + soap_print_fault(mSoap, stderr); + } + + kdDebug() << " read " << readItems << " items in total" << endl; +#endif +} + +UpdateAddressBooksJob::UpdateAddressBooksJob( GroupwiseServer *server, + struct soap *soap, const QString &url, const std::string &session ) + : GWJob( server, soap, url, session ) +{ +} + +void UpdateAddressBooksJob::setAddressBookIds( const QStringList &ids ) +{ + mAddressBookIds = ids; + + kdDebug() << "ADDR IDS: " << ids.join( "," ) << endl; +} + +void UpdateAddressBooksJob::setStartSequenceNumber( const unsigned long startSeqNo ) +{ + mStartSequenceNumber = startSeqNo; +} + +void UpdateAddressBooksJob::setLastPORebuildTime( const unsigned long lastPORebuildTime) +{ + mLastPORebuildTime = lastPORebuildTime; +} + +void UpdateAddressBooksJob::run() +{ + kdDebug() << "UpdateAddressBooksJob::run()" << endl; + + while ( true ) + { + mSoap->header->ngwt__session = mSession; + _ngwm__getDeltasRequest request; + _ngwm__getDeltasResponse response; + + GWConverter conv( mSoap ); + request.container.append( mAddressBookIds.first().latin1() ); + request.deltaInfo = soap_new_ngwt__DeltaInfo( mSoap, -1 ); + request.deltaInfo->count = (int*)soap_malloc( mSoap, sizeof(int) ); + *( request.deltaInfo->count ) = READ_ADDRESS_FOLDER_CHUNK_SIZE; + request.deltaInfo->lastTimePORebuild = mLastPORebuildTime; + request.deltaInfo->firstSequence = (unsigned long*)soap_malloc( mSoap, sizeof(unsigned long) ); + *(request.deltaInfo->firstSequence) = mStartSequenceNumber; + request.deltaInfo->lastSequence = 0; /*(unsigned long*)soap_malloc( mSoap, sizeof(unsigned long) );*/ + //request.view = soap_new_std__string( mSoap, -1 ); + //request.view->append("id name version modified ItemChanges"); + request.view = 0; + soap_call___ngw__getDeltasRequest( mSoap, mUrl.latin1(), + NULL, &request, &response); + soap_print_fault( mSoap, stderr ); + + if ( response.items ) { + std::vector items = response.items->item; +#if 1 + kdDebug() << " - got " << items.size() << "contacts" << endl; +#endif + KABC::Addressee::List contacts; + ContactConverter converter( mSoap ); + + std::vector::const_iterator it; + for ( it = items.begin(); it != items.end(); ++it ) { + ngwt__Item *item = *it; + +#if 0 + if ( item ) + if ( item->name ) + kdDebug() << "ITEM: " << item->name->c_str() << endl; + if ( item->id ) + kdDebug() << "ITEM: ID (" << item->id->c_str() + << ")" << endl; + else + kdDebug() << "ITEM is null" << endl; +#endif + + ngwt__Contact *contact = dynamic_cast( item ); + + KABC::Addressee addr = converter.convertFromContact( contact ); + if ( !addr.isEmpty() ) + contacts.append( addr ); + } + mServer->emitGotAddressees( contacts ); + + // now stop if we got less items than we asked for. + if ( items.size() < READ_ADDRESS_FOLDER_CHUNK_SIZE ) + break; + else + mStartSequenceNumber += READ_ADDRESS_FOLDER_CHUNK_SIZE; + } + else if ( response.status && response.status->code == 0xD716 ) + { + kdDebug() << "The cached address book is too old, we have to refresh the whole thing." << endl; + mError = GroupWise::RefreshNeeded; + return; + } + else + return; + } +} diff --git a/kresources/groupwise/soap/gwjobs.h b/kresources/groupwise/soap/gwjobs.h new file mode 100644 index 000000000..3cf47c095 --- /dev/null +++ b/kresources/groupwise/soap/gwjobs.h @@ -0,0 +1,133 @@ +/* + This file is part of KDE. + + Copyright (c) 2004 Tobias Koenig + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ +#ifndef GROUPWISE_JOBS_H +#define GROUPWISE_JOBS_H + +#include + +#include + +#include + +namespace KABC { +class Resource; +} + +namespace KCal { +class Calendar; +} + +struct ReadItemCounts { + unsigned int appointments; + unsigned int notes; + unsigned int tasks; +}; + +class GroupwiseServer; + +class GWJob +{ + public: + GWJob( GroupwiseServer *server, struct soap *soap, const QString &url, const std::string &session ); + int error() const { return mError; } + protected: + GroupwiseServer *mServer; + struct soap *mSoap; + QString mUrl; + const std::string mSession; + int mError; +}; + +class ReadAddressBooksJob : public GWJob +{ + public: + ReadAddressBooksJob( GroupwiseServer *server, struct soap *soap, + const QString &url, + const std::string &session ); + + void setAddressBookIds( const QStringList& ); + + void run(); + + protected: + void readAddressBook( std::string& ); + + private: + QStringList mAddressBookIds; + KABC::Resource *mResource; + int mProgress; +}; + +class ReadCalendarJob : public GWJob +{ + public: + ReadCalendarJob( GroupwiseServer *server, struct soap *soap, const QString &url, + const std::string &session ); + + void setCalendarFolder( std::string* ); + void setChecklistFolder( std::string* ); + + void setCalendar( KCal::Calendar * ); + + void run(); + + protected: + void readCalendarFolder( const std::string &id, ReadItemCounts & counts ); + + private: + std::string *mCalendarFolder; + std::string *mChecklistFolder; + KCal::Calendar *mCalendar; +}; + +class UpdateAddressBooksJob : public GWJob +{ + public: + UpdateAddressBooksJob( GroupwiseServer *server, struct soap *soap, + const QString &url, + const std::string &session ); + + /** set the address book IDs to update - at the moment this is only the System Address Book (SAB) */ + void setAddressBookIds( const QStringList& ); + + /** + * set the sequence number to start reading deltas from (usually the last sequenec number + * we have in the local copy of the System Address Book). + */ + void setStartSequenceNumber( const unsigned long startSeqNo ); + /** + * set the time of the last server (PO) rebuild + */ + void setLastPORebuildTime( const unsigned long lastPORebuildTime); + + void run(); + protected: + void updateAddressBook( std::string& ); + + private: + QStringList mAddressBookIds; + KABC::Resource *mResource; + int mProgress; + unsigned long mLastPORebuildTime; + unsigned long mStartSequenceNumber; // first and last sequence numbers define the current state of the system addressbook + // and are used to determine which deltas to download +}; + +#endif diff --git a/kresources/groupwise/soap/incidenceconverter.cpp b/kresources/groupwise/soap/incidenceconverter.cpp new file mode 100644 index 000000000..051f00655 --- /dev/null +++ b/kresources/groupwise/soap/incidenceconverter.cpp @@ -0,0 +1,820 @@ +/* + This file is part of kdepim. + Copyright (c) 2004 Tobias Koenig + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "incidenceconverter.h" + +#define GW_MAX_RECURRENCES 50 + +IncidenceConverter::IncidenceConverter( struct soap* soap ) + : GWConverter( soap ) +{ + mTimezone = KPimPrefs::timezone(); +} + +void IncidenceConverter::setFrom( const QString &name, + const QString &email, const QString &uuid ) +{ + mFromName = name; + mFromEmail = email; + mFromUuid = uuid; +} + +KCal::Event* IncidenceConverter::convertFromAppointment( ngwt__Appointment* appointment ) +{ + kdDebug() << "IncidenceConverter::convertFromAppointment()" << endl; + if ( !appointment ) + return 0; + + KCal::Event *event = new KCal::Event(); + + if ( !convertFromCalendarItem( appointment, event ) ) { + delete event; + return 0; + } + + if ( appointment->allDayEvent && (*appointment->allDayEvent) ) + { + event->setFloats( true ); + + if ( appointment->startDay != 0 ) + event->setDtStart( stringToQDate( appointment->startDay ).addDays( 1 ) ); + + if ( appointment->endDay != 0 ) + event->setDtEnd( stringToQDate( appointment->endDay) ); + + kdDebug() << " all day event." << endl; + } + else + { + event->setFloats( false ); + + if ( appointment->startDate != 0 ) { + event->setDtStart( charToQDateTime( appointment->startDate, mTimezone ) ); + } + + if ( appointment->endDate != 0 ) + event->setDtEnd( charToQDateTime( appointment->endDate, mTimezone ) ); + } + + kdDebug() << "start date: " << event->dtStart() << endl; + kdDebug() << "end date: " << event->dtEnd() << endl; + + if ( appointment->alarm ) { + KCal::Alarm *alarm = event->newAlarm(); + alarm->setStartOffset( appointment->alarm->__item * -1 ); + alarm->setEnabled( appointment->alarm->enabled ); + } + + if ( appointment->place ) + event->setLocation( stringToQString( appointment->place ) ); + + if ( appointment->acceptLevel ) { + if ( *appointment->acceptLevel == Tentative ) + event->setTransparency( KCal::Event::Transparent ); + else + event->setTransparency( KCal::Event::Opaque ); + } + + return event; +} + +ngwt__Appointment* IncidenceConverter::convertToAppointment( KCal::Event* event ) +{ + kdDebug() << "IncidenceConverter::convertToAppointment()" << endl; + if ( !event ) + return 0; + + ngwt__Appointment* appointment = soap_new_ngwt__Appointment( soap(), -1 ); + appointment->startDate = 0; + appointment->endDate = 0; + appointment->startDay = 0; + appointment->endDay = 0; + appointment->acceptLevel = 0; + appointment->alarm = 0; + appointment->allDayEvent = 0; + appointment->place = 0; + appointment->timezone = 0; + + if ( !convertToCalendarItem( event, appointment ) ) { + soap_dealloc( soap(), appointment ); + return 0; + } + + if ( event->doesFloat() ) { + bool *allDayEvent = (bool*)soap_malloc( soap(), 1 ); + (*allDayEvent ) = true; + appointment->allDayEvent = allDayEvent; + + if ( event->dtStart().isValid() ) { +/* kdDebug() << " convertToAppointment() raw start date: " << event->dtStart().toString() << endl;*/ + QDateTime start = event->dtStart(); + start.setTime( QTime( 0, 0, 0 ) ); + appointment->startDate = qDateTimeToChar( start, mTimezone ); + //appointment->startDay = qDateToString( event->dtStart().date()/*.addDays( -1 )*/ ); +/* kdDebug() << " converted start date: " << appointment->startDate << endl;*/ + } + else + kdDebug() << " event start date not valid " << endl; + if ( event->hasEndDate() ) { +// kdDebug() << " convertToAppointment() raw end date: " << event->dtEnd().toString() << endl; + QDateTime end = event->dtEnd(); + end = end.addDays( 1 ); + end.setTime( QTime( 0, 0, 0 ) ); + appointment->endDate = qDateTimeToChar( end, mTimezone ); + //appointment->endDay = qDateToString( event->dtEnd().date() ); +// kdDebug() << " converted end date:" << appointment->endDate << endl; + } + else + kdDebug() << " event end date not valid " << endl; + } else { + appointment->allDayEvent = 0; + + if ( event->dtStart().isValid() ) + appointment->startDate = qDateTimeToChar( event->dtStart(), mTimezone ); + + if ( event->hasEndDate() ) + appointment->endDate = qDateTimeToChar( event->dtEnd(), mTimezone ); + } + + enum ngwt__AcceptLevel * al = (enum ngwt__AcceptLevel*)soap_malloc(soap(), sizeof(enum ngwt__AcceptLevel)); + *al = Busy; + appointment->acceptLevel = al; + + KCal::Alarm::List alarms = event->alarms(); + if ( !alarms.isEmpty() ) { + ngwt__Alarm* alarm = soap_new_ngwt__Alarm( soap(), -1 ); + alarm->__item = alarms.first()->startOffset().asSeconds() * -1; + bool * enabled = (bool *)soap_malloc(soap(), sizeof(bool)); + *enabled = alarms.first()->enabled(); + alarm->enabled = enabled; + + appointment->alarm = alarm; + } else + appointment->alarm = 0; + + if ( !event->location().isEmpty() ) { + std::string* location = qStringToString( event->location() ); + + appointment->place = location; + } else + appointment->place = 0; + + appointment->timezone = 0; + + return appointment; +} + +KCal::Todo* IncidenceConverter::convertFromTask( ngwt__Task* task ) +{ + if ( !task ) + return 0; + + KCal::Todo *todo = new KCal::Todo(); + + if ( !convertFromCalendarItem( task, todo ) ) { + delete todo; + return 0; + } + + if ( task->startDate ) { + todo->setHasStartDate( true ); + todo->setDtStart( stringToQDateTime( task->startDate ) ); + } + + if ( task->dueDate ) { + todo->setHasDueDate( true ); + todo->setDtDue( stringToQDateTime( task->dueDate ) ); + } + + if ( task->taskPriority ) { + QString priority = stringToQString( task->taskPriority ); + + // FIXME: Store priority string somewhere + + int p = priority.toInt(); + if ( p == 0 ) p = 3; + + todo->setPriority( p ); + } + + if ( task->completed ) + todo->setCompleted( *task->completed ); + + todo->setLocation( i18n( "Novell GroupWise does not support locations for to-dos." ) ); + return todo; +} + +ngwt__Task* IncidenceConverter::convertToTask( KCal::Todo* todo ) +{ + if ( !todo ) + return 0; + ngwt__Task* task = soap_new_ngwt__Task( soap(), -1 ); + task->startDate = 0; + task->dueDate = 0; + task->assignedDate = 0; + task->taskPriority = 0; + task->completed = 0; + + if ( !convertToCalendarItem( todo, task ) ) { + soap_dealloc( soap(), task ); + return 0; + } + + if ( todo->dtStart().isValid() ) + task->startDate = qDateTimeToString( todo->dtStart(), mTimezone ); + + if ( todo->hasDueDate() ) { + task->dueDate = qDateTimeToString( todo->dtDue() ); + } + + // FIXME: Restore custom priorities + QString priority = QString::number( todo->priority() ); + task->taskPriority = qStringToString( priority ); + + task->completed = (bool*)soap_malloc( soap(), 1 ); + if ( todo->isCompleted() ) + (*task->completed) = true; + else + (*task->completed) = false; + + return task; +} + +KCal::Journal* IncidenceConverter::convertFromNote( ngwt__Note* note) +{ + kdDebug() << "IncidenceConverter::convertFromNote()" << endl; + if ( !note ) + return 0; + + KCal::Journal *journal = new KCal::Journal(); + + if ( !convertFromCalendarItem( note, journal ) ) { + kdDebug() << "Couldn't convert Note to Journal!" << endl; + delete journal; + return 0; + } + + if ( note->startDate ) { + kdDebug() << "Journal start date is: " << note->startDate->c_str() << endl; + journal->setDtStart( stringToQDate( note->startDate ) ); + } + + return journal; +} + +ngwt__Note* IncidenceConverter::convertToNote( KCal::Journal* journal ) +{ + if ( !journal ) + return 0; + ngwt__Note* note = soap_new_ngwt__Note( soap(), -1 ); + note->startDate = 0; + + if ( !convertToCalendarItem( journal, note ) ) { + soap_dealloc( soap(), note ); + return 0; + } + + if ( journal->doesFloat() ) { + if ( journal->dtStart().isValid() ) + note->startDate = qDateToString( journal->dtStart().date() ); + } else { + if ( journal->dtStart().isValid() ) + note->startDate = qDateTimeToString( journal->dtStart(), mTimezone ); + } + + if ( !note->subject ) + note->subject = qStringToString( QString("NO SUBJECT") ); + return note; +} + +bool IncidenceConverter::convertToCalendarItem( KCal::Incidence* incidence, ngwt__CalendarItem* item ) +{ + kdDebug() << k_funcinfo << endl; + //TODO: support the new iCal standard recurrence rule + + // ngwt__CalendarItem + item->rdate = 0; + item->rrule = 0; + item->exdate = 0; + item->recurrenceKey = 0; + item->iCalId = 0; + // ngwt__Mail + item->subject = 0; + item->originalSubject = 0; + item->subjectPrefix = 0; + item->distribution = 0; + item->message = 0; + item->attachments = 0; + item->options = 0; + item->link = 0; + item->hasAttachment = false; + item->size = 0; + item->subType = 0; + item->nntpOrImap = 0; + item->smimeType = 0; + // ngwt__BoxEntry + item->status = 0; + item->thread = 0; + item->msgId = 0; + item->messageId = 0; + item->source = 0; + item->returnSentItemsId = 0; + item->delivered = 0; + item->class_ = 0; + item->security = 0; + item->comment = 0; + // ngwt__ContainerItem + item->categories = 0; + item->created = 0; + item->customs = 0; + // ngwt__Item + item->id = 0; + item->name = 0; + item->version = 0; + item->modified = 0; + item->changes = 0; + + QString id = incidence->customProperty( "GWRESOURCE", "UID" ); + if ( !id.isEmpty() ) item->id = qStringToString( id ); + + // Container + if ( !incidence->customProperty( "GWRESOURCE", "CONTAINER" ).isEmpty() ) { + std::vector* container = soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef( soap(), -1 ); + ngwt__ContainerRef* containerRef = soap_new_ngwt__ContainerRef( soap(), -1 ); + containerRef->deleted = 0; + containerRef->__item = incidence->customProperty( "GWRESOURCE", "CONTAINER" ).utf8(); + container->push_back( containerRef ); + + item->container = *container; + } + + // secrecy + item->class_ = (ngwt__ItemClass *)soap_malloc( soap(), sizeof( ngwt__ItemClass ) ); + switch ( incidence->secrecy() ) + { + case KCal::Event::SecrecyPublic: + *item->class_ = Public; + break; + case KCal::Event::SecrecyPrivate: + *item->class_ = Private; + break; + case KCal::Event::SecrecyConfidential: + *item->class_ = Private; + break; + } + + // options + item->options = soap_new_ngwt__ItemOptions( soap(), -1 ); + item->options->concealSubject = 0; + item->options->delayDeliveryUntil = 0; + item->options->expires = 0; + item->options->hidden = 0; + item->options->priority = Standard; + + // summary + if ( !incidence->summary().isEmpty() ) + item->subject = qStringToString( incidence->summary() ); + +// TODO: reinstate when we know that this isn't causing problems with recurrence +// if ( incidence->created().isValid() ) { +// item->created = qDateTimeToChar( incidence->created(), mTimezone ); +// } else +// item->created = 0; + +// if ( incidence->lastModified().isValid() ) +// item->modified = qDateTimeToChar( incidence->lastModified(), mTimezone ); + + setItemDescription( incidence, item ); + + item->source = (ngwt__ItemSource *)soap_malloc( soap(), sizeof( ngwt__ItemSource ) ); +#if 1 + if ( incidence->attendeeCount() > 0 ) { + setAttendees( incidence, item ); + *item->source = sent_; + } + else + *item->source = personal_; +#endif + + setRecurrence( incidence, item ); + return true; +} + +void IncidenceConverter::setAttendees( KCal::Incidence *incidence, + ngwt__CalendarItem *item ) +{ + item->distribution = soap_new_ngwt__Distribution( soap(), -1 ); + + item->distribution->from = soap_new_ngwt__From( soap(), -1 ); + + // ngwt__From + item->distribution->from->replyTo = 0; + // ngwt__NameAndEmail + item->distribution->from->displayName = 0; + item->distribution->from->email = 0; + item->distribution->from->uuid = 0; + + item->distribution->from->displayName = qStringToString( incidence->organizer().name() ); + item->distribution->from->email = qStringToString( incidence->organizer().email() ); + + if ( !mFromName.isEmpty() ) item->distribution->from->displayName = qStringToString( mFromName ); + if ( !mFromEmail.isEmpty() ) item->distribution->from->email = qStringToString( mFromEmail ); + if ( !mFromUuid.isEmpty() ) item->distribution->from->uuid = qStringToString( mFromUuid ); + + QString to; // To list consists of display names of organizer and attendees separated by "; " + to += incidence->organizer().name(); + item->distribution->sendoptions = soap_new_ngwt__SendOptions( soap(), -1 ); + + item->distribution->sendoptions->requestReply = 0; + item->distribution->sendoptions->mimeEncoding = 0; + item->distribution->sendoptions->notification = 0; + + item->distribution->sendoptions->statusTracking = soap_new_ngwt__StatusTracking( soap(), + -1 ); + + item->distribution->sendoptions->statusTracking->autoDelete = false; + item->distribution->sendoptions->statusTracking->__item = All_; + + item->distribution->recipients = soap_new_ngwt__RecipientList( soap(), -1 ); + item->distribution->recipients->recipient = *( soap_new_std__vectorTemplateOfPointerTongwt__Recipient( soap(), -1 ) ); + + KCal::Attendee::List attendees = incidence->attendees(); + KCal::Attendee::List::ConstIterator it; + for( it = attendees.begin(); it != attendees.end(); ++it ) { + if ( !to.isEmpty() ) + to += QString::fromLatin1( "; %1" ).arg( (*it)->name() ); + kdDebug() << "IncidenceConverter::setAttendees(), adding " << (*it)->fullName() + << endl; + QString uuid; + QValueList addList = KABC::StdAddressBook::self()->findByEmail( (*it)->email() ); + if ( !addList.first().isEmpty() ) + uuid = addList.first().custom( "GWRESOURCE", "UUID" ); //uuid may be mandatory for the recipients list to be stored on the server... + item->distribution->recipients->recipient.push_back( createRecipient( (*it)->name(), (*it)->email(), uuid ) ); + } + item->distribution->to = qStringToString( to ); + item->distribution->cc = 0; + item->distribution->bc = 0; +} + +ngwt__Recipient *IncidenceConverter::createRecipient( const QString &name, + const QString &email, const QString &uuid ) +{ + ngwt__Recipient *recipient = soap_new_ngwt__Recipient( soap(), -1 ); + + recipient->recipientStatus = 0; + if ( !uuid.isEmpty() ) recipient->uuid = qStringToString( uuid ); + else recipient->uuid = 0; + if ( !name.isEmpty() ) { + kdDebug() << "- recipient name: " << name << endl; + recipient->displayName = qStringToString( name ); + } else { + recipient->displayName = 0; + } + if ( !email.isEmpty() ) { + kdDebug() << "- recipient email: " << email << endl; + recipient->email = qStringToString( email ); + } else { + recipient->email = 0; + } + recipient->distType = TO; + recipient->recipType = User_; + recipient->acceptLevel = 0; + return recipient; +} + +bool IncidenceConverter::convertFromCalendarItem( ngwt__CalendarItem* item, + KCal::Incidence* incidence ) +{ + incidence->setCustomProperty( "GWRESOURCE", "UID", + stringToQString( item->id ) ); + + if ( item->subject && !item->subject->empty() ) + incidence->setSummary( stringToQString( item->subject ) ); + + kdDebug() << "SUMMARY: " << incidence->summary() << endl; + + if ( item->created ) { + kdDebug() << "item created at " << item->created << endl; + incidence->setCreated( charToQDateTime( item->created, mTimezone ) ); + } + if ( item->modified != 0 ) { + kdDebug() << "item modified at " << item->created << endl; + incidence->setLastModified( charToQDateTime( item->modified, mTimezone ) ); + } + + getItemDescription( item, incidence ); + getAttendees( item, incidence ); + + if ( item->recurrenceKey ) + incidence->setCustomProperty( "GWRESOURCE", "RECURRENCEKEY", QString::number( *item->recurrenceKey ) ); + +/* + // This must just be a very early cut at recurrence + if ( item->rdate && item->rdate->date ) { + std::vector* dateList = item->rdate->date; + + std::vector::const_iterator it; + for ( it = dateList->begin(); it != dateList->end(); ++it ) { + QDate date = QDate::fromString( s2q( *it ), Qt::ISODate ); + if ( date.isValid() ) + } + } +*/ +/* + bool* isRecurring 0; + std::string* iCalId 0; +*/ + + return true; +} + +void IncidenceConverter::getItemDescription( ngwt__CalendarItem *item, KCal::Incidence *incidence ) +{ + if ( item->message ) { + + std::vector parts = item->message->part; + std::vector::const_iterator it = parts.begin(); + + for ( ; it != parts.end(); ++it ) { + xsd__base64Binary data = (*it)->__item; + + // text/plain should be the description + if ( stringToQString( (*it)->contentType ) == "text/plain" ) { + QString description = QString::fromUtf8( (char*)data.__ptr, data.__size ); + incidence->setDescription( description ); + kdDebug() << "Incidence description decodes to: " << description << endl; + return; + } + } + } +} + +void IncidenceConverter::setItemDescription( KCal::Incidence *incidence, + ngwt__CalendarItem *item ) +{ + if ( !incidence->description().isEmpty() ) { + ngwt__MessageBody *message = soap_new_ngwt__MessageBody( soap(), -1 ); + message->part = + *soap_new_std__vectorTemplateOfPointerTongwt__MessagePart( soap(), -1 ); + + ngwt__MessagePart *part = soap_new_ngwt__MessagePart( soap(), -1 ); + + xsd__base64Binary data; + data.__ptr = + (unsigned char*)qStringToChar( incidence->description().utf8() ); + data.__size = incidence->description().utf8().length(); + + part->id = 0; + part->__item = data; + part->contentId = 0; + std::string *str = soap_new_std__string( soap(), -1 ); + str->append( "text/plain" ); + part->contentType = str; + + part->length = 0; // this is optional and sending the actual length of the source string truncates the data. + part->offset = 0; // optional + message->part.push_back( part ); + + item->message = message; + } else + item->message = 0; +} + +void IncidenceConverter::getAttendees( ngwt__CalendarItem *item, KCal::Incidence *incidence ) +{ + kdDebug() << "IncidenceConverter::getAttendees()" << ( item->subject ? item->subject->c_str() : "no subject" ) + << endl; + + if ( item->distribution && item->distribution->from ) { + kdDebug() << "-- from" << endl; + KCal::Person organizer( stringToQString( item->distribution->from->displayName ), + stringToQString( item->distribution->from->email ) ); + incidence->setOrganizer( organizer ); + } + + if ( item->distribution && item->distribution->recipients ) { + kdDebug() << "-- recipients" << endl; + std::vector recipients = item->distribution->recipients->recipient; + std::vector::const_iterator it; + + for ( it = recipients.begin(); it != recipients.end(); ++it ) { + ngwt__Recipient *recipient = *it; + kdDebug() << "---- recipient " << recipient->email->c_str() << endl; + KCal::Attendee *attendee = new KCal::Attendee( + stringToQString( recipient->displayName ), + stringToQString( recipient->email ) ); + + // set our status + if ( emailsMatch( stringToQString(recipient->email), mFromEmail ) ) + if ( item->status->accepted ) + attendee->setStatus( ( *item->status->accepted ) ? KCal::Attendee::Accepted : KCal::Attendee::NeedsAction ); + else + kdDebug() << "---- found ourselves, but not accepted" << endl; + else + kdDebug() << "---- '" << "' != '" << (qStringToString( mFromEmail ))->c_str() << "'" << endl; + + incidence->addAttendee( attendee ); + } + } +} + +void IncidenceConverter::setRecurrence( KCal::Incidence * incidence, ngwt__CalendarItem * item ) +{ + kdDebug() << k_funcinfo << endl; + ngwt__Frequency * freq = 0; + const KCal::Recurrence * recur = incidence->recurrence(); + + if ( incidence->doesRecur() ) + { + item->rrule = soap_new_ngwt__RecurrenceRule( soap(), -1 ); + item->rrule->frequency = 0; // + item->rrule->count = 0; + item->rrule->until = 0; // + item->rrule->interval = 0; // + item->rrule->byDay = 0; + item->rrule->byYearDay = 0; + item->rrule->byMonthDay = 0; + item->rrule->byMonth = 0; + freq = (ngwt__Frequency *)soap_malloc( soap(), sizeof( ngwt__Frequency ) ); + // interval + if ( recur->frequency() > 1 ) { + item->rrule->interval = (unsigned long *)soap_malloc( soap(), sizeof( unsigned long * ) ); + *item->rrule->interval = recur->frequency(); + } + // end date + if ( recur->duration() > 0 ) // number of recurrences. If end date is set we don't use this. + { + item->rrule->count = (long unsigned int *)soap_malloc( soap(), sizeof( long unsigned int * ) ); + *item->rrule->count = recur->duration(); + } +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + else if ( recur->endDateTime().isValid() ) +#else + else if ( recur->endDate().isValid() ) +#endif + item->rrule->until = qDateToString( recur->endDate() ); + else // GROUPWISE doesn't accept infinite recurrence so end after GW_MAX_RECURRENCES recurrences + { + item->rrule->count = (long unsigned int *)soap_malloc( soap(), sizeof( long unsigned int * ) ); + *item->rrule->count = GW_MAX_RECURRENCES; + } + + // recurrence date - try setting it using the recurrence start date - didn't help +/* std::string startDate; + startDate.append( recur->recurStart().date().toString( Qt::ISODate ).utf8() ); + item->rdate = soap_new_ngwt__RecurrenceDateType( soap(), -1 ); + item->rdate->date.push_back( startDate );*/ + // exceptions list - try sending empty list even if no exceptions +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + KCal::DateList exceptions = recur->exDates(); +#else + KCal::DateList exceptions = incidence->exDates(); +#endif + if ( !exceptions.isEmpty() ) + { + item->exdate = soap_new_ngwt__RecurrenceDateType( soap(), -1 ); + for ( KCal::DateList::ConstIterator it = exceptions.begin(); it != exceptions.end(); ++it ) + { + std::string startDate; + startDate.append( (*it).toString( Qt::ISODate ).utf8() ); + item->exdate->date.push_back( startDate ); + } + } + } + +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + if ( incidence->recurrenceType() == KCal::Recurrence::rDaily ) +#else + if ( incidence->doesRecur() == KCal::Recurrence::rDaily ) +#endif + { + kdDebug() << "incidence recurs daily" << endl; + *freq = Daily; + item->rrule->frequency = freq; + } +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + else if ( incidence->recurrenceType() == KCal::Recurrence::rWeekly ) +#else + else if ( incidence->doesRecur() == KCal::Recurrence::rWeekly ) +#endif + { + kdDebug() << "incidence recurs weekly" << endl; +#if 1 //trying out byDay recurrence + *freq = Weekly; + item->rrule->frequency = freq; + // now change the bitArray of the days of the week that it recurs on to a ngwt__DayOfWeekList * + QBitArray ba = recur->days(); + ngwt__DayOfYearWeekList * weeklyDays = soap_new_ngwt__DayOfYearWeekList( soap(), -1 ); + for ( int i = 0; i < 7; ++i ) + { + if ( ba[i] ) + { + ngwt__DayOfYearWeek * day = soap_new_ngwt__DayOfYearWeek( soap(), -1 ); + day->occurrence = 0; + switch( i ) + { + case 0: + day->__item = Monday; + break; + case 1: + day->__item = Tuesday; + break; + case 2: + day->__item = Wednesday; + break; + case 3: + day->__item = Thursday; + break; + case 4: + day->__item = Friday; + break; + case 5: + day->__item = Saturday; + break; + case 6: + day->__item = Sunday; + break; + } + weeklyDays->day.push_back( day ); + } + } + // add the list of days to the recurrence rule + item->rrule->byDay = weeklyDays; +#endif + } +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + else if ( incidence->recurrenceType() == KCal::Recurrence::rMonthlyDay ) +#else + else if ( incidence->doesRecur() == KCal::Recurrence::rMonthlyDay ) +#endif + { + kdDebug() << "incidence recurs monthly" << endl; + ; + *freq = Monthly; + item->rrule->frequency = freq; + + // TODO: translate '3rd wednesday of month' etc into rdates + } +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + else if ( incidence->recurrenceType() == KCal::Recurrence::rYearlyDay ) +#else + else if ( incidence->doesRecur() == KCal::Recurrence::rYearlyDay ) +#endif + { + kdDebug() << "incidence recurs yearly on day #" << endl; + *freq = Yearly; + item->rrule->frequency = freq; + // TODO: translate '1st sunday in may' + ngwt__DayOfYearList * daysOfYear = soap_new_ngwt__DayOfYearList( soap(), -1 ); +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + QValueList rmd; + rmd = recur->yearMonths(); + daysOfYear->day.push_back( rmd.first() ); +#else + QPtrList rmd; + rmd = recur->yearNums(); + daysOfYear->day.push_back( *rmd.first() ); +#endif + + item->rrule->byYearDay = daysOfYear; + // no need to do MonthList recurrence as these will appear as separate instances when fetched from GW + } +#if LIBKCAL_IS_VERSION( 1, 3, 0 ) + else if ( incidence->recurrenceType() == KCal::Recurrence::rYearlyMonth ) +#else + else if ( incidence->doesRecur() == KCal::Recurrence::rYearlyMonth ) +#endif + { + kdDebug() << "incidence recurs yearly on monthday" << endl; + *freq = Yearly; + item->rrule->frequency = freq; + } +} diff --git a/kresources/groupwise/soap/incidenceconverter.h b/kresources/groupwise/soap/incidenceconverter.h new file mode 100644 index 000000000..8d7b6844e --- /dev/null +++ b/kresources/groupwise/soap/incidenceconverter.h @@ -0,0 +1,76 @@ +/* + This file is part of kdepim. + Copyright (c) 2004 Tobias Koenig + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef KABC_GW_INCIDENCECONVERTER_H +#define KABC_GW_INCIDENCECONVERTER_H + +#include +#include + +#include + +#include "gwconverter.h" + +class ngwt__Recipient; + +class IncidenceConverter : public GWConverter +{ + public: + IncidenceConverter( struct soap* ); + + void setFrom( const QString &name, const QString &email, + const QString &uuid ); + + KCal::Event* convertFromAppointment( ngwt__Appointment* ); + ngwt__Appointment* convertToAppointment( KCal::Event* ); + + KCal::Todo* convertFromTask( ngwt__Task* ); + ngwt__Task* convertToTask( KCal::Todo* ); + + KCal::Journal* convertFromNote( ngwt__Note* note); + ngwt__Note* convertToNote( KCal::Journal* journal ); + + private: + bool convertToCalendarItem( KCal::Incidence*, ngwt__CalendarItem* ); + bool convertFromCalendarItem( ngwt__CalendarItem*, KCal::Incidence* ); + + void getItemDescription( ngwt__CalendarItem*, KCal::Incidence* ); + void setItemDescription( KCal::Incidence*, ngwt__CalendarItem* ); + + void getAttendees( ngwt__CalendarItem*, KCal::Incidence* ); + void setAttendees( KCal::Incidence *, ngwt__CalendarItem * ); + + void getRecurrence( ngwt__CalendarItem*, KCal::Incidence* ); + void setRecurrence( KCal::Incidence *, ngwt__CalendarItem * ); + + // used for converting weekly recurrences from GW +// QBitArray getDayBitArray( ngwt__DayOfWeekList * ); + + ngwt__Recipient *createRecipient( const QString &name, + const QString &email, const QString &uuid = QString::null ); + + QString mTimezone; + + QString mFromName; + QString mFromEmail; + QString mFromUuid; +}; + +#endif diff --git a/kresources/groupwise/soap/ksslsocket.cpp b/kresources/groupwise/soap/ksslsocket.cpp new file mode 100644 index 000000000..4fdc3f5f6 --- /dev/null +++ b/kresources/groupwise/soap/ksslsocket.cpp @@ -0,0 +1,408 @@ +/* + ksslsocket.cpp - KDE SSL Socket + + Copyright (c) 2004 by Jason Keirstead + + Kopete (c) 2002-2003 by the Kopete developers + + stolen from kopete, but this is a modified version. + + ************************************************************************* + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ************************************************************************* +*/ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "ksslsocket.h" + +#include "stdlib.h" + +struct KSSLSocketPrivate +{ + mutable KSSL *kssl; + KSSLCertificateCache *cc; + DCOPClient *dcc; + QMap metaData; + QSocketNotifier *socketNotifier; +}; + +KSSLSocket::KSSLSocket() : KExtendedSocket() +{ +// kdDebug() << "KSSLSocket() " << (void*)this << endl; + + d = new KSSLSocketPrivate; + d->kssl = 0L; + d->dcc = 0L; + d->cc = new KSSLCertificateCache; + d->cc->reload(); + + //No blocking + setBlockingMode(false); + + //Connect internal slots + QObject::connect( this, SIGNAL(connectionSuccess()), this, SLOT(slotConnected()) ); + QObject::connect( this, SIGNAL(closed(int)), this, SLOT(slotDisconnected()) ); + QObject::connect( this, SIGNAL(connectionFailed(int)), this, SLOT(slotDisconnected())); +} + +KSSLSocket::~KSSLSocket() +{ +// kdDebug() << "KSSLSocket()::~KSSLSocket() " << (void*)this << endl; + + //Close connection + closeNow(); + + if( d->kssl ) + { + d->kssl->close(); + delete d->kssl; + } + + if ( d->dcc ) + d->dcc->detach(); + delete d->dcc; + delete d->cc; + delete d; +} + +Q_LONG KSSLSocket::readBlock( char* data, Q_ULONG maxLen ) +{ + return d->kssl->read( data, maxLen ); +} + +Q_LONG KSSLSocket::writeBlock( const char* data, Q_ULONG len ) +{ +// kdDebug() << "KSSLSocket::writeBlock() " << (void*)this << endl; +// kdDebug() << " d->kssl: " << (void*)d->kssl << endl; + return d->kssl->write( data, len ); +} + +void KSSLSocket::slotConnected() +{ +// kdDebug() << "KSSLSocket::slotConnected() " << (void*)this << endl; + if( KSSL::doesSSLWork() ) + { +// kdDebug(0) << k_funcinfo << "Trying SSL connection..." << endl; + if( !d->kssl ) + { + d->kssl = new KSSL(); + } + else + { + d->kssl->reInitialize(); + } + d->kssl->setPeerHost(host()); +// kdDebug() << "SOCKET STATUS: " << socketStatus() << endl; + int rc = d->kssl->connect( sockfd ); + if ( rc <= 0 ) { + kdError() << "Error connecting KSSL: " << rc << endl; + kdDebug() << "SYSTEM ERROR: " << systemError() << endl; + emit sslFailure(); + closeNow(); + } else { + readNotifier()->setEnabled(true); + + if( verifyCertificate() != 1 ) + { + closeNow(); + } + } + } + else + { + kdError(0) << k_funcinfo << "SSL not functional!" << endl; + + d->kssl = 0L; + emit sslFailure(); + closeNow(); + } +} + +void KSSLSocket::slotDisconnected() +{ +// kdDebug() << "KSSLSocket::slotDisconnected() " << (void*)this << endl; + if( readNotifier() ) + readNotifier()->setEnabled(false); +} + +void KSSLSocket::setMetaData( const QString &key, const QVariant &data ) +{ + QVariant v = data; + d->metaData[key] = v.asString(); +} + +bool KSSLSocket::hasMetaData( const QString &key ) +{ + return d->metaData.contains(key); +} + +QString KSSLSocket::metaData( const QString &key ) +{ + if( d->metaData.contains(key) ) + return d->metaData[key]; + return QString::null; +} + +/* +I basically copied the below from tcpKIO::SlaveBase.hpp, with some modificaions and formatting. + + * Copyright (C) 2000 Alex Zepeda + * Copyright (C) 2001 Dawit Alemayehu +*/ + +int KSSLSocket::messageBox( KIO::SlaveBase::MessageBoxType type, const QString &text, const QString &caption, + const QString &buttonYes, const QString &buttonNo ) +{ + kdDebug(0) << "messageBox " << type << " " << text << " - " << caption << buttonYes << buttonNo << endl; + QByteArray data, result; + QCString returnType; + QDataStream arg(data, IO_WriteOnly); + arg << (int)1 << (int)type << text << caption << buttonYes << buttonNo; + + if ( ! d->dcc ){ + d->dcc = new DCOPClient(); + d->dcc->attach(); + } + if (!d->dcc->isApplicationRegistered("kio_uiserver")) + { + KApplication::startServiceByDesktopPath("kio_uiserver.desktop",QStringList()); + } + + d->dcc->call("kio_uiserver", "UIServer", + "messageBox(int,int,QString,QString,QString,QString)", data, returnType, result); + + if( returnType == "int" ) + { + int res; + QDataStream r(result, IO_ReadOnly); + r >> res; + return res; + } + else + return 0; // communication failure +} + + +// Returns 0 for failed verification, -1 for rejected cert and 1 for ok +int KSSLSocket::verifyCertificate() +{ + int rc = 0; + bool permacache = false; + bool _IPmatchesCN = false; + int result; + bool doAddHost = false; + QString ourHost = host(); + QString ourIp = peerAddress()->pretty(); + + QString theurl = "https://" + ourHost + ":" + port(); + + if (!d->cc) + d->cc = new KSSLCertificateCache; + + KSSLCertificate& pc = d->kssl->peerInfo().getPeerCertificate(); + + KSSLCertificate::KSSLValidationList ksvl = pc.validateVerbose(KSSLCertificate::SSLServer); + + if ( ksvl.count() == 1 && ksvl.first() == KSSLCertificate::Unknown ) { + kdDebug() << "Unknown validation error" << endl; + return 0; + } + + _IPmatchesCN = d->kssl->peerInfo().certMatchesAddress(); + + if (!_IPmatchesCN && (metaData("ssl_militant") == "TRUE") ) + { + ksvl << KSSLCertificate::InvalidHost; + } + + KSSLCertificate::KSSLValidation ksv = KSSLCertificate::Ok; + if (!ksvl.isEmpty()) + ksv = ksvl.first(); + + /* Setting the various bits of meta-info that will be needed. */ + setMetaData("ssl_cipher", d->kssl->connectionInfo().getCipher()); + setMetaData("ssl_cipher_desc", d->kssl->connectionInfo().getCipherDescription()); + setMetaData("ssl_cipher_version", d->kssl->connectionInfo().getCipherVersion()); + setMetaData("ssl_cipher_used_bits", QString::number(d->kssl->connectionInfo().getCipherUsedBits())); + setMetaData("ssl_cipher_bits", QString::number(d->kssl->connectionInfo().getCipherBits())); + setMetaData("ssl_peer_ip", ourIp ); + + QString errorStr; + for(KSSLCertificate::KSSLValidationList::ConstIterator it = ksvl.begin(); + it != ksvl.end(); ++it) + { + errorStr += QString::number(*it)+":"; + } + + setMetaData("ssl_cert_errors", errorStr); + setMetaData("ssl_peer_certificate", pc.toString()); + + if (pc.chain().isValid() && pc.chain().depth() > 1) + { + QString theChain; + QPtrList chain = pc.chain().getChain(); + for (KSSLCertificate *c = chain.first(); c; c = chain.next()) + { + theChain += c->toString(); + theChain += "\n"; + } + setMetaData("ssl_peer_chain", theChain); + } + else + { + setMetaData("ssl_peer_chain", ""); + } + + setMetaData("ssl_cert_state", QString::number(ksv)); + + if (ksv == KSSLCertificate::Ok) + { + rc = 1; + setMetaData("ssl_action", "accept"); + } + + // Since we're the parent, we need to teach the child. + setMetaData("ssl_parent_ip", ourIp ); + setMetaData("ssl_parent_cert", pc.toString()); + + // - Read from cache and see if there is a policy for this + KSSLCertificateCache::KSSLCertificatePolicy cp = d->cc->getPolicyByCertificate(pc); + // - validation code + if (ksv != KSSLCertificate::Ok) + { + if( cp == KSSLCertificateCache::Unknown || cp == KSSLCertificateCache::Ambiguous) + { + cp = KSSLCertificateCache::Prompt; + } + else + { + // A policy was already set so let's honor that. + permacache = d->cc->isPermanent(pc); + } + + if (!_IPmatchesCN && (metaData("ssl_militant") == "TRUE") + && cp == KSSLCertificateCache::Accept) + { + cp = KSSLCertificateCache::Prompt; + } + + // Precondition: cp is one of Reject, Accept or Prompt + switch (cp) + { + case KSSLCertificateCache::Accept: + rc = 1; + break; + + case KSSLCertificateCache::Reject: + rc = -1; + break; + + case KSSLCertificateCache::Prompt: + { + do + { + if (ksv == KSSLCertificate::InvalidHost) + { + QString msg = i18n("The IP address of the host %1 " + "does not match the one the " + "certificate was issued to."); + result = messageBox( KIO::SlaveBase::WarningYesNoCancel, + msg.arg(ourHost), + i18n("Server Authentication"), + i18n("&Details"), + KStdGuiItem::cont().text() ); + } + else + { + QString msg = i18n("The server certificate failed the " + "authenticity test (%1)."); + result = messageBox( KIO::SlaveBase::WarningYesNoCancel, + msg.arg(ourHost), + i18n("Server Authentication"), + i18n("&Details"), + KStdGuiItem::cont().text() ); + } + } + while (result == KMessageBox::Yes); + + if (result == KMessageBox::No) + { + rc = 1; + cp = KSSLCertificateCache::Accept; + doAddHost = true; + result = messageBox( KIO::SlaveBase::WarningYesNo, + i18n("Would you like to accept this " + "certificate forever without " + "being prompted?"), + i18n("Server Authentication"), + i18n("&Forever"), + i18n("&Current Sessions Only")); + if (result == KMessageBox::Yes) + permacache = true; + else + permacache = false; + } + else + { + rc = -1; + cp = KSSLCertificateCache::Prompt; + } + + break; + } + default: + kdDebug(0) << "SSL error in cert code." + << endl; + break; + } + } + + // - cache the results + d->cc->addCertificate(pc, cp, permacache); + if (doAddHost) + d->cc->addHost(pc, ourHost); + + + if (rc == -1) + return rc; + + if ( getenv("DEBUG_GW_RESOURCE") ) { + kdDebug(0) << "SSL connection information follows:" << endl + << "+-----------------------------------------------" << endl + << "| Cipher: " << d->kssl->connectionInfo().getCipher() << endl + << "| Description: " << d->kssl->connectionInfo().getCipherDescription() << endl + << "| Version: " << d->kssl->connectionInfo().getCipherVersion() << endl + << "| Strength: " << d->kssl->connectionInfo().getCipherUsedBits() + << " of " << d->kssl->connectionInfo().getCipherBits() + << " bits used." << endl + << "| PEER:" << endl + << "| Subject: " << d->kssl->peerInfo().getPeerCertificate().getSubject() << endl + << "| Issuer: " << d->kssl->peerInfo().getPeerCertificate().getIssuer() << endl + << "| Validation: " << (int)ksv << endl + << "| Certificate matches IP: " << _IPmatchesCN << endl + << "+-----------------------------------------------" + << endl; + } + return rc; +} + + +#include "ksslsocket.moc" diff --git a/kresources/groupwise/soap/ksslsocket.h b/kresources/groupwise/soap/ksslsocket.h new file mode 100644 index 000000000..47874e0d5 --- /dev/null +++ b/kresources/groupwise/soap/ksslsocket.h @@ -0,0 +1,60 @@ + +#ifndef _K_SSL_SOCKET_H_ +#define _K_SSL_SOCKET_H_ + +/* + ksslsocket.h - KDE SSL Socket + + Copyright (c) 2004 by Jason Keirstead + + Kopete (c) 2002-2003 by the Kopete developers + + ************************************************************************* + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ************************************************************************* +*/ + +#include +#include +#include + +class KSSLSocketPrivate; + +class KSSLSocket : public KExtendedSocket +{ + Q_OBJECT + + public: + KSSLSocket(); + ~KSSLSocket(); + + Q_LONG readBlock( char* data, Q_ULONG maxLen ); + Q_LONG writeBlock( const char* data, Q_ULONG len ); + + signals: + void sslFailure(); + + private slots: + void slotConnected(); + void slotDisconnected(); + + private: + int verifyCertificate(); + int messageBox( KIO::SlaveBase::MessageBoxType type, const QString &text, + const QString &caption, const QString &buttonYes, const QString &buttonNo ); + + + //Copied frm tcpslavebase to simply integrating their dialog function + void setMetaData( const QString &, const QVariant & ); + bool hasMetaData( const QString & ); + QString metaData( const QString & ); + + KSSLSocketPrivate *d; +}; + +#endif diff --git a/kresources/groupwise/soap/methods.xsd b/kresources/groupwise/soap/methods.xsd new file mode 100644 index 000000000..cfc24d854 --- /dev/null +++ b/kresources/groupwise/soap/methods.xsd @@ -0,0 +1,1429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + If name is not present, the original name value from the + notification message will be used. + A container is requied for accepting a shared folder notification. + It is the container id of the parent folder under which the new + folder will be placed. + If container is not present, the shared folder will be put + under the Cabinet folder. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Forwarding a message is a two step process. + First you call the method with the id of the original item. + A new mail item is returned. + It has the orignal subject. + The caller is responsible to prepend "Fwd:" or what ever they + want to modify the original subject. + If the caller wants the original message body returned, they need + to supply message or message/RTF in the view. + It is up to the caller to modify the message body in any way. + When all of the changes to the returned mail item are complete, + the caller would then call sendRequest with the new mail item. + A linkInfo element is return in the mail item. That element needs + to be passed unchanged in the sendRequest. + If the caller wants to send the original item as an attachment to + the new mail item, the caller would pass the 'embed' element in the + forwardRequest. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This work only for file attachments. + If you try to specify an embedded item, you will get an error. + If you specify offset = 0 and length = -1, + you will receive the whole attachment. + You can supply other values for offset and length to receive + a part of the attachment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + container: The only valid container at this time is the GroupWise System Address book uid. + view: This is the view for the items that are returned. + + + + + + + + + + + + + + + + + + + + + + + The only valid container at this time is the GroupWise System Address book uid. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method will get a library, document or version object + depending on the arguments passed in. + versionNumber is a string. + It can take "current", "official" or a specific version number. + To get a version object, you must also supply a document number. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method provides a quicker access to mail items. + It does this by only access fields that are stored in the + database index. The fields in the index are: id, status, modified, + container, message type, categories, subject, orignalSubject, and + source. + The New list is the fastest access. + The Modified list is slower. + The All list is the slowest. + If you pass a startDate, the test is for any item that is newer + or equal to that date. + If you don't pass a container string. The query will be across + all folders. + If you don't pass a types list, the query will be for all message + types unless the container is the Calendar folder. In that case + the default will be "CalendarItem. "CalendarItem" is a special + case it represents Appointment, Note and Task. + You can select the source types you want to see. If you don't + specify a source, you will get received, draft and personal. + If you don't specify a view, the above fields will be returned. + If you specify other fields than the above fields, they will not + be returned. + You can restrict the number of items return by specifying a count. + All items will be returned if no count is given. + In the case of searching for items, the new startDate will be + returned for use in the next call to getQuickMessagesRequest. + The startDate is the time value before this read was performed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method will link (copy) or move items into the container. + To do a link (copy) do not supply a from container. + To move item(s) from one container to another supply the from + container id. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method permanently deletes all items that were previously + marked for deletion (i.e. stored in the "Trash"). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If "start" or "end" is passed in "position", the value for "forward" + is ignored. + "start" will read from the start of the database going forward. + "end" will read from the end of the database going backward. + If you are making multiple calls to readCursorRequest, "position" + should either be "current" or not present after the first call. + + + + + + + + + + + + + + + + + + + + + + + + This method remove the custom field defintion not the field and + values within an item. + To delete custom defintions from personal address book entries, set + books = "1", else the definition will be deleted from mail items. + This method can take a long time to execute. + You can set doAsynchronous to have the custom field definition + removed in the background. + + + + + + + + + + + + + + + + + + + + + If the container is not specified then the item is + removed from all of the containers that it is linked + to and is stored in the "Trash". + If the container is specified then the item is only + removed from that specific container and it's link + is stored in the "Trash". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The signature will be purged when remove + request completed. The missing id node + when it is not delete all signatures + indicates the removing of plain text signature + which resides in user's settings record. + + + + + + + + + + + + + + + + + + + + + Replying to a message is a two step process. + First you call the method with the id of the original item. + A new mail item is returned. + It has the orignal subject. + The caller is responsible to prepend "Re:" or what ever they + want to modify the original subject. + If the caller wants the original message body returned, they need + to supply message or message/RTF in the view. + It is up to the caller to modify the message body in any way. + When all of the changes to the returned mail item are complete, + the caller would then call sendRequest with the new mail item. + If the caller wants to reply to all recipeints of the original + item, the caller needs to pass recipients in the view. + If recipients is not in the view, the response will be addressed + to the original sender. + A linkInfo element is return in the mail item. That element needs + to be passed unchanged in the sendRequest. + + + + + + + + + + + + + + + + + + + + + If a recipient has opened or accepted a Calendar item, a notice + will be placed in the recipient's in-box when the item is + retracted. The notice can be affected by the following options: + + "comment": The comment will be included in the notice. + "retractCausedByResend": When TRUE, the notice will be suppressed + in lieu of the 'new' calendar item that will be delivered to + the recipient. + "retractingAllInstances": When TRUE, a single notice will be + placed in the recipient's in-box (instead of a notice for each auto-date + instance). + + If no retractType is specified, the default is recipientMailboxes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The only version event types support are: + checkIn + checkOut + resetStatus + viewed + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/kresources/groupwise/soap/patches/README b/kresources/groupwise/soap/patches/README new file mode 100644 index 000000000..17e91cb8c --- /dev/null +++ b/kresources/groupwise/soap/patches/README @@ -0,0 +1,32 @@ +gSoap Patches +============= + +This directory contains patches for gSoap required to make the GroupWise +resource work with the real existing GroupWise server. They are already included +in the gSoap or gSoap generated files in CVS, so if you don't create the stubs +yourself or want to upgrade the gSoap version you don't have to care about these +patches. + +Patch descriptions +------------------ + +broken_namespace.diff: + + The GroupWise server doesn't correctly declare the default namespace. This + patch disables the namespace checking for the GroupWise namespace ns1. + +utf8_entities.diff: + + gSoap encodes utf8 characters as XML entities, but the server doesn't seem to + be able to decode them. This patch makes gSoap send unencoded utf8 characters. + +type_typo.diff + + Some intermediate versions of GroupWise have a typo in the protocol. This + patch works around it. + +socklen.diff: + + Adriaan de Groot : The attached patch is needed for me to get + kresources/groupwise/soap/stdsoap2.cpp to build -- it's the pretty usual + socklen_t type mixups (that are only serious on 64-bitters). diff --git a/kresources/groupwise/soap/patches/broken_namespace.diff b/kresources/groupwise/soap/patches/broken_namespace.diff new file mode 100644 index 000000000..46c5eee41 --- /dev/null +++ b/kresources/groupwise/soap/patches/broken_namespace.diff @@ -0,0 +1,20 @@ +--- /build/progs/gsoap-linux-2.7/stdsoap2.cpp 2004-10-10 20:33:26.000000000 +0200 ++++ ../stdsoap2.cpp 2004-10-25 15:44:05.707573480 +0200 +@@ -2249,10 +2249,15 @@ + SOAP_FMAC1 + int + SOAP_FMAC2 +-soap_match_tag(struct soap *soap, const char *tag1, const char *tag2) ++soap_match_tag(struct soap *soap, const char *tag1, const char *tag2_) + { register const char *s, *t; +- if (!tag1 || !tag2 || !*tag2) ++ if (!tag1 || !tag2_ || !*tag2_) + return SOAP_OK; ++ ++ const char *tag2; ++ if ( strncmp( tag2_, "ns1:", 4 ) == 0 ) tag2 = tag2_ + 4; ++ else tag2 = tag2_; ++ + s = strchr(tag1, ':'); + t = strchr(tag2, ':'); + if (t) diff --git a/kresources/groupwise/soap/patches/socklen.diff b/kresources/groupwise/soap/patches/socklen.diff new file mode 100644 index 000000000..87b283804 --- /dev/null +++ b/kresources/groupwise/soap/patches/socklen.diff @@ -0,0 +1,28 @@ +Index: soap/stdsoap2.cpp +=================================================================== +RCS file: /home/kde/kdepim/kresources/groupwise/soap/stdsoap2.cpp,v +retrieving revision 1.3 +diff -u -3 -p -r1.3 stdsoap2.cpp +--- soap/stdsoap2.cpp 3 Dec 2004 17:15:43 -0000 1.3 ++++ soap/stdsoap2.cpp 6 Dec 2004 21:27:25 -0000 +@@ -3072,7 +3072,7 @@ tcp_connect(struct soap *soap, const cha + #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS) + int n = sizeof(struct sockaddr_in); + #else +- size_t n = sizeof(struct sockaddr_in); ++ kde_socklen_t n = sizeof(struct sockaddr_in); + #endif + fd_set fds; + if (soap->connect_timeout > 0) +@@ -3503,7 +3503,10 @@ tcp_accept(struct soap *soap, int s, str + #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS) + fd = (int)accept((SOAP_SOCKET)s, a, n); + #else +- fd = (int)accept((SOAP_SOCKET)s, a, (size_t*)n); ++ kde_socklen_t n_size = 0; ++ if (n) n_size = *n; ++ fd = (int)accept((SOAP_SOCKET)s, a, &n_size); ++ if (n) *n = n_size; + #endif + #ifdef SOCKET_CLOSE_ON_EXEC + #ifdef WIN32 diff --git a/kresources/groupwise/soap/patches/type_typo.diff b/kresources/groupwise/soap/patches/type_typo.diff new file mode 100644 index 000000000..c663dad14 --- /dev/null +++ b/kresources/groupwise/soap/patches/type_typo.diff @@ -0,0 +1,15 @@ +Index: soap/soapC.cpp +=================================================================== +RCS file: /home/kde/kdepim/kresources/groupwise/soap/soapC.cpp,v +retrieving revision 1.4.2.3 +diff -u -3 -p -r1.4.2.3 soapC.cpp +--- soap/soapC.cpp 25 Oct 2004 13:58:20 -0000 1.4.2.3 ++++ soap/soapC.cpp 29 Oct 2004 11:25:22 -0000 +@@ -6337,6 +6337,7 @@ static const struct soap_code_map soap_c + { { (long)User, "User" }, + { (long)PersonalGroup, "PersonalGroup" }, + { (long)SystemGroup, "SystemGroup" }, ++ { (long)SystemGroup, "SsytemGroup" }, + { (long)PersonalGroupMember, "PersonalGroupMember" }, + { (long)SystemGroupMember, "SystemGroupMember" }, + { 0, NULL } diff --git a/kresources/groupwise/soap/patches/utf8_entities.diff b/kresources/groupwise/soap/patches/utf8_entities.diff new file mode 100644 index 000000000..b8600a9dd --- /dev/null +++ b/kresources/groupwise/soap/patches/utf8_entities.diff @@ -0,0 +1,15 @@ +--- kresources/groupwise/soap/stdsoap2.cpp ++++ kresources/groupwise/soap/stdsoap2.cpp 2004/10/15 12:42:53 +@@ -6470,7 +6470,11 @@ + } + #endif + if (c & mask) +- { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, (unsigned char)c)) ++ { ++ char S[2]; ++ S[0] = c; ++ S[1] = 0; ++ if (soap_send_raw(soap, s, t - s - 1) || soap_send(soap, S) ) + return soap->error; + s = t; + } diff --git a/kresources/groupwise/soap/soapC.cpp b/kresources/groupwise/soap/soapC.cpp new file mode 100644 index 000000000..4d140caef --- /dev/null +++ b/kresources/groupwise/soap/soapC.cpp @@ -0,0 +1,96391 @@ +/* soapC.cpp + Generated by gSOAP 2.7.3 from ./groupwise.h + Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved. + This part of the software is released under one of the following licenses: + GPL, the gSOAP public license, or Genivia's license for commercial use. +*/ + +#include "soapH.h" + +SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.7.3 2006-05-18 13:53:47 GMT") + + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap) +{ + if (soap->header) + soap_serialize_SOAP_ENV__Header(soap, soap->header); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap) +{ + if (soap->header) + { soap->part = SOAP_IN_HEADER; + soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, NULL); + soap->part = SOAP_END_HEADER; + } + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap) +{ + soap->part = SOAP_IN_HEADER; + soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", NULL, NULL); + soap->part = SOAP_END_HEADER; + return soap->header == NULL; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap) +{ + if (!soap->fault) + { soap->fault = (struct SOAP_ENV__Fault*)soap_malloc(soap, sizeof(struct SOAP_ENV__Fault)); + soap_default_SOAP_ENV__Fault(soap, soap->fault); + } + if (soap->version != 1 && !soap->fault->SOAP_ENV__Code) + { soap->fault->SOAP_ENV__Code = (struct SOAP_ENV__Code*)soap_malloc(soap, sizeof(struct SOAP_ENV__Code)); + soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code); + } +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap) +{ + if (soap->fault) + soap_serialize_SOAP_ENV__Fault(soap, soap->fault); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap *soap) +{ + if (soap->fault) + return soap_put_SOAP_ENV__Fault(soap, soap->fault, "SOAP-ENV:Fault", NULL); + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap) +{ + return (soap->fault = soap_get_SOAP_ENV__Fault(soap, NULL, "SOAP-ENV:Fault", NULL)) == NULL; +} + +SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap) +{ + soap_fault(soap); + if (soap->version == 2) + return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value; + return (const char**)&soap->fault->faultcode; +} + +SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap) +{ + soap_fault(soap); + if (soap->version == 2) + return (const char**)&soap->fault->SOAP_ENV__Reason; + return (const char**)&soap->fault->faultstring; +} + +SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap) +{ + soap_fault(soap); + if (soap->version == 1) + { if (!soap->fault->detail) + { soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail)); + soap_default_SOAP_ENV__Detail(soap, soap->fault->detail); + } + return (const char**)&soap->fault->detail->__any; + } + if (!soap->fault->SOAP_ENV__Detail) + { soap->fault->SOAP_ENV__Detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail)); + soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail); + } + return (const char**)&soap->fault->SOAP_ENV__Detail->__any; +} + +#endif + +#ifndef WITH_NOIDREF +SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap) +{ + int t; + for (;;) + if (!soap_getelement(soap, &t)) + if (soap->error || soap_ignore_element(soap)) + break; + if (soap->error == SOAP_NO_TAG || soap->error == SOAP_EOF) + soap->error = SOAP_OK; + return soap->error; +} +#endif + +#ifndef WITH_NOIDREF +SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id))) + *type = soap_lookup_type(soap, soap->href); + switch (*type) + { + case SOAP_TYPE_ngwt__DayOfMonth: + return soap_in_ngwt__DayOfMonth(soap, NULL, NULL, "ngwt:DayOfMonth"); + case SOAP_TYPE_byte: + return soap_in_byte(soap, NULL, NULL, "xsd:byte"); + case SOAP_TYPE_ngwt__WeekOfYear: + return soap_in_ngwt__WeekOfYear(soap, NULL, NULL, "ngwt:WeekOfYear"); + case SOAP_TYPE_ngwt__DayOfYear: + return soap_in_ngwt__DayOfYear(soap, NULL, NULL, "ngwt:DayOfYear"); + case SOAP_TYPE_short: + return soap_in_short(soap, NULL, NULL, "xsd:short"); + case SOAP_TYPE_ngwt__GMTOffset: + return soap_in_ngwt__GMTOffset(soap, NULL, NULL, "ngwt:GMTOffset"); + case SOAP_TYPE_int: + return soap_in_int(soap, NULL, NULL, "xsd:int"); + case SOAP_TYPE_long: + return soap_in_long(soap, NULL, NULL, "xsd:long"); + case SOAP_TYPE_ngwt__Month: + return soap_in_ngwt__Month(soap, NULL, NULL, "ngwt:Month"); + case SOAP_TYPE_ngwt__Minute: + return soap_in_ngwt__Minute(soap, NULL, NULL, "ngwt:Minute"); + case SOAP_TYPE_ngwt__Hour: + return soap_in_ngwt__Hour(soap, NULL, NULL, "ngwt:Hour"); + case SOAP_TYPE_ngwt__Day: + return soap_in_ngwt__Day(soap, NULL, NULL, "ngwt:Day"); + case SOAP_TYPE_unsignedByte: + return soap_in_unsignedByte(soap, NULL, NULL, "xsd:unsignedByte"); + case SOAP_TYPE_unsignedInt: + return soap_in_unsignedInt(soap, NULL, NULL, "xsd:unsignedInt"); + case SOAP_TYPE_unsignedLong: + return soap_in_unsignedLong(soap, NULL, NULL, "xsd:unsignedLong"); + case SOAP_TYPE_bool: + return soap_in_bool(soap, NULL, NULL, "xsd:boolean"); + case SOAP_TYPE_ngwe__ItemType: + return soap_in_ngwe__ItemType(soap, NULL, NULL, "ngwe:ItemType"); + case SOAP_TYPE_ngwe__Field: + return soap_in_ngwe__Field(soap, NULL, NULL, "ngwe:Field"); + case SOAP_TYPE_ngwe__EventType: + return soap_in_ngwe__EventType(soap, NULL, NULL, "ngwe:EventType"); + case SOAP_TYPE_ngwt__WeekDay: + return soap_in_ngwt__WeekDay(soap, NULL, NULL, "ngwt:WeekDay"); + case SOAP_TYPE_ngwt__VersionStatus: + return soap_in_ngwt__VersionStatus(soap, NULL, NULL, "ngwt:VersionStatus"); + case SOAP_TYPE_ngwt__VersionEventType: + return soap_in_ngwt__VersionEventType(soap, NULL, NULL, "ngwt:VersionEventType"); + case SOAP_TYPE_ngwt__StatusTrackingOptions: + return soap_in_ngwt__StatusTrackingOptions(soap, NULL, NULL, "ngwt:StatusTrackingOptions"); + case SOAP_TYPE_ngwt__RuleActionType: + return soap_in_ngwt__RuleActionType(soap, NULL, NULL, "ngwt:RuleActionType"); + case SOAP_TYPE_ngwt__RetractType: + return soap_in_ngwt__RetractType(soap, NULL, NULL, "ngwt:RetractType"); + case SOAP_TYPE_ngwt__RecipientType: + return soap_in_ngwt__RecipientType(soap, NULL, NULL, "ngwt:RecipientType"); + case SOAP_TYPE_ngwt__PostalAddressType: + return soap_in_ngwt__PostalAddressType(soap, NULL, NULL, "ngwt:PostalAddressType"); + case SOAP_TYPE_ngwt__PhoneNumberType: + return soap_in_ngwt__PhoneNumberType(soap, NULL, NULL, "ngwt:PhoneNumberType"); + case SOAP_TYPE_ngwt__OccurrenceType: + return soap_in_ngwt__OccurrenceType(soap, NULL, NULL, "ngwt:OccurrenceType"); + case SOAP_TYPE_ngwt__NotificationType: + return soap_in_ngwt__NotificationType(soap, NULL, NULL, "ngwt:NotificationType"); + case SOAP_TYPE_ngwt__MessageType: + return soap_in_ngwt__MessageType(soap, NULL, NULL, "ngwt:MessageType"); + case SOAP_TYPE_ngwt__MessageList: + return soap_in_ngwt__MessageList(soap, NULL, NULL, "ngwt:MessageList"); + case SOAP_TYPE_ngwt__LinkType: + return soap_in_ngwt__LinkType(soap, NULL, NULL, "ngwt:LinkType"); + case SOAP_TYPE_ngwt__JunkMatchType: + return soap_in_ngwt__JunkMatchType(soap, NULL, NULL, "ngwt:JunkMatchType"); + case SOAP_TYPE_ngwt__JunkHandlingListType: + return soap_in_ngwt__JunkHandlingListType(soap, NULL, NULL, "ngwt:JunkHandlingListType"); + case SOAP_TYPE_ngwt__ItemSource: + return soap_in_ngwt__ItemSource(soap, NULL, NULL, "ngwt:ItemSource"); + case SOAP_TYPE_ngwt__ItemSecurity: + return soap_in_ngwt__ItemSecurity(soap, NULL, NULL, "ngwt:ItemSecurity"); + case SOAP_TYPE_ngwt__ItemOptionsPriority: + return soap_in_ngwt__ItemOptionsPriority(soap, NULL, NULL, "ngwt:ItemOptionsPriority"); + case SOAP_TYPE_ngwt__ItemClass: + return soap_in_ngwt__ItemClass(soap, NULL, NULL, "ngwt:ItemClass"); + case SOAP_TYPE_ngwt__Frequency: + return soap_in_ngwt__Frequency(soap, NULL, NULL, "ngwt:Frequency"); + case SOAP_TYPE_ngwt__FolderType: + return soap_in_ngwt__FolderType(soap, NULL, NULL, "ngwt:FolderType"); + case SOAP_TYPE_ngwt__FolderACLStatus: + return soap_in_ngwt__FolderACLStatus(soap, NULL, NULL, "ngwt:FolderACLStatus"); + case SOAP_TYPE_ngwt__FilterOp: + return soap_in_ngwt__FilterOp(soap, NULL, NULL, "ngwt:FilterOp"); + case SOAP_TYPE_ngwt__FilterDate: + return soap_in_ngwt__FilterDate(soap, NULL, NULL, "ngwt:FilterDate"); + case SOAP_TYPE_ngwt__Execution: + return soap_in_ngwt__Execution(soap, NULL, NULL, "ngwt:Execution"); + case SOAP_TYPE_ngwt__DistributionType: + return soap_in_ngwt__DistributionType(soap, NULL, NULL, "ngwt:DistributionType"); + case SOAP_TYPE_ngwt__DeltaSyncType: + return soap_in_ngwt__DeltaSyncType(soap, NULL, NULL, "ngwt:DeltaSyncType"); + case SOAP_TYPE_ngwt__CustomType: + return soap_in_ngwt__CustomType(soap, NULL, NULL, "ngwt:CustomType"); + case SOAP_TYPE_ngwt__CursorSeek: + return soap_in_ngwt__CursorSeek(soap, NULL, NULL, "ngwt:CursorSeek"); + case SOAP_TYPE_ngwt__ContactType: + return soap_in_ngwt__ContactType(soap, NULL, NULL, "ngwt:ContactType"); + case SOAP_TYPE_ngwt__CategoryType: + return soap_in_ngwt__CategoryType(soap, NULL, NULL, "ngwt:CategoryType"); + case SOAP_TYPE_ngwt__CalendarFolderFlags: + return soap_in_ngwt__CalendarFolderFlags(soap, NULL, NULL, "ngwt:CalendarFolderFlags"); + case SOAP_TYPE_ngwt__AppointmentConflict: + return soap_in_ngwt__AppointmentConflict(soap, NULL, NULL, "ngwt:AppointmentConflict"); + case SOAP_TYPE_ngwt__AgeAction: + return soap_in_ngwt__AgeAction(soap, NULL, NULL, "ngwt:AgeAction"); + case SOAP_TYPE_ngwt__AcceptLevel: + return soap_in_ngwt__AcceptLevel(soap, NULL, NULL, "ngwt:AcceptLevel"); + case SOAP_TYPE_ngwe__ItemTypeList: + return soap_in_ngwe__ItemTypeList(soap, NULL, NULL, "ngwe:ItemTypeList"); + case SOAP_TYPE_ngwe__FieldList: + return soap_in_ngwe__FieldList(soap, NULL, NULL, "ngwe:FieldList"); + case SOAP_TYPE_ngwt__MessageTypeList: + return soap_in_ngwt__MessageTypeList(soap, NULL, NULL, "ngwt:MessageTypeList"); + case SOAP_TYPE_ngwt__ItemSourceList: + return soap_in_ngwt__ItemSourceList(soap, NULL, NULL, "ngwt:ItemSourceList"); + case SOAP_TYPE_ngwt__UUID: + return soap_in_ngwt__UUID(soap, NULL, NULL, "ngwt:UUID"); + case SOAP_TYPE_ngwt__uid: + return soap_in_ngwt__uid(soap, NULL, NULL, "ngwt:uid"); + case SOAP_TYPE_ngwt__View: + return soap_in_ngwt__View(soap, NULL, NULL, "ngwt:View"); + case SOAP_TYPE__ngwe__removeEventsResponse: + return soap_in__ngwe__removeEventsResponse(soap, NULL, NULL, "ngwe:removeEventsResponse"); + case SOAP_TYPE__ngwe__removeEventsRequest: + return soap_in__ngwe__removeEventsRequest(soap, NULL, NULL, "ngwe:removeEventsRequest"); + case SOAP_TYPE__ngwe__removeEventConfigurationResponse: + return soap_in__ngwe__removeEventConfigurationResponse(soap, NULL, NULL, "ngwe:removeEventConfigurationResponse"); + case SOAP_TYPE__ngwe__removeEventConfigurationRequest: + return soap_in__ngwe__removeEventConfigurationRequest(soap, NULL, NULL, "ngwe:removeEventConfigurationRequest"); + case SOAP_TYPE__ngwe__getEventsResponse: + return soap_in__ngwe__getEventsResponse(soap, NULL, NULL, "ngwe:getEventsResponse"); + case SOAP_TYPE__ngwe__getEventsRequest: + return soap_in__ngwe__getEventsRequest(soap, NULL, NULL, "ngwe:getEventsRequest"); + case SOAP_TYPE__ngwe__getEventConfigurationResponse: + return soap_in__ngwe__getEventConfigurationResponse(soap, NULL, NULL, "ngwe:getEventConfigurationResponse"); + case SOAP_TYPE__ngwe__getEventConfigurationRequest: + return soap_in__ngwe__getEventConfigurationRequest(soap, NULL, NULL, "ngwe:getEventConfigurationRequest"); + case SOAP_TYPE__ngwe__configureEventsResponse: + return soap_in__ngwe__configureEventsResponse(soap, NULL, NULL, "ngwe:configureEventsResponse"); + case SOAP_TYPE__ngwe__configureEventsRequest: + return soap_in__ngwe__configureEventsRequest(soap, NULL, NULL, "ngwe:configureEventsRequest"); + case SOAP_TYPE__ngwe__cleanEventConfigurationResponse: + return soap_in__ngwe__cleanEventConfigurationResponse(soap, NULL, NULL, "ngwe:cleanEventConfigurationResponse"); + case SOAP_TYPE__ngwe__cleanEventConfigurationRequest: + return soap_in__ngwe__cleanEventConfigurationRequest(soap, NULL, NULL, "ngwe:cleanEventConfigurationRequest"); + case SOAP_TYPE_ngwe__Notify: + return soap_in_ngwe__Notify(soap, NULL, NULL, "ngwe:Notify"); + case SOAP_TYPE_ngwe__EventTypeList: + return soap_in_ngwe__EventTypeList(soap, NULL, NULL, "ngwe:EventTypeList"); + case SOAP_TYPE_ngwe__EventsList: + return soap_in_ngwe__EventsList(soap, NULL, NULL, "ngwe:EventsList"); + case SOAP_TYPE_ngwe__Events: + return soap_in_ngwe__Events(soap, NULL, NULL, "ngwe:Events"); + case SOAP_TYPE_ngwe__EventList: + return soap_in_ngwe__EventList(soap, NULL, NULL, "ngwe:EventList"); + case SOAP_TYPE_ngwe__EventDefinition: + return soap_in_ngwe__EventDefinition(soap, NULL, NULL, "ngwe:EventDefinition"); + case SOAP_TYPE_ngwe__Event: + return soap_in_ngwe__Event(soap, NULL, NULL, "ngwe:Event"); + case SOAP_TYPE_ngwe__ContainerList: + return soap_in_ngwe__ContainerList(soap, NULL, NULL, "ngwe:ContainerList"); + case SOAP_TYPE__ngwm__updateVersionStatusResponse: + return soap_in__ngwm__updateVersionStatusResponse(soap, NULL, NULL, "ngwm:updateVersionStatusResponse"); + case SOAP_TYPE__ngwm__updateVersionStatusRequest: + return soap_in__ngwm__updateVersionStatusRequest(soap, NULL, NULL, "ngwm:updateVersionStatusRequest"); + case SOAP_TYPE__ngwm__uncompleteResponse: + return soap_in__ngwm__uncompleteResponse(soap, NULL, NULL, "ngwm:uncompleteResponse"); + case SOAP_TYPE__ngwm__uncompleteRequest: + return soap_in__ngwm__uncompleteRequest(soap, NULL, NULL, "ngwm:uncompleteRequest"); + case SOAP_TYPE__ngwm__unacceptResponse: + return soap_in__ngwm__unacceptResponse(soap, NULL, NULL, "ngwm:unacceptResponse"); + case SOAP_TYPE__ngwm__unacceptRequest: + return soap_in__ngwm__unacceptRequest(soap, NULL, NULL, "ngwm:unacceptRequest"); + case SOAP_TYPE__ngwm__startFreeBusySessionResponse: + return soap_in__ngwm__startFreeBusySessionResponse(soap, NULL, NULL, "ngwm:startFreeBusySessionResponse"); + case SOAP_TYPE__ngwm__startFreeBusySessionRequest: + return soap_in__ngwm__startFreeBusySessionRequest(soap, NULL, NULL, "ngwm:startFreeBusySessionRequest"); + case SOAP_TYPE__ngwm__setTimestampResponse: + return soap_in__ngwm__setTimestampResponse(soap, NULL, NULL, "ngwm:setTimestampResponse"); + case SOAP_TYPE__ngwm__setTimestampRequest: + return soap_in__ngwm__setTimestampRequest(soap, NULL, NULL, "ngwm:setTimestampRequest"); + case SOAP_TYPE__ngwm__sendItemResponse: + return soap_in__ngwm__sendItemResponse(soap, NULL, NULL, "ngwm:sendItemResponse"); + case SOAP_TYPE__ngwm__sendItemRequest: + return soap_in__ngwm__sendItemRequest(soap, NULL, NULL, "ngwm:sendItemRequest"); + case SOAP_TYPE__ngwm__retractResponse: + return soap_in__ngwm__retractResponse(soap, NULL, NULL, "ngwm:retractResponse"); + case SOAP_TYPE__ngwm__retractRequest: + return soap_in__ngwm__retractRequest(soap, NULL, NULL, "ngwm:retractRequest"); + case SOAP_TYPE__ngwm__replyResponse: + return soap_in__ngwm__replyResponse(soap, NULL, NULL, "ngwm:replyResponse"); + case SOAP_TYPE__ngwm__replyRequest: + return soap_in__ngwm__replyRequest(soap, NULL, NULL, "ngwm:replyRequest"); + case SOAP_TYPE__ngwm__removeSignatureResponse: + return soap_in__ngwm__removeSignatureResponse(soap, NULL, NULL, "ngwm:removeSignatureResponse"); + case SOAP_TYPE__ngwm__removeSignatureRequest: + return soap_in__ngwm__removeSignatureRequest(soap, NULL, NULL, "ngwm:removeSignatureRequest"); + case SOAP_TYPE__ngwm__removeProxyUserResponse: + return soap_in__ngwm__removeProxyUserResponse(soap, NULL, NULL, "ngwm:removeProxyUserResponse"); + case SOAP_TYPE__ngwm__removeProxyUserRequest: + return soap_in__ngwm__removeProxyUserRequest(soap, NULL, NULL, "ngwm:removeProxyUserRequest"); + case SOAP_TYPE__ngwm__removeProxyAccessResponse: + return soap_in__ngwm__removeProxyAccessResponse(soap, NULL, NULL, "ngwm:removeProxyAccessResponse"); + case SOAP_TYPE__ngwm__removeProxyAccessRequest: + return soap_in__ngwm__removeProxyAccessRequest(soap, NULL, NULL, "ngwm:removeProxyAccessRequest"); + case SOAP_TYPE__ngwm__removeMembersResponse: + return soap_in__ngwm__removeMembersResponse(soap, NULL, NULL, "ngwm:removeMembersResponse"); + case SOAP_TYPE__ngwm__removeMembersRequest: + return soap_in__ngwm__removeMembersRequest(soap, NULL, NULL, "ngwm:removeMembersRequest"); + case SOAP_TYPE__ngwm__removeJunkEntryResponse: + return soap_in__ngwm__removeJunkEntryResponse(soap, NULL, NULL, "ngwm:removeJunkEntryResponse"); + case SOAP_TYPE__ngwm__removeJunkEntryRequest: + return soap_in__ngwm__removeJunkEntryRequest(soap, NULL, NULL, "ngwm:removeJunkEntryRequest"); + case SOAP_TYPE__ngwm__removeItemsResponse: + return soap_in__ngwm__removeItemsResponse(soap, NULL, NULL, "ngwm:removeItemsResponse"); + case SOAP_TYPE__ngwm__removeItemsRequest: + return soap_in__ngwm__removeItemsRequest(soap, NULL, NULL, "ngwm:removeItemsRequest"); + case SOAP_TYPE__ngwm__removeItemResponse: + return soap_in__ngwm__removeItemResponse(soap, NULL, NULL, "ngwm:removeItemResponse"); + case SOAP_TYPE__ngwm__removeItemRequest: + return soap_in__ngwm__removeItemRequest(soap, NULL, NULL, "ngwm:removeItemRequest"); + case SOAP_TYPE__ngwm__removeCustomDefinitionResponse: + return soap_in__ngwm__removeCustomDefinitionResponse(soap, NULL, NULL, "ngwm:removeCustomDefinitionResponse"); + case SOAP_TYPE__ngwm__removeCustomDefinitionRequest: + return soap_in__ngwm__removeCustomDefinitionRequest(soap, NULL, NULL, "ngwm:removeCustomDefinitionRequest"); + case SOAP_TYPE__ngwm__readCursorResponse: + return soap_in__ngwm__readCursorResponse(soap, NULL, NULL, "ngwm:readCursorResponse"); + case SOAP_TYPE__ngwm__readCursorRequest: + return soap_in__ngwm__readCursorRequest(soap, NULL, NULL, "ngwm:readCursorRequest"); + case SOAP_TYPE__ngwm__purgeResponse: + return soap_in__ngwm__purgeResponse(soap, NULL, NULL, "ngwm:purgeResponse"); + case SOAP_TYPE__ngwm__purgeRequest: + return soap_in__ngwm__purgeRequest(soap, NULL, NULL, "ngwm:purgeRequest"); + case SOAP_TYPE__ngwm__purgeDeletedItemsResponse: + return soap_in__ngwm__purgeDeletedItemsResponse(soap, NULL, NULL, "ngwm:purgeDeletedItemsResponse"); + case SOAP_TYPE__ngwm__purgeDeletedItemsRequest: + return soap_in__ngwm__purgeDeletedItemsRequest(soap, NULL, NULL, "ngwm:purgeDeletedItemsRequest"); + case SOAP_TYPE__ngwm__positionCursorResponse: + return soap_in__ngwm__positionCursorResponse(soap, NULL, NULL, "ngwm:positionCursorResponse"); + case SOAP_TYPE__ngwm__positionCursorRequest: + return soap_in__ngwm__positionCursorRequest(soap, NULL, NULL, "ngwm:positionCursorRequest"); + case SOAP_TYPE__ngwm__moveItemResponse: + return soap_in__ngwm__moveItemResponse(soap, NULL, NULL, "ngwm:moveItemResponse"); + case SOAP_TYPE__ngwm__moveItemRequest: + return soap_in__ngwm__moveItemRequest(soap, NULL, NULL, "ngwm:moveItemRequest"); + case SOAP_TYPE__ngwm__modifySignaturesResponse: + return soap_in__ngwm__modifySignaturesResponse(soap, NULL, NULL, "ngwm:modifySignaturesResponse"); + case SOAP_TYPE__ngwm__modifySignaturesRequest: + return soap_in__ngwm__modifySignaturesRequest(soap, NULL, NULL, "ngwm:modifySignaturesRequest"); + case SOAP_TYPE__ngwm__modifySettingsResponse: + return soap_in__ngwm__modifySettingsResponse(soap, NULL, NULL, "ngwm:modifySettingsResponse"); + case SOAP_TYPE__ngwm__modifySettingsRequest: + return soap_in__ngwm__modifySettingsRequest(soap, NULL, NULL, "ngwm:modifySettingsRequest"); + case SOAP_TYPE__ngwm__modifyProxyAccessResponse: + return soap_in__ngwm__modifyProxyAccessResponse(soap, NULL, NULL, "ngwm:modifyProxyAccessResponse"); + case SOAP_TYPE__ngwm__modifyProxyAccessRequest: + return soap_in__ngwm__modifyProxyAccessRequest(soap, NULL, NULL, "ngwm:modifyProxyAccessRequest"); + case SOAP_TYPE__ngwm__modifyPasswordResponse: + return soap_in__ngwm__modifyPasswordResponse(soap, NULL, NULL, "ngwm:modifyPasswordResponse"); + case SOAP_TYPE__ngwm__modifyPasswordRequest: + return soap_in__ngwm__modifyPasswordRequest(soap, NULL, NULL, "ngwm:modifyPasswordRequest"); + case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse: + return soap_in__ngwm__modifyJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsResponse"); + case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest: + return soap_in__ngwm__modifyJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsRequest"); + case SOAP_TYPE__ngwm__modifyJunkEntryResponse: + return soap_in__ngwm__modifyJunkEntryResponse(soap, NULL, NULL, "ngwm:modifyJunkEntryResponse"); + case SOAP_TYPE__ngwm__modifyJunkEntryRequest: + return soap_in__ngwm__modifyJunkEntryRequest(soap, NULL, NULL, "ngwm:modifyJunkEntryRequest"); + case SOAP_TYPE__ngwm__modifyItemsResponse: + return soap_in__ngwm__modifyItemsResponse(soap, NULL, NULL, "ngwm:modifyItemsResponse"); + case SOAP_TYPE__ngwm__modifyItemsRequest: + return soap_in__ngwm__modifyItemsRequest(soap, NULL, NULL, "ngwm:modifyItemsRequest"); + case SOAP_TYPE__ngwm__modifyItemResponse: + return soap_in__ngwm__modifyItemResponse(soap, NULL, NULL, "ngwm:modifyItemResponse"); + case SOAP_TYPE__ngwm__modifyItemRequest: + return soap_in__ngwm__modifyItemRequest(soap, NULL, NULL, "ngwm:modifyItemRequest"); + case SOAP_TYPE__ngwm__markUnReadResponse: + return soap_in__ngwm__markUnReadResponse(soap, NULL, NULL, "ngwm:markUnReadResponse"); + case SOAP_TYPE__ngwm__markUnReadRequest: + return soap_in__ngwm__markUnReadRequest(soap, NULL, NULL, "ngwm:markUnReadRequest"); + case SOAP_TYPE__ngwm__markUnPrivateResponse: + return soap_in__ngwm__markUnPrivateResponse(soap, NULL, NULL, "ngwm:markUnPrivateResponse"); + case SOAP_TYPE__ngwm__markUnPrivateRequest: + return soap_in__ngwm__markUnPrivateRequest(soap, NULL, NULL, "ngwm:markUnPrivateRequest"); + case SOAP_TYPE__ngwm__markReadResponse: + return soap_in__ngwm__markReadResponse(soap, NULL, NULL, "ngwm:markReadResponse"); + case SOAP_TYPE__ngwm__markReadRequest: + return soap_in__ngwm__markReadRequest(soap, NULL, NULL, "ngwm:markReadRequest"); + case SOAP_TYPE__ngwm__markPrivateResponse: + return soap_in__ngwm__markPrivateResponse(soap, NULL, NULL, "ngwm:markPrivateResponse"); + case SOAP_TYPE__ngwm__markPrivateRequest: + return soap_in__ngwm__markPrivateRequest(soap, NULL, NULL, "ngwm:markPrivateRequest"); + case SOAP_TYPE__ngwm__logoutResponse: + return soap_in__ngwm__logoutResponse(soap, NULL, NULL, "ngwm:logoutResponse"); + case SOAP_TYPE__ngwm__logoutRequest: + return soap_in__ngwm__logoutRequest(soap, NULL, NULL, "ngwm:logoutRequest"); + case SOAP_TYPE__ngwm__loginResponse: + return soap_in__ngwm__loginResponse(soap, NULL, NULL, "ngwm:loginResponse"); + case SOAP_TYPE__ngwm__loginRequest: + return soap_in__ngwm__loginRequest(soap, NULL, NULL, "ngwm:loginRequest"); + case SOAP_TYPE__ngwm__getUserListResponse: + return soap_in__ngwm__getUserListResponse(soap, NULL, NULL, "ngwm:getUserListResponse"); + case SOAP_TYPE__ngwm__getUserListRequest: + return soap_in__ngwm__getUserListRequest(soap, NULL, NULL, "ngwm:getUserListRequest"); + case SOAP_TYPE__ngwm__getTimezoneListResponse: + return soap_in__ngwm__getTimezoneListResponse(soap, NULL, NULL, "ngwm:getTimezoneListResponse"); + case SOAP_TYPE__ngwm__getTimezoneListRequest: + return soap_in__ngwm__getTimezoneListRequest(soap, NULL, NULL, "ngwm:getTimezoneListRequest"); + case SOAP_TYPE__ngwm__getTimestampResponse: + return soap_in__ngwm__getTimestampResponse(soap, NULL, NULL, "ngwm:getTimestampResponse"); + case SOAP_TYPE__ngwm__getTimestampRequest: + return soap_in__ngwm__getTimestampRequest(soap, NULL, NULL, "ngwm:getTimestampRequest"); + case SOAP_TYPE__ngwm__getSignaturesResponse: + return soap_in__ngwm__getSignaturesResponse(soap, NULL, NULL, "ngwm:getSignaturesResponse"); + case SOAP_TYPE__ngwm__getSignaturesRequest: + return soap_in__ngwm__getSignaturesRequest(soap, NULL, NULL, "ngwm:getSignaturesRequest"); + case SOAP_TYPE__ngwm__getSettingsResponse: + return soap_in__ngwm__getSettingsResponse(soap, NULL, NULL, "ngwm:getSettingsResponse"); + case SOAP_TYPE__ngwm__getSettingsRequest: + return soap_in__ngwm__getSettingsRequest(soap, NULL, NULL, "ngwm:getSettingsRequest"); + case SOAP_TYPE__ngwm__getRuleListResponse: + return soap_in__ngwm__getRuleListResponse(soap, NULL, NULL, "ngwm:getRuleListResponse"); + case SOAP_TYPE__ngwm__getRuleListRequest: + return soap_in__ngwm__getRuleListRequest(soap, NULL, NULL, "ngwm:getRuleListRequest"); + case SOAP_TYPE__ngwm__getProxyListResponse: + return soap_in__ngwm__getProxyListResponse(soap, NULL, NULL, "ngwm:getProxyListResponse"); + case SOAP_TYPE__ngwm__getProxyListRequest: + return soap_in__ngwm__getProxyListRequest(soap, NULL, NULL, "ngwm:getProxyListRequest"); + case SOAP_TYPE__ngwm__getProxyAccessListResponse: + return soap_in__ngwm__getProxyAccessListResponse(soap, NULL, NULL, "ngwm:getProxyAccessListResponse"); + case SOAP_TYPE__ngwm__getProxyAccessListRequest: + return soap_in__ngwm__getProxyAccessListRequest(soap, NULL, NULL, "ngwm:getProxyAccessListRequest"); + case SOAP_TYPE__ngwm__getQuickMessagesResponse: + return soap_in__ngwm__getQuickMessagesResponse(soap, NULL, NULL, "ngwm:getQuickMessagesResponse"); + case SOAP_TYPE__ngwm__getQuickMessagesRequest: + return soap_in__ngwm__getQuickMessagesRequest(soap, NULL, NULL, "ngwm:getQuickMessagesRequest"); + case SOAP_TYPE__ngwm__getLibraryListResponse: + return soap_in__ngwm__getLibraryListResponse(soap, NULL, NULL, "ngwm:getLibraryListResponse"); + case SOAP_TYPE__ngwm__getLibraryListRequest: + return soap_in__ngwm__getLibraryListRequest(soap, NULL, NULL, "ngwm:getLibraryListRequest"); + case SOAP_TYPE__ngwm__getLibraryItemResponse: + return soap_in__ngwm__getLibraryItemResponse(soap, NULL, NULL, "ngwm:getLibraryItemResponse"); + case SOAP_TYPE__ngwm__getLibraryItemRequest: + return soap_in__ngwm__getLibraryItemRequest(soap, NULL, NULL, "ngwm:getLibraryItemRequest"); + case SOAP_TYPE__ngwm__getJunkMailSettingsResponse: + return soap_in__ngwm__getJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:getJunkMailSettingsResponse"); + case SOAP_TYPE__ngwm__getJunkMailSettingsRequest: + return soap_in__ngwm__getJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:getJunkMailSettingsRequest"); + case SOAP_TYPE__ngwm__getJunkEntriesResponse: + return soap_in__ngwm__getJunkEntriesResponse(soap, NULL, NULL, "ngwm:getJunkEntriesResponse"); + case SOAP_TYPE__ngwm__getJunkEntriesRequest: + return soap_in__ngwm__getJunkEntriesRequest(soap, NULL, NULL, "ngwm:getJunkEntriesRequest"); + case SOAP_TYPE__ngwm__getItemsResponse: + return soap_in__ngwm__getItemsResponse(soap, NULL, NULL, "ngwm:getItemsResponse"); + case SOAP_TYPE__ngwm__getItemsRequest: + return soap_in__ngwm__getItemsRequest(soap, NULL, NULL, "ngwm:getItemsRequest"); + case SOAP_TYPE__ngwm__getItemResponse: + return soap_in__ngwm__getItemResponse(soap, NULL, NULL, "ngwm:getItemResponse"); + case SOAP_TYPE__ngwm__getItemRequest: + return soap_in__ngwm__getItemRequest(soap, NULL, NULL, "ngwm:getItemRequest"); + case SOAP_TYPE__ngwm__getFreeBusyResponse: + return soap_in__ngwm__getFreeBusyResponse(soap, NULL, NULL, "ngwm:getFreeBusyResponse"); + case SOAP_TYPE__ngwm__getFreeBusyRequest: + return soap_in__ngwm__getFreeBusyRequest(soap, NULL, NULL, "ngwm:getFreeBusyRequest"); + case SOAP_TYPE__ngwm__getFolderListResponse: + return soap_in__ngwm__getFolderListResponse(soap, NULL, NULL, "ngwm:getFolderListResponse"); + case SOAP_TYPE__ngwm__getFolderListRequest: + return soap_in__ngwm__getFolderListRequest(soap, NULL, NULL, "ngwm:getFolderListRequest"); + case SOAP_TYPE__ngwm__getFolderResponse: + return soap_in__ngwm__getFolderResponse(soap, NULL, NULL, "ngwm:getFolderResponse"); + case SOAP_TYPE__ngwm__getFolderRequest: + return soap_in__ngwm__getFolderRequest(soap, NULL, NULL, "ngwm:getFolderRequest"); + case SOAP_TYPE__ngwm__getDocumentTypeListResponse: + return soap_in__ngwm__getDocumentTypeListResponse(soap, NULL, NULL, "ngwm:getDocumentTypeListResponse"); + case SOAP_TYPE__ngwm__getDocumentTypeListRequest: + return soap_in__ngwm__getDocumentTypeListRequest(soap, NULL, NULL, "ngwm:getDocumentTypeListRequest"); + case SOAP_TYPE__ngwm__getDeltaInfoResponse: + return soap_in__ngwm__getDeltaInfoResponse(soap, NULL, NULL, "ngwm:getDeltaInfoResponse"); + case SOAP_TYPE__ngwm__getDeltaInfoRequest: + return soap_in__ngwm__getDeltaInfoRequest(soap, NULL, NULL, "ngwm:getDeltaInfoRequest"); + case SOAP_TYPE__ngwm__getDeltasResponse: + return soap_in__ngwm__getDeltasResponse(soap, NULL, NULL, "ngwm:getDeltasResponse"); + case SOAP_TYPE__ngwm__getDeltasRequest: + return soap_in__ngwm__getDeltasRequest(soap, NULL, NULL, "ngwm:getDeltasRequest"); + case SOAP_TYPE__ngwm__getCustomListResponse: + return soap_in__ngwm__getCustomListResponse(soap, NULL, NULL, "ngwm:getCustomListResponse"); + case SOAP_TYPE__ngwm__getCustomListRequest: + return soap_in__ngwm__getCustomListRequest(soap, NULL, NULL, "ngwm:getCustomListRequest"); + case SOAP_TYPE__ngwm__getCategoryListResponse: + return soap_in__ngwm__getCategoryListResponse(soap, NULL, NULL, "ngwm:getCategoryListResponse"); + case SOAP_TYPE__ngwm__getCategoryListRequest: + return soap_in__ngwm__getCategoryListRequest(soap, NULL, NULL, "ngwm:getCategoryListRequest"); + case SOAP_TYPE__ngwm__getAttachmentResponse: + return soap_in__ngwm__getAttachmentResponse(soap, NULL, NULL, "ngwm:getAttachmentResponse"); + case SOAP_TYPE__ngwm__getAttachmentRequest: + return soap_in__ngwm__getAttachmentRequest(soap, NULL, NULL, "ngwm:getAttachmentRequest"); + case SOAP_TYPE__ngwm__getAddressBookListResponse: + return soap_in__ngwm__getAddressBookListResponse(soap, NULL, NULL, "ngwm:getAddressBookListResponse"); + case SOAP_TYPE__ngwm__getAddressBookListRequest: + return soap_in__ngwm__getAddressBookListRequest(soap, NULL, NULL, "ngwm:getAddressBookListRequest"); + case SOAP_TYPE__ngwm__forwardResponse: + return soap_in__ngwm__forwardResponse(soap, NULL, NULL, "ngwm:forwardResponse"); + case SOAP_TYPE__ngwm__forwardRequest: + return soap_in__ngwm__forwardRequest(soap, NULL, NULL, "ngwm:forwardRequest"); + case SOAP_TYPE__ngwm__executeRuleResponse: + return soap_in__ngwm__executeRuleResponse(soap, NULL, NULL, "ngwm:executeRuleResponse"); + case SOAP_TYPE__ngwm__executeRuleRequest: + return soap_in__ngwm__executeRuleRequest(soap, NULL, NULL, "ngwm:executeRuleRequest"); + case SOAP_TYPE__ngwm__destroyCursorResponse: + return soap_in__ngwm__destroyCursorResponse(soap, NULL, NULL, "ngwm:destroyCursorResponse"); + case SOAP_TYPE__ngwm__destroyCursorRequest: + return soap_in__ngwm__destroyCursorRequest(soap, NULL, NULL, "ngwm:destroyCursorRequest"); + case SOAP_TYPE__ngwm__delegateResponse: + return soap_in__ngwm__delegateResponse(soap, NULL, NULL, "ngwm:delegateResponse"); + case SOAP_TYPE__ngwm__delegateRequest: + return soap_in__ngwm__delegateRequest(soap, NULL, NULL, "ngwm:delegateRequest"); + case SOAP_TYPE__ngwm__declineResponse: + return soap_in__ngwm__declineResponse(soap, NULL, NULL, "ngwm:declineResponse"); + case SOAP_TYPE__ngwm__declineRequest: + return soap_in__ngwm__declineRequest(soap, NULL, NULL, "ngwm:declineRequest"); + case SOAP_TYPE__ngwm__createSignatureResponse: + return soap_in__ngwm__createSignatureResponse(soap, NULL, NULL, "ngwm:createSignatureResponse"); + case SOAP_TYPE__ngwm__createSignatureRequest: + return soap_in__ngwm__createSignatureRequest(soap, NULL, NULL, "ngwm:createSignatureRequest"); + case SOAP_TYPE__ngwm__createProxyAccessResponse: + return soap_in__ngwm__createProxyAccessResponse(soap, NULL, NULL, "ngwm:createProxyAccessResponse"); + case SOAP_TYPE__ngwm__createProxyAccessRequest: + return soap_in__ngwm__createProxyAccessRequest(soap, NULL, NULL, "ngwm:createProxyAccessRequest"); + case SOAP_TYPE__ngwm__createJunkEntryResponse: + return soap_in__ngwm__createJunkEntryResponse(soap, NULL, NULL, "ngwm:createJunkEntryResponse"); + case SOAP_TYPE__ngwm__createJunkEntryRequest: + return soap_in__ngwm__createJunkEntryRequest(soap, NULL, NULL, "ngwm:createJunkEntryRequest"); + case SOAP_TYPE__ngwm__createItemsResponse: + return soap_in__ngwm__createItemsResponse(soap, NULL, NULL, "ngwm:createItemsResponse"); + case SOAP_TYPE__ngwm__createItemsRequest: + return soap_in__ngwm__createItemsRequest(soap, NULL, NULL, "ngwm:createItemsRequest"); + case SOAP_TYPE__ngwm__createItemResponse: + return soap_in__ngwm__createItemResponse(soap, NULL, NULL, "ngwm:createItemResponse"); + case SOAP_TYPE__ngwm__createItemRequest: + return soap_in__ngwm__createItemRequest(soap, NULL, NULL, "ngwm:createItemRequest"); + case SOAP_TYPE__ngwm__createCursorResponse: + return soap_in__ngwm__createCursorResponse(soap, NULL, NULL, "ngwm:createCursorResponse"); + case SOAP_TYPE__ngwm__createCursorRequest: + return soap_in__ngwm__createCursorRequest(soap, NULL, NULL, "ngwm:createCursorRequest"); + case SOAP_TYPE__ngwm__completeResponse: + return soap_in__ngwm__completeResponse(soap, NULL, NULL, "ngwm:completeResponse"); + case SOAP_TYPE__ngwm__completeRequest: + return soap_in__ngwm__completeRequest(soap, NULL, NULL, "ngwm:completeRequest"); + case SOAP_TYPE__ngwm__closeFreeBusySessionResponse: + return soap_in__ngwm__closeFreeBusySessionResponse(soap, NULL, NULL, "ngwm:closeFreeBusySessionResponse"); + case SOAP_TYPE__ngwm__closeFreeBusySessionRequest: + return soap_in__ngwm__closeFreeBusySessionRequest(soap, NULL, NULL, "ngwm:closeFreeBusySessionRequest"); + case SOAP_TYPE__ngwm__addMembersResponse: + return soap_in__ngwm__addMembersResponse(soap, NULL, NULL, "ngwm:addMembersResponse"); + case SOAP_TYPE__ngwm__addMembersRequest: + return soap_in__ngwm__addMembersRequest(soap, NULL, NULL, "ngwm:addMembersRequest"); + case SOAP_TYPE__ngwm__addItemsResponse: + return soap_in__ngwm__addItemsResponse(soap, NULL, NULL, "ngwm:addItemsResponse"); + case SOAP_TYPE__ngwm__addItemsRequest: + return soap_in__ngwm__addItemsRequest(soap, NULL, NULL, "ngwm:addItemsRequest"); + case SOAP_TYPE__ngwm__addItemResponse: + return soap_in__ngwm__addItemResponse(soap, NULL, NULL, "ngwm:addItemResponse"); + case SOAP_TYPE__ngwm__addItemRequest: + return soap_in__ngwm__addItemRequest(soap, NULL, NULL, "ngwm:addItemRequest"); + case SOAP_TYPE__ngwm__acceptShareResponse: + return soap_in__ngwm__acceptShareResponse(soap, NULL, NULL, "ngwm:acceptShareResponse"); + case SOAP_TYPE__ngwm__acceptShareRequest: + return soap_in__ngwm__acceptShareRequest(soap, NULL, NULL, "ngwm:acceptShareRequest"); + case SOAP_TYPE__ngwm__acceptResponse: + return soap_in__ngwm__acceptResponse(soap, NULL, NULL, "ngwm:acceptResponse"); + case SOAP_TYPE__ngwm__acceptRequest: + return soap_in__ngwm__acceptRequest(soap, NULL, NULL, "ngwm:acceptRequest"); + case SOAP_TYPE_ngwt__VersionEvent: + return soap_in_ngwt__VersionEvent(soap, NULL, NULL, "ngwt:VersionEvent"); + case SOAP_TYPE_ngwt__Version: + return soap_in_ngwt__Version(soap, NULL, NULL, "ngwt:Version"); + case SOAP_TYPE_ngwt__UserList: + return soap_in_ngwt__UserList(soap, NULL, NULL, "ngwt:UserList"); + case SOAP_TYPE_ngwt__UserInfo: + return soap_in_ngwt__UserInfo(soap, NULL, NULL, "ngwt:UserInfo"); + case SOAP_TYPE_ngwt__TrustedApplication: + return soap_in_ngwt__TrustedApplication(soap, NULL, NULL, "ngwt:TrustedApplication"); + case SOAP_TYPE_ngwt__TransferFailedStatus: + return soap_in_ngwt__TransferFailedStatus(soap, NULL, NULL, "ngwt:TransferFailedStatus"); + case SOAP_TYPE_ngwt__TimezoneList: + return soap_in_ngwt__TimezoneList(soap, NULL, NULL, "ngwt:TimezoneList"); + case SOAP_TYPE_ngwt__TimezoneComponent: + return soap_in_ngwt__TimezoneComponent(soap, NULL, NULL, "ngwt:TimezoneComponent"); + case SOAP_TYPE_ngwt__Timezone: + return soap_in_ngwt__Timezone(soap, NULL, NULL, "ngwt:Timezone"); + case SOAP_TYPE_ngwt__Task: + return soap_in_ngwt__Task(soap, NULL, NULL, "ngwt:Task"); + case SOAP_TYPE_ngwt__SystemFolder: + return soap_in_ngwt__SystemFolder(soap, NULL, NULL, "ngwt:SystemFolder"); + case SOAP_TYPE_ngwt__StatusTracking: + return soap_in_ngwt__StatusTracking(soap, NULL, NULL, "ngwt:StatusTracking"); + case SOAP_TYPE_ngwt__Status: + return soap_in_ngwt__Status(soap, NULL, NULL, "ngwt:Status"); + case SOAP_TYPE_ngwt__SMimeOperation: + return soap_in_ngwt__SMimeOperation(soap, NULL, NULL, "ngwt:SMimeOperation"); + case SOAP_TYPE_ngwt__SignatureData: + return soap_in_ngwt__SignatureData(soap, NULL, NULL, "ngwt:SignatureData"); + case SOAP_TYPE_ngwt__Signatures: + return soap_in_ngwt__Signatures(soap, NULL, NULL, "ngwt:Signatures"); + case SOAP_TYPE_ngwt__Signature: + return soap_in_ngwt__Signature(soap, NULL, NULL, "ngwt:Signature"); + case SOAP_TYPE_ngwt__SharedNotification: + return soap_in_ngwt__SharedNotification(soap, NULL, NULL, "ngwt:SharedNotification"); + case SOAP_TYPE_ngwt__SharedFolderNotification: + return soap_in_ngwt__SharedFolderNotification(soap, NULL, NULL, "ngwt:SharedFolderNotification"); + case SOAP_TYPE_ngwt__SharedFolder: + return soap_in_ngwt__SharedFolder(soap, NULL, NULL, "ngwt:SharedFolder"); + case SOAP_TYPE_ngwt__SettingsList: + return soap_in_ngwt__SettingsList(soap, NULL, NULL, "ngwt:SettingsList"); + case SOAP_TYPE_ngwt__SettingsGroup: + return soap_in_ngwt__SettingsGroup(soap, NULL, NULL, "ngwt:SettingsGroup"); + case SOAP_TYPE_ngwt__Settings: + return soap_in_ngwt__Settings(soap, NULL, NULL, "ngwt:Settings"); + case SOAP_TYPE_ngwt__SendOptions: + return soap_in_ngwt__SendOptions(soap, NULL, NULL, "ngwt:SendOptions"); + case SOAP_TYPE_ngwt__SendOptionsRequestReply: + return soap_in_ngwt__SendOptionsRequestReply(soap, NULL, NULL, "ngwt:SendOptionsRequestReply"); + case SOAP_TYPE_ngwt__RuleList: + return soap_in_ngwt__RuleList(soap, NULL, NULL, "ngwt:RuleList"); + case SOAP_TYPE_ngwt__RuleActionList: + return soap_in_ngwt__RuleActionList(soap, NULL, NULL, "ngwt:RuleActionList"); + case SOAP_TYPE_ngwt__RuleAction: + return soap_in_ngwt__RuleAction(soap, NULL, NULL, "ngwt:RuleAction"); + case SOAP_TYPE_ngwt__Rule: + return soap_in_ngwt__Rule(soap, NULL, NULL, "ngwt:Rule"); + case SOAP_TYPE_ngwt__Rights: + return soap_in_ngwt__Rights(soap, NULL, NULL, "ngwt:Rights"); + case SOAP_TYPE_ngwt__ReturnNotificationOptions: + return soap_in_ngwt__ReturnNotificationOptions(soap, NULL, NULL, "ngwt:ReturnNotificationOptions"); + case SOAP_TYPE_ngwt__ReturnNotification: + return soap_in_ngwt__ReturnNotification(soap, NULL, NULL, "ngwt:ReturnNotification"); + case SOAP_TYPE_ngwt__Resource: + return soap_in_ngwt__Resource(soap, NULL, NULL, "ngwt:Resource"); + case SOAP_TYPE_ngwt__ReferenceInfo: + return soap_in_ngwt__ReferenceInfo(soap, NULL, NULL, "ngwt:ReferenceInfo"); + case SOAP_TYPE_ngwt__RecurrenceRule: + return soap_in_ngwt__RecurrenceRule(soap, NULL, NULL, "ngwt:RecurrenceRule"); + case SOAP_TYPE_ngwt__RecurrenceDateType: + return soap_in_ngwt__RecurrenceDateType(soap, NULL, NULL, "ngwt:RecurrenceDateType"); + case SOAP_TYPE_ngwt__RecipientStatus: + return soap_in_ngwt__RecipientStatus(soap, NULL, NULL, "ngwt:RecipientStatus"); + case SOAP_TYPE_ngwt__RecipientList: + return soap_in_ngwt__RecipientList(soap, NULL, NULL, "ngwt:RecipientList"); + case SOAP_TYPE_ngwt__Recipient: + return soap_in_ngwt__Recipient(soap, NULL, NULL, "ngwt:Recipient"); + case SOAP_TYPE_ngwt__QueryTarget: + return soap_in_ngwt__QueryTarget(soap, NULL, NULL, "ngwt:QueryTarget"); + case SOAP_TYPE_ngwt__QueryFolder: + return soap_in_ngwt__QueryFolder(soap, NULL, NULL, "ngwt:QueryFolder"); + case SOAP_TYPE_ngwt__Query: + return soap_in_ngwt__Query(soap, NULL, NULL, "ngwt:Query"); + case SOAP_TYPE_ngwt__ProxyList: + return soap_in_ngwt__ProxyList(soap, NULL, NULL, "ngwt:ProxyList"); + case SOAP_TYPE_ngwt__ProxyUser: + return soap_in_ngwt__ProxyUser(soap, NULL, NULL, "ngwt:ProxyUser"); + case SOAP_TYPE_ngwt__Proxy: + return soap_in_ngwt__Proxy(soap, NULL, NULL, "ngwt:Proxy"); + case SOAP_TYPE_ngwt__ProblemList: + return soap_in_ngwt__ProblemList(soap, NULL, NULL, "ngwt:ProblemList"); + case SOAP_TYPE_ngwt__ProblemEntry: + return soap_in_ngwt__ProblemEntry(soap, NULL, NULL, "ngwt:ProblemEntry"); + case SOAP_TYPE_ngwt__PostalAddressList: + return soap_in_ngwt__PostalAddressList(soap, NULL, NULL, "ngwt:PostalAddressList"); + case SOAP_TYPE_ngwt__PostalAddress: + return soap_in_ngwt__PostalAddress(soap, NULL, NULL, "ngwt:PostalAddress"); + case SOAP_TYPE_ngwt__PlainText: + return soap_in_ngwt__PlainText(soap, NULL, NULL, "ngwt:PlainText"); + case SOAP_TYPE_ngwt__PhoneNumber: + return soap_in_ngwt__PhoneNumber(soap, NULL, NULL, "ngwt:PhoneNumber"); + case SOAP_TYPE_ngwt__PhoneMessage: + return soap_in_ngwt__PhoneMessage(soap, NULL, NULL, "ngwt:PhoneMessage"); + case SOAP_TYPE_ngwt__PhoneList: + return soap_in_ngwt__PhoneList(soap, NULL, NULL, "ngwt:PhoneList"); + case SOAP_TYPE_ngwt__PhoneFlags: + return soap_in_ngwt__PhoneFlags(soap, NULL, NULL, "ngwt:PhoneFlags"); + case SOAP_TYPE_ngwt__PersonalInfo: + return soap_in_ngwt__PersonalInfo(soap, NULL, NULL, "ngwt:PersonalInfo"); + case SOAP_TYPE_ngwt__Organization: + return soap_in_ngwt__Organization(soap, NULL, NULL, "ngwt:Organization"); + case SOAP_TYPE_ngwt__OfficeInfo: + return soap_in_ngwt__OfficeInfo(soap, NULL, NULL, "ngwt:OfficeInfo"); + case SOAP_TYPE_ngwt__Note: + return soap_in_ngwt__Note(soap, NULL, NULL, "ngwt:Note"); + case SOAP_TYPE_ngwt__NameAndEmail: + return soap_in_ngwt__NameAndEmail(soap, NULL, NULL, "ngwt:NameAndEmail"); + case SOAP_TYPE_ngwt__MonthList: + return soap_in_ngwt__MonthList(soap, NULL, NULL, "ngwt:MonthList"); + case SOAP_TYPE_ngwt__ModifyItem: + return soap_in_ngwt__ModifyItem(soap, NULL, NULL, "ngwt:ModifyItem"); + case SOAP_TYPE_ngwt__MessagePart: + return soap_in_ngwt__MessagePart(soap, NULL, NULL, "ngwt:MessagePart"); + case SOAP_TYPE_ngwt__MessageBody: + return soap_in_ngwt__MessageBody(soap, NULL, NULL, "ngwt:MessageBody"); + case SOAP_TYPE_ngwt__Mail: + return soap_in_ngwt__Mail(soap, NULL, NULL, "ngwt:Mail"); + case SOAP_TYPE_ngwt__LinkInfo: + return soap_in_ngwt__LinkInfo(soap, NULL, NULL, "ngwt:LinkInfo"); + case SOAP_TYPE_ngwt__LibraryList: + return soap_in_ngwt__LibraryList(soap, NULL, NULL, "ngwt:LibraryList"); + case SOAP_TYPE_ngwt__Library: + return soap_in_ngwt__Library(soap, NULL, NULL, "ngwt:Library"); + case SOAP_TYPE_ngwt__JunkHandlingList: + return soap_in_ngwt__JunkHandlingList(soap, NULL, NULL, "ngwt:JunkHandlingList"); + case SOAP_TYPE_ngwt__JunkEntry: + return soap_in_ngwt__JunkEntry(soap, NULL, NULL, "ngwt:JunkEntry"); + case SOAP_TYPE_ngwt__ItemStatus: + return soap_in_ngwt__ItemStatus(soap, NULL, NULL, "ngwt:ItemStatus"); + case SOAP_TYPE_ngwt__Items: + return soap_in_ngwt__Items(soap, NULL, NULL, "ngwt:Items"); + case SOAP_TYPE_ngwt__ItemRefList: + return soap_in_ngwt__ItemRefList(soap, NULL, NULL, "ngwt:ItemRefList"); + case SOAP_TYPE_ngwt__ItemRef: + return soap_in_ngwt__ItemRef(soap, NULL, NULL, "ngwt:ItemRef"); + case SOAP_TYPE_ngwt__ItemOptions: + return soap_in_ngwt__ItemOptions(soap, NULL, NULL, "ngwt:ItemOptions"); + case SOAP_TYPE_ngwt__ItemList: + return soap_in_ngwt__ItemList(soap, NULL, NULL, "ngwt:ItemList"); + case SOAP_TYPE_ngwt__ItemChanges: + return soap_in_ngwt__ItemChanges(soap, NULL, NULL, "ngwt:ItemChanges"); + case SOAP_TYPE_ngwt__Item: + return soap_in_ngwt__Item(soap, NULL, NULL, "ngwt:Item"); + case SOAP_TYPE_ngwt__ImAddressList: + return soap_in_ngwt__ImAddressList(soap, NULL, NULL, "ngwt:ImAddressList"); + case SOAP_TYPE_ngwt__ImAddress: + return soap_in_ngwt__ImAddress(soap, NULL, NULL, "ngwt:ImAddress"); + case SOAP_TYPE_ngwt__Host: + return soap_in_ngwt__Host(soap, NULL, NULL, "ngwt:Host"); + case SOAP_TYPE_ngwt__GroupMemberList: + return soap_in_ngwt__GroupMemberList(soap, NULL, NULL, "ngwt:GroupMemberList"); + case SOAP_TYPE_ngwt__GroupMember: + return soap_in_ngwt__GroupMember(soap, NULL, NULL, "ngwt:GroupMember"); + case SOAP_TYPE_ngwt__Group: + return soap_in_ngwt__Group(soap, NULL, NULL, "ngwt:Group"); + case SOAP_TYPE_ngwt__FullName: + return soap_in_ngwt__FullName(soap, NULL, NULL, "ngwt:FullName"); + case SOAP_TYPE_ngwt__From: + return soap_in_ngwt__From(soap, NULL, NULL, "ngwt:From"); + case SOAP_TYPE_ngwt__FreeBusyStats: + return soap_in_ngwt__FreeBusyStats(soap, NULL, NULL, "ngwt:FreeBusyStats"); + case SOAP_TYPE_ngwt__FreeBusyInfoList: + return soap_in_ngwt__FreeBusyInfoList(soap, NULL, NULL, "ngwt:FreeBusyInfoList"); + case SOAP_TYPE_ngwt__FreeBusyUserList: + return soap_in_ngwt__FreeBusyUserList(soap, NULL, NULL, "ngwt:FreeBusyUserList"); + case SOAP_TYPE_ngwt__FreeBusyInfo: + return soap_in_ngwt__FreeBusyInfo(soap, NULL, NULL, "ngwt:FreeBusyInfo"); + case SOAP_TYPE_ngwt__FreeBusyBlock: + return soap_in_ngwt__FreeBusyBlock(soap, NULL, NULL, "ngwt:FreeBusyBlock"); + case SOAP_TYPE_ngwt__FreeBusyBlockList: + return soap_in_ngwt__FreeBusyBlockList(soap, NULL, NULL, "ngwt:FreeBusyBlockList"); + case SOAP_TYPE_ngwt__FolderList: + return soap_in_ngwt__FolderList(soap, NULL, NULL, "ngwt:FolderList"); + case SOAP_TYPE_ngwt__FolderACLEntry: + return soap_in_ngwt__FolderACLEntry(soap, NULL, NULL, "ngwt:FolderACLEntry"); + case SOAP_TYPE_ngwt__FolderACL: + return soap_in_ngwt__FolderACL(soap, NULL, NULL, "ngwt:FolderACL"); + case SOAP_TYPE_ngwt__Folder: + return soap_in_ngwt__Folder(soap, NULL, NULL, "ngwt:Folder"); + case SOAP_TYPE_ngwt__FilterGroup: + return soap_in_ngwt__FilterGroup(soap, NULL, NULL, "ngwt:FilterGroup"); + case SOAP_TYPE_ngwt__FilterEntry: + return soap_in_ngwt__FilterEntry(soap, NULL, NULL, "ngwt:FilterEntry"); + case SOAP_TYPE_ngwt__FilterElement: + return soap_in_ngwt__FilterElement(soap, NULL, NULL, "ngwt:FilterElement"); + case SOAP_TYPE_ngwt__Filter: + return soap_in_ngwt__Filter(soap, NULL, NULL, "ngwt:Filter"); + case SOAP_TYPE_ngwt__EmailAddressList: + return soap_in_ngwt__EmailAddressList(soap, NULL, NULL, "ngwt:EmailAddressList"); + case SOAP_TYPE_ngwt__DocumentTypeList: + return soap_in_ngwt__DocumentTypeList(soap, NULL, NULL, "ngwt:DocumentTypeList"); + case SOAP_TYPE_ngwt__DocumentType: + return soap_in_ngwt__DocumentType(soap, NULL, NULL, "ngwt:DocumentType"); + case SOAP_TYPE_ngwt__DocumentRef: + return soap_in_ngwt__DocumentRef(soap, NULL, NULL, "ngwt:DocumentRef"); + case SOAP_TYPE_ngwt__Document: + return soap_in_ngwt__Document(soap, NULL, NULL, "ngwt:Document"); + case SOAP_TYPE_ngwt__Distribution: + return soap_in_ngwt__Distribution(soap, NULL, NULL, "ngwt:Distribution"); + case SOAP_TYPE_ngwt__DeltaInfo: + return soap_in_ngwt__DeltaInfo(soap, NULL, NULL, "ngwt:DeltaInfo"); + case SOAP_TYPE_ngwt__DelegateeStatus: + return soap_in_ngwt__DelegateeStatus(soap, NULL, NULL, "ngwt:DelegateeStatus"); + case SOAP_TYPE_ngwt__DelegatedStatus: + return soap_in_ngwt__DelegatedStatus(soap, NULL, NULL, "ngwt:DelegatedStatus"); + case SOAP_TYPE_ngwt__DayOfYearWeekList: + return soap_in_ngwt__DayOfYearWeekList(soap, NULL, NULL, "ngwt:DayOfYearWeekList"); + case SOAP_TYPE_ngwt__DayOfYearWeek: + return soap_in_ngwt__DayOfYearWeek(soap, NULL, NULL, "ngwt:DayOfYearWeek"); + case SOAP_TYPE_ngwt__DayOfYearList: + return soap_in_ngwt__DayOfYearList(soap, NULL, NULL, "ngwt:DayOfYearList"); + case SOAP_TYPE_ngwt__DayOfWeek: + return soap_in_ngwt__DayOfWeek(soap, NULL, NULL, "ngwt:DayOfWeek"); + case SOAP_TYPE_ngwt__DayOfMonthList: + return soap_in_ngwt__DayOfMonthList(soap, NULL, NULL, "ngwt:DayOfMonthList"); + case SOAP_TYPE_ngwt__CustomList: + return soap_in_ngwt__CustomList(soap, NULL, NULL, "ngwt:CustomList"); + case SOAP_TYPE_ngwt__Custom: + return soap_in_ngwt__Custom(soap, NULL, NULL, "ngwt:Custom"); + case SOAP_TYPE_ngwt__ContainerRef: + return soap_in_ngwt__ContainerRef(soap, NULL, NULL, "ngwt:ContainerRef"); + case SOAP_TYPE_ngwt__ContainerItem: + return soap_in_ngwt__ContainerItem(soap, NULL, NULL, "ngwt:ContainerItem"); + case SOAP_TYPE_ngwt__ContactFolder: + return soap_in_ngwt__ContactFolder(soap, NULL, NULL, "ngwt:ContactFolder"); + case SOAP_TYPE_ngwt__Contact: + return soap_in_ngwt__Contact(soap, NULL, NULL, "ngwt:Contact"); + case SOAP_TYPE_ngwt__CommentStatus: + return soap_in_ngwt__CommentStatus(soap, NULL, NULL, "ngwt:CommentStatus"); + case SOAP_TYPE_ngwt__CategoryRefList: + return soap_in_ngwt__CategoryRefList(soap, NULL, NULL, "ngwt:CategoryRefList"); + case SOAP_TYPE_ngwt__CategoryList: + return soap_in_ngwt__CategoryList(soap, NULL, NULL, "ngwt:CategoryList"); + case SOAP_TYPE_ngwt__Category: + return soap_in_ngwt__Category(soap, NULL, NULL, "ngwt:Category"); + case SOAP_TYPE_ngwt__CalendarItem: + return soap_in_ngwt__CalendarItem(soap, NULL, NULL, "ngwt:CalendarItem"); + case SOAP_TYPE_ngwt__CalendarFolderAttribute: + return soap_in_ngwt__CalendarFolderAttribute(soap, NULL, NULL, "ngwt:CalendarFolderAttribute"); + case SOAP_TYPE_ngwt__BoxEntry: + return soap_in_ngwt__BoxEntry(soap, NULL, NULL, "ngwt:BoxEntry"); + case SOAP_TYPE_ngwt__Authentication: + return soap_in_ngwt__Authentication(soap, NULL, NULL, "ngwt:Authentication"); + case SOAP_TYPE_ngwt__AttachmentItemInfo: + return soap_in_ngwt__AttachmentItemInfo(soap, NULL, NULL, "ngwt:AttachmentItemInfo"); + case SOAP_TYPE_ngwt__AttachmentInfo: + return soap_in_ngwt__AttachmentInfo(soap, NULL, NULL, "ngwt:AttachmentInfo"); + case SOAP_TYPE_ngwt__AttachmentID: + return soap_in_ngwt__AttachmentID(soap, NULL, NULL, "ngwt:AttachmentID"); + case SOAP_TYPE_ngwt__Appointment: + return soap_in_ngwt__Appointment(soap, NULL, NULL, "ngwt:Appointment"); + case SOAP_TYPE_ngwt__Alarm: + return soap_in_ngwt__Alarm(soap, NULL, NULL, "ngwt:Alarm"); + case SOAP_TYPE_ngwt__AddressBookList: + return soap_in_ngwt__AddressBookList(soap, NULL, NULL, "ngwt:AddressBookList"); + case SOAP_TYPE_ngwt__AddressBookItem: + return soap_in_ngwt__AddressBookItem(soap, NULL, NULL, "ngwt:AddressBookItem"); + case SOAP_TYPE_ngwt__AddressBook: + return soap_in_ngwt__AddressBook(soap, NULL, NULL, "ngwt:AddressBook"); + case SOAP_TYPE_ngwt__AccessRightList: + return soap_in_ngwt__AccessRightList(soap, NULL, NULL, "ngwt:AccessRightList"); + case SOAP_TYPE_ngwt__AccessRightEntry: + return soap_in_ngwt__AccessRightEntry(soap, NULL, NULL, "ngwt:AccessRightEntry"); + case SOAP_TYPE_ngwt__AccessRightChanges: + return soap_in_ngwt__AccessRightChanges(soap, NULL, NULL, "ngwt:AccessRightChanges"); + case SOAP_TYPE_ngwt__AccessRight: + return soap_in_ngwt__AccessRight(soap, NULL, NULL, "ngwt:AccessRight"); + case SOAP_TYPE_ngwt__AccessMiscRight: + return soap_in_ngwt__AccessMiscRight(soap, NULL, NULL, "ngwt:AccessMiscRight"); + case SOAP_TYPE_ngwt__AccessControlList: + return soap_in_ngwt__AccessControlList(soap, NULL, NULL, "ngwt:AccessControlList"); + case SOAP_TYPE_ngwt__AccessControlListEntry: + return soap_in_ngwt__AccessControlListEntry(soap, NULL, NULL, "ngwt:AccessControlListEntry"); + case SOAP_TYPE_xsd__language: + return soap_in_xsd__language(soap, NULL, NULL, "xsd:language"); + case SOAP_TYPE_xsd__duration: + return soap_in_xsd__duration(soap, NULL, NULL, "xsd:duration"); + case SOAP_TYPE_xsd__decimal: + return soap_in_xsd__decimal(soap, NULL, NULL, "xsd:decimal"); + case SOAP_TYPE_xsd__date: + return soap_in_xsd__date(soap, NULL, NULL, "xsd:date"); + case SOAP_TYPE_std__string: + return soap_in_std__string(soap, NULL, NULL, "xsd:string"); + case SOAP_TYPE_xsd__base64Binary: + return soap_in_xsd__base64Binary(soap, NULL, NULL, "xsd:base64Binary"); + case SOAP_TYPE_PointerTo_ngwe__removeEventsResponse: + return soap_in_PointerTo_ngwe__removeEventsResponse(soap, NULL, NULL, "ngwe:removeEventsResponse"); + case SOAP_TYPE_PointerTo_ngwe__removeEventsRequest: + return soap_in_PointerTo_ngwe__removeEventsRequest(soap, NULL, NULL, "ngwe:removeEventsRequest"); + case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse: + return soap_in_PointerTo_ngwe__removeEventConfigurationResponse(soap, NULL, NULL, "ngwe:removeEventConfigurationResponse"); + case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest: + return soap_in_PointerTo_ngwe__removeEventConfigurationRequest(soap, NULL, NULL, "ngwe:removeEventConfigurationRequest"); + case SOAP_TYPE_PointerTo_ngwe__getEventsResponse: + return soap_in_PointerTo_ngwe__getEventsResponse(soap, NULL, NULL, "ngwe:getEventsResponse"); + case SOAP_TYPE_PointerTo_ngwe__getEventsRequest: + return soap_in_PointerTo_ngwe__getEventsRequest(soap, NULL, NULL, "ngwe:getEventsRequest"); + case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse: + return soap_in_PointerTo_ngwe__getEventConfigurationResponse(soap, NULL, NULL, "ngwe:getEventConfigurationResponse"); + case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest: + return soap_in_PointerTo_ngwe__getEventConfigurationRequest(soap, NULL, NULL, "ngwe:getEventConfigurationRequest"); + case SOAP_TYPE_PointerTo_ngwe__configureEventsResponse: + return soap_in_PointerTo_ngwe__configureEventsResponse(soap, NULL, NULL, "ngwe:configureEventsResponse"); + case SOAP_TYPE_PointerTo_ngwe__configureEventsRequest: + return soap_in_PointerTo_ngwe__configureEventsRequest(soap, NULL, NULL, "ngwe:configureEventsRequest"); + case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse: + return soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(soap, NULL, NULL, "ngwe:cleanEventConfigurationResponse"); + case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest: + return soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(soap, NULL, NULL, "ngwe:cleanEventConfigurationRequest"); + case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse: + return soap_in_PointerTo_ngwm__updateVersionStatusResponse(soap, NULL, NULL, "ngwm:updateVersionStatusResponse"); + case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest: + return soap_in_PointerTo_ngwm__updateVersionStatusRequest(soap, NULL, NULL, "ngwm:updateVersionStatusRequest"); + case SOAP_TYPE_PointerTo_ngwm__uncompleteResponse: + return soap_in_PointerTo_ngwm__uncompleteResponse(soap, NULL, NULL, "ngwm:uncompleteResponse"); + case SOAP_TYPE_PointerTo_ngwm__uncompleteRequest: + return soap_in_PointerTo_ngwm__uncompleteRequest(soap, NULL, NULL, "ngwm:uncompleteRequest"); + case SOAP_TYPE_PointerTo_ngwm__unacceptResponse: + return soap_in_PointerTo_ngwm__unacceptResponse(soap, NULL, NULL, "ngwm:unacceptResponse"); + case SOAP_TYPE_PointerTo_ngwm__unacceptRequest: + return soap_in_PointerTo_ngwm__unacceptRequest(soap, NULL, NULL, "ngwm:unacceptRequest"); + case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse: + return soap_in_PointerTo_ngwm__startFreeBusySessionResponse(soap, NULL, NULL, "ngwm:startFreeBusySessionResponse"); + case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest: + return soap_in_PointerTo_ngwm__startFreeBusySessionRequest(soap, NULL, NULL, "ngwm:startFreeBusySessionRequest"); + case SOAP_TYPE_PointerTo_ngwm__setTimestampResponse: + return soap_in_PointerTo_ngwm__setTimestampResponse(soap, NULL, NULL, "ngwm:setTimestampResponse"); + case SOAP_TYPE_PointerTo_ngwm__setTimestampRequest: + return soap_in_PointerTo_ngwm__setTimestampRequest(soap, NULL, NULL, "ngwm:setTimestampRequest"); + case SOAP_TYPE_PointerTo_ngwm__sendItemResponse: + return soap_in_PointerTo_ngwm__sendItemResponse(soap, NULL, NULL, "ngwm:sendItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__sendItemRequest: + return soap_in_PointerTo_ngwm__sendItemRequest(soap, NULL, NULL, "ngwm:sendItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__retractResponse: + return soap_in_PointerTo_ngwm__retractResponse(soap, NULL, NULL, "ngwm:retractResponse"); + case SOAP_TYPE_PointerTo_ngwm__retractRequest: + return soap_in_PointerTo_ngwm__retractRequest(soap, NULL, NULL, "ngwm:retractRequest"); + case SOAP_TYPE_PointerTo_ngwm__replyResponse: + return soap_in_PointerTo_ngwm__replyResponse(soap, NULL, NULL, "ngwm:replyResponse"); + case SOAP_TYPE_PointerTo_ngwm__replyRequest: + return soap_in_PointerTo_ngwm__replyRequest(soap, NULL, NULL, "ngwm:replyRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse: + return soap_in_PointerTo_ngwm__removeSignatureResponse(soap, NULL, NULL, "ngwm:removeSignatureResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest: + return soap_in_PointerTo_ngwm__removeSignatureRequest(soap, NULL, NULL, "ngwm:removeSignatureRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse: + return soap_in_PointerTo_ngwm__removeProxyUserResponse(soap, NULL, NULL, "ngwm:removeProxyUserResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest: + return soap_in_PointerTo_ngwm__removeProxyUserRequest(soap, NULL, NULL, "ngwm:removeProxyUserRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse: + return soap_in_PointerTo_ngwm__removeProxyAccessResponse(soap, NULL, NULL, "ngwm:removeProxyAccessResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest: + return soap_in_PointerTo_ngwm__removeProxyAccessRequest(soap, NULL, NULL, "ngwm:removeProxyAccessRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeMembersResponse: + return soap_in_PointerTo_ngwm__removeMembersResponse(soap, NULL, NULL, "ngwm:removeMembersResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeMembersRequest: + return soap_in_PointerTo_ngwm__removeMembersRequest(soap, NULL, NULL, "ngwm:removeMembersRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse: + return soap_in_PointerTo_ngwm__removeJunkEntryResponse(soap, NULL, NULL, "ngwm:removeJunkEntryResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest: + return soap_in_PointerTo_ngwm__removeJunkEntryRequest(soap, NULL, NULL, "ngwm:removeJunkEntryRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeItemsResponse: + return soap_in_PointerTo_ngwm__removeItemsResponse(soap, NULL, NULL, "ngwm:removeItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeItemsRequest: + return soap_in_PointerTo_ngwm__removeItemsRequest(soap, NULL, NULL, "ngwm:removeItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeItemResponse: + return soap_in_PointerTo_ngwm__removeItemResponse(soap, NULL, NULL, "ngwm:removeItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeItemRequest: + return soap_in_PointerTo_ngwm__removeItemRequest(soap, NULL, NULL, "ngwm:removeItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse: + return soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(soap, NULL, NULL, "ngwm:removeCustomDefinitionResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest: + return soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(soap, NULL, NULL, "ngwm:removeCustomDefinitionRequest"); + case SOAP_TYPE_PointerTo_ngwm__readCursorResponse: + return soap_in_PointerTo_ngwm__readCursorResponse(soap, NULL, NULL, "ngwm:readCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__readCursorRequest: + return soap_in_PointerTo_ngwm__readCursorRequest(soap, NULL, NULL, "ngwm:readCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__purgeResponse: + return soap_in_PointerTo_ngwm__purgeResponse(soap, NULL, NULL, "ngwm:purgeResponse"); + case SOAP_TYPE_PointerTo_ngwm__purgeRequest: + return soap_in_PointerTo_ngwm__purgeRequest(soap, NULL, NULL, "ngwm:purgeRequest"); + case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse: + return soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(soap, NULL, NULL, "ngwm:purgeDeletedItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest: + return soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(soap, NULL, NULL, "ngwm:purgeDeletedItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__positionCursorResponse: + return soap_in_PointerTo_ngwm__positionCursorResponse(soap, NULL, NULL, "ngwm:positionCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__positionCursorRequest: + return soap_in_PointerTo_ngwm__positionCursorRequest(soap, NULL, NULL, "ngwm:positionCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__moveItemResponse: + return soap_in_PointerTo_ngwm__moveItemResponse(soap, NULL, NULL, "ngwm:moveItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__moveItemRequest: + return soap_in_PointerTo_ngwm__moveItemRequest(soap, NULL, NULL, "ngwm:moveItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse: + return soap_in_PointerTo_ngwm__modifySignaturesResponse(soap, NULL, NULL, "ngwm:modifySignaturesResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest: + return soap_in_PointerTo_ngwm__modifySignaturesRequest(soap, NULL, NULL, "ngwm:modifySignaturesRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse: + return soap_in_PointerTo_ngwm__modifySettingsResponse(soap, NULL, NULL, "ngwm:modifySettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest: + return soap_in_PointerTo_ngwm__modifySettingsRequest(soap, NULL, NULL, "ngwm:modifySettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse: + return soap_in_PointerTo_ngwm__modifyProxyAccessResponse(soap, NULL, NULL, "ngwm:modifyProxyAccessResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest: + return soap_in_PointerTo_ngwm__modifyProxyAccessRequest(soap, NULL, NULL, "ngwm:modifyProxyAccessRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse: + return soap_in_PointerTo_ngwm__modifyPasswordResponse(soap, NULL, NULL, "ngwm:modifyPasswordResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest: + return soap_in_PointerTo_ngwm__modifyPasswordRequest(soap, NULL, NULL, "ngwm:modifyPasswordRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse: + return soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest: + return soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:modifyJunkMailSettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse: + return soap_in_PointerTo_ngwm__modifyJunkEntryResponse(soap, NULL, NULL, "ngwm:modifyJunkEntryResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest: + return soap_in_PointerTo_ngwm__modifyJunkEntryRequest(soap, NULL, NULL, "ngwm:modifyJunkEntryRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyItemResponse: + return soap_in_PointerTo_ngwm__modifyItemResponse(soap, NULL, NULL, "ngwm:modifyItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyItemRequest: + return soap_in_PointerTo_ngwm__modifyItemRequest(soap, NULL, NULL, "ngwm:modifyItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__markUnReadResponse: + return soap_in_PointerTo_ngwm__markUnReadResponse(soap, NULL, NULL, "ngwm:markUnReadResponse"); + case SOAP_TYPE_PointerTo_ngwm__markUnReadRequest: + return soap_in_PointerTo_ngwm__markUnReadRequest(soap, NULL, NULL, "ngwm:markUnReadRequest"); + case SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse: + return soap_in_PointerTo_ngwm__markUnPrivateResponse(soap, NULL, NULL, "ngwm:markUnPrivateResponse"); + case SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest: + return soap_in_PointerTo_ngwm__markUnPrivateRequest(soap, NULL, NULL, "ngwm:markUnPrivateRequest"); + case SOAP_TYPE_PointerTo_ngwm__markReadResponse: + return soap_in_PointerTo_ngwm__markReadResponse(soap, NULL, NULL, "ngwm:markReadResponse"); + case SOAP_TYPE_PointerTo_ngwm__markReadRequest: + return soap_in_PointerTo_ngwm__markReadRequest(soap, NULL, NULL, "ngwm:markReadRequest"); + case SOAP_TYPE_PointerTo_ngwm__markPrivateResponse: + return soap_in_PointerTo_ngwm__markPrivateResponse(soap, NULL, NULL, "ngwm:markPrivateResponse"); + case SOAP_TYPE_PointerTo_ngwm__markPrivateRequest: + return soap_in_PointerTo_ngwm__markPrivateRequest(soap, NULL, NULL, "ngwm:markPrivateRequest"); + case SOAP_TYPE_PointerTo_ngwm__logoutResponse: + return soap_in_PointerTo_ngwm__logoutResponse(soap, NULL, NULL, "ngwm:logoutResponse"); + case SOAP_TYPE_PointerTo_ngwm__logoutRequest: + return soap_in_PointerTo_ngwm__logoutRequest(soap, NULL, NULL, "ngwm:logoutRequest"); + case SOAP_TYPE_PointerTo_ngwm__loginResponse: + return soap_in_PointerTo_ngwm__loginResponse(soap, NULL, NULL, "ngwm:loginResponse"); + case SOAP_TYPE_PointerTo_ngwm__loginRequest: + return soap_in_PointerTo_ngwm__loginRequest(soap, NULL, NULL, "ngwm:loginRequest"); + case SOAP_TYPE_PointerTo_ngwm__getUserListResponse: + return soap_in_PointerTo_ngwm__getUserListResponse(soap, NULL, NULL, "ngwm:getUserListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getUserListRequest: + return soap_in_PointerTo_ngwm__getUserListRequest(soap, NULL, NULL, "ngwm:getUserListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse: + return soap_in_PointerTo_ngwm__getTimezoneListResponse(soap, NULL, NULL, "ngwm:getTimezoneListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest: + return soap_in_PointerTo_ngwm__getTimezoneListRequest(soap, NULL, NULL, "ngwm:getTimezoneListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getTimestampResponse: + return soap_in_PointerTo_ngwm__getTimestampResponse(soap, NULL, NULL, "ngwm:getTimestampResponse"); + case SOAP_TYPE_PointerTo_ngwm__getTimestampRequest: + return soap_in_PointerTo_ngwm__getTimestampRequest(soap, NULL, NULL, "ngwm:getTimestampRequest"); + case SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse: + return soap_in_PointerTo_ngwm__getSignaturesResponse(soap, NULL, NULL, "ngwm:getSignaturesResponse"); + case SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest: + return soap_in_PointerTo_ngwm__getSignaturesRequest(soap, NULL, NULL, "ngwm:getSignaturesRequest"); + case SOAP_TYPE_PointerTo_ngwm__getSettingsResponse: + return soap_in_PointerTo_ngwm__getSettingsResponse(soap, NULL, NULL, "ngwm:getSettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__getSettingsRequest: + return soap_in_PointerTo_ngwm__getSettingsRequest(soap, NULL, NULL, "ngwm:getSettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__getRuleListResponse: + return soap_in_PointerTo_ngwm__getRuleListResponse(soap, NULL, NULL, "ngwm:getRuleListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getRuleListRequest: + return soap_in_PointerTo_ngwm__getRuleListRequest(soap, NULL, NULL, "ngwm:getRuleListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getProxyListResponse: + return soap_in_PointerTo_ngwm__getProxyListResponse(soap, NULL, NULL, "ngwm:getProxyListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getProxyListRequest: + return soap_in_PointerTo_ngwm__getProxyListRequest(soap, NULL, NULL, "ngwm:getProxyListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse: + return soap_in_PointerTo_ngwm__getProxyAccessListResponse(soap, NULL, NULL, "ngwm:getProxyAccessListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest: + return soap_in_PointerTo_ngwm__getProxyAccessListRequest(soap, NULL, NULL, "ngwm:getProxyAccessListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse: + return soap_in_PointerTo_ngwm__getQuickMessagesResponse(soap, NULL, NULL, "ngwm:getQuickMessagesResponse"); + case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest: + return soap_in_PointerTo_ngwm__getQuickMessagesRequest(soap, NULL, NULL, "ngwm:getQuickMessagesRequest"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse: + return soap_in_PointerTo_ngwm__getLibraryListResponse(soap, NULL, NULL, "ngwm:getLibraryListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest: + return soap_in_PointerTo_ngwm__getLibraryListRequest(soap, NULL, NULL, "ngwm:getLibraryListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse: + return soap_in_PointerTo_ngwm__getLibraryItemResponse(soap, NULL, NULL, "ngwm:getLibraryItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest: + return soap_in_PointerTo_ngwm__getLibraryItemRequest(soap, NULL, NULL, "ngwm:getLibraryItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse: + return soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(soap, NULL, NULL, "ngwm:getJunkMailSettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest: + return soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(soap, NULL, NULL, "ngwm:getJunkMailSettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse: + return soap_in_PointerTo_ngwm__getJunkEntriesResponse(soap, NULL, NULL, "ngwm:getJunkEntriesResponse"); + case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest: + return soap_in_PointerTo_ngwm__getJunkEntriesRequest(soap, NULL, NULL, "ngwm:getJunkEntriesRequest"); + case SOAP_TYPE_PointerTo_ngwm__getItemsResponse: + return soap_in_PointerTo_ngwm__getItemsResponse(soap, NULL, NULL, "ngwm:getItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__getItemsRequest: + return soap_in_PointerTo_ngwm__getItemsRequest(soap, NULL, NULL, "ngwm:getItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__getItemResponse: + return soap_in_PointerTo_ngwm__getItemResponse(soap, NULL, NULL, "ngwm:getItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__getItemRequest: + return soap_in_PointerTo_ngwm__getItemRequest(soap, NULL, NULL, "ngwm:getItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse: + return soap_in_PointerTo_ngwm__getFreeBusyResponse(soap, NULL, NULL, "ngwm:getFreeBusyResponse"); + case SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest: + return soap_in_PointerTo_ngwm__getFreeBusyRequest(soap, NULL, NULL, "ngwm:getFreeBusyRequest"); + case SOAP_TYPE_PointerTo_ngwm__getFolderListResponse: + return soap_in_PointerTo_ngwm__getFolderListResponse(soap, NULL, NULL, "ngwm:getFolderListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getFolderListRequest: + return soap_in_PointerTo_ngwm__getFolderListRequest(soap, NULL, NULL, "ngwm:getFolderListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getFolderResponse: + return soap_in_PointerTo_ngwm__getFolderResponse(soap, NULL, NULL, "ngwm:getFolderResponse"); + case SOAP_TYPE_PointerTo_ngwm__getFolderRequest: + return soap_in_PointerTo_ngwm__getFolderRequest(soap, NULL, NULL, "ngwm:getFolderRequest"); + case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse: + return soap_in_PointerTo_ngwm__getDocumentTypeListResponse(soap, NULL, NULL, "ngwm:getDocumentTypeListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest: + return soap_in_PointerTo_ngwm__getDocumentTypeListRequest(soap, NULL, NULL, "ngwm:getDocumentTypeListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse: + return soap_in_PointerTo_ngwm__getDeltaInfoResponse(soap, NULL, NULL, "ngwm:getDeltaInfoResponse"); + case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest: + return soap_in_PointerTo_ngwm__getDeltaInfoRequest(soap, NULL, NULL, "ngwm:getDeltaInfoRequest"); + case SOAP_TYPE_PointerTo_ngwm__getDeltasResponse: + return soap_in_PointerTo_ngwm__getDeltasResponse(soap, NULL, NULL, "ngwm:getDeltasResponse"); + case SOAP_TYPE_PointerTo_ngwm__getDeltasRequest: + return soap_in_PointerTo_ngwm__getDeltasRequest(soap, NULL, NULL, "ngwm:getDeltasRequest"); + case SOAP_TYPE_PointerTo_ngwm__getCustomListResponse: + return soap_in_PointerTo_ngwm__getCustomListResponse(soap, NULL, NULL, "ngwm:getCustomListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getCustomListRequest: + return soap_in_PointerTo_ngwm__getCustomListRequest(soap, NULL, NULL, "ngwm:getCustomListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse: + return soap_in_PointerTo_ngwm__getCategoryListResponse(soap, NULL, NULL, "ngwm:getCategoryListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest: + return soap_in_PointerTo_ngwm__getCategoryListRequest(soap, NULL, NULL, "ngwm:getCategoryListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse: + return soap_in_PointerTo_ngwm__getAttachmentResponse(soap, NULL, NULL, "ngwm:getAttachmentResponse"); + case SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest: + return soap_in_PointerTo_ngwm__getAttachmentRequest(soap, NULL, NULL, "ngwm:getAttachmentRequest"); + case SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse: + return soap_in_PointerTo_ngwm__getAddressBookListResponse(soap, NULL, NULL, "ngwm:getAddressBookListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest: + return soap_in_PointerTo_ngwm__getAddressBookListRequest(soap, NULL, NULL, "ngwm:getAddressBookListRequest"); + case SOAP_TYPE_PointerTo_ngwm__forwardResponse: + return soap_in_PointerTo_ngwm__forwardResponse(soap, NULL, NULL, "ngwm:forwardResponse"); + case SOAP_TYPE_PointerTo_ngwm__forwardRequest: + return soap_in_PointerTo_ngwm__forwardRequest(soap, NULL, NULL, "ngwm:forwardRequest"); + case SOAP_TYPE_PointerTo_ngwm__executeRuleResponse: + return soap_in_PointerTo_ngwm__executeRuleResponse(soap, NULL, NULL, "ngwm:executeRuleResponse"); + case SOAP_TYPE_PointerTo_ngwm__executeRuleRequest: + return soap_in_PointerTo_ngwm__executeRuleRequest(soap, NULL, NULL, "ngwm:executeRuleRequest"); + case SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse: + return soap_in_PointerTo_ngwm__destroyCursorResponse(soap, NULL, NULL, "ngwm:destroyCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest: + return soap_in_PointerTo_ngwm__destroyCursorRequest(soap, NULL, NULL, "ngwm:destroyCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__delegateResponse: + return soap_in_PointerTo_ngwm__delegateResponse(soap, NULL, NULL, "ngwm:delegateResponse"); + case SOAP_TYPE_PointerTo_ngwm__delegateRequest: + return soap_in_PointerTo_ngwm__delegateRequest(soap, NULL, NULL, "ngwm:delegateRequest"); + case SOAP_TYPE_PointerTo_ngwm__declineResponse: + return soap_in_PointerTo_ngwm__declineResponse(soap, NULL, NULL, "ngwm:declineResponse"); + case SOAP_TYPE_PointerTo_ngwm__declineRequest: + return soap_in_PointerTo_ngwm__declineRequest(soap, NULL, NULL, "ngwm:declineRequest"); + case SOAP_TYPE_PointerTo_ngwm__createSignatureResponse: + return soap_in_PointerTo_ngwm__createSignatureResponse(soap, NULL, NULL, "ngwm:createSignatureResponse"); + case SOAP_TYPE_PointerTo_ngwm__createSignatureRequest: + return soap_in_PointerTo_ngwm__createSignatureRequest(soap, NULL, NULL, "ngwm:createSignatureRequest"); + case SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse: + return soap_in_PointerTo_ngwm__createProxyAccessResponse(soap, NULL, NULL, "ngwm:createProxyAccessResponse"); + case SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest: + return soap_in_PointerTo_ngwm__createProxyAccessRequest(soap, NULL, NULL, "ngwm:createProxyAccessRequest"); + case SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse: + return soap_in_PointerTo_ngwm__createJunkEntryResponse(soap, NULL, NULL, "ngwm:createJunkEntryResponse"); + case SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest: + return soap_in_PointerTo_ngwm__createJunkEntryRequest(soap, NULL, NULL, "ngwm:createJunkEntryRequest"); + case SOAP_TYPE_PointerTo_ngwm__createItemsResponse: + return soap_in_PointerTo_ngwm__createItemsResponse(soap, NULL, NULL, "ngwm:createItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__createItemsRequest: + return soap_in_PointerTo_ngwm__createItemsRequest(soap, NULL, NULL, "ngwm:createItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__createItemResponse: + return soap_in_PointerTo_ngwm__createItemResponse(soap, NULL, NULL, "ngwm:createItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__createItemRequest: + return soap_in_PointerTo_ngwm__createItemRequest(soap, NULL, NULL, "ngwm:createItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__createCursorResponse: + return soap_in_PointerTo_ngwm__createCursorResponse(soap, NULL, NULL, "ngwm:createCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__createCursorRequest: + return soap_in_PointerTo_ngwm__createCursorRequest(soap, NULL, NULL, "ngwm:createCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__completeResponse: + return soap_in_PointerTo_ngwm__completeResponse(soap, NULL, NULL, "ngwm:completeResponse"); + case SOAP_TYPE_PointerTo_ngwm__completeRequest: + return soap_in_PointerTo_ngwm__completeRequest(soap, NULL, NULL, "ngwm:completeRequest"); + case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse: + return soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(soap, NULL, NULL, "ngwm:closeFreeBusySessionResponse"); + case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest: + return soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(soap, NULL, NULL, "ngwm:closeFreeBusySessionRequest"); + case SOAP_TYPE_PointerTo_ngwm__addMembersResponse: + return soap_in_PointerTo_ngwm__addMembersResponse(soap, NULL, NULL, "ngwm:addMembersResponse"); + case SOAP_TYPE_PointerTo_ngwm__addMembersRequest: + return soap_in_PointerTo_ngwm__addMembersRequest(soap, NULL, NULL, "ngwm:addMembersRequest"); + case SOAP_TYPE_PointerTo_ngwm__addItemsResponse: + return soap_in_PointerTo_ngwm__addItemsResponse(soap, NULL, NULL, "ngwm:addItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__addItemsRequest: + return soap_in_PointerTo_ngwm__addItemsRequest(soap, NULL, NULL, "ngwm:addItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__addItemResponse: + return soap_in_PointerTo_ngwm__addItemResponse(soap, NULL, NULL, "ngwm:addItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__addItemRequest: + return soap_in_PointerTo_ngwm__addItemRequest(soap, NULL, NULL, "ngwm:addItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__acceptShareResponse: + return soap_in_PointerTo_ngwm__acceptShareResponse(soap, NULL, NULL, "ngwm:acceptShareResponse"); + case SOAP_TYPE_PointerTo_ngwm__acceptShareRequest: + return soap_in_PointerTo_ngwm__acceptShareRequest(soap, NULL, NULL, "ngwm:acceptShareRequest"); + case SOAP_TYPE_PointerTo_ngwm__acceptResponse: + return soap_in_PointerTo_ngwm__acceptResponse(soap, NULL, NULL, "ngwm:acceptResponse"); + case SOAP_TYPE_PointerTo_ngwm__acceptRequest: + return soap_in_PointerTo_ngwm__acceptRequest(soap, NULL, NULL, "ngwm:acceptRequest"); + case SOAP_TYPE_PointerTongwt__Alarm: + return soap_in_PointerTongwt__Alarm(soap, NULL, NULL, "ngwt:Alarm"); + case SOAP_TYPE_PointerTongwt__PhoneFlags: + return soap_in_PointerTongwt__PhoneFlags(soap, NULL, NULL, "ngwt:PhoneFlags"); + case SOAP_TYPE_PointerTongwt__RecurrenceRule: + return soap_in_PointerTongwt__RecurrenceRule(soap, NULL, NULL, "ngwt:RecurrenceRule"); + case SOAP_TYPE_PointerTongwt__RecurrenceDateType: + return soap_in_PointerTongwt__RecurrenceDateType(soap, NULL, NULL, "ngwt:RecurrenceDateType"); + case SOAP_TYPE_PointerTongwt__SMimeOperation: + return soap_in_PointerTongwt__SMimeOperation(soap, NULL, NULL, "ngwt:SMimeOperation"); + case SOAP_TYPE_PointerTongwt__LinkInfo: + return soap_in_PointerTongwt__LinkInfo(soap, NULL, NULL, "ngwt:LinkInfo"); + case SOAP_TYPE_PointerTongwt__ItemOptions: + return soap_in_PointerTongwt__ItemOptions(soap, NULL, NULL, "ngwt:ItemOptions"); + case SOAP_TYPE_PointerTongwt__AttachmentInfo: + return soap_in_PointerTongwt__AttachmentInfo(soap, NULL, NULL, "ngwt:AttachmentInfo"); + case SOAP_TYPE_PointerTongwt__MessageBody: + return soap_in_PointerTongwt__MessageBody(soap, NULL, NULL, "ngwt:MessageBody"); + case SOAP_TYPE_PointerTongwt__ReferenceInfo: + return soap_in_PointerTongwt__ReferenceInfo(soap, NULL, NULL, "ngwt:ReferenceInfo"); + case SOAP_TYPE_PointerTongwt__PersonalInfo: + return soap_in_PointerTongwt__PersonalInfo(soap, NULL, NULL, "ngwt:PersonalInfo"); + case SOAP_TYPE_PointerTongwt__OfficeInfo: + return soap_in_PointerTongwt__OfficeInfo(soap, NULL, NULL, "ngwt:OfficeInfo"); + case SOAP_TYPE_PointerTongwt__PostalAddressList: + return soap_in_PointerTongwt__PostalAddressList(soap, NULL, NULL, "ngwt:PostalAddressList"); + case SOAP_TYPE_PointerTongwt__PhoneList: + return soap_in_PointerTongwt__PhoneList(soap, NULL, NULL, "ngwt:PhoneList"); + case SOAP_TYPE_PointerTongwt__ImAddressList: + return soap_in_PointerTongwt__ImAddressList(soap, NULL, NULL, "ngwt:ImAddressList"); + case SOAP_TYPE_PointerTongwt__EmailAddressList: + return soap_in_PointerTongwt__EmailAddressList(soap, NULL, NULL, "ngwt:EmailAddressList"); + case SOAP_TYPE_PointerTongwt__FullName: + return soap_in_PointerTongwt__FullName(soap, NULL, NULL, "ngwt:FullName"); + case SOAP_TYPE_PointerTongwt__VersionStatus: + return soap_in_PointerTongwt__VersionStatus(soap, NULL, NULL, "ngwt:VersionStatus"); + case SOAP_TYPE_PointerTongwt__FolderACL: + return soap_in_PointerTongwt__FolderACL(soap, NULL, NULL, "ngwt:FolderACL"); + case SOAP_TYPE_PointerTongwt__RuleActionList: + return soap_in_PointerTongwt__RuleActionList(soap, NULL, NULL, "ngwt:RuleActionList"); + case SOAP_TYPE_PointerTongwt__Execution: + return soap_in_PointerTongwt__Execution(soap, NULL, NULL, "ngwt:Execution"); + case SOAP_TYPE_PointerTongwt__Query: + return soap_in_PointerTongwt__Query(soap, NULL, NULL, "ngwt:Query"); + case SOAP_TYPE_PointerTongwt__FolderACLStatus: + return soap_in_PointerTongwt__FolderACLStatus(soap, NULL, NULL, "ngwt:FolderACLStatus"); + case SOAP_TYPE_PointerTongwt__AccessControlList: + return soap_in_PointerTongwt__AccessControlList(soap, NULL, NULL, "ngwt:AccessControlList"); + case SOAP_TYPE_PointerTongwt__WeekOfYear: + return soap_in_PointerTongwt__WeekOfYear(soap, NULL, NULL, "ngwt:WeekOfYear"); + case SOAP_TYPE_PointerTongwt__OccurrenceType: + return soap_in_PointerTongwt__OccurrenceType(soap, NULL, NULL, "ngwt:OccurrenceType"); + case SOAP_TYPE_PointerTongwt__ItemSecurity: + return soap_in_PointerTongwt__ItemSecurity(soap, NULL, NULL, "ngwt:ItemSecurity"); + case SOAP_TYPE_PointerTongwt__ItemClass: + return soap_in_PointerTongwt__ItemClass(soap, NULL, NULL, "ngwt:ItemClass"); + case SOAP_TYPE_PointerTongwt__ItemSource: + return soap_in_PointerTongwt__ItemSource(soap, NULL, NULL, "ngwt:ItemSource"); + case SOAP_TYPE_PointerTongwt__ItemStatus: + return soap_in_PointerTongwt__ItemStatus(soap, NULL, NULL, "ngwt:ItemStatus"); + case SOAP_TYPE_PointerTongwt__DeltaSyncType: + return soap_in_PointerTongwt__DeltaSyncType(soap, NULL, NULL, "ngwt:DeltaSyncType"); + case SOAP_TYPE_PointerTongwt__RecipientStatus: + return soap_in_PointerTongwt__RecipientStatus(soap, NULL, NULL, "ngwt:RecipientStatus"); + case SOAP_TYPE_PointerTongwt__FreeBusyBlockList: + return soap_in_PointerTongwt__FreeBusyBlockList(soap, NULL, NULL, "ngwt:FreeBusyBlockList"); + case SOAP_TYPE_PointerTongwt__CalendarFolderAttribute: + return soap_in_PointerTongwt__CalendarFolderAttribute(soap, NULL, NULL, "ngwt:CalendarFolderAttribute"); + case SOAP_TYPE_PointerTongwt__FilterDate: + return soap_in_PointerTongwt__FilterDate(soap, NULL, NULL, "ngwt:FilterDate"); + case SOAP_TYPE_PointerTongwt__ContainerRef: + return soap_in_PointerTongwt__ContainerRef(soap, NULL, NULL, "ngwt:ContainerRef"); + case SOAP_TYPE_PointerTongwt__CategoryType: + return soap_in_PointerTongwt__CategoryType(soap, NULL, NULL, "ngwt:CategoryType"); + case SOAP_TYPE_PointerTongwt__AccessMiscRight: + return soap_in_PointerTongwt__AccessMiscRight(soap, NULL, NULL, "ngwt:AccessMiscRight"); + case SOAP_TYPE_PointerTongwt__AccessRight: + return soap_in_PointerTongwt__AccessRight(soap, NULL, NULL, "ngwt:AccessRight"); + case SOAP_TYPE_PointerTongwt__Rights: + return soap_in_PointerTongwt__Rights(soap, NULL, NULL, "ngwt:Rights"); + case SOAP_TYPE_PointerTongwe__EventList: + return soap_in_PointerTongwe__EventList(soap, NULL, NULL, "ngwe:EventList"); + case SOAP_TYPE_PointerTongwe__EventsList: + return soap_in_PointerTongwe__EventsList(soap, NULL, NULL, "ngwe:EventsList"); + case SOAP_TYPE_PointerTongwe__Events: + return soap_in_PointerTongwe__Events(soap, NULL, NULL, "ngwe:Events"); + case SOAP_TYPE_PointerTongwe__EventDefinition: + return soap_in_PointerTongwe__EventDefinition(soap, NULL, NULL, "ngwe:EventDefinition"); + case SOAP_TYPE_PointerToxsd__duration: + return soap_in_PointerToxsd__duration(soap, NULL, NULL, "xsd:duration"); + case SOAP_TYPE_PointerTongwe__Event: + return soap_in_PointerTongwe__Event(soap, NULL, NULL, "ngwe:Event"); + case SOAP_TYPE_PointerTongwe__ContainerList: + return soap_in_PointerTongwe__ContainerList(soap, NULL, NULL, "ngwe:ContainerList"); + case SOAP_TYPE_PointerTongwe__ItemTypeList: + return soap_in_PointerTongwe__ItemTypeList(soap, NULL, NULL, "ngwe:ItemTypeList"); + case SOAP_TYPE_PointerTongwe__EventTypeList: + return soap_in_PointerTongwe__EventTypeList(soap, NULL, NULL, "ngwe:EventTypeList"); + case SOAP_TYPE_PointerTongwe__ItemType: + return soap_in_PointerTongwe__ItemType(soap, NULL, NULL, "ngwe:ItemType"); + case SOAP_TYPE_PointerTongwe__FieldList: + return soap_in_PointerTongwe__FieldList(soap, NULL, NULL, "ngwe:FieldList"); + case SOAP_TYPE_PointerTongwt__FreeBusyUserList: + return soap_in_PointerTongwt__FreeBusyUserList(soap, NULL, NULL, "ngwt:FreeBusyUserList"); + case SOAP_TYPE_PointerTongwt__RetractType: + return soap_in_PointerTongwt__RetractType(soap, NULL, NULL, "ngwt:RetractType"); + case SOAP_TYPE_PointerTongwt__ItemList: + return soap_in_PointerTongwt__ItemList(soap, NULL, NULL, "ngwt:ItemList"); + case SOAP_TYPE_PointerTongwt__CursorSeek: + return soap_in_PointerTongwt__CursorSeek(soap, NULL, NULL, "ngwt:CursorSeek"); + case SOAP_TYPE_PointerTongwt__AccessRightChanges: + return soap_in_PointerTongwt__AccessRightChanges(soap, NULL, NULL, "ngwt:AccessRightChanges"); + case SOAP_TYPE_PointerTongwt__ModifyItem: + return soap_in_PointerTongwt__ModifyItem(soap, NULL, NULL, "ngwt:ModifyItem"); + case SOAP_TYPE_PointerTongwt__Host: + return soap_in_PointerTongwt__Host(soap, NULL, NULL, "ngwt:Host"); + case SOAP_TYPE_PointerTongwt__Authentication: + return soap_in_PointerTongwt__Authentication(soap, NULL, NULL, "ngwt:Authentication"); + case SOAP_TYPE_PointerTongwt__UserList: + return soap_in_PointerTongwt__UserList(soap, NULL, NULL, "ngwt:UserList"); + case SOAP_TYPE_PointerTongwt__TimezoneList: + return soap_in_PointerTongwt__TimezoneList(soap, NULL, NULL, "ngwt:TimezoneList"); + case SOAP_TYPE_PointerTongwt__Signatures: + return soap_in_PointerTongwt__Signatures(soap, NULL, NULL, "ngwt:Signatures"); + case SOAP_TYPE_PointerTongwt__Settings: + return soap_in_PointerTongwt__Settings(soap, NULL, NULL, "ngwt:Settings"); + case SOAP_TYPE_PointerTongwt__RuleList: + return soap_in_PointerTongwt__RuleList(soap, NULL, NULL, "ngwt:RuleList"); + case SOAP_TYPE_PointerTongwt__ProxyList: + return soap_in_PointerTongwt__ProxyList(soap, NULL, NULL, "ngwt:ProxyList"); + case SOAP_TYPE_PointerTongwt__AccessRightList: + return soap_in_PointerTongwt__AccessRightList(soap, NULL, NULL, "ngwt:AccessRightList"); + case SOAP_TYPE_PointerTongwt__LibraryList: + return soap_in_PointerTongwt__LibraryList(soap, NULL, NULL, "ngwt:LibraryList"); + case SOAP_TYPE_PointerTongwt__SettingsList: + return soap_in_PointerTongwt__SettingsList(soap, NULL, NULL, "ngwt:SettingsList"); + case SOAP_TYPE_PointerTongwt__JunkHandlingList: + return soap_in_PointerTongwt__JunkHandlingList(soap, NULL, NULL, "ngwt:JunkHandlingList"); + case SOAP_TYPE_PointerTongwt__FreeBusyInfoList: + return soap_in_PointerTongwt__FreeBusyInfoList(soap, NULL, NULL, "ngwt:FreeBusyInfoList"); + case SOAP_TYPE_PointerTongwt__FreeBusyStats: + return soap_in_PointerTongwt__FreeBusyStats(soap, NULL, NULL, "ngwt:FreeBusyStats"); + case SOAP_TYPE_PointerTongwt__FolderList: + return soap_in_PointerTongwt__FolderList(soap, NULL, NULL, "ngwt:FolderList"); + case SOAP_TYPE_PointerTongwt__ItemSourceList: + return soap_in_PointerTongwt__ItemSourceList(soap, NULL, NULL, "ngwt:ItemSourceList"); + case SOAP_TYPE_PointerTongwt__MessageTypeList: + return soap_in_PointerTongwt__MessageTypeList(soap, NULL, NULL, "ngwt:MessageTypeList"); + case SOAP_TYPE_PointerTongwt__FolderType: + return soap_in_PointerTongwt__FolderType(soap, NULL, NULL, "ngwt:FolderType"); + case SOAP_TYPE_PointerTongwt__DocumentTypeList: + return soap_in_PointerTongwt__DocumentTypeList(soap, NULL, NULL, "ngwt:DocumentTypeList"); + case SOAP_TYPE_PointerTongwt__Items: + return soap_in_PointerTongwt__Items(soap, NULL, NULL, "ngwt:Items"); + case SOAP_TYPE_PointerTongwt__DeltaInfo: + return soap_in_PointerTongwt__DeltaInfo(soap, NULL, NULL, "ngwt:DeltaInfo"); + case SOAP_TYPE_PointerTongwt__CustomList: + return soap_in_PointerTongwt__CustomList(soap, NULL, NULL, "ngwt:CustomList"); + case SOAP_TYPE_PointerTongwt__CategoryList: + return soap_in_PointerTongwt__CategoryList(soap, NULL, NULL, "ngwt:CategoryList"); + case SOAP_TYPE_PointerTongwt__AddressBookList: + return soap_in_PointerTongwt__AddressBookList(soap, NULL, NULL, "ngwt:AddressBookList"); + case SOAP_TYPE_PointerTongwt__Distribution: + return soap_in_PointerTongwt__Distribution(soap, NULL, NULL, "ngwt:Distribution"); + case SOAP_TYPE_PointerTongwt__View: + return soap_in_PointerTongwt__View(soap, NULL, NULL, "ngwt:View"); + case SOAP_TYPE_PointerTongwt__Status: + return soap_in_PointerTongwt__Status(soap, NULL, NULL, "ngwt:Status"); + case SOAP_TYPE_PointerTongwt__ItemRefList: + return soap_in_PointerTongwt__ItemRefList(soap, NULL, NULL, "ngwt:ItemRefList"); + case SOAP_TYPE_PointerTongwt__UserInfo: + return soap_in_PointerTongwt__UserInfo(soap, NULL, NULL, "ngwt:UserInfo"); + case SOAP_TYPE_PointerTongwt__RecipientType: + return soap_in_PointerTongwt__RecipientType(soap, NULL, NULL, "ngwt:RecipientType"); + case SOAP_TYPE_PointerTongwt__Timezone: + return soap_in_PointerTongwt__Timezone(soap, NULL, NULL, "ngwt:Timezone"); + case SOAP_TYPE_PointerTongwt__Minute: + return soap_in_PointerTongwt__Minute(soap, NULL, NULL, "ngwt:Minute"); + case SOAP_TYPE_PointerTongwt__Hour: + return soap_in_PointerTongwt__Hour(soap, NULL, NULL, "ngwt:Hour"); + case SOAP_TYPE_PointerTongwt__DayOfWeek: + return soap_in_PointerTongwt__DayOfWeek(soap, NULL, NULL, "ngwt:DayOfWeek"); + case SOAP_TYPE_PointerTongwt__Day: + return soap_in_PointerTongwt__Day(soap, NULL, NULL, "ngwt:Day"); + case SOAP_TYPE_PointerTongwt__Month: + return soap_in_PointerTongwt__Month(soap, NULL, NULL, "ngwt:Month"); + case SOAP_TYPE_PointerTongwt__TimezoneComponent: + return soap_in_PointerTongwt__TimezoneComponent(soap, NULL, NULL, "ngwt:TimezoneComponent"); + case SOAP_TYPE_PointerTongwt__ProblemList: + return soap_in_PointerTongwt__ProblemList(soap, NULL, NULL, "ngwt:ProblemList"); + case SOAP_TYPE_PointerTongwt__Signature: + return soap_in_PointerTongwt__Signature(soap, NULL, NULL, "ngwt:Signature"); + case SOAP_TYPE_PointerTongwt__SignatureData: + return soap_in_PointerTongwt__SignatureData(soap, NULL, NULL, "ngwt:SignatureData"); + case SOAP_TYPE_PointerTongwt__SettingsGroup: + return soap_in_PointerTongwt__SettingsGroup(soap, NULL, NULL, "ngwt:SettingsGroup"); + case SOAP_TYPE_PointerTongwt__ReturnNotification: + return soap_in_PointerTongwt__ReturnNotification(soap, NULL, NULL, "ngwt:ReturnNotification"); + case SOAP_TYPE_PointerTongwt__StatusTracking: + return soap_in_PointerTongwt__StatusTracking(soap, NULL, NULL, "ngwt:StatusTracking"); + case SOAP_TYPE_PointerTongwt__SendOptionsRequestReply: + return soap_in_PointerTongwt__SendOptionsRequestReply(soap, NULL, NULL, "ngwt:SendOptionsRequestReply"); + case SOAP_TYPE_PointerTongwt__Rule: + return soap_in_PointerTongwt__Rule(soap, NULL, NULL, "ngwt:Rule"); + case SOAP_TYPE_PointerTongwt__RuleAction: + return soap_in_PointerTongwt__RuleAction(soap, NULL, NULL, "ngwt:RuleAction"); + case SOAP_TYPE_PointerTongwt__CategoryRefList: + return soap_in_PointerTongwt__CategoryRefList(soap, NULL, NULL, "ngwt:CategoryRefList"); + case SOAP_TYPE_PointerTongwt__Mail: + return soap_in_PointerTongwt__Mail(soap, NULL, NULL, "ngwt:Mail"); + case SOAP_TYPE_PointerTongwt__ReturnNotificationOptions: + return soap_in_PointerTongwt__ReturnNotificationOptions(soap, NULL, NULL, "ngwt:ReturnNotificationOptions"); + case SOAP_TYPE_PointerTongwt__MonthList: + return soap_in_PointerTongwt__MonthList(soap, NULL, NULL, "ngwt:MonthList"); + case SOAP_TYPE_PointerTongwt__DayOfYearList: + return soap_in_PointerTongwt__DayOfYearList(soap, NULL, NULL, "ngwt:DayOfYearList"); + case SOAP_TYPE_PointerTongwt__DayOfMonthList: + return soap_in_PointerTongwt__DayOfMonthList(soap, NULL, NULL, "ngwt:DayOfMonthList"); + case SOAP_TYPE_PointerTongwt__DayOfYearWeekList: + return soap_in_PointerTongwt__DayOfYearWeekList(soap, NULL, NULL, "ngwt:DayOfYearWeekList"); + case SOAP_TYPE_PointerTongwt__Frequency: + return soap_in_PointerTongwt__Frequency(soap, NULL, NULL, "ngwt:Frequency"); + case SOAP_TYPE_PointerTongwt__DelegateeStatus: + return soap_in_PointerTongwt__DelegateeStatus(soap, NULL, NULL, "ngwt:DelegateeStatus"); + case SOAP_TYPE_PointerTongwt__DelegatedStatus: + return soap_in_PointerTongwt__DelegatedStatus(soap, NULL, NULL, "ngwt:DelegatedStatus"); + case SOAP_TYPE_PointerTongwt__CommentStatus: + return soap_in_PointerTongwt__CommentStatus(soap, NULL, NULL, "ngwt:CommentStatus"); + case SOAP_TYPE_PointerTongwt__TransferFailedStatus: + return soap_in_PointerTongwt__TransferFailedStatus(soap, NULL, NULL, "ngwt:TransferFailedStatus"); + case SOAP_TYPE_PointerTongwt__Recipient: + return soap_in_PointerTongwt__Recipient(soap, NULL, NULL, "ngwt:Recipient"); + case SOAP_TYPE_PointerTongwt__Filter: + return soap_in_PointerTongwt__Filter(soap, NULL, NULL, "ngwt:Filter"); + case SOAP_TYPE_PointerTongwt__QueryTarget: + return soap_in_PointerTongwt__QueryTarget(soap, NULL, NULL, "ngwt:QueryTarget"); + case SOAP_TYPE_PointerTongwt__ProxyUser: + return soap_in_PointerTongwt__ProxyUser(soap, NULL, NULL, "ngwt:ProxyUser"); + case SOAP_TYPE_PointerTongwt__ProblemEntry: + return soap_in_PointerTongwt__ProblemEntry(soap, NULL, NULL, "ngwt:ProblemEntry"); + case SOAP_TYPE_PointerTongwt__PostalAddress: + return soap_in_PointerTongwt__PostalAddress(soap, NULL, NULL, "ngwt:PostalAddress"); + case SOAP_TYPE_PointerTongwt__PhoneNumber: + return soap_in_PointerTongwt__PhoneNumber(soap, NULL, NULL, "ngwt:PhoneNumber"); + case SOAP_TYPE_PointerToxsd__date: + return soap_in_PointerToxsd__date(soap, NULL, NULL, "xsd:date"); + case SOAP_TYPE_PointerTongwt__ItemRef: + return soap_in_PointerTongwt__ItemRef(soap, NULL, NULL, "ngwt:ItemRef"); + case SOAP_TYPE_PointerTongwt__UUID: + return soap_in_PointerTongwt__UUID(soap, NULL, NULL, "ngwt:UUID"); + case SOAP_TYPE_PointerTongwt__SharedFolderNotification: + return soap_in_PointerTongwt__SharedFolderNotification(soap, NULL, NULL, "ngwt:SharedFolderNotification"); + case SOAP_TYPE_PointerTongwt__MessagePart: + return soap_in_PointerTongwt__MessagePart(soap, NULL, NULL, "ngwt:MessagePart"); + case SOAP_TYPE_PointerTongwt__Library: + return soap_in_PointerTongwt__Library(soap, NULL, NULL, "ngwt:Library"); + case SOAP_TYPE_PointerTongwt__JunkEntry: + return soap_in_PointerTongwt__JunkEntry(soap, NULL, NULL, "ngwt:JunkEntry"); + case SOAP_TYPE_PointerTongwt__JunkHandlingListType: + return soap_in_PointerTongwt__JunkHandlingListType(soap, NULL, NULL, "ngwt:JunkHandlingListType"); + case SOAP_TYPE_PointerTongwt__Item: + return soap_in_PointerTongwt__Item(soap, NULL, NULL, "ngwt:Item"); + case SOAP_TYPE_PointerTongwt__ItemChanges: + return soap_in_PointerTongwt__ItemChanges(soap, NULL, NULL, "ngwt:ItemChanges"); + case SOAP_TYPE_PointerTongwt__ImAddress: + return soap_in_PointerTongwt__ImAddress(soap, NULL, NULL, "ngwt:ImAddress"); + case SOAP_TYPE_PointerTongwt__GroupMember: + return soap_in_PointerTongwt__GroupMember(soap, NULL, NULL, "ngwt:GroupMember"); + case SOAP_TYPE_PointerTongwt__GroupMemberList: + return soap_in_PointerTongwt__GroupMemberList(soap, NULL, NULL, "ngwt:GroupMemberList"); + case SOAP_TYPE_PointerTongwt__FreeBusyInfo: + return soap_in_PointerTongwt__FreeBusyInfo(soap, NULL, NULL, "ngwt:FreeBusyInfo"); + case SOAP_TYPE_PointerTongwt__NameAndEmail: + return soap_in_PointerTongwt__NameAndEmail(soap, NULL, NULL, "ngwt:NameAndEmail"); + case SOAP_TYPE_PointerTongwt__AcceptLevel: + return soap_in_PointerTongwt__AcceptLevel(soap, NULL, NULL, "ngwt:AcceptLevel"); + case SOAP_TYPE_PointerTongwt__FreeBusyBlock: + return soap_in_PointerTongwt__FreeBusyBlock(soap, NULL, NULL, "ngwt:FreeBusyBlock"); + case SOAP_TYPE_PointerTongwt__Folder: + return soap_in_PointerTongwt__Folder(soap, NULL, NULL, "ngwt:Folder"); + case SOAP_TYPE_PointerTongwt__FolderACLEntry: + return soap_in_PointerTongwt__FolderACLEntry(soap, NULL, NULL, "ngwt:FolderACLEntry"); + case SOAP_TYPE_PointerTongwt__FilterElement: + return soap_in_PointerTongwt__FilterElement(soap, NULL, NULL, "ngwt:FilterElement"); + case SOAP_TYPE_PointerTongwt__DocumentType: + return soap_in_PointerTongwt__DocumentType(soap, NULL, NULL, "ngwt:DocumentType"); + case SOAP_TYPE_PointerTongwt__AgeAction: + return soap_in_PointerTongwt__AgeAction(soap, NULL, NULL, "ngwt:AgeAction"); + case SOAP_TYPE_PointerTongwt__SendOptions: + return soap_in_PointerTongwt__SendOptions(soap, NULL, NULL, "ngwt:SendOptions"); + case SOAP_TYPE_PointerTongwt__RecipientList: + return soap_in_PointerTongwt__RecipientList(soap, NULL, NULL, "ngwt:RecipientList"); + case SOAP_TYPE_PointerTongwt__From: + return soap_in_PointerTongwt__From(soap, NULL, NULL, "ngwt:From"); + case SOAP_TYPE_PointerToint: + return soap_in_PointerToint(soap, NULL, NULL, "xsd:int"); + case SOAP_TYPE_PointerTongwt__DayOfYearWeek: + return soap_in_PointerTongwt__DayOfYearWeek(soap, NULL, NULL, "ngwt:DayOfYearWeek"); + case SOAP_TYPE_PointerTongwt__Custom: + return soap_in_PointerTongwt__Custom(soap, NULL, NULL, "ngwt:Custom"); + case SOAP_TYPE_PointerTongwt__CustomType: + return soap_in_PointerTongwt__CustomType(soap, NULL, NULL, "ngwt:CustomType"); + case SOAP_TYPE_PointerTongwt__uid: + return soap_in_PointerTongwt__uid(soap, NULL, NULL, "ngwt:uid"); + case SOAP_TYPE_PointerTongwt__Category: + return soap_in_PointerTongwt__Category(soap, NULL, NULL, "ngwt:Category"); + case SOAP_TYPE_PointerToxsd__base64Binary: + return soap_in_PointerToxsd__base64Binary(soap, NULL, NULL, "xsd:base64Binary"); + case SOAP_TYPE_PointerTounsignedLong: + return soap_in_PointerTounsignedLong(soap, NULL, NULL, "xsd:unsignedLong"); + case SOAP_TYPE_PointerTostd__string: + return soap_in_PointerTostd__string(soap, NULL, NULL, "xsd:string"); + case SOAP_TYPE_PointerTongwt__AttachmentID: + return soap_in_PointerTongwt__AttachmentID(soap, NULL, NULL, "ngwt:AttachmentID"); + case SOAP_TYPE_PointerTongwt__AttachmentItemInfo: + return soap_in_PointerTongwt__AttachmentItemInfo(soap, NULL, NULL, "ngwt:AttachmentItemInfo"); + case SOAP_TYPE_PointerTongwt__AddressBook: + return soap_in_PointerTongwt__AddressBook(soap, NULL, NULL, "ngwt:AddressBook"); + case SOAP_TYPE_PointerTongwt__AccessRightEntry: + return soap_in_PointerTongwt__AccessRightEntry(soap, NULL, NULL, "ngwt:AccessRightEntry"); + case SOAP_TYPE_PointerTobool: + return soap_in_PointerTobool(soap, NULL, NULL, "xsd:boolean"); + case SOAP_TYPE_PointerTongwt__AccessControlListEntry: + return soap_in_PointerTongwt__AccessControlListEntry(soap, NULL, NULL, "ngwt:AccessControlListEntry"); + case SOAP_TYPE_PointerTounsignedByte: + return soap_in_PointerTounsignedByte(soap, NULL, NULL, "xsd:unsignedByte"); + case SOAP_TYPE__QName: + { char **s; + s = soap_in__QName(soap, NULL, NULL, "QName"); + return s ? *s : NULL; + } + case SOAP_TYPE_string: + { char **s; + s = soap_in_string(soap, NULL, NULL, "xsd:string"); + return s ? *s : NULL; + } + default: + { const char *t = soap->type; + if (!*t) + t = soap->tag; + if (!soap_match_tag(soap, t, "ngwt:DayOfMonth")) + { *type = SOAP_TYPE_ngwt__DayOfMonth; + return soap_in_ngwt__DayOfMonth(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:byte")) + { *type = SOAP_TYPE_byte; + return soap_in_byte(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:WeekOfYear")) + { *type = SOAP_TYPE_ngwt__WeekOfYear; + return soap_in_ngwt__WeekOfYear(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DayOfYear")) + { *type = SOAP_TYPE_ngwt__DayOfYear; + return soap_in_ngwt__DayOfYear(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:short")) + { *type = SOAP_TYPE_short; + return soap_in_short(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:GMTOffset")) + { *type = SOAP_TYPE_ngwt__GMTOffset; + return soap_in_ngwt__GMTOffset(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:int")) + { *type = SOAP_TYPE_int; + return soap_in_int(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:long")) + { *type = SOAP_TYPE_long; + return soap_in_long(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Month")) + { *type = SOAP_TYPE_ngwt__Month; + return soap_in_ngwt__Month(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Minute")) + { *type = SOAP_TYPE_ngwt__Minute; + return soap_in_ngwt__Minute(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Hour")) + { *type = SOAP_TYPE_ngwt__Hour; + return soap_in_ngwt__Hour(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Day")) + { *type = SOAP_TYPE_ngwt__Day; + return soap_in_ngwt__Day(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:unsignedByte")) + { *type = SOAP_TYPE_unsignedByte; + return soap_in_unsignedByte(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:unsignedInt")) + { *type = SOAP_TYPE_unsignedInt; + return soap_in_unsignedInt(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:unsignedLong")) + { *type = SOAP_TYPE_unsignedLong; + return soap_in_unsignedLong(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:boolean")) + { *type = SOAP_TYPE_bool; + return soap_in_bool(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:ItemType")) + { *type = SOAP_TYPE_ngwe__ItemType; + return soap_in_ngwe__ItemType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:Field")) + { *type = SOAP_TYPE_ngwe__Field; + return soap_in_ngwe__Field(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:EventType")) + { *type = SOAP_TYPE_ngwe__EventType; + return soap_in_ngwe__EventType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:WeekDay")) + { *type = SOAP_TYPE_ngwt__WeekDay; + return soap_in_ngwt__WeekDay(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:VersionStatus")) + { *type = SOAP_TYPE_ngwt__VersionStatus; + return soap_in_ngwt__VersionStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:VersionEventType")) + { *type = SOAP_TYPE_ngwt__VersionEventType; + return soap_in_ngwt__VersionEventType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:StatusTrackingOptions")) + { *type = SOAP_TYPE_ngwt__StatusTrackingOptions; + return soap_in_ngwt__StatusTrackingOptions(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RuleActionType")) + { *type = SOAP_TYPE_ngwt__RuleActionType; + return soap_in_ngwt__RuleActionType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RetractType")) + { *type = SOAP_TYPE_ngwt__RetractType; + return soap_in_ngwt__RetractType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RecipientType")) + { *type = SOAP_TYPE_ngwt__RecipientType; + return soap_in_ngwt__RecipientType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PostalAddressType")) + { *type = SOAP_TYPE_ngwt__PostalAddressType; + return soap_in_ngwt__PostalAddressType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PhoneNumberType")) + { *type = SOAP_TYPE_ngwt__PhoneNumberType; + return soap_in_ngwt__PhoneNumberType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:OccurrenceType")) + { *type = SOAP_TYPE_ngwt__OccurrenceType; + return soap_in_ngwt__OccurrenceType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:NotificationType")) + { *type = SOAP_TYPE_ngwt__NotificationType; + return soap_in_ngwt__NotificationType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:MessageType")) + { *type = SOAP_TYPE_ngwt__MessageType; + return soap_in_ngwt__MessageType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:MessageList")) + { *type = SOAP_TYPE_ngwt__MessageList; + return soap_in_ngwt__MessageList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:LinkType")) + { *type = SOAP_TYPE_ngwt__LinkType; + return soap_in_ngwt__LinkType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:JunkMatchType")) + { *type = SOAP_TYPE_ngwt__JunkMatchType; + return soap_in_ngwt__JunkMatchType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:JunkHandlingListType")) + { *type = SOAP_TYPE_ngwt__JunkHandlingListType; + return soap_in_ngwt__JunkHandlingListType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemSource")) + { *type = SOAP_TYPE_ngwt__ItemSource; + return soap_in_ngwt__ItemSource(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemSecurity")) + { *type = SOAP_TYPE_ngwt__ItemSecurity; + return soap_in_ngwt__ItemSecurity(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemOptionsPriority")) + { *type = SOAP_TYPE_ngwt__ItemOptionsPriority; + return soap_in_ngwt__ItemOptionsPriority(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemClass")) + { *type = SOAP_TYPE_ngwt__ItemClass; + return soap_in_ngwt__ItemClass(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Frequency")) + { *type = SOAP_TYPE_ngwt__Frequency; + return soap_in_ngwt__Frequency(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FolderType")) + { *type = SOAP_TYPE_ngwt__FolderType; + return soap_in_ngwt__FolderType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FolderACLStatus")) + { *type = SOAP_TYPE_ngwt__FolderACLStatus; + return soap_in_ngwt__FolderACLStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FilterOp")) + { *type = SOAP_TYPE_ngwt__FilterOp; + return soap_in_ngwt__FilterOp(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FilterDate")) + { *type = SOAP_TYPE_ngwt__FilterDate; + return soap_in_ngwt__FilterDate(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Execution")) + { *type = SOAP_TYPE_ngwt__Execution; + return soap_in_ngwt__Execution(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DistributionType")) + { *type = SOAP_TYPE_ngwt__DistributionType; + return soap_in_ngwt__DistributionType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DeltaSyncType")) + { *type = SOAP_TYPE_ngwt__DeltaSyncType; + return soap_in_ngwt__DeltaSyncType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CustomType")) + { *type = SOAP_TYPE_ngwt__CustomType; + return soap_in_ngwt__CustomType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CursorSeek")) + { *type = SOAP_TYPE_ngwt__CursorSeek; + return soap_in_ngwt__CursorSeek(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ContactType")) + { *type = SOAP_TYPE_ngwt__ContactType; + return soap_in_ngwt__ContactType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CategoryType")) + { *type = SOAP_TYPE_ngwt__CategoryType; + return soap_in_ngwt__CategoryType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CalendarFolderFlags")) + { *type = SOAP_TYPE_ngwt__CalendarFolderFlags; + return soap_in_ngwt__CalendarFolderFlags(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AppointmentConflict")) + { *type = SOAP_TYPE_ngwt__AppointmentConflict; + return soap_in_ngwt__AppointmentConflict(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AgeAction")) + { *type = SOAP_TYPE_ngwt__AgeAction; + return soap_in_ngwt__AgeAction(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AcceptLevel")) + { *type = SOAP_TYPE_ngwt__AcceptLevel; + return soap_in_ngwt__AcceptLevel(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:ItemTypeList")) + { *type = SOAP_TYPE_ngwe__ItemTypeList; + return soap_in_ngwe__ItemTypeList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:FieldList")) + { *type = SOAP_TYPE_ngwe__FieldList; + return soap_in_ngwe__FieldList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:MessageTypeList")) + { *type = SOAP_TYPE_ngwt__MessageTypeList; + return soap_in_ngwt__MessageTypeList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemSourceList")) + { *type = SOAP_TYPE_ngwt__ItemSourceList; + return soap_in_ngwt__ItemSourceList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:UUID")) + { *type = SOAP_TYPE_ngwt__UUID; + return soap_in_ngwt__UUID(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:uid")) + { *type = SOAP_TYPE_ngwt__uid; + return soap_in_ngwt__uid(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:View")) + { *type = SOAP_TYPE_ngwt__View; + return soap_in_ngwt__View(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:removeEventsResponse")) + { *type = SOAP_TYPE__ngwe__removeEventsResponse; + return soap_in__ngwe__removeEventsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:removeEventsRequest")) + { *type = SOAP_TYPE__ngwe__removeEventsRequest; + return soap_in__ngwe__removeEventsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:removeEventConfigurationResponse")) + { *type = SOAP_TYPE__ngwe__removeEventConfigurationResponse; + return soap_in__ngwe__removeEventConfigurationResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:removeEventConfigurationRequest")) + { *type = SOAP_TYPE__ngwe__removeEventConfigurationRequest; + return soap_in__ngwe__removeEventConfigurationRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:getEventsResponse")) + { *type = SOAP_TYPE__ngwe__getEventsResponse; + return soap_in__ngwe__getEventsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:getEventsRequest")) + { *type = SOAP_TYPE__ngwe__getEventsRequest; + return soap_in__ngwe__getEventsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:getEventConfigurationResponse")) + { *type = SOAP_TYPE__ngwe__getEventConfigurationResponse; + return soap_in__ngwe__getEventConfigurationResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:getEventConfigurationRequest")) + { *type = SOAP_TYPE__ngwe__getEventConfigurationRequest; + return soap_in__ngwe__getEventConfigurationRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:configureEventsResponse")) + { *type = SOAP_TYPE__ngwe__configureEventsResponse; + return soap_in__ngwe__configureEventsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:configureEventsRequest")) + { *type = SOAP_TYPE__ngwe__configureEventsRequest; + return soap_in__ngwe__configureEventsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:cleanEventConfigurationResponse")) + { *type = SOAP_TYPE__ngwe__cleanEventConfigurationResponse; + return soap_in__ngwe__cleanEventConfigurationResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:cleanEventConfigurationRequest")) + { *type = SOAP_TYPE__ngwe__cleanEventConfigurationRequest; + return soap_in__ngwe__cleanEventConfigurationRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:Notify")) + { *type = SOAP_TYPE_ngwe__Notify; + return soap_in_ngwe__Notify(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:EventTypeList")) + { *type = SOAP_TYPE_ngwe__EventTypeList; + return soap_in_ngwe__EventTypeList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:EventsList")) + { *type = SOAP_TYPE_ngwe__EventsList; + return soap_in_ngwe__EventsList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:Events")) + { *type = SOAP_TYPE_ngwe__Events; + return soap_in_ngwe__Events(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:EventList")) + { *type = SOAP_TYPE_ngwe__EventList; + return soap_in_ngwe__EventList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:EventDefinition")) + { *type = SOAP_TYPE_ngwe__EventDefinition; + return soap_in_ngwe__EventDefinition(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:Event")) + { *type = SOAP_TYPE_ngwe__Event; + return soap_in_ngwe__Event(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwe:ContainerList")) + { *type = SOAP_TYPE_ngwe__ContainerList; + return soap_in_ngwe__ContainerList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:updateVersionStatusResponse")) + { *type = SOAP_TYPE__ngwm__updateVersionStatusResponse; + return soap_in__ngwm__updateVersionStatusResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:updateVersionStatusRequest")) + { *type = SOAP_TYPE__ngwm__updateVersionStatusRequest; + return soap_in__ngwm__updateVersionStatusRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:uncompleteResponse")) + { *type = SOAP_TYPE__ngwm__uncompleteResponse; + return soap_in__ngwm__uncompleteResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:uncompleteRequest")) + { *type = SOAP_TYPE__ngwm__uncompleteRequest; + return soap_in__ngwm__uncompleteRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:unacceptResponse")) + { *type = SOAP_TYPE__ngwm__unacceptResponse; + return soap_in__ngwm__unacceptResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:unacceptRequest")) + { *type = SOAP_TYPE__ngwm__unacceptRequest; + return soap_in__ngwm__unacceptRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:startFreeBusySessionResponse")) + { *type = SOAP_TYPE__ngwm__startFreeBusySessionResponse; + return soap_in__ngwm__startFreeBusySessionResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:startFreeBusySessionRequest")) + { *type = SOAP_TYPE__ngwm__startFreeBusySessionRequest; + return soap_in__ngwm__startFreeBusySessionRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:setTimestampResponse")) + { *type = SOAP_TYPE__ngwm__setTimestampResponse; + return soap_in__ngwm__setTimestampResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:setTimestampRequest")) + { *type = SOAP_TYPE__ngwm__setTimestampRequest; + return soap_in__ngwm__setTimestampRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:sendItemResponse")) + { *type = SOAP_TYPE__ngwm__sendItemResponse; + return soap_in__ngwm__sendItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:sendItemRequest")) + { *type = SOAP_TYPE__ngwm__sendItemRequest; + return soap_in__ngwm__sendItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:retractResponse")) + { *type = SOAP_TYPE__ngwm__retractResponse; + return soap_in__ngwm__retractResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:retractRequest")) + { *type = SOAP_TYPE__ngwm__retractRequest; + return soap_in__ngwm__retractRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:replyResponse")) + { *type = SOAP_TYPE__ngwm__replyResponse; + return soap_in__ngwm__replyResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:replyRequest")) + { *type = SOAP_TYPE__ngwm__replyRequest; + return soap_in__ngwm__replyRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeSignatureResponse")) + { *type = SOAP_TYPE__ngwm__removeSignatureResponse; + return soap_in__ngwm__removeSignatureResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeSignatureRequest")) + { *type = SOAP_TYPE__ngwm__removeSignatureRequest; + return soap_in__ngwm__removeSignatureRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeProxyUserResponse")) + { *type = SOAP_TYPE__ngwm__removeProxyUserResponse; + return soap_in__ngwm__removeProxyUserResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeProxyUserRequest")) + { *type = SOAP_TYPE__ngwm__removeProxyUserRequest; + return soap_in__ngwm__removeProxyUserRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeProxyAccessResponse")) + { *type = SOAP_TYPE__ngwm__removeProxyAccessResponse; + return soap_in__ngwm__removeProxyAccessResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeProxyAccessRequest")) + { *type = SOAP_TYPE__ngwm__removeProxyAccessRequest; + return soap_in__ngwm__removeProxyAccessRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeMembersResponse")) + { *type = SOAP_TYPE__ngwm__removeMembersResponse; + return soap_in__ngwm__removeMembersResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeMembersRequest")) + { *type = SOAP_TYPE__ngwm__removeMembersRequest; + return soap_in__ngwm__removeMembersRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeJunkEntryResponse")) + { *type = SOAP_TYPE__ngwm__removeJunkEntryResponse; + return soap_in__ngwm__removeJunkEntryResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeJunkEntryRequest")) + { *type = SOAP_TYPE__ngwm__removeJunkEntryRequest; + return soap_in__ngwm__removeJunkEntryRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeItemsResponse")) + { *type = SOAP_TYPE__ngwm__removeItemsResponse; + return soap_in__ngwm__removeItemsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeItemsRequest")) + { *type = SOAP_TYPE__ngwm__removeItemsRequest; + return soap_in__ngwm__removeItemsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeItemResponse")) + { *type = SOAP_TYPE__ngwm__removeItemResponse; + return soap_in__ngwm__removeItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeItemRequest")) + { *type = SOAP_TYPE__ngwm__removeItemRequest; + return soap_in__ngwm__removeItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeCustomDefinitionResponse")) + { *type = SOAP_TYPE__ngwm__removeCustomDefinitionResponse; + return soap_in__ngwm__removeCustomDefinitionResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:removeCustomDefinitionRequest")) + { *type = SOAP_TYPE__ngwm__removeCustomDefinitionRequest; + return soap_in__ngwm__removeCustomDefinitionRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:readCursorResponse")) + { *type = SOAP_TYPE__ngwm__readCursorResponse; + return soap_in__ngwm__readCursorResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:readCursorRequest")) + { *type = SOAP_TYPE__ngwm__readCursorRequest; + return soap_in__ngwm__readCursorRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:purgeResponse")) + { *type = SOAP_TYPE__ngwm__purgeResponse; + return soap_in__ngwm__purgeResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:purgeRequest")) + { *type = SOAP_TYPE__ngwm__purgeRequest; + return soap_in__ngwm__purgeRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:purgeDeletedItemsResponse")) + { *type = SOAP_TYPE__ngwm__purgeDeletedItemsResponse; + return soap_in__ngwm__purgeDeletedItemsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:purgeDeletedItemsRequest")) + { *type = SOAP_TYPE__ngwm__purgeDeletedItemsRequest; + return soap_in__ngwm__purgeDeletedItemsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:positionCursorResponse")) + { *type = SOAP_TYPE__ngwm__positionCursorResponse; + return soap_in__ngwm__positionCursorResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:positionCursorRequest")) + { *type = SOAP_TYPE__ngwm__positionCursorRequest; + return soap_in__ngwm__positionCursorRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:moveItemResponse")) + { *type = SOAP_TYPE__ngwm__moveItemResponse; + return soap_in__ngwm__moveItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:moveItemRequest")) + { *type = SOAP_TYPE__ngwm__moveItemRequest; + return soap_in__ngwm__moveItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifySignaturesResponse")) + { *type = SOAP_TYPE__ngwm__modifySignaturesResponse; + return soap_in__ngwm__modifySignaturesResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifySignaturesRequest")) + { *type = SOAP_TYPE__ngwm__modifySignaturesRequest; + return soap_in__ngwm__modifySignaturesRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifySettingsResponse")) + { *type = SOAP_TYPE__ngwm__modifySettingsResponse; + return soap_in__ngwm__modifySettingsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifySettingsRequest")) + { *type = SOAP_TYPE__ngwm__modifySettingsRequest; + return soap_in__ngwm__modifySettingsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyProxyAccessResponse")) + { *type = SOAP_TYPE__ngwm__modifyProxyAccessResponse; + return soap_in__ngwm__modifyProxyAccessResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyProxyAccessRequest")) + { *type = SOAP_TYPE__ngwm__modifyProxyAccessRequest; + return soap_in__ngwm__modifyProxyAccessRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyPasswordResponse")) + { *type = SOAP_TYPE__ngwm__modifyPasswordResponse; + return soap_in__ngwm__modifyPasswordResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyPasswordRequest")) + { *type = SOAP_TYPE__ngwm__modifyPasswordRequest; + return soap_in__ngwm__modifyPasswordRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyJunkMailSettingsResponse")) + { *type = SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse; + return soap_in__ngwm__modifyJunkMailSettingsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyJunkMailSettingsRequest")) + { *type = SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest; + return soap_in__ngwm__modifyJunkMailSettingsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyJunkEntryResponse")) + { *type = SOAP_TYPE__ngwm__modifyJunkEntryResponse; + return soap_in__ngwm__modifyJunkEntryResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyJunkEntryRequest")) + { *type = SOAP_TYPE__ngwm__modifyJunkEntryRequest; + return soap_in__ngwm__modifyJunkEntryRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyItemsResponse")) + { *type = SOAP_TYPE__ngwm__modifyItemsResponse; + return soap_in__ngwm__modifyItemsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyItemsRequest")) + { *type = SOAP_TYPE__ngwm__modifyItemsRequest; + return soap_in__ngwm__modifyItemsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyItemResponse")) + { *type = SOAP_TYPE__ngwm__modifyItemResponse; + return soap_in__ngwm__modifyItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:modifyItemRequest")) + { *type = SOAP_TYPE__ngwm__modifyItemRequest; + return soap_in__ngwm__modifyItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markUnReadResponse")) + { *type = SOAP_TYPE__ngwm__markUnReadResponse; + return soap_in__ngwm__markUnReadResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markUnReadRequest")) + { *type = SOAP_TYPE__ngwm__markUnReadRequest; + return soap_in__ngwm__markUnReadRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markUnPrivateResponse")) + { *type = SOAP_TYPE__ngwm__markUnPrivateResponse; + return soap_in__ngwm__markUnPrivateResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markUnPrivateRequest")) + { *type = SOAP_TYPE__ngwm__markUnPrivateRequest; + return soap_in__ngwm__markUnPrivateRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markReadResponse")) + { *type = SOAP_TYPE__ngwm__markReadResponse; + return soap_in__ngwm__markReadResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markReadRequest")) + { *type = SOAP_TYPE__ngwm__markReadRequest; + return soap_in__ngwm__markReadRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markPrivateResponse")) + { *type = SOAP_TYPE__ngwm__markPrivateResponse; + return soap_in__ngwm__markPrivateResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:markPrivateRequest")) + { *type = SOAP_TYPE__ngwm__markPrivateRequest; + return soap_in__ngwm__markPrivateRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:logoutResponse")) + { *type = SOAP_TYPE__ngwm__logoutResponse; + return soap_in__ngwm__logoutResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:logoutRequest")) + { *type = SOAP_TYPE__ngwm__logoutRequest; + return soap_in__ngwm__logoutRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:loginResponse")) + { *type = SOAP_TYPE__ngwm__loginResponse; + return soap_in__ngwm__loginResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:loginRequest")) + { *type = SOAP_TYPE__ngwm__loginRequest; + return soap_in__ngwm__loginRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getUserListResponse")) + { *type = SOAP_TYPE__ngwm__getUserListResponse; + return soap_in__ngwm__getUserListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getUserListRequest")) + { *type = SOAP_TYPE__ngwm__getUserListRequest; + return soap_in__ngwm__getUserListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getTimezoneListResponse")) + { *type = SOAP_TYPE__ngwm__getTimezoneListResponse; + return soap_in__ngwm__getTimezoneListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getTimezoneListRequest")) + { *type = SOAP_TYPE__ngwm__getTimezoneListRequest; + return soap_in__ngwm__getTimezoneListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getTimestampResponse")) + { *type = SOAP_TYPE__ngwm__getTimestampResponse; + return soap_in__ngwm__getTimestampResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getTimestampRequest")) + { *type = SOAP_TYPE__ngwm__getTimestampRequest; + return soap_in__ngwm__getTimestampRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getSignaturesResponse")) + { *type = SOAP_TYPE__ngwm__getSignaturesResponse; + return soap_in__ngwm__getSignaturesResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getSignaturesRequest")) + { *type = SOAP_TYPE__ngwm__getSignaturesRequest; + return soap_in__ngwm__getSignaturesRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getSettingsResponse")) + { *type = SOAP_TYPE__ngwm__getSettingsResponse; + return soap_in__ngwm__getSettingsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getSettingsRequest")) + { *type = SOAP_TYPE__ngwm__getSettingsRequest; + return soap_in__ngwm__getSettingsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getRuleListResponse")) + { *type = SOAP_TYPE__ngwm__getRuleListResponse; + return soap_in__ngwm__getRuleListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getRuleListRequest")) + { *type = SOAP_TYPE__ngwm__getRuleListRequest; + return soap_in__ngwm__getRuleListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getProxyListResponse")) + { *type = SOAP_TYPE__ngwm__getProxyListResponse; + return soap_in__ngwm__getProxyListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getProxyListRequest")) + { *type = SOAP_TYPE__ngwm__getProxyListRequest; + return soap_in__ngwm__getProxyListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getProxyAccessListResponse")) + { *type = SOAP_TYPE__ngwm__getProxyAccessListResponse; + return soap_in__ngwm__getProxyAccessListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getProxyAccessListRequest")) + { *type = SOAP_TYPE__ngwm__getProxyAccessListRequest; + return soap_in__ngwm__getProxyAccessListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getQuickMessagesResponse")) + { *type = SOAP_TYPE__ngwm__getQuickMessagesResponse; + return soap_in__ngwm__getQuickMessagesResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getQuickMessagesRequest")) + { *type = SOAP_TYPE__ngwm__getQuickMessagesRequest; + return soap_in__ngwm__getQuickMessagesRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getLibraryListResponse")) + { *type = SOAP_TYPE__ngwm__getLibraryListResponse; + return soap_in__ngwm__getLibraryListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getLibraryListRequest")) + { *type = SOAP_TYPE__ngwm__getLibraryListRequest; + return soap_in__ngwm__getLibraryListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getLibraryItemResponse")) + { *type = SOAP_TYPE__ngwm__getLibraryItemResponse; + return soap_in__ngwm__getLibraryItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getLibraryItemRequest")) + { *type = SOAP_TYPE__ngwm__getLibraryItemRequest; + return soap_in__ngwm__getLibraryItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getJunkMailSettingsResponse")) + { *type = SOAP_TYPE__ngwm__getJunkMailSettingsResponse; + return soap_in__ngwm__getJunkMailSettingsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getJunkMailSettingsRequest")) + { *type = SOAP_TYPE__ngwm__getJunkMailSettingsRequest; + return soap_in__ngwm__getJunkMailSettingsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getJunkEntriesResponse")) + { *type = SOAP_TYPE__ngwm__getJunkEntriesResponse; + return soap_in__ngwm__getJunkEntriesResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getJunkEntriesRequest")) + { *type = SOAP_TYPE__ngwm__getJunkEntriesRequest; + return soap_in__ngwm__getJunkEntriesRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getItemsResponse")) + { *type = SOAP_TYPE__ngwm__getItemsResponse; + return soap_in__ngwm__getItemsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getItemsRequest")) + { *type = SOAP_TYPE__ngwm__getItemsRequest; + return soap_in__ngwm__getItemsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getItemResponse")) + { *type = SOAP_TYPE__ngwm__getItemResponse; + return soap_in__ngwm__getItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getItemRequest")) + { *type = SOAP_TYPE__ngwm__getItemRequest; + return soap_in__ngwm__getItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getFreeBusyResponse")) + { *type = SOAP_TYPE__ngwm__getFreeBusyResponse; + return soap_in__ngwm__getFreeBusyResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getFreeBusyRequest")) + { *type = SOAP_TYPE__ngwm__getFreeBusyRequest; + return soap_in__ngwm__getFreeBusyRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getFolderListResponse")) + { *type = SOAP_TYPE__ngwm__getFolderListResponse; + return soap_in__ngwm__getFolderListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getFolderListRequest")) + { *type = SOAP_TYPE__ngwm__getFolderListRequest; + return soap_in__ngwm__getFolderListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getFolderResponse")) + { *type = SOAP_TYPE__ngwm__getFolderResponse; + return soap_in__ngwm__getFolderResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getFolderRequest")) + { *type = SOAP_TYPE__ngwm__getFolderRequest; + return soap_in__ngwm__getFolderRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getDocumentTypeListResponse")) + { *type = SOAP_TYPE__ngwm__getDocumentTypeListResponse; + return soap_in__ngwm__getDocumentTypeListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getDocumentTypeListRequest")) + { *type = SOAP_TYPE__ngwm__getDocumentTypeListRequest; + return soap_in__ngwm__getDocumentTypeListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getDeltaInfoResponse")) + { *type = SOAP_TYPE__ngwm__getDeltaInfoResponse; + return soap_in__ngwm__getDeltaInfoResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getDeltaInfoRequest")) + { *type = SOAP_TYPE__ngwm__getDeltaInfoRequest; + return soap_in__ngwm__getDeltaInfoRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getDeltasResponse")) + { *type = SOAP_TYPE__ngwm__getDeltasResponse; + return soap_in__ngwm__getDeltasResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getDeltasRequest")) + { *type = SOAP_TYPE__ngwm__getDeltasRequest; + return soap_in__ngwm__getDeltasRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getCustomListResponse")) + { *type = SOAP_TYPE__ngwm__getCustomListResponse; + return soap_in__ngwm__getCustomListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getCustomListRequest")) + { *type = SOAP_TYPE__ngwm__getCustomListRequest; + return soap_in__ngwm__getCustomListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getCategoryListResponse")) + { *type = SOAP_TYPE__ngwm__getCategoryListResponse; + return soap_in__ngwm__getCategoryListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getCategoryListRequest")) + { *type = SOAP_TYPE__ngwm__getCategoryListRequest; + return soap_in__ngwm__getCategoryListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getAttachmentResponse")) + { *type = SOAP_TYPE__ngwm__getAttachmentResponse; + return soap_in__ngwm__getAttachmentResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getAttachmentRequest")) + { *type = SOAP_TYPE__ngwm__getAttachmentRequest; + return soap_in__ngwm__getAttachmentRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getAddressBookListResponse")) + { *type = SOAP_TYPE__ngwm__getAddressBookListResponse; + return soap_in__ngwm__getAddressBookListResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:getAddressBookListRequest")) + { *type = SOAP_TYPE__ngwm__getAddressBookListRequest; + return soap_in__ngwm__getAddressBookListRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:forwardResponse")) + { *type = SOAP_TYPE__ngwm__forwardResponse; + return soap_in__ngwm__forwardResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:forwardRequest")) + { *type = SOAP_TYPE__ngwm__forwardRequest; + return soap_in__ngwm__forwardRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:executeRuleResponse")) + { *type = SOAP_TYPE__ngwm__executeRuleResponse; + return soap_in__ngwm__executeRuleResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:executeRuleRequest")) + { *type = SOAP_TYPE__ngwm__executeRuleRequest; + return soap_in__ngwm__executeRuleRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:destroyCursorResponse")) + { *type = SOAP_TYPE__ngwm__destroyCursorResponse; + return soap_in__ngwm__destroyCursorResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:destroyCursorRequest")) + { *type = SOAP_TYPE__ngwm__destroyCursorRequest; + return soap_in__ngwm__destroyCursorRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:delegateResponse")) + { *type = SOAP_TYPE__ngwm__delegateResponse; + return soap_in__ngwm__delegateResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:delegateRequest")) + { *type = SOAP_TYPE__ngwm__delegateRequest; + return soap_in__ngwm__delegateRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:declineResponse")) + { *type = SOAP_TYPE__ngwm__declineResponse; + return soap_in__ngwm__declineResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:declineRequest")) + { *type = SOAP_TYPE__ngwm__declineRequest; + return soap_in__ngwm__declineRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createSignatureResponse")) + { *type = SOAP_TYPE__ngwm__createSignatureResponse; + return soap_in__ngwm__createSignatureResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createSignatureRequest")) + { *type = SOAP_TYPE__ngwm__createSignatureRequest; + return soap_in__ngwm__createSignatureRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createProxyAccessResponse")) + { *type = SOAP_TYPE__ngwm__createProxyAccessResponse; + return soap_in__ngwm__createProxyAccessResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createProxyAccessRequest")) + { *type = SOAP_TYPE__ngwm__createProxyAccessRequest; + return soap_in__ngwm__createProxyAccessRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createJunkEntryResponse")) + { *type = SOAP_TYPE__ngwm__createJunkEntryResponse; + return soap_in__ngwm__createJunkEntryResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createJunkEntryRequest")) + { *type = SOAP_TYPE__ngwm__createJunkEntryRequest; + return soap_in__ngwm__createJunkEntryRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createItemsResponse")) + { *type = SOAP_TYPE__ngwm__createItemsResponse; + return soap_in__ngwm__createItemsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createItemsRequest")) + { *type = SOAP_TYPE__ngwm__createItemsRequest; + return soap_in__ngwm__createItemsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createItemResponse")) + { *type = SOAP_TYPE__ngwm__createItemResponse; + return soap_in__ngwm__createItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createItemRequest")) + { *type = SOAP_TYPE__ngwm__createItemRequest; + return soap_in__ngwm__createItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createCursorResponse")) + { *type = SOAP_TYPE__ngwm__createCursorResponse; + return soap_in__ngwm__createCursorResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:createCursorRequest")) + { *type = SOAP_TYPE__ngwm__createCursorRequest; + return soap_in__ngwm__createCursorRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:completeResponse")) + { *type = SOAP_TYPE__ngwm__completeResponse; + return soap_in__ngwm__completeResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:completeRequest")) + { *type = SOAP_TYPE__ngwm__completeRequest; + return soap_in__ngwm__completeRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:closeFreeBusySessionResponse")) + { *type = SOAP_TYPE__ngwm__closeFreeBusySessionResponse; + return soap_in__ngwm__closeFreeBusySessionResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:closeFreeBusySessionRequest")) + { *type = SOAP_TYPE__ngwm__closeFreeBusySessionRequest; + return soap_in__ngwm__closeFreeBusySessionRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:addMembersResponse")) + { *type = SOAP_TYPE__ngwm__addMembersResponse; + return soap_in__ngwm__addMembersResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:addMembersRequest")) + { *type = SOAP_TYPE__ngwm__addMembersRequest; + return soap_in__ngwm__addMembersRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:addItemsResponse")) + { *type = SOAP_TYPE__ngwm__addItemsResponse; + return soap_in__ngwm__addItemsResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:addItemsRequest")) + { *type = SOAP_TYPE__ngwm__addItemsRequest; + return soap_in__ngwm__addItemsRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:addItemResponse")) + { *type = SOAP_TYPE__ngwm__addItemResponse; + return soap_in__ngwm__addItemResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:addItemRequest")) + { *type = SOAP_TYPE__ngwm__addItemRequest; + return soap_in__ngwm__addItemRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:acceptShareResponse")) + { *type = SOAP_TYPE__ngwm__acceptShareResponse; + return soap_in__ngwm__acceptShareResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:acceptShareRequest")) + { *type = SOAP_TYPE__ngwm__acceptShareRequest; + return soap_in__ngwm__acceptShareRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:acceptResponse")) + { *type = SOAP_TYPE__ngwm__acceptResponse; + return soap_in__ngwm__acceptResponse(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwm:acceptRequest")) + { *type = SOAP_TYPE__ngwm__acceptRequest; + return soap_in__ngwm__acceptRequest(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:VersionEvent")) + { *type = SOAP_TYPE_ngwt__VersionEvent; + return soap_in_ngwt__VersionEvent(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Version")) + { *type = SOAP_TYPE_ngwt__Version; + return soap_in_ngwt__Version(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:UserList")) + { *type = SOAP_TYPE_ngwt__UserList; + return soap_in_ngwt__UserList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:UserInfo")) + { *type = SOAP_TYPE_ngwt__UserInfo; + return soap_in_ngwt__UserInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:TrustedApplication")) + { *type = SOAP_TYPE_ngwt__TrustedApplication; + return soap_in_ngwt__TrustedApplication(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:TransferFailedStatus")) + { *type = SOAP_TYPE_ngwt__TransferFailedStatus; + return soap_in_ngwt__TransferFailedStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:TimezoneList")) + { *type = SOAP_TYPE_ngwt__TimezoneList; + return soap_in_ngwt__TimezoneList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:TimezoneComponent")) + { *type = SOAP_TYPE_ngwt__TimezoneComponent; + return soap_in_ngwt__TimezoneComponent(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Timezone")) + { *type = SOAP_TYPE_ngwt__Timezone; + return soap_in_ngwt__Timezone(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Task")) + { *type = SOAP_TYPE_ngwt__Task; + return soap_in_ngwt__Task(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SystemFolder")) + { *type = SOAP_TYPE_ngwt__SystemFolder; + return soap_in_ngwt__SystemFolder(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:StatusTracking")) + { *type = SOAP_TYPE_ngwt__StatusTracking; + return soap_in_ngwt__StatusTracking(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Status")) + { *type = SOAP_TYPE_ngwt__Status; + return soap_in_ngwt__Status(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SMimeOperation")) + { *type = SOAP_TYPE_ngwt__SMimeOperation; + return soap_in_ngwt__SMimeOperation(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SignatureData")) + { *type = SOAP_TYPE_ngwt__SignatureData; + return soap_in_ngwt__SignatureData(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Signatures")) + { *type = SOAP_TYPE_ngwt__Signatures; + return soap_in_ngwt__Signatures(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Signature")) + { *type = SOAP_TYPE_ngwt__Signature; + return soap_in_ngwt__Signature(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SharedNotification")) + { *type = SOAP_TYPE_ngwt__SharedNotification; + return soap_in_ngwt__SharedNotification(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SharedFolderNotification")) + { *type = SOAP_TYPE_ngwt__SharedFolderNotification; + return soap_in_ngwt__SharedFolderNotification(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SharedFolder")) + { *type = SOAP_TYPE_ngwt__SharedFolder; + return soap_in_ngwt__SharedFolder(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SettingsList")) + { *type = SOAP_TYPE_ngwt__SettingsList; + return soap_in_ngwt__SettingsList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SettingsGroup")) + { *type = SOAP_TYPE_ngwt__SettingsGroup; + return soap_in_ngwt__SettingsGroup(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Settings")) + { *type = SOAP_TYPE_ngwt__Settings; + return soap_in_ngwt__Settings(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SendOptions")) + { *type = SOAP_TYPE_ngwt__SendOptions; + return soap_in_ngwt__SendOptions(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:SendOptionsRequestReply")) + { *type = SOAP_TYPE_ngwt__SendOptionsRequestReply; + return soap_in_ngwt__SendOptionsRequestReply(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RuleList")) + { *type = SOAP_TYPE_ngwt__RuleList; + return soap_in_ngwt__RuleList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RuleActionList")) + { *type = SOAP_TYPE_ngwt__RuleActionList; + return soap_in_ngwt__RuleActionList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RuleAction")) + { *type = SOAP_TYPE_ngwt__RuleAction; + return soap_in_ngwt__RuleAction(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Rule")) + { *type = SOAP_TYPE_ngwt__Rule; + return soap_in_ngwt__Rule(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Rights")) + { *type = SOAP_TYPE_ngwt__Rights; + return soap_in_ngwt__Rights(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ReturnNotificationOptions")) + { *type = SOAP_TYPE_ngwt__ReturnNotificationOptions; + return soap_in_ngwt__ReturnNotificationOptions(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ReturnNotification")) + { *type = SOAP_TYPE_ngwt__ReturnNotification; + return soap_in_ngwt__ReturnNotification(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Resource")) + { *type = SOAP_TYPE_ngwt__Resource; + return soap_in_ngwt__Resource(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ReferenceInfo")) + { *type = SOAP_TYPE_ngwt__ReferenceInfo; + return soap_in_ngwt__ReferenceInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RecurrenceRule")) + { *type = SOAP_TYPE_ngwt__RecurrenceRule; + return soap_in_ngwt__RecurrenceRule(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RecurrenceDateType")) + { *type = SOAP_TYPE_ngwt__RecurrenceDateType; + return soap_in_ngwt__RecurrenceDateType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RecipientStatus")) + { *type = SOAP_TYPE_ngwt__RecipientStatus; + return soap_in_ngwt__RecipientStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:RecipientList")) + { *type = SOAP_TYPE_ngwt__RecipientList; + return soap_in_ngwt__RecipientList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Recipient")) + { *type = SOAP_TYPE_ngwt__Recipient; + return soap_in_ngwt__Recipient(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:QueryTarget")) + { *type = SOAP_TYPE_ngwt__QueryTarget; + return soap_in_ngwt__QueryTarget(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:QueryFolder")) + { *type = SOAP_TYPE_ngwt__QueryFolder; + return soap_in_ngwt__QueryFolder(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Query")) + { *type = SOAP_TYPE_ngwt__Query; + return soap_in_ngwt__Query(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ProxyList")) + { *type = SOAP_TYPE_ngwt__ProxyList; + return soap_in_ngwt__ProxyList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ProxyUser")) + { *type = SOAP_TYPE_ngwt__ProxyUser; + return soap_in_ngwt__ProxyUser(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Proxy")) + { *type = SOAP_TYPE_ngwt__Proxy; + return soap_in_ngwt__Proxy(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ProblemList")) + { *type = SOAP_TYPE_ngwt__ProblemList; + return soap_in_ngwt__ProblemList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ProblemEntry")) + { *type = SOAP_TYPE_ngwt__ProblemEntry; + return soap_in_ngwt__ProblemEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PostalAddressList")) + { *type = SOAP_TYPE_ngwt__PostalAddressList; + return soap_in_ngwt__PostalAddressList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PostalAddress")) + { *type = SOAP_TYPE_ngwt__PostalAddress; + return soap_in_ngwt__PostalAddress(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PlainText")) + { *type = SOAP_TYPE_ngwt__PlainText; + return soap_in_ngwt__PlainText(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PhoneNumber")) + { *type = SOAP_TYPE_ngwt__PhoneNumber; + return soap_in_ngwt__PhoneNumber(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PhoneMessage")) + { *type = SOAP_TYPE_ngwt__PhoneMessage; + return soap_in_ngwt__PhoneMessage(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PhoneList")) + { *type = SOAP_TYPE_ngwt__PhoneList; + return soap_in_ngwt__PhoneList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PhoneFlags")) + { *type = SOAP_TYPE_ngwt__PhoneFlags; + return soap_in_ngwt__PhoneFlags(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:PersonalInfo")) + { *type = SOAP_TYPE_ngwt__PersonalInfo; + return soap_in_ngwt__PersonalInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Organization")) + { *type = SOAP_TYPE_ngwt__Organization; + return soap_in_ngwt__Organization(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:OfficeInfo")) + { *type = SOAP_TYPE_ngwt__OfficeInfo; + return soap_in_ngwt__OfficeInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Note")) + { *type = SOAP_TYPE_ngwt__Note; + return soap_in_ngwt__Note(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:NameAndEmail")) + { *type = SOAP_TYPE_ngwt__NameAndEmail; + return soap_in_ngwt__NameAndEmail(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:MonthList")) + { *type = SOAP_TYPE_ngwt__MonthList; + return soap_in_ngwt__MonthList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ModifyItem")) + { *type = SOAP_TYPE_ngwt__ModifyItem; + return soap_in_ngwt__ModifyItem(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:MessagePart")) + { *type = SOAP_TYPE_ngwt__MessagePart; + return soap_in_ngwt__MessagePart(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:MessageBody")) + { *type = SOAP_TYPE_ngwt__MessageBody; + return soap_in_ngwt__MessageBody(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Mail")) + { *type = SOAP_TYPE_ngwt__Mail; + return soap_in_ngwt__Mail(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:LinkInfo")) + { *type = SOAP_TYPE_ngwt__LinkInfo; + return soap_in_ngwt__LinkInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:LibraryList")) + { *type = SOAP_TYPE_ngwt__LibraryList; + return soap_in_ngwt__LibraryList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Library")) + { *type = SOAP_TYPE_ngwt__Library; + return soap_in_ngwt__Library(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:JunkHandlingList")) + { *type = SOAP_TYPE_ngwt__JunkHandlingList; + return soap_in_ngwt__JunkHandlingList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:JunkEntry")) + { *type = SOAP_TYPE_ngwt__JunkEntry; + return soap_in_ngwt__JunkEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemStatus")) + { *type = SOAP_TYPE_ngwt__ItemStatus; + return soap_in_ngwt__ItemStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Items")) + { *type = SOAP_TYPE_ngwt__Items; + return soap_in_ngwt__Items(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemRefList")) + { *type = SOAP_TYPE_ngwt__ItemRefList; + return soap_in_ngwt__ItemRefList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemRef")) + { *type = SOAP_TYPE_ngwt__ItemRef; + return soap_in_ngwt__ItemRef(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemOptions")) + { *type = SOAP_TYPE_ngwt__ItemOptions; + return soap_in_ngwt__ItemOptions(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemList")) + { *type = SOAP_TYPE_ngwt__ItemList; + return soap_in_ngwt__ItemList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ItemChanges")) + { *type = SOAP_TYPE_ngwt__ItemChanges; + return soap_in_ngwt__ItemChanges(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Item")) + { *type = SOAP_TYPE_ngwt__Item; + return soap_in_ngwt__Item(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ImAddressList")) + { *type = SOAP_TYPE_ngwt__ImAddressList; + return soap_in_ngwt__ImAddressList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ImAddress")) + { *type = SOAP_TYPE_ngwt__ImAddress; + return soap_in_ngwt__ImAddress(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Host")) + { *type = SOAP_TYPE_ngwt__Host; + return soap_in_ngwt__Host(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:GroupMemberList")) + { *type = SOAP_TYPE_ngwt__GroupMemberList; + return soap_in_ngwt__GroupMemberList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:GroupMember")) + { *type = SOAP_TYPE_ngwt__GroupMember; + return soap_in_ngwt__GroupMember(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Group")) + { *type = SOAP_TYPE_ngwt__Group; + return soap_in_ngwt__Group(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FullName")) + { *type = SOAP_TYPE_ngwt__FullName; + return soap_in_ngwt__FullName(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:From")) + { *type = SOAP_TYPE_ngwt__From; + return soap_in_ngwt__From(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FreeBusyStats")) + { *type = SOAP_TYPE_ngwt__FreeBusyStats; + return soap_in_ngwt__FreeBusyStats(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FreeBusyInfoList")) + { *type = SOAP_TYPE_ngwt__FreeBusyInfoList; + return soap_in_ngwt__FreeBusyInfoList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FreeBusyUserList")) + { *type = SOAP_TYPE_ngwt__FreeBusyUserList; + return soap_in_ngwt__FreeBusyUserList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FreeBusyInfo")) + { *type = SOAP_TYPE_ngwt__FreeBusyInfo; + return soap_in_ngwt__FreeBusyInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FreeBusyBlock")) + { *type = SOAP_TYPE_ngwt__FreeBusyBlock; + return soap_in_ngwt__FreeBusyBlock(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FreeBusyBlockList")) + { *type = SOAP_TYPE_ngwt__FreeBusyBlockList; + return soap_in_ngwt__FreeBusyBlockList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FolderList")) + { *type = SOAP_TYPE_ngwt__FolderList; + return soap_in_ngwt__FolderList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FolderACLEntry")) + { *type = SOAP_TYPE_ngwt__FolderACLEntry; + return soap_in_ngwt__FolderACLEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FolderACL")) + { *type = SOAP_TYPE_ngwt__FolderACL; + return soap_in_ngwt__FolderACL(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Folder")) + { *type = SOAP_TYPE_ngwt__Folder; + return soap_in_ngwt__Folder(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FilterGroup")) + { *type = SOAP_TYPE_ngwt__FilterGroup; + return soap_in_ngwt__FilterGroup(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FilterEntry")) + { *type = SOAP_TYPE_ngwt__FilterEntry; + return soap_in_ngwt__FilterEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:FilterElement")) + { *type = SOAP_TYPE_ngwt__FilterElement; + return soap_in_ngwt__FilterElement(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Filter")) + { *type = SOAP_TYPE_ngwt__Filter; + return soap_in_ngwt__Filter(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:EmailAddressList")) + { *type = SOAP_TYPE_ngwt__EmailAddressList; + return soap_in_ngwt__EmailAddressList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DocumentTypeList")) + { *type = SOAP_TYPE_ngwt__DocumentTypeList; + return soap_in_ngwt__DocumentTypeList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DocumentType")) + { *type = SOAP_TYPE_ngwt__DocumentType; + return soap_in_ngwt__DocumentType(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DocumentRef")) + { *type = SOAP_TYPE_ngwt__DocumentRef; + return soap_in_ngwt__DocumentRef(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Document")) + { *type = SOAP_TYPE_ngwt__Document; + return soap_in_ngwt__Document(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Distribution")) + { *type = SOAP_TYPE_ngwt__Distribution; + return soap_in_ngwt__Distribution(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DeltaInfo")) + { *type = SOAP_TYPE_ngwt__DeltaInfo; + return soap_in_ngwt__DeltaInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DelegateeStatus")) + { *type = SOAP_TYPE_ngwt__DelegateeStatus; + return soap_in_ngwt__DelegateeStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DelegatedStatus")) + { *type = SOAP_TYPE_ngwt__DelegatedStatus; + return soap_in_ngwt__DelegatedStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DayOfYearWeekList")) + { *type = SOAP_TYPE_ngwt__DayOfYearWeekList; + return soap_in_ngwt__DayOfYearWeekList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DayOfYearWeek")) + { *type = SOAP_TYPE_ngwt__DayOfYearWeek; + return soap_in_ngwt__DayOfYearWeek(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DayOfYearList")) + { *type = SOAP_TYPE_ngwt__DayOfYearList; + return soap_in_ngwt__DayOfYearList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DayOfWeek")) + { *type = SOAP_TYPE_ngwt__DayOfWeek; + return soap_in_ngwt__DayOfWeek(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:DayOfMonthList")) + { *type = SOAP_TYPE_ngwt__DayOfMonthList; + return soap_in_ngwt__DayOfMonthList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CustomList")) + { *type = SOAP_TYPE_ngwt__CustomList; + return soap_in_ngwt__CustomList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Custom")) + { *type = SOAP_TYPE_ngwt__Custom; + return soap_in_ngwt__Custom(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ContainerRef")) + { *type = SOAP_TYPE_ngwt__ContainerRef; + return soap_in_ngwt__ContainerRef(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ContainerItem")) + { *type = SOAP_TYPE_ngwt__ContainerItem; + return soap_in_ngwt__ContainerItem(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:ContactFolder")) + { *type = SOAP_TYPE_ngwt__ContactFolder; + return soap_in_ngwt__ContactFolder(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Contact")) + { *type = SOAP_TYPE_ngwt__Contact; + return soap_in_ngwt__Contact(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CommentStatus")) + { *type = SOAP_TYPE_ngwt__CommentStatus; + return soap_in_ngwt__CommentStatus(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CategoryRefList")) + { *type = SOAP_TYPE_ngwt__CategoryRefList; + return soap_in_ngwt__CategoryRefList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CategoryList")) + { *type = SOAP_TYPE_ngwt__CategoryList; + return soap_in_ngwt__CategoryList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Category")) + { *type = SOAP_TYPE_ngwt__Category; + return soap_in_ngwt__Category(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CalendarItem")) + { *type = SOAP_TYPE_ngwt__CalendarItem; + return soap_in_ngwt__CalendarItem(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:CalendarFolderAttribute")) + { *type = SOAP_TYPE_ngwt__CalendarFolderAttribute; + return soap_in_ngwt__CalendarFolderAttribute(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:BoxEntry")) + { *type = SOAP_TYPE_ngwt__BoxEntry; + return soap_in_ngwt__BoxEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Authentication")) + { *type = SOAP_TYPE_ngwt__Authentication; + return soap_in_ngwt__Authentication(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AttachmentItemInfo")) + { *type = SOAP_TYPE_ngwt__AttachmentItemInfo; + return soap_in_ngwt__AttachmentItemInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AttachmentInfo")) + { *type = SOAP_TYPE_ngwt__AttachmentInfo; + return soap_in_ngwt__AttachmentInfo(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AttachmentID")) + { *type = SOAP_TYPE_ngwt__AttachmentID; + return soap_in_ngwt__AttachmentID(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Appointment")) + { *type = SOAP_TYPE_ngwt__Appointment; + return soap_in_ngwt__Appointment(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:Alarm")) + { *type = SOAP_TYPE_ngwt__Alarm; + return soap_in_ngwt__Alarm(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AddressBookList")) + { *type = SOAP_TYPE_ngwt__AddressBookList; + return soap_in_ngwt__AddressBookList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AddressBookItem")) + { *type = SOAP_TYPE_ngwt__AddressBookItem; + return soap_in_ngwt__AddressBookItem(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AddressBook")) + { *type = SOAP_TYPE_ngwt__AddressBook; + return soap_in_ngwt__AddressBook(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessRightList")) + { *type = SOAP_TYPE_ngwt__AccessRightList; + return soap_in_ngwt__AccessRightList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessRightEntry")) + { *type = SOAP_TYPE_ngwt__AccessRightEntry; + return soap_in_ngwt__AccessRightEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessRightChanges")) + { *type = SOAP_TYPE_ngwt__AccessRightChanges; + return soap_in_ngwt__AccessRightChanges(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessRight")) + { *type = SOAP_TYPE_ngwt__AccessRight; + return soap_in_ngwt__AccessRight(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessMiscRight")) + { *type = SOAP_TYPE_ngwt__AccessMiscRight; + return soap_in_ngwt__AccessMiscRight(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessControlList")) + { *type = SOAP_TYPE_ngwt__AccessControlList; + return soap_in_ngwt__AccessControlList(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "ngwt:AccessControlListEntry")) + { *type = SOAP_TYPE_ngwt__AccessControlListEntry; + return soap_in_ngwt__AccessControlListEntry(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:language")) + { *type = SOAP_TYPE_xsd__language; + return soap_in_xsd__language(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:duration")) + { *type = SOAP_TYPE_xsd__duration; + return soap_in_xsd__duration(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:decimal")) + { *type = SOAP_TYPE_xsd__decimal; + return soap_in_xsd__decimal(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:date")) + { *type = SOAP_TYPE_xsd__date; + return soap_in_xsd__date(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:string")) + { *type = SOAP_TYPE_std__string; + return soap_in_std__string(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "xsd:base64Binary")) + { *type = SOAP_TYPE_xsd__base64Binary; + return soap_in_xsd__base64Binary(soap, NULL, NULL, NULL); + } + if (!soap_match_tag(soap, t, "QName")) + { char **s; + *type = SOAP_TYPE__QName; + s = soap_in__QName(soap, NULL, NULL, NULL); + return s ? *s : NULL; + } + if (!soap_match_tag(soap, t, "xsd:string")) + { char **s; + *type = SOAP_TYPE_string; + s = soap_in_string(soap, NULL, NULL, NULL); + return s ? *s : NULL; + } + } + } + soap->error = SOAP_TAG_MISMATCH; + return NULL; +} +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap) +{ if (!soap_peek_element(soap)) + { int t; + if (soap->mustUnderstand && !soap->other) + return soap->error = SOAP_MUSTUNDERSTAND; + if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:")) + return soap->error = SOAP_TAG_MISMATCH; + if (!*soap->id || !soap_getelement(soap, &t)) + { soap->peeked = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unknown element '%s' (level=%u, %d)\n", soap->tag, soap->level, soap->body)); + if (soap->fignore) + soap->error = soap->fignore(soap, soap->tag); + else + soap->error = SOAP_OK; + DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag)); + if (!soap->error && soap->body) + { soap->level++; + while (!soap_ignore_element(soap)) + ; + if (soap->error == SOAP_NO_TAG) + soap->error = soap_element_end_in(soap, NULL); + } + } + } + return soap->error; +} + +#ifndef WITH_NOIDREF +SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap) +{ + int i; + struct soap_plist *pp; + if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH))) + for (i = 0; i < SOAP_PTRHASH; i++) + for (pp = soap->pht[i]; pp; pp = pp->next) + if (pp->mark1 == 2 || pp->mark2 == 2) + if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type)) + return soap->error; + return SOAP_OK; +} +#endif + +#ifndef WITH_NOIDREF +SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type) +{ + switch (type) + { + case SOAP_TYPE_ngwt__DayOfMonth: + return soap_out_ngwt__DayOfMonth(soap, tag, id, (const char *)ptr, "ngwt:DayOfMonth"); + case SOAP_TYPE_byte: + return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte"); + case SOAP_TYPE_ngwt__WeekOfYear: + return soap_out_ngwt__WeekOfYear(soap, tag, id, (const short *)ptr, "ngwt:WeekOfYear"); + case SOAP_TYPE_ngwt__DayOfYear: + return soap_out_ngwt__DayOfYear(soap, tag, id, (const short *)ptr, "ngwt:DayOfYear"); + case SOAP_TYPE_short: + return soap_out_short(soap, tag, id, (const short *)ptr, "xsd:short"); + case SOAP_TYPE_ngwt__GMTOffset: + return soap_out_ngwt__GMTOffset(soap, tag, id, (const int *)ptr, "ngwt:GMTOffset"); + case SOAP_TYPE_int: + return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int"); + case SOAP_TYPE_long: + return soap_out_long(soap, tag, id, (const long *)ptr, "xsd:long"); + case SOAP_TYPE_ngwt__Month: + return soap_out_ngwt__Month(soap, tag, id, (const unsigned char *)ptr, "ngwt:Month"); + case SOAP_TYPE_ngwt__Minute: + return soap_out_ngwt__Minute(soap, tag, id, (const unsigned char *)ptr, "ngwt:Minute"); + case SOAP_TYPE_ngwt__Hour: + return soap_out_ngwt__Hour(soap, tag, id, (const unsigned char *)ptr, "ngwt:Hour"); + case SOAP_TYPE_ngwt__Day: + return soap_out_ngwt__Day(soap, tag, id, (const unsigned char *)ptr, "ngwt:Day"); + case SOAP_TYPE_unsignedByte: + return soap_out_unsignedByte(soap, tag, id, (const unsigned char *)ptr, "xsd:unsignedByte"); + case SOAP_TYPE_unsignedInt: + return soap_out_unsignedInt(soap, tag, id, (const unsigned int *)ptr, "xsd:unsignedInt"); + case SOAP_TYPE_unsignedLong: + return soap_out_unsignedLong(soap, tag, id, (const unsigned long *)ptr, "xsd:unsignedLong"); + case SOAP_TYPE_bool: + return soap_out_bool(soap, tag, id, (const bool *)ptr, "xsd:boolean"); + case SOAP_TYPE_ngwe__ItemType: + return soap_out_ngwe__ItemType(soap, tag, id, (const enum ngwe__ItemType *)ptr, "ngwe:ItemType"); + case SOAP_TYPE_ngwe__Field: + return soap_out_ngwe__Field(soap, tag, id, (const enum ngwe__Field *)ptr, "ngwe:Field"); + case SOAP_TYPE_ngwe__EventType: + return soap_out_ngwe__EventType(soap, tag, id, (const enum ngwe__EventType *)ptr, "ngwe:EventType"); + case SOAP_TYPE_ngwt__WeekDay: + return soap_out_ngwt__WeekDay(soap, tag, id, (const enum ngwt__WeekDay *)ptr, "ngwt:WeekDay"); + case SOAP_TYPE_ngwt__VersionStatus: + return soap_out_ngwt__VersionStatus(soap, tag, id, (const enum ngwt__VersionStatus *)ptr, "ngwt:VersionStatus"); + case SOAP_TYPE_ngwt__VersionEventType: + return soap_out_ngwt__VersionEventType(soap, tag, id, (const enum ngwt__VersionEventType *)ptr, "ngwt:VersionEventType"); + case SOAP_TYPE_ngwt__StatusTrackingOptions: + return soap_out_ngwt__StatusTrackingOptions(soap, tag, id, (const enum ngwt__StatusTrackingOptions *)ptr, "ngwt:StatusTrackingOptions"); + case SOAP_TYPE_ngwt__RuleActionType: + return soap_out_ngwt__RuleActionType(soap, tag, id, (const enum ngwt__RuleActionType *)ptr, "ngwt:RuleActionType"); + case SOAP_TYPE_ngwt__RetractType: + return soap_out_ngwt__RetractType(soap, tag, id, (const enum ngwt__RetractType *)ptr, "ngwt:RetractType"); + case SOAP_TYPE_ngwt__RecipientType: + return soap_out_ngwt__RecipientType(soap, tag, id, (const enum ngwt__RecipientType *)ptr, "ngwt:RecipientType"); + case SOAP_TYPE_ngwt__PostalAddressType: + return soap_out_ngwt__PostalAddressType(soap, tag, id, (const enum ngwt__PostalAddressType *)ptr, "ngwt:PostalAddressType"); + case SOAP_TYPE_ngwt__PhoneNumberType: + return soap_out_ngwt__PhoneNumberType(soap, tag, id, (const enum ngwt__PhoneNumberType *)ptr, "ngwt:PhoneNumberType"); + case SOAP_TYPE_ngwt__OccurrenceType: + return soap_out_ngwt__OccurrenceType(soap, tag, id, (const enum ngwt__OccurrenceType *)ptr, "ngwt:OccurrenceType"); + case SOAP_TYPE_ngwt__NotificationType: + return soap_out_ngwt__NotificationType(soap, tag, id, (const enum ngwt__NotificationType *)ptr, "ngwt:NotificationType"); + case SOAP_TYPE_ngwt__MessageType: + return soap_out_ngwt__MessageType(soap, tag, id, (const enum ngwt__MessageType *)ptr, "ngwt:MessageType"); + case SOAP_TYPE_ngwt__MessageList: + return soap_out_ngwt__MessageList(soap, tag, id, (const enum ngwt__MessageList *)ptr, "ngwt:MessageList"); + case SOAP_TYPE_ngwt__LinkType: + return soap_out_ngwt__LinkType(soap, tag, id, (const enum ngwt__LinkType *)ptr, "ngwt:LinkType"); + case SOAP_TYPE_ngwt__JunkMatchType: + return soap_out_ngwt__JunkMatchType(soap, tag, id, (const enum ngwt__JunkMatchType *)ptr, "ngwt:JunkMatchType"); + case SOAP_TYPE_ngwt__JunkHandlingListType: + return soap_out_ngwt__JunkHandlingListType(soap, tag, id, (const enum ngwt__JunkHandlingListType *)ptr, "ngwt:JunkHandlingListType"); + case SOAP_TYPE_ngwt__ItemSource: + return soap_out_ngwt__ItemSource(soap, tag, id, (const enum ngwt__ItemSource *)ptr, "ngwt:ItemSource"); + case SOAP_TYPE_ngwt__ItemSecurity: + return soap_out_ngwt__ItemSecurity(soap, tag, id, (const enum ngwt__ItemSecurity *)ptr, "ngwt:ItemSecurity"); + case SOAP_TYPE_ngwt__ItemOptionsPriority: + return soap_out_ngwt__ItemOptionsPriority(soap, tag, id, (const enum ngwt__ItemOptionsPriority *)ptr, "ngwt:ItemOptionsPriority"); + case SOAP_TYPE_ngwt__ItemClass: + return soap_out_ngwt__ItemClass(soap, tag, id, (const enum ngwt__ItemClass *)ptr, "ngwt:ItemClass"); + case SOAP_TYPE_ngwt__Frequency: + return soap_out_ngwt__Frequency(soap, tag, id, (const enum ngwt__Frequency *)ptr, "ngwt:Frequency"); + case SOAP_TYPE_ngwt__FolderType: + return soap_out_ngwt__FolderType(soap, tag, id, (const enum ngwt__FolderType *)ptr, "ngwt:FolderType"); + case SOAP_TYPE_ngwt__FolderACLStatus: + return soap_out_ngwt__FolderACLStatus(soap, tag, id, (const enum ngwt__FolderACLStatus *)ptr, "ngwt:FolderACLStatus"); + case SOAP_TYPE_ngwt__FilterOp: + return soap_out_ngwt__FilterOp(soap, tag, id, (const enum ngwt__FilterOp *)ptr, "ngwt:FilterOp"); + case SOAP_TYPE_ngwt__FilterDate: + return soap_out_ngwt__FilterDate(soap, tag, id, (const enum ngwt__FilterDate *)ptr, "ngwt:FilterDate"); + case SOAP_TYPE_ngwt__Execution: + return soap_out_ngwt__Execution(soap, tag, id, (const enum ngwt__Execution *)ptr, "ngwt:Execution"); + case SOAP_TYPE_ngwt__DistributionType: + return soap_out_ngwt__DistributionType(soap, tag, id, (const enum ngwt__DistributionType *)ptr, "ngwt:DistributionType"); + case SOAP_TYPE_ngwt__DeltaSyncType: + return soap_out_ngwt__DeltaSyncType(soap, tag, id, (const enum ngwt__DeltaSyncType *)ptr, "ngwt:DeltaSyncType"); + case SOAP_TYPE_ngwt__CustomType: + return soap_out_ngwt__CustomType(soap, tag, id, (const enum ngwt__CustomType *)ptr, "ngwt:CustomType"); + case SOAP_TYPE_ngwt__CursorSeek: + return soap_out_ngwt__CursorSeek(soap, tag, id, (const enum ngwt__CursorSeek *)ptr, "ngwt:CursorSeek"); + case SOAP_TYPE_ngwt__ContactType: + return soap_out_ngwt__ContactType(soap, tag, id, (const enum ngwt__ContactType *)ptr, "ngwt:ContactType"); + case SOAP_TYPE_ngwt__CategoryType: + return soap_out_ngwt__CategoryType(soap, tag, id, (const enum ngwt__CategoryType *)ptr, "ngwt:CategoryType"); + case SOAP_TYPE_ngwt__CalendarFolderFlags: + return soap_out_ngwt__CalendarFolderFlags(soap, tag, id, (const enum ngwt__CalendarFolderFlags *)ptr, "ngwt:CalendarFolderFlags"); + case SOAP_TYPE_ngwt__AppointmentConflict: + return soap_out_ngwt__AppointmentConflict(soap, tag, id, (const enum ngwt__AppointmentConflict *)ptr, "ngwt:AppointmentConflict"); + case SOAP_TYPE_ngwt__AgeAction: + return soap_out_ngwt__AgeAction(soap, tag, id, (const enum ngwt__AgeAction *)ptr, "ngwt:AgeAction"); + case SOAP_TYPE_ngwt__AcceptLevel: + return soap_out_ngwt__AcceptLevel(soap, tag, id, (const enum ngwt__AcceptLevel *)ptr, "ngwt:AcceptLevel"); + case SOAP_TYPE_ngwe__ItemTypeList: + return soap_out_ngwe__ItemTypeList(soap, tag, id, (const enum ngwe__ItemTypeList *)ptr, "ngwe:ItemTypeList"); + case SOAP_TYPE_ngwe__FieldList: + return soap_out_ngwe__FieldList(soap, tag, id, (const enum ngwe__FieldList *)ptr, "ngwe:FieldList"); + case SOAP_TYPE_ngwt__MessageTypeList: + return soap_out_ngwt__MessageTypeList(soap, tag, id, (const enum ngwt__MessageTypeList *)ptr, "ngwt:MessageTypeList"); + case SOAP_TYPE_ngwt__ItemSourceList: + return soap_out_ngwt__ItemSourceList(soap, tag, id, (const enum ngwt__ItemSourceList *)ptr, "ngwt:ItemSourceList"); + case SOAP_TYPE_ngwt__UUID: + return soap_out_ngwt__UUID(soap, tag, id, (const std::string *)ptr, "ngwt:UUID"); + case SOAP_TYPE_ngwt__uid: + return soap_out_ngwt__uid(soap, tag, id, (const std::string *)ptr, "ngwt:uid"); + case SOAP_TYPE_ngwt__View: + return soap_out_ngwt__View(soap, tag, id, (const std::string *)ptr, "ngwt:View"); + case SOAP_TYPE__ngwe__removeEventsResponse: + return ((_ngwe__removeEventsResponse *)ptr)->soap_out(soap, "ngwe:removeEventsResponse", id, NULL); + case SOAP_TYPE__ngwe__removeEventsRequest: + return ((_ngwe__removeEventsRequest *)ptr)->soap_out(soap, "ngwe:removeEventsRequest", id, NULL); + case SOAP_TYPE__ngwe__removeEventConfigurationResponse: + return ((_ngwe__removeEventConfigurationResponse *)ptr)->soap_out(soap, "ngwe:removeEventConfigurationResponse", id, NULL); + case SOAP_TYPE__ngwe__removeEventConfigurationRequest: + return ((_ngwe__removeEventConfigurationRequest *)ptr)->soap_out(soap, "ngwe:removeEventConfigurationRequest", id, NULL); + case SOAP_TYPE__ngwe__getEventsResponse: + return ((_ngwe__getEventsResponse *)ptr)->soap_out(soap, "ngwe:getEventsResponse", id, NULL); + case SOAP_TYPE__ngwe__getEventsRequest: + return ((_ngwe__getEventsRequest *)ptr)->soap_out(soap, "ngwe:getEventsRequest", id, NULL); + case SOAP_TYPE__ngwe__getEventConfigurationResponse: + return ((_ngwe__getEventConfigurationResponse *)ptr)->soap_out(soap, "ngwe:getEventConfigurationResponse", id, NULL); + case SOAP_TYPE__ngwe__getEventConfigurationRequest: + return ((_ngwe__getEventConfigurationRequest *)ptr)->soap_out(soap, "ngwe:getEventConfigurationRequest", id, NULL); + case SOAP_TYPE__ngwe__configureEventsResponse: + return ((_ngwe__configureEventsResponse *)ptr)->soap_out(soap, "ngwe:configureEventsResponse", id, NULL); + case SOAP_TYPE__ngwe__configureEventsRequest: + return ((_ngwe__configureEventsRequest *)ptr)->soap_out(soap, "ngwe:configureEventsRequest", id, NULL); + case SOAP_TYPE__ngwe__cleanEventConfigurationResponse: + return ((_ngwe__cleanEventConfigurationResponse *)ptr)->soap_out(soap, "ngwe:cleanEventConfigurationResponse", id, NULL); + case SOAP_TYPE__ngwe__cleanEventConfigurationRequest: + return ((_ngwe__cleanEventConfigurationRequest *)ptr)->soap_out(soap, "ngwe:cleanEventConfigurationRequest", id, NULL); + case SOAP_TYPE_ngwe__Notify: + return ((ngwe__Notify *)ptr)->soap_out(soap, tag, id, "ngwe:Notify"); + case SOAP_TYPE_ngwe__EventTypeList: + return ((ngwe__EventTypeList *)ptr)->soap_out(soap, tag, id, "ngwe:EventTypeList"); + case SOAP_TYPE_ngwe__EventsList: + return ((ngwe__EventsList *)ptr)->soap_out(soap, tag, id, "ngwe:EventsList"); + case SOAP_TYPE_ngwe__Events: + return ((ngwe__Events *)ptr)->soap_out(soap, tag, id, "ngwe:Events"); + case SOAP_TYPE_ngwe__EventList: + return ((ngwe__EventList *)ptr)->soap_out(soap, tag, id, "ngwe:EventList"); + case SOAP_TYPE_ngwe__EventDefinition: + return ((ngwe__EventDefinition *)ptr)->soap_out(soap, tag, id, "ngwe:EventDefinition"); + case SOAP_TYPE_ngwe__Event: + return ((ngwe__Event *)ptr)->soap_out(soap, tag, id, "ngwe:Event"); + case SOAP_TYPE_ngwe__ContainerList: + return ((ngwe__ContainerList *)ptr)->soap_out(soap, tag, id, "ngwe:ContainerList"); + case SOAP_TYPE__ngwm__updateVersionStatusResponse: + return ((_ngwm__updateVersionStatusResponse *)ptr)->soap_out(soap, "ngwm:updateVersionStatusResponse", id, NULL); + case SOAP_TYPE__ngwm__updateVersionStatusRequest: + return ((_ngwm__updateVersionStatusRequest *)ptr)->soap_out(soap, "ngwm:updateVersionStatusRequest", id, NULL); + case SOAP_TYPE__ngwm__uncompleteResponse: + return ((_ngwm__uncompleteResponse *)ptr)->soap_out(soap, "ngwm:uncompleteResponse", id, NULL); + case SOAP_TYPE__ngwm__uncompleteRequest: + return ((_ngwm__uncompleteRequest *)ptr)->soap_out(soap, "ngwm:uncompleteRequest", id, NULL); + case SOAP_TYPE__ngwm__unacceptResponse: + return ((_ngwm__unacceptResponse *)ptr)->soap_out(soap, "ngwm:unacceptResponse", id, NULL); + case SOAP_TYPE__ngwm__unacceptRequest: + return ((_ngwm__unacceptRequest *)ptr)->soap_out(soap, "ngwm:unacceptRequest", id, NULL); + case SOAP_TYPE__ngwm__startFreeBusySessionResponse: + return ((_ngwm__startFreeBusySessionResponse *)ptr)->soap_out(soap, "ngwm:startFreeBusySessionResponse", id, NULL); + case SOAP_TYPE__ngwm__startFreeBusySessionRequest: + return ((_ngwm__startFreeBusySessionRequest *)ptr)->soap_out(soap, "ngwm:startFreeBusySessionRequest", id, NULL); + case SOAP_TYPE__ngwm__setTimestampResponse: + return ((_ngwm__setTimestampResponse *)ptr)->soap_out(soap, "ngwm:setTimestampResponse", id, NULL); + case SOAP_TYPE__ngwm__setTimestampRequest: + return ((_ngwm__setTimestampRequest *)ptr)->soap_out(soap, "ngwm:setTimestampRequest", id, NULL); + case SOAP_TYPE__ngwm__sendItemResponse: + return ((_ngwm__sendItemResponse *)ptr)->soap_out(soap, "ngwm:sendItemResponse", id, NULL); + case SOAP_TYPE__ngwm__sendItemRequest: + return ((_ngwm__sendItemRequest *)ptr)->soap_out(soap, "ngwm:sendItemRequest", id, NULL); + case SOAP_TYPE__ngwm__retractResponse: + return ((_ngwm__retractResponse *)ptr)->soap_out(soap, "ngwm:retractResponse", id, NULL); + case SOAP_TYPE__ngwm__retractRequest: + return ((_ngwm__retractRequest *)ptr)->soap_out(soap, "ngwm:retractRequest", id, NULL); + case SOAP_TYPE__ngwm__replyResponse: + return ((_ngwm__replyResponse *)ptr)->soap_out(soap, "ngwm:replyResponse", id, NULL); + case SOAP_TYPE__ngwm__replyRequest: + return ((_ngwm__replyRequest *)ptr)->soap_out(soap, "ngwm:replyRequest", id, NULL); + case SOAP_TYPE__ngwm__removeSignatureResponse: + return ((_ngwm__removeSignatureResponse *)ptr)->soap_out(soap, "ngwm:removeSignatureResponse", id, NULL); + case SOAP_TYPE__ngwm__removeSignatureRequest: + return ((_ngwm__removeSignatureRequest *)ptr)->soap_out(soap, "ngwm:removeSignatureRequest", id, NULL); + case SOAP_TYPE__ngwm__removeProxyUserResponse: + return ((_ngwm__removeProxyUserResponse *)ptr)->soap_out(soap, "ngwm:removeProxyUserResponse", id, NULL); + case SOAP_TYPE__ngwm__removeProxyUserRequest: + return ((_ngwm__removeProxyUserRequest *)ptr)->soap_out(soap, "ngwm:removeProxyUserRequest", id, NULL); + case SOAP_TYPE__ngwm__removeProxyAccessResponse: + return ((_ngwm__removeProxyAccessResponse *)ptr)->soap_out(soap, "ngwm:removeProxyAccessResponse", id, NULL); + case SOAP_TYPE__ngwm__removeProxyAccessRequest: + return ((_ngwm__removeProxyAccessRequest *)ptr)->soap_out(soap, "ngwm:removeProxyAccessRequest", id, NULL); + case SOAP_TYPE__ngwm__removeMembersResponse: + return ((_ngwm__removeMembersResponse *)ptr)->soap_out(soap, "ngwm:removeMembersResponse", id, NULL); + case SOAP_TYPE__ngwm__removeMembersRequest: + return ((_ngwm__removeMembersRequest *)ptr)->soap_out(soap, "ngwm:removeMembersRequest", id, NULL); + case SOAP_TYPE__ngwm__removeJunkEntryResponse: + return ((_ngwm__removeJunkEntryResponse *)ptr)->soap_out(soap, "ngwm:removeJunkEntryResponse", id, NULL); + case SOAP_TYPE__ngwm__removeJunkEntryRequest: + return ((_ngwm__removeJunkEntryRequest *)ptr)->soap_out(soap, "ngwm:removeJunkEntryRequest", id, NULL); + case SOAP_TYPE__ngwm__removeItemsResponse: + return ((_ngwm__removeItemsResponse *)ptr)->soap_out(soap, "ngwm:removeItemsResponse", id, NULL); + case SOAP_TYPE__ngwm__removeItemsRequest: + return ((_ngwm__removeItemsRequest *)ptr)->soap_out(soap, "ngwm:removeItemsRequest", id, NULL); + case SOAP_TYPE__ngwm__removeItemResponse: + return ((_ngwm__removeItemResponse *)ptr)->soap_out(soap, "ngwm:removeItemResponse", id, NULL); + case SOAP_TYPE__ngwm__removeItemRequest: + return ((_ngwm__removeItemRequest *)ptr)->soap_out(soap, "ngwm:removeItemRequest", id, NULL); + case SOAP_TYPE__ngwm__removeCustomDefinitionResponse: + return ((_ngwm__removeCustomDefinitionResponse *)ptr)->soap_out(soap, "ngwm:removeCustomDefinitionResponse", id, NULL); + case SOAP_TYPE__ngwm__removeCustomDefinitionRequest: + return ((_ngwm__removeCustomDefinitionRequest *)ptr)->soap_out(soap, "ngwm:removeCustomDefinitionRequest", id, NULL); + case SOAP_TYPE__ngwm__readCursorResponse: + return ((_ngwm__readCursorResponse *)ptr)->soap_out(soap, "ngwm:readCursorResponse", id, NULL); + case SOAP_TYPE__ngwm__readCursorRequest: + return ((_ngwm__readCursorRequest *)ptr)->soap_out(soap, "ngwm:readCursorRequest", id, NULL); + case SOAP_TYPE__ngwm__purgeResponse: + return ((_ngwm__purgeResponse *)ptr)->soap_out(soap, "ngwm:purgeResponse", id, NULL); + case SOAP_TYPE__ngwm__purgeRequest: + return ((_ngwm__purgeRequest *)ptr)->soap_out(soap, "ngwm:purgeRequest", id, NULL); + case SOAP_TYPE__ngwm__purgeDeletedItemsResponse: + return ((_ngwm__purgeDeletedItemsResponse *)ptr)->soap_out(soap, "ngwm:purgeDeletedItemsResponse", id, NULL); + case SOAP_TYPE__ngwm__purgeDeletedItemsRequest: + return ((_ngwm__purgeDeletedItemsRequest *)ptr)->soap_out(soap, "ngwm:purgeDeletedItemsRequest", id, NULL); + case SOAP_TYPE__ngwm__positionCursorResponse: + return ((_ngwm__positionCursorResponse *)ptr)->soap_out(soap, "ngwm:positionCursorResponse", id, NULL); + case SOAP_TYPE__ngwm__positionCursorRequest: + return ((_ngwm__positionCursorRequest *)ptr)->soap_out(soap, "ngwm:positionCursorRequest", id, NULL); + case SOAP_TYPE__ngwm__moveItemResponse: + return ((_ngwm__moveItemResponse *)ptr)->soap_out(soap, "ngwm:moveItemResponse", id, NULL); + case SOAP_TYPE__ngwm__moveItemRequest: + return ((_ngwm__moveItemRequest *)ptr)->soap_out(soap, "ngwm:moveItemRequest", id, NULL); + case SOAP_TYPE__ngwm__modifySignaturesResponse: + return ((_ngwm__modifySignaturesResponse *)ptr)->soap_out(soap, "ngwm:modifySignaturesResponse", id, NULL); + case SOAP_TYPE__ngwm__modifySignaturesRequest: + return ((_ngwm__modifySignaturesRequest *)ptr)->soap_out(soap, "ngwm:modifySignaturesRequest", id, NULL); + case SOAP_TYPE__ngwm__modifySettingsResponse: + return ((_ngwm__modifySettingsResponse *)ptr)->soap_out(soap, "ngwm:modifySettingsResponse", id, NULL); + case SOAP_TYPE__ngwm__modifySettingsRequest: + return ((_ngwm__modifySettingsRequest *)ptr)->soap_out(soap, "ngwm:modifySettingsRequest", id, NULL); + case SOAP_TYPE__ngwm__modifyProxyAccessResponse: + return ((_ngwm__modifyProxyAccessResponse *)ptr)->soap_out(soap, "ngwm:modifyProxyAccessResponse", id, NULL); + case SOAP_TYPE__ngwm__modifyProxyAccessRequest: + return ((_ngwm__modifyProxyAccessRequest *)ptr)->soap_out(soap, "ngwm:modifyProxyAccessRequest", id, NULL); + case SOAP_TYPE__ngwm__modifyPasswordResponse: + return ((_ngwm__modifyPasswordResponse *)ptr)->soap_out(soap, "ngwm:modifyPasswordResponse", id, NULL); + case SOAP_TYPE__ngwm__modifyPasswordRequest: + return ((_ngwm__modifyPasswordRequest *)ptr)->soap_out(soap, "ngwm:modifyPasswordRequest", id, NULL); + case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse: + return ((_ngwm__modifyJunkMailSettingsResponse *)ptr)->soap_out(soap, "ngwm:modifyJunkMailSettingsResponse", id, NULL); + case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest: + return ((_ngwm__modifyJunkMailSettingsRequest *)ptr)->soap_out(soap, "ngwm:modifyJunkMailSettingsRequest", id, NULL); + case SOAP_TYPE__ngwm__modifyJunkEntryResponse: + return ((_ngwm__modifyJunkEntryResponse *)ptr)->soap_out(soap, "ngwm:modifyJunkEntryResponse", id, NULL); + case SOAP_TYPE__ngwm__modifyJunkEntryRequest: + return ((_ngwm__modifyJunkEntryRequest *)ptr)->soap_out(soap, "ngwm:modifyJunkEntryRequest", id, NULL); + case SOAP_TYPE__ngwm__modifyItemsResponse: + return ((_ngwm__modifyItemsResponse *)ptr)->soap_out(soap, "ngwm:modifyItemsResponse", id, NULL); + case SOAP_TYPE__ngwm__modifyItemsRequest: + return ((_ngwm__modifyItemsRequest *)ptr)->soap_out(soap, "ngwm:modifyItemsRequest", id, NULL); + case SOAP_TYPE__ngwm__modifyItemResponse: + return ((_ngwm__modifyItemResponse *)ptr)->soap_out(soap, "ngwm:modifyItemResponse", id, NULL); + case SOAP_TYPE__ngwm__modifyItemRequest: + return ((_ngwm__modifyItemRequest *)ptr)->soap_out(soap, "ngwm:modifyItemRequest", id, NULL); + case SOAP_TYPE__ngwm__markUnReadResponse: + return ((_ngwm__markUnReadResponse *)ptr)->soap_out(soap, "ngwm:markUnReadResponse", id, NULL); + case SOAP_TYPE__ngwm__markUnReadRequest: + return ((_ngwm__markUnReadRequest *)ptr)->soap_out(soap, "ngwm:markUnReadRequest", id, NULL); + case SOAP_TYPE__ngwm__markUnPrivateResponse: + return ((_ngwm__markUnPrivateResponse *)ptr)->soap_out(soap, "ngwm:markUnPrivateResponse", id, NULL); + case SOAP_TYPE__ngwm__markUnPrivateRequest: + return ((_ngwm__markUnPrivateRequest *)ptr)->soap_out(soap, "ngwm:markUnPrivateRequest", id, NULL); + case SOAP_TYPE__ngwm__markReadResponse: + return ((_ngwm__markReadResponse *)ptr)->soap_out(soap, "ngwm:markReadResponse", id, NULL); + case SOAP_TYPE__ngwm__markReadRequest: + return ((_ngwm__markReadRequest *)ptr)->soap_out(soap, "ngwm:markReadRequest", id, NULL); + case SOAP_TYPE__ngwm__markPrivateResponse: + return ((_ngwm__markPrivateResponse *)ptr)->soap_out(soap, "ngwm:markPrivateResponse", id, NULL); + case SOAP_TYPE__ngwm__markPrivateRequest: + return ((_ngwm__markPrivateRequest *)ptr)->soap_out(soap, "ngwm:markPrivateRequest", id, NULL); + case SOAP_TYPE__ngwm__logoutResponse: + return ((_ngwm__logoutResponse *)ptr)->soap_out(soap, "ngwm:logoutResponse", id, NULL); + case SOAP_TYPE__ngwm__logoutRequest: + return ((_ngwm__logoutRequest *)ptr)->soap_out(soap, "ngwm:logoutRequest", id, NULL); + case SOAP_TYPE__ngwm__loginResponse: + return ((_ngwm__loginResponse *)ptr)->soap_out(soap, "ngwm:loginResponse", id, NULL); + case SOAP_TYPE__ngwm__loginRequest: + return ((_ngwm__loginRequest *)ptr)->soap_out(soap, "ngwm:loginRequest", id, NULL); + case SOAP_TYPE__ngwm__getUserListResponse: + return ((_ngwm__getUserListResponse *)ptr)->soap_out(soap, "ngwm:getUserListResponse", id, NULL); + case SOAP_TYPE__ngwm__getUserListRequest: + return ((_ngwm__getUserListRequest *)ptr)->soap_out(soap, "ngwm:getUserListRequest", id, NULL); + case SOAP_TYPE__ngwm__getTimezoneListResponse: + return ((_ngwm__getTimezoneListResponse *)ptr)->soap_out(soap, "ngwm:getTimezoneListResponse", id, NULL); + case SOAP_TYPE__ngwm__getTimezoneListRequest: + return ((_ngwm__getTimezoneListRequest *)ptr)->soap_out(soap, "ngwm:getTimezoneListRequest", id, NULL); + case SOAP_TYPE__ngwm__getTimestampResponse: + return ((_ngwm__getTimestampResponse *)ptr)->soap_out(soap, "ngwm:getTimestampResponse", id, NULL); + case SOAP_TYPE__ngwm__getTimestampRequest: + return ((_ngwm__getTimestampRequest *)ptr)->soap_out(soap, "ngwm:getTimestampRequest", id, NULL); + case SOAP_TYPE__ngwm__getSignaturesResponse: + return ((_ngwm__getSignaturesResponse *)ptr)->soap_out(soap, "ngwm:getSignaturesResponse", id, NULL); + case SOAP_TYPE__ngwm__getSignaturesRequest: + return ((_ngwm__getSignaturesRequest *)ptr)->soap_out(soap, "ngwm:getSignaturesRequest", id, NULL); + case SOAP_TYPE__ngwm__getSettingsResponse: + return ((_ngwm__getSettingsResponse *)ptr)->soap_out(soap, "ngwm:getSettingsResponse", id, NULL); + case SOAP_TYPE__ngwm__getSettingsRequest: + return ((_ngwm__getSettingsRequest *)ptr)->soap_out(soap, "ngwm:getSettingsRequest", id, NULL); + case SOAP_TYPE__ngwm__getRuleListResponse: + return ((_ngwm__getRuleListResponse *)ptr)->soap_out(soap, "ngwm:getRuleListResponse", id, NULL); + case SOAP_TYPE__ngwm__getRuleListRequest: + return ((_ngwm__getRuleListRequest *)ptr)->soap_out(soap, "ngwm:getRuleListRequest", id, NULL); + case SOAP_TYPE__ngwm__getProxyListResponse: + return ((_ngwm__getProxyListResponse *)ptr)->soap_out(soap, "ngwm:getProxyListResponse", id, NULL); + case SOAP_TYPE__ngwm__getProxyListRequest: + return ((_ngwm__getProxyListRequest *)ptr)->soap_out(soap, "ngwm:getProxyListRequest", id, NULL); + case SOAP_TYPE__ngwm__getProxyAccessListResponse: + return ((_ngwm__getProxyAccessListResponse *)ptr)->soap_out(soap, "ngwm:getProxyAccessListResponse", id, NULL); + case SOAP_TYPE__ngwm__getProxyAccessListRequest: + return ((_ngwm__getProxyAccessListRequest *)ptr)->soap_out(soap, "ngwm:getProxyAccessListRequest", id, NULL); + case SOAP_TYPE__ngwm__getQuickMessagesResponse: + return ((_ngwm__getQuickMessagesResponse *)ptr)->soap_out(soap, "ngwm:getQuickMessagesResponse", id, NULL); + case SOAP_TYPE__ngwm__getQuickMessagesRequest: + return ((_ngwm__getQuickMessagesRequest *)ptr)->soap_out(soap, "ngwm:getQuickMessagesRequest", id, NULL); + case SOAP_TYPE__ngwm__getLibraryListResponse: + return ((_ngwm__getLibraryListResponse *)ptr)->soap_out(soap, "ngwm:getLibraryListResponse", id, NULL); + case SOAP_TYPE__ngwm__getLibraryListRequest: + return ((_ngwm__getLibraryListRequest *)ptr)->soap_out(soap, "ngwm:getLibraryListRequest", id, NULL); + case SOAP_TYPE__ngwm__getLibraryItemResponse: + return ((_ngwm__getLibraryItemResponse *)ptr)->soap_out(soap, "ngwm:getLibraryItemResponse", id, NULL); + case SOAP_TYPE__ngwm__getLibraryItemRequest: + return ((_ngwm__getLibraryItemRequest *)ptr)->soap_out(soap, "ngwm:getLibraryItemRequest", id, NULL); + case SOAP_TYPE__ngwm__getJunkMailSettingsResponse: + return ((_ngwm__getJunkMailSettingsResponse *)ptr)->soap_out(soap, "ngwm:getJunkMailSettingsResponse", id, NULL); + case SOAP_TYPE__ngwm__getJunkMailSettingsRequest: + return ((_ngwm__getJunkMailSettingsRequest *)ptr)->soap_out(soap, "ngwm:getJunkMailSettingsRequest", id, NULL); + case SOAP_TYPE__ngwm__getJunkEntriesResponse: + return ((_ngwm__getJunkEntriesResponse *)ptr)->soap_out(soap, "ngwm:getJunkEntriesResponse", id, NULL); + case SOAP_TYPE__ngwm__getJunkEntriesRequest: + return ((_ngwm__getJunkEntriesRequest *)ptr)->soap_out(soap, "ngwm:getJunkEntriesRequest", id, NULL); + case SOAP_TYPE__ngwm__getItemsResponse: + return ((_ngwm__getItemsResponse *)ptr)->soap_out(soap, "ngwm:getItemsResponse", id, NULL); + case SOAP_TYPE__ngwm__getItemsRequest: + return ((_ngwm__getItemsRequest *)ptr)->soap_out(soap, "ngwm:getItemsRequest", id, NULL); + case SOAP_TYPE__ngwm__getItemResponse: + return ((_ngwm__getItemResponse *)ptr)->soap_out(soap, "ngwm:getItemResponse", id, NULL); + case SOAP_TYPE__ngwm__getItemRequest: + return ((_ngwm__getItemRequest *)ptr)->soap_out(soap, "ngwm:getItemRequest", id, NULL); + case SOAP_TYPE__ngwm__getFreeBusyResponse: + return ((_ngwm__getFreeBusyResponse *)ptr)->soap_out(soap, "ngwm:getFreeBusyResponse", id, NULL); + case SOAP_TYPE__ngwm__getFreeBusyRequest: + return ((_ngwm__getFreeBusyRequest *)ptr)->soap_out(soap, "ngwm:getFreeBusyRequest", id, NULL); + case SOAP_TYPE__ngwm__getFolderListResponse: + return ((_ngwm__getFolderListResponse *)ptr)->soap_out(soap, "ngwm:getFolderListResponse", id, NULL); + case SOAP_TYPE__ngwm__getFolderListRequest: + return ((_ngwm__getFolderListRequest *)ptr)->soap_out(soap, "ngwm:getFolderListRequest", id, NULL); + case SOAP_TYPE__ngwm__getFolderResponse: + return ((_ngwm__getFolderResponse *)ptr)->soap_out(soap, "ngwm:getFolderResponse", id, NULL); + case SOAP_TYPE__ngwm__getFolderRequest: + return ((_ngwm__getFolderRequest *)ptr)->soap_out(soap, "ngwm:getFolderRequest", id, NULL); + case SOAP_TYPE__ngwm__getDocumentTypeListResponse: + return ((_ngwm__getDocumentTypeListResponse *)ptr)->soap_out(soap, "ngwm:getDocumentTypeListResponse", id, NULL); + case SOAP_TYPE__ngwm__getDocumentTypeListRequest: + return ((_ngwm__getDocumentTypeListRequest *)ptr)->soap_out(soap, "ngwm:getDocumentTypeListRequest", id, NULL); + case SOAP_TYPE__ngwm__getDeltaInfoResponse: + return ((_ngwm__getDeltaInfoResponse *)ptr)->soap_out(soap, "ngwm:getDeltaInfoResponse", id, NULL); + case SOAP_TYPE__ngwm__getDeltaInfoRequest: + return ((_ngwm__getDeltaInfoRequest *)ptr)->soap_out(soap, "ngwm:getDeltaInfoRequest", id, NULL); + case SOAP_TYPE__ngwm__getDeltasResponse: + return ((_ngwm__getDeltasResponse *)ptr)->soap_out(soap, "ngwm:getDeltasResponse", id, NULL); + case SOAP_TYPE__ngwm__getDeltasRequest: + return ((_ngwm__getDeltasRequest *)ptr)->soap_out(soap, "ngwm:getDeltasRequest", id, NULL); + case SOAP_TYPE__ngwm__getCustomListResponse: + return ((_ngwm__getCustomListResponse *)ptr)->soap_out(soap, "ngwm:getCustomListResponse", id, NULL); + case SOAP_TYPE__ngwm__getCustomListRequest: + return ((_ngwm__getCustomListRequest *)ptr)->soap_out(soap, "ngwm:getCustomListRequest", id, NULL); + case SOAP_TYPE__ngwm__getCategoryListResponse: + return ((_ngwm__getCategoryListResponse *)ptr)->soap_out(soap, "ngwm:getCategoryListResponse", id, NULL); + case SOAP_TYPE__ngwm__getCategoryListRequest: + return ((_ngwm__getCategoryListRequest *)ptr)->soap_out(soap, "ngwm:getCategoryListRequest", id, NULL); + case SOAP_TYPE__ngwm__getAttachmentResponse: + return ((_ngwm__getAttachmentResponse *)ptr)->soap_out(soap, "ngwm:getAttachmentResponse", id, NULL); + case SOAP_TYPE__ngwm__getAttachmentRequest: + return ((_ngwm__getAttachmentRequest *)ptr)->soap_out(soap, "ngwm:getAttachmentRequest", id, NULL); + case SOAP_TYPE__ngwm__getAddressBookListResponse: + return ((_ngwm__getAddressBookListResponse *)ptr)->soap_out(soap, "ngwm:getAddressBookListResponse", id, NULL); + case SOAP_TYPE__ngwm__getAddressBookListRequest: + return ((_ngwm__getAddressBookListRequest *)ptr)->soap_out(soap, "ngwm:getAddressBookListRequest", id, NULL); + case SOAP_TYPE__ngwm__forwardResponse: + return ((_ngwm__forwardResponse *)ptr)->soap_out(soap, "ngwm:forwardResponse", id, NULL); + case SOAP_TYPE__ngwm__forwardRequest: + return ((_ngwm__forwardRequest *)ptr)->soap_out(soap, "ngwm:forwardRequest", id, NULL); + case SOAP_TYPE__ngwm__executeRuleResponse: + return ((_ngwm__executeRuleResponse *)ptr)->soap_out(soap, "ngwm:executeRuleResponse", id, NULL); + case SOAP_TYPE__ngwm__executeRuleRequest: + return ((_ngwm__executeRuleRequest *)ptr)->soap_out(soap, "ngwm:executeRuleRequest", id, NULL); + case SOAP_TYPE__ngwm__destroyCursorResponse: + return ((_ngwm__destroyCursorResponse *)ptr)->soap_out(soap, "ngwm:destroyCursorResponse", id, NULL); + case SOAP_TYPE__ngwm__destroyCursorRequest: + return ((_ngwm__destroyCursorRequest *)ptr)->soap_out(soap, "ngwm:destroyCursorRequest", id, NULL); + case SOAP_TYPE__ngwm__delegateResponse: + return ((_ngwm__delegateResponse *)ptr)->soap_out(soap, "ngwm:delegateResponse", id, NULL); + case SOAP_TYPE__ngwm__delegateRequest: + return ((_ngwm__delegateRequest *)ptr)->soap_out(soap, "ngwm:delegateRequest", id, NULL); + case SOAP_TYPE__ngwm__declineResponse: + return ((_ngwm__declineResponse *)ptr)->soap_out(soap, "ngwm:declineResponse", id, NULL); + case SOAP_TYPE__ngwm__declineRequest: + return ((_ngwm__declineRequest *)ptr)->soap_out(soap, "ngwm:declineRequest", id, NULL); + case SOAP_TYPE__ngwm__createSignatureResponse: + return ((_ngwm__createSignatureResponse *)ptr)->soap_out(soap, "ngwm:createSignatureResponse", id, NULL); + case SOAP_TYPE__ngwm__createSignatureRequest: + return ((_ngwm__createSignatureRequest *)ptr)->soap_out(soap, "ngwm:createSignatureRequest", id, NULL); + case SOAP_TYPE__ngwm__createProxyAccessResponse: + return ((_ngwm__createProxyAccessResponse *)ptr)->soap_out(soap, "ngwm:createProxyAccessResponse", id, NULL); + case SOAP_TYPE__ngwm__createProxyAccessRequest: + return ((_ngwm__createProxyAccessRequest *)ptr)->soap_out(soap, "ngwm:createProxyAccessRequest", id, NULL); + case SOAP_TYPE__ngwm__createJunkEntryResponse: + return ((_ngwm__createJunkEntryResponse *)ptr)->soap_out(soap, "ngwm:createJunkEntryResponse", id, NULL); + case SOAP_TYPE__ngwm__createJunkEntryRequest: + return ((_ngwm__createJunkEntryRequest *)ptr)->soap_out(soap, "ngwm:createJunkEntryRequest", id, NULL); + case SOAP_TYPE__ngwm__createItemsResponse: + return ((_ngwm__createItemsResponse *)ptr)->soap_out(soap, "ngwm:createItemsResponse", id, NULL); + case SOAP_TYPE__ngwm__createItemsRequest: + return ((_ngwm__createItemsRequest *)ptr)->soap_out(soap, "ngwm:createItemsRequest", id, NULL); + case SOAP_TYPE__ngwm__createItemResponse: + return ((_ngwm__createItemResponse *)ptr)->soap_out(soap, "ngwm:createItemResponse", id, NULL); + case SOAP_TYPE__ngwm__createItemRequest: + return ((_ngwm__createItemRequest *)ptr)->soap_out(soap, "ngwm:createItemRequest", id, NULL); + case SOAP_TYPE__ngwm__createCursorResponse: + return ((_ngwm__createCursorResponse *)ptr)->soap_out(soap, "ngwm:createCursorResponse", id, NULL); + case SOAP_TYPE__ngwm__createCursorRequest: + return ((_ngwm__createCursorRequest *)ptr)->soap_out(soap, "ngwm:createCursorRequest", id, NULL); + case SOAP_TYPE__ngwm__completeResponse: + return ((_ngwm__completeResponse *)ptr)->soap_out(soap, "ngwm:completeResponse", id, NULL); + case SOAP_TYPE__ngwm__completeRequest: + return ((_ngwm__completeRequest *)ptr)->soap_out(soap, "ngwm:completeRequest", id, NULL); + case SOAP_TYPE__ngwm__closeFreeBusySessionResponse: + return ((_ngwm__closeFreeBusySessionResponse *)ptr)->soap_out(soap, "ngwm:closeFreeBusySessionResponse", id, NULL); + case SOAP_TYPE__ngwm__closeFreeBusySessionRequest: + return ((_ngwm__closeFreeBusySessionRequest *)ptr)->soap_out(soap, "ngwm:closeFreeBusySessionRequest", id, NULL); + case SOAP_TYPE__ngwm__addMembersResponse: + return ((_ngwm__addMembersResponse *)ptr)->soap_out(soap, "ngwm:addMembersResponse", id, NULL); + case SOAP_TYPE__ngwm__addMembersRequest: + return ((_ngwm__addMembersRequest *)ptr)->soap_out(soap, "ngwm:addMembersRequest", id, NULL); + case SOAP_TYPE__ngwm__addItemsResponse: + return ((_ngwm__addItemsResponse *)ptr)->soap_out(soap, "ngwm:addItemsResponse", id, NULL); + case SOAP_TYPE__ngwm__addItemsRequest: + return ((_ngwm__addItemsRequest *)ptr)->soap_out(soap, "ngwm:addItemsRequest", id, NULL); + case SOAP_TYPE__ngwm__addItemResponse: + return ((_ngwm__addItemResponse *)ptr)->soap_out(soap, "ngwm:addItemResponse", id, NULL); + case SOAP_TYPE__ngwm__addItemRequest: + return ((_ngwm__addItemRequest *)ptr)->soap_out(soap, "ngwm:addItemRequest", id, NULL); + case SOAP_TYPE__ngwm__acceptShareResponse: + return ((_ngwm__acceptShareResponse *)ptr)->soap_out(soap, "ngwm:acceptShareResponse", id, NULL); + case SOAP_TYPE__ngwm__acceptShareRequest: + return ((_ngwm__acceptShareRequest *)ptr)->soap_out(soap, "ngwm:acceptShareRequest", id, NULL); + case SOAP_TYPE__ngwm__acceptResponse: + return ((_ngwm__acceptResponse *)ptr)->soap_out(soap, "ngwm:acceptResponse", id, NULL); + case SOAP_TYPE__ngwm__acceptRequest: + return ((_ngwm__acceptRequest *)ptr)->soap_out(soap, "ngwm:acceptRequest", id, NULL); + case SOAP_TYPE_ngwt__VersionEvent: + return ((ngwt__VersionEvent *)ptr)->soap_out(soap, tag, id, "ngwt:VersionEvent"); + case SOAP_TYPE_ngwt__Version: + return ((ngwt__Version *)ptr)->soap_out(soap, tag, id, "ngwt:Version"); + case SOAP_TYPE_ngwt__UserList: + return ((ngwt__UserList *)ptr)->soap_out(soap, tag, id, "ngwt:UserList"); + case SOAP_TYPE_ngwt__UserInfo: + return ((ngwt__UserInfo *)ptr)->soap_out(soap, tag, id, "ngwt:UserInfo"); + case SOAP_TYPE_ngwt__TrustedApplication: + return ((ngwt__TrustedApplication *)ptr)->soap_out(soap, tag, id, "ngwt:TrustedApplication"); + case SOAP_TYPE_ngwt__TransferFailedStatus: + return ((ngwt__TransferFailedStatus *)ptr)->soap_out(soap, tag, id, "ngwt:TransferFailedStatus"); + case SOAP_TYPE_ngwt__TimezoneList: + return ((ngwt__TimezoneList *)ptr)->soap_out(soap, tag, id, "ngwt:TimezoneList"); + case SOAP_TYPE_ngwt__TimezoneComponent: + return ((ngwt__TimezoneComponent *)ptr)->soap_out(soap, tag, id, "ngwt:TimezoneComponent"); + case SOAP_TYPE_ngwt__Timezone: + return ((ngwt__Timezone *)ptr)->soap_out(soap, tag, id, "ngwt:Timezone"); + case SOAP_TYPE_ngwt__Task: + return ((ngwt__Task *)ptr)->soap_out(soap, tag, id, "ngwt:Task"); + case SOAP_TYPE_ngwt__SystemFolder: + return ((ngwt__SystemFolder *)ptr)->soap_out(soap, tag, id, "ngwt:SystemFolder"); + case SOAP_TYPE_ngwt__StatusTracking: + return ((ngwt__StatusTracking *)ptr)->soap_out(soap, tag, id, "ngwt:StatusTracking"); + case SOAP_TYPE_ngwt__Status: + return ((ngwt__Status *)ptr)->soap_out(soap, tag, id, "ngwt:Status"); + case SOAP_TYPE_ngwt__SMimeOperation: + return ((ngwt__SMimeOperation *)ptr)->soap_out(soap, tag, id, "ngwt:SMimeOperation"); + case SOAP_TYPE_ngwt__SignatureData: + return ((ngwt__SignatureData *)ptr)->soap_out(soap, tag, id, "ngwt:SignatureData"); + case SOAP_TYPE_ngwt__Signatures: + return ((ngwt__Signatures *)ptr)->soap_out(soap, tag, id, "ngwt:Signatures"); + case SOAP_TYPE_ngwt__Signature: + return ((ngwt__Signature *)ptr)->soap_out(soap, tag, id, "ngwt:Signature"); + case SOAP_TYPE_ngwt__SharedNotification: + return ((ngwt__SharedNotification *)ptr)->soap_out(soap, tag, id, "ngwt:SharedNotification"); + case SOAP_TYPE_ngwt__SharedFolderNotification: + return ((ngwt__SharedFolderNotification *)ptr)->soap_out(soap, tag, id, "ngwt:SharedFolderNotification"); + case SOAP_TYPE_ngwt__SharedFolder: + return ((ngwt__SharedFolder *)ptr)->soap_out(soap, tag, id, "ngwt:SharedFolder"); + case SOAP_TYPE_ngwt__SettingsList: + return ((ngwt__SettingsList *)ptr)->soap_out(soap, tag, id, "ngwt:SettingsList"); + case SOAP_TYPE_ngwt__SettingsGroup: + return ((ngwt__SettingsGroup *)ptr)->soap_out(soap, tag, id, "ngwt:SettingsGroup"); + case SOAP_TYPE_ngwt__Settings: + return ((ngwt__Settings *)ptr)->soap_out(soap, tag, id, "ngwt:Settings"); + case SOAP_TYPE_ngwt__SendOptions: + return ((ngwt__SendOptions *)ptr)->soap_out(soap, tag, id, "ngwt:SendOptions"); + case SOAP_TYPE_ngwt__SendOptionsRequestReply: + return ((ngwt__SendOptionsRequestReply *)ptr)->soap_out(soap, tag, id, "ngwt:SendOptionsRequestReply"); + case SOAP_TYPE_ngwt__RuleList: + return ((ngwt__RuleList *)ptr)->soap_out(soap, tag, id, "ngwt:RuleList"); + case SOAP_TYPE_ngwt__RuleActionList: + return ((ngwt__RuleActionList *)ptr)->soap_out(soap, tag, id, "ngwt:RuleActionList"); + case SOAP_TYPE_ngwt__RuleAction: + return ((ngwt__RuleAction *)ptr)->soap_out(soap, tag, id, "ngwt:RuleAction"); + case SOAP_TYPE_ngwt__Rule: + return ((ngwt__Rule *)ptr)->soap_out(soap, tag, id, "ngwt:Rule"); + case SOAP_TYPE_ngwt__Rights: + return ((ngwt__Rights *)ptr)->soap_out(soap, tag, id, "ngwt:Rights"); + case SOAP_TYPE_ngwt__ReturnNotificationOptions: + return ((ngwt__ReturnNotificationOptions *)ptr)->soap_out(soap, tag, id, "ngwt:ReturnNotificationOptions"); + case SOAP_TYPE_ngwt__ReturnNotification: + return ((ngwt__ReturnNotification *)ptr)->soap_out(soap, tag, id, "ngwt:ReturnNotification"); + case SOAP_TYPE_ngwt__Resource: + return ((ngwt__Resource *)ptr)->soap_out(soap, tag, id, "ngwt:Resource"); + case SOAP_TYPE_ngwt__ReferenceInfo: + return ((ngwt__ReferenceInfo *)ptr)->soap_out(soap, tag, id, "ngwt:ReferenceInfo"); + case SOAP_TYPE_ngwt__RecurrenceRule: + return ((ngwt__RecurrenceRule *)ptr)->soap_out(soap, tag, id, "ngwt:RecurrenceRule"); + case SOAP_TYPE_ngwt__RecurrenceDateType: + return ((ngwt__RecurrenceDateType *)ptr)->soap_out(soap, tag, id, "ngwt:RecurrenceDateType"); + case SOAP_TYPE_ngwt__RecipientStatus: + return ((ngwt__RecipientStatus *)ptr)->soap_out(soap, tag, id, "ngwt:RecipientStatus"); + case SOAP_TYPE_ngwt__RecipientList: + return ((ngwt__RecipientList *)ptr)->soap_out(soap, tag, id, "ngwt:RecipientList"); + case SOAP_TYPE_ngwt__Recipient: + return ((ngwt__Recipient *)ptr)->soap_out(soap, tag, id, "ngwt:Recipient"); + case SOAP_TYPE_ngwt__QueryTarget: + return ((ngwt__QueryTarget *)ptr)->soap_out(soap, tag, id, "ngwt:QueryTarget"); + case SOAP_TYPE_ngwt__QueryFolder: + return ((ngwt__QueryFolder *)ptr)->soap_out(soap, tag, id, "ngwt:QueryFolder"); + case SOAP_TYPE_ngwt__Query: + return ((ngwt__Query *)ptr)->soap_out(soap, tag, id, "ngwt:Query"); + case SOAP_TYPE_ngwt__ProxyList: + return ((ngwt__ProxyList *)ptr)->soap_out(soap, tag, id, "ngwt:ProxyList"); + case SOAP_TYPE_ngwt__ProxyUser: + return ((ngwt__ProxyUser *)ptr)->soap_out(soap, tag, id, "ngwt:ProxyUser"); + case SOAP_TYPE_ngwt__Proxy: + return ((ngwt__Proxy *)ptr)->soap_out(soap, tag, id, "ngwt:Proxy"); + case SOAP_TYPE_ngwt__ProblemList: + return ((ngwt__ProblemList *)ptr)->soap_out(soap, tag, id, "ngwt:ProblemList"); + case SOAP_TYPE_ngwt__ProblemEntry: + return ((ngwt__ProblemEntry *)ptr)->soap_out(soap, tag, id, "ngwt:ProblemEntry"); + case SOAP_TYPE_ngwt__PostalAddressList: + return ((ngwt__PostalAddressList *)ptr)->soap_out(soap, tag, id, "ngwt:PostalAddressList"); + case SOAP_TYPE_ngwt__PostalAddress: + return ((ngwt__PostalAddress *)ptr)->soap_out(soap, tag, id, "ngwt:PostalAddress"); + case SOAP_TYPE_ngwt__PlainText: + return ((ngwt__PlainText *)ptr)->soap_out(soap, tag, id, "ngwt:PlainText"); + case SOAP_TYPE_ngwt__PhoneNumber: + return ((ngwt__PhoneNumber *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneNumber"); + case SOAP_TYPE_ngwt__PhoneMessage: + return ((ngwt__PhoneMessage *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneMessage"); + case SOAP_TYPE_ngwt__PhoneList: + return ((ngwt__PhoneList *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneList"); + case SOAP_TYPE_ngwt__PhoneFlags: + return ((ngwt__PhoneFlags *)ptr)->soap_out(soap, tag, id, "ngwt:PhoneFlags"); + case SOAP_TYPE_ngwt__PersonalInfo: + return ((ngwt__PersonalInfo *)ptr)->soap_out(soap, tag, id, "ngwt:PersonalInfo"); + case SOAP_TYPE_ngwt__Organization: + return ((ngwt__Organization *)ptr)->soap_out(soap, tag, id, "ngwt:Organization"); + case SOAP_TYPE_ngwt__OfficeInfo: + return ((ngwt__OfficeInfo *)ptr)->soap_out(soap, tag, id, "ngwt:OfficeInfo"); + case SOAP_TYPE_ngwt__Note: + return ((ngwt__Note *)ptr)->soap_out(soap, tag, id, "ngwt:Note"); + case SOAP_TYPE_ngwt__NameAndEmail: + return ((ngwt__NameAndEmail *)ptr)->soap_out(soap, tag, id, "ngwt:NameAndEmail"); + case SOAP_TYPE_ngwt__MonthList: + return ((ngwt__MonthList *)ptr)->soap_out(soap, tag, id, "ngwt:MonthList"); + case SOAP_TYPE_ngwt__ModifyItem: + return ((ngwt__ModifyItem *)ptr)->soap_out(soap, tag, id, "ngwt:ModifyItem"); + case SOAP_TYPE_ngwt__MessagePart: + return ((ngwt__MessagePart *)ptr)->soap_out(soap, tag, id, "ngwt:MessagePart"); + case SOAP_TYPE_ngwt__MessageBody: + return ((ngwt__MessageBody *)ptr)->soap_out(soap, tag, id, "ngwt:MessageBody"); + case SOAP_TYPE_ngwt__Mail: + return ((ngwt__Mail *)ptr)->soap_out(soap, tag, id, "ngwt:Mail"); + case SOAP_TYPE_ngwt__LinkInfo: + return ((ngwt__LinkInfo *)ptr)->soap_out(soap, tag, id, "ngwt:LinkInfo"); + case SOAP_TYPE_ngwt__LibraryList: + return ((ngwt__LibraryList *)ptr)->soap_out(soap, tag, id, "ngwt:LibraryList"); + case SOAP_TYPE_ngwt__Library: + return ((ngwt__Library *)ptr)->soap_out(soap, tag, id, "ngwt:Library"); + case SOAP_TYPE_ngwt__JunkHandlingList: + return ((ngwt__JunkHandlingList *)ptr)->soap_out(soap, tag, id, "ngwt:JunkHandlingList"); + case SOAP_TYPE_ngwt__JunkEntry: + return ((ngwt__JunkEntry *)ptr)->soap_out(soap, tag, id, "ngwt:JunkEntry"); + case SOAP_TYPE_ngwt__ItemStatus: + return ((ngwt__ItemStatus *)ptr)->soap_out(soap, tag, id, "ngwt:ItemStatus"); + case SOAP_TYPE_ngwt__Items: + return ((ngwt__Items *)ptr)->soap_out(soap, tag, id, "ngwt:Items"); + case SOAP_TYPE_ngwt__ItemRefList: + return ((ngwt__ItemRefList *)ptr)->soap_out(soap, tag, id, "ngwt:ItemRefList"); + case SOAP_TYPE_ngwt__ItemRef: + return ((ngwt__ItemRef *)ptr)->soap_out(soap, tag, id, "ngwt:ItemRef"); + case SOAP_TYPE_ngwt__ItemOptions: + return ((ngwt__ItemOptions *)ptr)->soap_out(soap, tag, id, "ngwt:ItemOptions"); + case SOAP_TYPE_ngwt__ItemList: + return ((ngwt__ItemList *)ptr)->soap_out(soap, tag, id, "ngwt:ItemList"); + case SOAP_TYPE_ngwt__ItemChanges: + return ((ngwt__ItemChanges *)ptr)->soap_out(soap, tag, id, "ngwt:ItemChanges"); + case SOAP_TYPE_ngwt__Item: + return ((ngwt__Item *)ptr)->soap_out(soap, tag, id, "ngwt:Item"); + case SOAP_TYPE_ngwt__ImAddressList: + return ((ngwt__ImAddressList *)ptr)->soap_out(soap, tag, id, "ngwt:ImAddressList"); + case SOAP_TYPE_ngwt__ImAddress: + return ((ngwt__ImAddress *)ptr)->soap_out(soap, tag, id, "ngwt:ImAddress"); + case SOAP_TYPE_ngwt__Host: + return ((ngwt__Host *)ptr)->soap_out(soap, tag, id, "ngwt:Host"); + case SOAP_TYPE_ngwt__GroupMemberList: + return ((ngwt__GroupMemberList *)ptr)->soap_out(soap, tag, id, "ngwt:GroupMemberList"); + case SOAP_TYPE_ngwt__GroupMember: + return ((ngwt__GroupMember *)ptr)->soap_out(soap, tag, id, "ngwt:GroupMember"); + case SOAP_TYPE_ngwt__Group: + return ((ngwt__Group *)ptr)->soap_out(soap, tag, id, "ngwt:Group"); + case SOAP_TYPE_ngwt__FullName: + return ((ngwt__FullName *)ptr)->soap_out(soap, tag, id, "ngwt:FullName"); + case SOAP_TYPE_ngwt__From: + return ((ngwt__From *)ptr)->soap_out(soap, tag, id, "ngwt:From"); + case SOAP_TYPE_ngwt__FreeBusyStats: + return ((ngwt__FreeBusyStats *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyStats"); + case SOAP_TYPE_ngwt__FreeBusyInfoList: + return ((ngwt__FreeBusyInfoList *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyInfoList"); + case SOAP_TYPE_ngwt__FreeBusyUserList: + return ((ngwt__FreeBusyUserList *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyUserList"); + case SOAP_TYPE_ngwt__FreeBusyInfo: + return ((ngwt__FreeBusyInfo *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyInfo"); + case SOAP_TYPE_ngwt__FreeBusyBlock: + return ((ngwt__FreeBusyBlock *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyBlock"); + case SOAP_TYPE_ngwt__FreeBusyBlockList: + return ((ngwt__FreeBusyBlockList *)ptr)->soap_out(soap, tag, id, "ngwt:FreeBusyBlockList"); + case SOAP_TYPE_ngwt__FolderList: + return ((ngwt__FolderList *)ptr)->soap_out(soap, tag, id, "ngwt:FolderList"); + case SOAP_TYPE_ngwt__FolderACLEntry: + return ((ngwt__FolderACLEntry *)ptr)->soap_out(soap, tag, id, "ngwt:FolderACLEntry"); + case SOAP_TYPE_ngwt__FolderACL: + return ((ngwt__FolderACL *)ptr)->soap_out(soap, tag, id, "ngwt:FolderACL"); + case SOAP_TYPE_ngwt__Folder: + return ((ngwt__Folder *)ptr)->soap_out(soap, tag, id, "ngwt:Folder"); + case SOAP_TYPE_ngwt__FilterGroup: + return ((ngwt__FilterGroup *)ptr)->soap_out(soap, tag, id, "ngwt:FilterGroup"); + case SOAP_TYPE_ngwt__FilterEntry: + return ((ngwt__FilterEntry *)ptr)->soap_out(soap, tag, id, "ngwt:FilterEntry"); + case SOAP_TYPE_ngwt__FilterElement: + return ((ngwt__FilterElement *)ptr)->soap_out(soap, tag, id, "ngwt:FilterElement"); + case SOAP_TYPE_ngwt__Filter: + return ((ngwt__Filter *)ptr)->soap_out(soap, tag, id, "ngwt:Filter"); + case SOAP_TYPE_ngwt__EmailAddressList: + return ((ngwt__EmailAddressList *)ptr)->soap_out(soap, tag, id, "ngwt:EmailAddressList"); + case SOAP_TYPE_ngwt__DocumentTypeList: + return ((ngwt__DocumentTypeList *)ptr)->soap_out(soap, tag, id, "ngwt:DocumentTypeList"); + case SOAP_TYPE_ngwt__DocumentType: + return ((ngwt__DocumentType *)ptr)->soap_out(soap, tag, id, "ngwt:DocumentType"); + case SOAP_TYPE_ngwt__DocumentRef: + return ((ngwt__DocumentRef *)ptr)->soap_out(soap, tag, id, "ngwt:DocumentRef"); + case SOAP_TYPE_ngwt__Document: + return ((ngwt__Document *)ptr)->soap_out(soap, tag, id, "ngwt:Document"); + case SOAP_TYPE_ngwt__Distribution: + return ((ngwt__Distribution *)ptr)->soap_out(soap, tag, id, "ngwt:Distribution"); + case SOAP_TYPE_ngwt__DeltaInfo: + return ((ngwt__DeltaInfo *)ptr)->soap_out(soap, tag, id, "ngwt:DeltaInfo"); + case SOAP_TYPE_ngwt__DelegateeStatus: + return ((ngwt__DelegateeStatus *)ptr)->soap_out(soap, tag, id, "ngwt:DelegateeStatus"); + case SOAP_TYPE_ngwt__DelegatedStatus: + return ((ngwt__DelegatedStatus *)ptr)->soap_out(soap, tag, id, "ngwt:DelegatedStatus"); + case SOAP_TYPE_ngwt__DayOfYearWeekList: + return ((ngwt__DayOfYearWeekList *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfYearWeekList"); + case SOAP_TYPE_ngwt__DayOfYearWeek: + return ((ngwt__DayOfYearWeek *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfYearWeek"); + case SOAP_TYPE_ngwt__DayOfYearList: + return ((ngwt__DayOfYearList *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfYearList"); + case SOAP_TYPE_ngwt__DayOfWeek: + return ((ngwt__DayOfWeek *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfWeek"); + case SOAP_TYPE_ngwt__DayOfMonthList: + return ((ngwt__DayOfMonthList *)ptr)->soap_out(soap, tag, id, "ngwt:DayOfMonthList"); + case SOAP_TYPE_ngwt__CustomList: + return ((ngwt__CustomList *)ptr)->soap_out(soap, tag, id, "ngwt:CustomList"); + case SOAP_TYPE_ngwt__Custom: + return ((ngwt__Custom *)ptr)->soap_out(soap, tag, id, "ngwt:Custom"); + case SOAP_TYPE_ngwt__ContainerRef: + return ((ngwt__ContainerRef *)ptr)->soap_out(soap, tag, id, "ngwt:ContainerRef"); + case SOAP_TYPE_ngwt__ContainerItem: + return ((ngwt__ContainerItem *)ptr)->soap_out(soap, tag, id, "ngwt:ContainerItem"); + case SOAP_TYPE_ngwt__ContactFolder: + return ((ngwt__ContactFolder *)ptr)->soap_out(soap, tag, id, "ngwt:ContactFolder"); + case SOAP_TYPE_ngwt__Contact: + return ((ngwt__Contact *)ptr)->soap_out(soap, tag, id, "ngwt:Contact"); + case SOAP_TYPE_ngwt__CommentStatus: + return ((ngwt__CommentStatus *)ptr)->soap_out(soap, tag, id, "ngwt:CommentStatus"); + case SOAP_TYPE_ngwt__CategoryRefList: + return ((ngwt__CategoryRefList *)ptr)->soap_out(soap, tag, id, "ngwt:CategoryRefList"); + case SOAP_TYPE_ngwt__CategoryList: + return ((ngwt__CategoryList *)ptr)->soap_out(soap, tag, id, "ngwt:CategoryList"); + case SOAP_TYPE_ngwt__Category: + return ((ngwt__Category *)ptr)->soap_out(soap, tag, id, "ngwt:Category"); + case SOAP_TYPE_ngwt__CalendarItem: + return ((ngwt__CalendarItem *)ptr)->soap_out(soap, tag, id, "ngwt:CalendarItem"); + case SOAP_TYPE_ngwt__CalendarFolderAttribute: + return ((ngwt__CalendarFolderAttribute *)ptr)->soap_out(soap, tag, id, "ngwt:CalendarFolderAttribute"); + case SOAP_TYPE_ngwt__BoxEntry: + return ((ngwt__BoxEntry *)ptr)->soap_out(soap, tag, id, "ngwt:BoxEntry"); + case SOAP_TYPE_ngwt__Authentication: + return ((ngwt__Authentication *)ptr)->soap_out(soap, tag, id, "ngwt:Authentication"); + case SOAP_TYPE_ngwt__AttachmentItemInfo: + return ((ngwt__AttachmentItemInfo *)ptr)->soap_out(soap, tag, id, "ngwt:AttachmentItemInfo"); + case SOAP_TYPE_ngwt__AttachmentInfo: + return ((ngwt__AttachmentInfo *)ptr)->soap_out(soap, tag, id, "ngwt:AttachmentInfo"); + case SOAP_TYPE_ngwt__AttachmentID: + return ((ngwt__AttachmentID *)ptr)->soap_out(soap, tag, id, "ngwt:AttachmentID"); + case SOAP_TYPE_ngwt__Appointment: + return ((ngwt__Appointment *)ptr)->soap_out(soap, tag, id, "ngwt:Appointment"); + case SOAP_TYPE_ngwt__Alarm: + return ((ngwt__Alarm *)ptr)->soap_out(soap, tag, id, "ngwt:Alarm"); + case SOAP_TYPE_ngwt__AddressBookList: + return ((ngwt__AddressBookList *)ptr)->soap_out(soap, tag, id, "ngwt:AddressBookList"); + case SOAP_TYPE_ngwt__AddressBookItem: + return ((ngwt__AddressBookItem *)ptr)->soap_out(soap, tag, id, "ngwt:AddressBookItem"); + case SOAP_TYPE_ngwt__AddressBook: + return ((ngwt__AddressBook *)ptr)->soap_out(soap, tag, id, "ngwt:AddressBook"); + case SOAP_TYPE_ngwt__AccessRightList: + return ((ngwt__AccessRightList *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRightList"); + case SOAP_TYPE_ngwt__AccessRightEntry: + return ((ngwt__AccessRightEntry *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRightEntry"); + case SOAP_TYPE_ngwt__AccessRightChanges: + return ((ngwt__AccessRightChanges *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRightChanges"); + case SOAP_TYPE_ngwt__AccessRight: + return ((ngwt__AccessRight *)ptr)->soap_out(soap, tag, id, "ngwt:AccessRight"); + case SOAP_TYPE_ngwt__AccessMiscRight: + return ((ngwt__AccessMiscRight *)ptr)->soap_out(soap, tag, id, "ngwt:AccessMiscRight"); + case SOAP_TYPE_ngwt__AccessControlList: + return ((ngwt__AccessControlList *)ptr)->soap_out(soap, tag, id, "ngwt:AccessControlList"); + case SOAP_TYPE_ngwt__AccessControlListEntry: + return ((ngwt__AccessControlListEntry *)ptr)->soap_out(soap, tag, id, "ngwt:AccessControlListEntry"); + case SOAP_TYPE_xsd__language: + return soap_out_xsd__language(soap, tag, id, (const std::string *)ptr, "xsd:language"); + case SOAP_TYPE_xsd__duration: + return soap_out_xsd__duration(soap, tag, id, (const std::string *)ptr, "xsd:duration"); + case SOAP_TYPE_xsd__decimal: + return soap_out_xsd__decimal(soap, tag, id, (const std::string *)ptr, "xsd:decimal"); + case SOAP_TYPE_xsd__date: + return soap_out_xsd__date(soap, tag, id, (const std::string *)ptr, "xsd:date"); + case SOAP_TYPE_std__string: + return soap_out_std__string(soap, tag, id, (const std::string *)ptr, "xsd:string"); + case SOAP_TYPE_xsd__base64Binary: + return ((xsd__base64Binary *)ptr)->soap_out(soap, tag, id, "xsd:base64Binary"); + case SOAP_TYPE_PointerTo_ngwe__removeEventsResponse: + return soap_out_PointerTo_ngwe__removeEventsResponse(soap, tag, id, (_ngwe__removeEventsResponse *const*)ptr, "ngwe:removeEventsResponse"); + case SOAP_TYPE_PointerTo_ngwe__removeEventsRequest: + return soap_out_PointerTo_ngwe__removeEventsRequest(soap, tag, id, (_ngwe__removeEventsRequest *const*)ptr, "ngwe:removeEventsRequest"); + case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse: + return soap_out_PointerTo_ngwe__removeEventConfigurationResponse(soap, tag, id, (_ngwe__removeEventConfigurationResponse *const*)ptr, "ngwe:removeEventConfigurationResponse"); + case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest: + return soap_out_PointerTo_ngwe__removeEventConfigurationRequest(soap, tag, id, (_ngwe__removeEventConfigurationRequest *const*)ptr, "ngwe:removeEventConfigurationRequest"); + case SOAP_TYPE_PointerTo_ngwe__getEventsResponse: + return soap_out_PointerTo_ngwe__getEventsResponse(soap, tag, id, (_ngwe__getEventsResponse *const*)ptr, "ngwe:getEventsResponse"); + case SOAP_TYPE_PointerTo_ngwe__getEventsRequest: + return soap_out_PointerTo_ngwe__getEventsRequest(soap, tag, id, (_ngwe__getEventsRequest *const*)ptr, "ngwe:getEventsRequest"); + case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse: + return soap_out_PointerTo_ngwe__getEventConfigurationResponse(soap, tag, id, (_ngwe__getEventConfigurationResponse *const*)ptr, "ngwe:getEventConfigurationResponse"); + case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest: + return soap_out_PointerTo_ngwe__getEventConfigurationRequest(soap, tag, id, (_ngwe__getEventConfigurationRequest *const*)ptr, "ngwe:getEventConfigurationRequest"); + case SOAP_TYPE_PointerTo_ngwe__configureEventsResponse: + return soap_out_PointerTo_ngwe__configureEventsResponse(soap, tag, id, (_ngwe__configureEventsResponse *const*)ptr, "ngwe:configureEventsResponse"); + case SOAP_TYPE_PointerTo_ngwe__configureEventsRequest: + return soap_out_PointerTo_ngwe__configureEventsRequest(soap, tag, id, (_ngwe__configureEventsRequest *const*)ptr, "ngwe:configureEventsRequest"); + case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse: + return soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(soap, tag, id, (_ngwe__cleanEventConfigurationResponse *const*)ptr, "ngwe:cleanEventConfigurationResponse"); + case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest: + return soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(soap, tag, id, (_ngwe__cleanEventConfigurationRequest *const*)ptr, "ngwe:cleanEventConfigurationRequest"); + case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse: + return soap_out_PointerTo_ngwm__updateVersionStatusResponse(soap, tag, id, (_ngwm__updateVersionStatusResponse *const*)ptr, "ngwm:updateVersionStatusResponse"); + case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest: + return soap_out_PointerTo_ngwm__updateVersionStatusRequest(soap, tag, id, (_ngwm__updateVersionStatusRequest *const*)ptr, "ngwm:updateVersionStatusRequest"); + case SOAP_TYPE_PointerTo_ngwm__uncompleteResponse: + return soap_out_PointerTo_ngwm__uncompleteResponse(soap, tag, id, (_ngwm__uncompleteResponse *const*)ptr, "ngwm:uncompleteResponse"); + case SOAP_TYPE_PointerTo_ngwm__uncompleteRequest: + return soap_out_PointerTo_ngwm__uncompleteRequest(soap, tag, id, (_ngwm__uncompleteRequest *const*)ptr, "ngwm:uncompleteRequest"); + case SOAP_TYPE_PointerTo_ngwm__unacceptResponse: + return soap_out_PointerTo_ngwm__unacceptResponse(soap, tag, id, (_ngwm__unacceptResponse *const*)ptr, "ngwm:unacceptResponse"); + case SOAP_TYPE_PointerTo_ngwm__unacceptRequest: + return soap_out_PointerTo_ngwm__unacceptRequest(soap, tag, id, (_ngwm__unacceptRequest *const*)ptr, "ngwm:unacceptRequest"); + case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse: + return soap_out_PointerTo_ngwm__startFreeBusySessionResponse(soap, tag, id, (_ngwm__startFreeBusySessionResponse *const*)ptr, "ngwm:startFreeBusySessionResponse"); + case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest: + return soap_out_PointerTo_ngwm__startFreeBusySessionRequest(soap, tag, id, (_ngwm__startFreeBusySessionRequest *const*)ptr, "ngwm:startFreeBusySessionRequest"); + case SOAP_TYPE_PointerTo_ngwm__setTimestampResponse: + return soap_out_PointerTo_ngwm__setTimestampResponse(soap, tag, id, (_ngwm__setTimestampResponse *const*)ptr, "ngwm:setTimestampResponse"); + case SOAP_TYPE_PointerTo_ngwm__setTimestampRequest: + return soap_out_PointerTo_ngwm__setTimestampRequest(soap, tag, id, (_ngwm__setTimestampRequest *const*)ptr, "ngwm:setTimestampRequest"); + case SOAP_TYPE_PointerTo_ngwm__sendItemResponse: + return soap_out_PointerTo_ngwm__sendItemResponse(soap, tag, id, (_ngwm__sendItemResponse *const*)ptr, "ngwm:sendItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__sendItemRequest: + return soap_out_PointerTo_ngwm__sendItemRequest(soap, tag, id, (_ngwm__sendItemRequest *const*)ptr, "ngwm:sendItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__retractResponse: + return soap_out_PointerTo_ngwm__retractResponse(soap, tag, id, (_ngwm__retractResponse *const*)ptr, "ngwm:retractResponse"); + case SOAP_TYPE_PointerTo_ngwm__retractRequest: + return soap_out_PointerTo_ngwm__retractRequest(soap, tag, id, (_ngwm__retractRequest *const*)ptr, "ngwm:retractRequest"); + case SOAP_TYPE_PointerTo_ngwm__replyResponse: + return soap_out_PointerTo_ngwm__replyResponse(soap, tag, id, (_ngwm__replyResponse *const*)ptr, "ngwm:replyResponse"); + case SOAP_TYPE_PointerTo_ngwm__replyRequest: + return soap_out_PointerTo_ngwm__replyRequest(soap, tag, id, (_ngwm__replyRequest *const*)ptr, "ngwm:replyRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse: + return soap_out_PointerTo_ngwm__removeSignatureResponse(soap, tag, id, (_ngwm__removeSignatureResponse *const*)ptr, "ngwm:removeSignatureResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest: + return soap_out_PointerTo_ngwm__removeSignatureRequest(soap, tag, id, (_ngwm__removeSignatureRequest *const*)ptr, "ngwm:removeSignatureRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse: + return soap_out_PointerTo_ngwm__removeProxyUserResponse(soap, tag, id, (_ngwm__removeProxyUserResponse *const*)ptr, "ngwm:removeProxyUserResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest: + return soap_out_PointerTo_ngwm__removeProxyUserRequest(soap, tag, id, (_ngwm__removeProxyUserRequest *const*)ptr, "ngwm:removeProxyUserRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse: + return soap_out_PointerTo_ngwm__removeProxyAccessResponse(soap, tag, id, (_ngwm__removeProxyAccessResponse *const*)ptr, "ngwm:removeProxyAccessResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest: + return soap_out_PointerTo_ngwm__removeProxyAccessRequest(soap, tag, id, (_ngwm__removeProxyAccessRequest *const*)ptr, "ngwm:removeProxyAccessRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeMembersResponse: + return soap_out_PointerTo_ngwm__removeMembersResponse(soap, tag, id, (_ngwm__removeMembersResponse *const*)ptr, "ngwm:removeMembersResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeMembersRequest: + return soap_out_PointerTo_ngwm__removeMembersRequest(soap, tag, id, (_ngwm__removeMembersRequest *const*)ptr, "ngwm:removeMembersRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse: + return soap_out_PointerTo_ngwm__removeJunkEntryResponse(soap, tag, id, (_ngwm__removeJunkEntryResponse *const*)ptr, "ngwm:removeJunkEntryResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest: + return soap_out_PointerTo_ngwm__removeJunkEntryRequest(soap, tag, id, (_ngwm__removeJunkEntryRequest *const*)ptr, "ngwm:removeJunkEntryRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeItemsResponse: + return soap_out_PointerTo_ngwm__removeItemsResponse(soap, tag, id, (_ngwm__removeItemsResponse *const*)ptr, "ngwm:removeItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeItemsRequest: + return soap_out_PointerTo_ngwm__removeItemsRequest(soap, tag, id, (_ngwm__removeItemsRequest *const*)ptr, "ngwm:removeItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeItemResponse: + return soap_out_PointerTo_ngwm__removeItemResponse(soap, tag, id, (_ngwm__removeItemResponse *const*)ptr, "ngwm:removeItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeItemRequest: + return soap_out_PointerTo_ngwm__removeItemRequest(soap, tag, id, (_ngwm__removeItemRequest *const*)ptr, "ngwm:removeItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse: + return soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(soap, tag, id, (_ngwm__removeCustomDefinitionResponse *const*)ptr, "ngwm:removeCustomDefinitionResponse"); + case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest: + return soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(soap, tag, id, (_ngwm__removeCustomDefinitionRequest *const*)ptr, "ngwm:removeCustomDefinitionRequest"); + case SOAP_TYPE_PointerTo_ngwm__readCursorResponse: + return soap_out_PointerTo_ngwm__readCursorResponse(soap, tag, id, (_ngwm__readCursorResponse *const*)ptr, "ngwm:readCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__readCursorRequest: + return soap_out_PointerTo_ngwm__readCursorRequest(soap, tag, id, (_ngwm__readCursorRequest *const*)ptr, "ngwm:readCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__purgeResponse: + return soap_out_PointerTo_ngwm__purgeResponse(soap, tag, id, (_ngwm__purgeResponse *const*)ptr, "ngwm:purgeResponse"); + case SOAP_TYPE_PointerTo_ngwm__purgeRequest: + return soap_out_PointerTo_ngwm__purgeRequest(soap, tag, id, (_ngwm__purgeRequest *const*)ptr, "ngwm:purgeRequest"); + case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse: + return soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(soap, tag, id, (_ngwm__purgeDeletedItemsResponse *const*)ptr, "ngwm:purgeDeletedItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest: + return soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(soap, tag, id, (_ngwm__purgeDeletedItemsRequest *const*)ptr, "ngwm:purgeDeletedItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__positionCursorResponse: + return soap_out_PointerTo_ngwm__positionCursorResponse(soap, tag, id, (_ngwm__positionCursorResponse *const*)ptr, "ngwm:positionCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__positionCursorRequest: + return soap_out_PointerTo_ngwm__positionCursorRequest(soap, tag, id, (_ngwm__positionCursorRequest *const*)ptr, "ngwm:positionCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__moveItemResponse: + return soap_out_PointerTo_ngwm__moveItemResponse(soap, tag, id, (_ngwm__moveItemResponse *const*)ptr, "ngwm:moveItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__moveItemRequest: + return soap_out_PointerTo_ngwm__moveItemRequest(soap, tag, id, (_ngwm__moveItemRequest *const*)ptr, "ngwm:moveItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse: + return soap_out_PointerTo_ngwm__modifySignaturesResponse(soap, tag, id, (_ngwm__modifySignaturesResponse *const*)ptr, "ngwm:modifySignaturesResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest: + return soap_out_PointerTo_ngwm__modifySignaturesRequest(soap, tag, id, (_ngwm__modifySignaturesRequest *const*)ptr, "ngwm:modifySignaturesRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse: + return soap_out_PointerTo_ngwm__modifySettingsResponse(soap, tag, id, (_ngwm__modifySettingsResponse *const*)ptr, "ngwm:modifySettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest: + return soap_out_PointerTo_ngwm__modifySettingsRequest(soap, tag, id, (_ngwm__modifySettingsRequest *const*)ptr, "ngwm:modifySettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse: + return soap_out_PointerTo_ngwm__modifyProxyAccessResponse(soap, tag, id, (_ngwm__modifyProxyAccessResponse *const*)ptr, "ngwm:modifyProxyAccessResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest: + return soap_out_PointerTo_ngwm__modifyProxyAccessRequest(soap, tag, id, (_ngwm__modifyProxyAccessRequest *const*)ptr, "ngwm:modifyProxyAccessRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse: + return soap_out_PointerTo_ngwm__modifyPasswordResponse(soap, tag, id, (_ngwm__modifyPasswordResponse *const*)ptr, "ngwm:modifyPasswordResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest: + return soap_out_PointerTo_ngwm__modifyPasswordRequest(soap, tag, id, (_ngwm__modifyPasswordRequest *const*)ptr, "ngwm:modifyPasswordRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse: + return soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, tag, id, (_ngwm__modifyJunkMailSettingsResponse *const*)ptr, "ngwm:modifyJunkMailSettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest: + return soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, tag, id, (_ngwm__modifyJunkMailSettingsRequest *const*)ptr, "ngwm:modifyJunkMailSettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse: + return soap_out_PointerTo_ngwm__modifyJunkEntryResponse(soap, tag, id, (_ngwm__modifyJunkEntryResponse *const*)ptr, "ngwm:modifyJunkEntryResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest: + return soap_out_PointerTo_ngwm__modifyJunkEntryRequest(soap, tag, id, (_ngwm__modifyJunkEntryRequest *const*)ptr, "ngwm:modifyJunkEntryRequest"); + case SOAP_TYPE_PointerTo_ngwm__modifyItemResponse: + return soap_out_PointerTo_ngwm__modifyItemResponse(soap, tag, id, (_ngwm__modifyItemResponse *const*)ptr, "ngwm:modifyItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__modifyItemRequest: + return soap_out_PointerTo_ngwm__modifyItemRequest(soap, tag, id, (_ngwm__modifyItemRequest *const*)ptr, "ngwm:modifyItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__markUnReadResponse: + return soap_out_PointerTo_ngwm__markUnReadResponse(soap, tag, id, (_ngwm__markUnReadResponse *const*)ptr, "ngwm:markUnReadResponse"); + case SOAP_TYPE_PointerTo_ngwm__markUnReadRequest: + return soap_out_PointerTo_ngwm__markUnReadRequest(soap, tag, id, (_ngwm__markUnReadRequest *const*)ptr, "ngwm:markUnReadRequest"); + case SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse: + return soap_out_PointerTo_ngwm__markUnPrivateResponse(soap, tag, id, (_ngwm__markUnPrivateResponse *const*)ptr, "ngwm:markUnPrivateResponse"); + case SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest: + return soap_out_PointerTo_ngwm__markUnPrivateRequest(soap, tag, id, (_ngwm__markUnPrivateRequest *const*)ptr, "ngwm:markUnPrivateRequest"); + case SOAP_TYPE_PointerTo_ngwm__markReadResponse: + return soap_out_PointerTo_ngwm__markReadResponse(soap, tag, id, (_ngwm__markReadResponse *const*)ptr, "ngwm:markReadResponse"); + case SOAP_TYPE_PointerTo_ngwm__markReadRequest: + return soap_out_PointerTo_ngwm__markReadRequest(soap, tag, id, (_ngwm__markReadRequest *const*)ptr, "ngwm:markReadRequest"); + case SOAP_TYPE_PointerTo_ngwm__markPrivateResponse: + return soap_out_PointerTo_ngwm__markPrivateResponse(soap, tag, id, (_ngwm__markPrivateResponse *const*)ptr, "ngwm:markPrivateResponse"); + case SOAP_TYPE_PointerTo_ngwm__markPrivateRequest: + return soap_out_PointerTo_ngwm__markPrivateRequest(soap, tag, id, (_ngwm__markPrivateRequest *const*)ptr, "ngwm:markPrivateRequest"); + case SOAP_TYPE_PointerTo_ngwm__logoutResponse: + return soap_out_PointerTo_ngwm__logoutResponse(soap, tag, id, (_ngwm__logoutResponse *const*)ptr, "ngwm:logoutResponse"); + case SOAP_TYPE_PointerTo_ngwm__logoutRequest: + return soap_out_PointerTo_ngwm__logoutRequest(soap, tag, id, (_ngwm__logoutRequest *const*)ptr, "ngwm:logoutRequest"); + case SOAP_TYPE_PointerTo_ngwm__loginResponse: + return soap_out_PointerTo_ngwm__loginResponse(soap, tag, id, (_ngwm__loginResponse *const*)ptr, "ngwm:loginResponse"); + case SOAP_TYPE_PointerTo_ngwm__loginRequest: + return soap_out_PointerTo_ngwm__loginRequest(soap, tag, id, (_ngwm__loginRequest *const*)ptr, "ngwm:loginRequest"); + case SOAP_TYPE_PointerTo_ngwm__getUserListResponse: + return soap_out_PointerTo_ngwm__getUserListResponse(soap, tag, id, (_ngwm__getUserListResponse *const*)ptr, "ngwm:getUserListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getUserListRequest: + return soap_out_PointerTo_ngwm__getUserListRequest(soap, tag, id, (_ngwm__getUserListRequest *const*)ptr, "ngwm:getUserListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse: + return soap_out_PointerTo_ngwm__getTimezoneListResponse(soap, tag, id, (_ngwm__getTimezoneListResponse *const*)ptr, "ngwm:getTimezoneListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest: + return soap_out_PointerTo_ngwm__getTimezoneListRequest(soap, tag, id, (_ngwm__getTimezoneListRequest *const*)ptr, "ngwm:getTimezoneListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getTimestampResponse: + return soap_out_PointerTo_ngwm__getTimestampResponse(soap, tag, id, (_ngwm__getTimestampResponse *const*)ptr, "ngwm:getTimestampResponse"); + case SOAP_TYPE_PointerTo_ngwm__getTimestampRequest: + return soap_out_PointerTo_ngwm__getTimestampRequest(soap, tag, id, (_ngwm__getTimestampRequest *const*)ptr, "ngwm:getTimestampRequest"); + case SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse: + return soap_out_PointerTo_ngwm__getSignaturesResponse(soap, tag, id, (_ngwm__getSignaturesResponse *const*)ptr, "ngwm:getSignaturesResponse"); + case SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest: + return soap_out_PointerTo_ngwm__getSignaturesRequest(soap, tag, id, (_ngwm__getSignaturesRequest *const*)ptr, "ngwm:getSignaturesRequest"); + case SOAP_TYPE_PointerTo_ngwm__getSettingsResponse: + return soap_out_PointerTo_ngwm__getSettingsResponse(soap, tag, id, (_ngwm__getSettingsResponse *const*)ptr, "ngwm:getSettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__getSettingsRequest: + return soap_out_PointerTo_ngwm__getSettingsRequest(soap, tag, id, (_ngwm__getSettingsRequest *const*)ptr, "ngwm:getSettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__getRuleListResponse: + return soap_out_PointerTo_ngwm__getRuleListResponse(soap, tag, id, (_ngwm__getRuleListResponse *const*)ptr, "ngwm:getRuleListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getRuleListRequest: + return soap_out_PointerTo_ngwm__getRuleListRequest(soap, tag, id, (_ngwm__getRuleListRequest *const*)ptr, "ngwm:getRuleListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getProxyListResponse: + return soap_out_PointerTo_ngwm__getProxyListResponse(soap, tag, id, (_ngwm__getProxyListResponse *const*)ptr, "ngwm:getProxyListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getProxyListRequest: + return soap_out_PointerTo_ngwm__getProxyListRequest(soap, tag, id, (_ngwm__getProxyListRequest *const*)ptr, "ngwm:getProxyListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse: + return soap_out_PointerTo_ngwm__getProxyAccessListResponse(soap, tag, id, (_ngwm__getProxyAccessListResponse *const*)ptr, "ngwm:getProxyAccessListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest: + return soap_out_PointerTo_ngwm__getProxyAccessListRequest(soap, tag, id, (_ngwm__getProxyAccessListRequest *const*)ptr, "ngwm:getProxyAccessListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse: + return soap_out_PointerTo_ngwm__getQuickMessagesResponse(soap, tag, id, (_ngwm__getQuickMessagesResponse *const*)ptr, "ngwm:getQuickMessagesResponse"); + case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest: + return soap_out_PointerTo_ngwm__getQuickMessagesRequest(soap, tag, id, (_ngwm__getQuickMessagesRequest *const*)ptr, "ngwm:getQuickMessagesRequest"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse: + return soap_out_PointerTo_ngwm__getLibraryListResponse(soap, tag, id, (_ngwm__getLibraryListResponse *const*)ptr, "ngwm:getLibraryListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest: + return soap_out_PointerTo_ngwm__getLibraryListRequest(soap, tag, id, (_ngwm__getLibraryListRequest *const*)ptr, "ngwm:getLibraryListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse: + return soap_out_PointerTo_ngwm__getLibraryItemResponse(soap, tag, id, (_ngwm__getLibraryItemResponse *const*)ptr, "ngwm:getLibraryItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest: + return soap_out_PointerTo_ngwm__getLibraryItemRequest(soap, tag, id, (_ngwm__getLibraryItemRequest *const*)ptr, "ngwm:getLibraryItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse: + return soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(soap, tag, id, (_ngwm__getJunkMailSettingsResponse *const*)ptr, "ngwm:getJunkMailSettingsResponse"); + case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest: + return soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(soap, tag, id, (_ngwm__getJunkMailSettingsRequest *const*)ptr, "ngwm:getJunkMailSettingsRequest"); + case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse: + return soap_out_PointerTo_ngwm__getJunkEntriesResponse(soap, tag, id, (_ngwm__getJunkEntriesResponse *const*)ptr, "ngwm:getJunkEntriesResponse"); + case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest: + return soap_out_PointerTo_ngwm__getJunkEntriesRequest(soap, tag, id, (_ngwm__getJunkEntriesRequest *const*)ptr, "ngwm:getJunkEntriesRequest"); + case SOAP_TYPE_PointerTo_ngwm__getItemsResponse: + return soap_out_PointerTo_ngwm__getItemsResponse(soap, tag, id, (_ngwm__getItemsResponse *const*)ptr, "ngwm:getItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__getItemsRequest: + return soap_out_PointerTo_ngwm__getItemsRequest(soap, tag, id, (_ngwm__getItemsRequest *const*)ptr, "ngwm:getItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__getItemResponse: + return soap_out_PointerTo_ngwm__getItemResponse(soap, tag, id, (_ngwm__getItemResponse *const*)ptr, "ngwm:getItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__getItemRequest: + return soap_out_PointerTo_ngwm__getItemRequest(soap, tag, id, (_ngwm__getItemRequest *const*)ptr, "ngwm:getItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse: + return soap_out_PointerTo_ngwm__getFreeBusyResponse(soap, tag, id, (_ngwm__getFreeBusyResponse *const*)ptr, "ngwm:getFreeBusyResponse"); + case SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest: + return soap_out_PointerTo_ngwm__getFreeBusyRequest(soap, tag, id, (_ngwm__getFreeBusyRequest *const*)ptr, "ngwm:getFreeBusyRequest"); + case SOAP_TYPE_PointerTo_ngwm__getFolderListResponse: + return soap_out_PointerTo_ngwm__getFolderListResponse(soap, tag, id, (_ngwm__getFolderListResponse *const*)ptr, "ngwm:getFolderListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getFolderListRequest: + return soap_out_PointerTo_ngwm__getFolderListRequest(soap, tag, id, (_ngwm__getFolderListRequest *const*)ptr, "ngwm:getFolderListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getFolderResponse: + return soap_out_PointerTo_ngwm__getFolderResponse(soap, tag, id, (_ngwm__getFolderResponse *const*)ptr, "ngwm:getFolderResponse"); + case SOAP_TYPE_PointerTo_ngwm__getFolderRequest: + return soap_out_PointerTo_ngwm__getFolderRequest(soap, tag, id, (_ngwm__getFolderRequest *const*)ptr, "ngwm:getFolderRequest"); + case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse: + return soap_out_PointerTo_ngwm__getDocumentTypeListResponse(soap, tag, id, (_ngwm__getDocumentTypeListResponse *const*)ptr, "ngwm:getDocumentTypeListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest: + return soap_out_PointerTo_ngwm__getDocumentTypeListRequest(soap, tag, id, (_ngwm__getDocumentTypeListRequest *const*)ptr, "ngwm:getDocumentTypeListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse: + return soap_out_PointerTo_ngwm__getDeltaInfoResponse(soap, tag, id, (_ngwm__getDeltaInfoResponse *const*)ptr, "ngwm:getDeltaInfoResponse"); + case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest: + return soap_out_PointerTo_ngwm__getDeltaInfoRequest(soap, tag, id, (_ngwm__getDeltaInfoRequest *const*)ptr, "ngwm:getDeltaInfoRequest"); + case SOAP_TYPE_PointerTo_ngwm__getDeltasResponse: + return soap_out_PointerTo_ngwm__getDeltasResponse(soap, tag, id, (_ngwm__getDeltasResponse *const*)ptr, "ngwm:getDeltasResponse"); + case SOAP_TYPE_PointerTo_ngwm__getDeltasRequest: + return soap_out_PointerTo_ngwm__getDeltasRequest(soap, tag, id, (_ngwm__getDeltasRequest *const*)ptr, "ngwm:getDeltasRequest"); + case SOAP_TYPE_PointerTo_ngwm__getCustomListResponse: + return soap_out_PointerTo_ngwm__getCustomListResponse(soap, tag, id, (_ngwm__getCustomListResponse *const*)ptr, "ngwm:getCustomListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getCustomListRequest: + return soap_out_PointerTo_ngwm__getCustomListRequest(soap, tag, id, (_ngwm__getCustomListRequest *const*)ptr, "ngwm:getCustomListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse: + return soap_out_PointerTo_ngwm__getCategoryListResponse(soap, tag, id, (_ngwm__getCategoryListResponse *const*)ptr, "ngwm:getCategoryListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest: + return soap_out_PointerTo_ngwm__getCategoryListRequest(soap, tag, id, (_ngwm__getCategoryListRequest *const*)ptr, "ngwm:getCategoryListRequest"); + case SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse: + return soap_out_PointerTo_ngwm__getAttachmentResponse(soap, tag, id, (_ngwm__getAttachmentResponse *const*)ptr, "ngwm:getAttachmentResponse"); + case SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest: + return soap_out_PointerTo_ngwm__getAttachmentRequest(soap, tag, id, (_ngwm__getAttachmentRequest *const*)ptr, "ngwm:getAttachmentRequest"); + case SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse: + return soap_out_PointerTo_ngwm__getAddressBookListResponse(soap, tag, id, (_ngwm__getAddressBookListResponse *const*)ptr, "ngwm:getAddressBookListResponse"); + case SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest: + return soap_out_PointerTo_ngwm__getAddressBookListRequest(soap, tag, id, (_ngwm__getAddressBookListRequest *const*)ptr, "ngwm:getAddressBookListRequest"); + case SOAP_TYPE_PointerTo_ngwm__forwardResponse: + return soap_out_PointerTo_ngwm__forwardResponse(soap, tag, id, (_ngwm__forwardResponse *const*)ptr, "ngwm:forwardResponse"); + case SOAP_TYPE_PointerTo_ngwm__forwardRequest: + return soap_out_PointerTo_ngwm__forwardRequest(soap, tag, id, (_ngwm__forwardRequest *const*)ptr, "ngwm:forwardRequest"); + case SOAP_TYPE_PointerTo_ngwm__executeRuleResponse: + return soap_out_PointerTo_ngwm__executeRuleResponse(soap, tag, id, (_ngwm__executeRuleResponse *const*)ptr, "ngwm:executeRuleResponse"); + case SOAP_TYPE_PointerTo_ngwm__executeRuleRequest: + return soap_out_PointerTo_ngwm__executeRuleRequest(soap, tag, id, (_ngwm__executeRuleRequest *const*)ptr, "ngwm:executeRuleRequest"); + case SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse: + return soap_out_PointerTo_ngwm__destroyCursorResponse(soap, tag, id, (_ngwm__destroyCursorResponse *const*)ptr, "ngwm:destroyCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest: + return soap_out_PointerTo_ngwm__destroyCursorRequest(soap, tag, id, (_ngwm__destroyCursorRequest *const*)ptr, "ngwm:destroyCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__delegateResponse: + return soap_out_PointerTo_ngwm__delegateResponse(soap, tag, id, (_ngwm__delegateResponse *const*)ptr, "ngwm:delegateResponse"); + case SOAP_TYPE_PointerTo_ngwm__delegateRequest: + return soap_out_PointerTo_ngwm__delegateRequest(soap, tag, id, (_ngwm__delegateRequest *const*)ptr, "ngwm:delegateRequest"); + case SOAP_TYPE_PointerTo_ngwm__declineResponse: + return soap_out_PointerTo_ngwm__declineResponse(soap, tag, id, (_ngwm__declineResponse *const*)ptr, "ngwm:declineResponse"); + case SOAP_TYPE_PointerTo_ngwm__declineRequest: + return soap_out_PointerTo_ngwm__declineRequest(soap, tag, id, (_ngwm__declineRequest *const*)ptr, "ngwm:declineRequest"); + case SOAP_TYPE_PointerTo_ngwm__createSignatureResponse: + return soap_out_PointerTo_ngwm__createSignatureResponse(soap, tag, id, (_ngwm__createSignatureResponse *const*)ptr, "ngwm:createSignatureResponse"); + case SOAP_TYPE_PointerTo_ngwm__createSignatureRequest: + return soap_out_PointerTo_ngwm__createSignatureRequest(soap, tag, id, (_ngwm__createSignatureRequest *const*)ptr, "ngwm:createSignatureRequest"); + case SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse: + return soap_out_PointerTo_ngwm__createProxyAccessResponse(soap, tag, id, (_ngwm__createProxyAccessResponse *const*)ptr, "ngwm:createProxyAccessResponse"); + case SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest: + return soap_out_PointerTo_ngwm__createProxyAccessRequest(soap, tag, id, (_ngwm__createProxyAccessRequest *const*)ptr, "ngwm:createProxyAccessRequest"); + case SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse: + return soap_out_PointerTo_ngwm__createJunkEntryResponse(soap, tag, id, (_ngwm__createJunkEntryResponse *const*)ptr, "ngwm:createJunkEntryResponse"); + case SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest: + return soap_out_PointerTo_ngwm__createJunkEntryRequest(soap, tag, id, (_ngwm__createJunkEntryRequest *const*)ptr, "ngwm:createJunkEntryRequest"); + case SOAP_TYPE_PointerTo_ngwm__createItemsResponse: + return soap_out_PointerTo_ngwm__createItemsResponse(soap, tag, id, (_ngwm__createItemsResponse *const*)ptr, "ngwm:createItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__createItemsRequest: + return soap_out_PointerTo_ngwm__createItemsRequest(soap, tag, id, (_ngwm__createItemsRequest *const*)ptr, "ngwm:createItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__createItemResponse: + return soap_out_PointerTo_ngwm__createItemResponse(soap, tag, id, (_ngwm__createItemResponse *const*)ptr, "ngwm:createItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__createItemRequest: + return soap_out_PointerTo_ngwm__createItemRequest(soap, tag, id, (_ngwm__createItemRequest *const*)ptr, "ngwm:createItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__createCursorResponse: + return soap_out_PointerTo_ngwm__createCursorResponse(soap, tag, id, (_ngwm__createCursorResponse *const*)ptr, "ngwm:createCursorResponse"); + case SOAP_TYPE_PointerTo_ngwm__createCursorRequest: + return soap_out_PointerTo_ngwm__createCursorRequest(soap, tag, id, (_ngwm__createCursorRequest *const*)ptr, "ngwm:createCursorRequest"); + case SOAP_TYPE_PointerTo_ngwm__completeResponse: + return soap_out_PointerTo_ngwm__completeResponse(soap, tag, id, (_ngwm__completeResponse *const*)ptr, "ngwm:completeResponse"); + case SOAP_TYPE_PointerTo_ngwm__completeRequest: + return soap_out_PointerTo_ngwm__completeRequest(soap, tag, id, (_ngwm__completeRequest *const*)ptr, "ngwm:completeRequest"); + case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse: + return soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(soap, tag, id, (_ngwm__closeFreeBusySessionResponse *const*)ptr, "ngwm:closeFreeBusySessionResponse"); + case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest: + return soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(soap, tag, id, (_ngwm__closeFreeBusySessionRequest *const*)ptr, "ngwm:closeFreeBusySessionRequest"); + case SOAP_TYPE_PointerTo_ngwm__addMembersResponse: + return soap_out_PointerTo_ngwm__addMembersResponse(soap, tag, id, (_ngwm__addMembersResponse *const*)ptr, "ngwm:addMembersResponse"); + case SOAP_TYPE_PointerTo_ngwm__addMembersRequest: + return soap_out_PointerTo_ngwm__addMembersRequest(soap, tag, id, (_ngwm__addMembersRequest *const*)ptr, "ngwm:addMembersRequest"); + case SOAP_TYPE_PointerTo_ngwm__addItemsResponse: + return soap_out_PointerTo_ngwm__addItemsResponse(soap, tag, id, (_ngwm__addItemsResponse *const*)ptr, "ngwm:addItemsResponse"); + case SOAP_TYPE_PointerTo_ngwm__addItemsRequest: + return soap_out_PointerTo_ngwm__addItemsRequest(soap, tag, id, (_ngwm__addItemsRequest *const*)ptr, "ngwm:addItemsRequest"); + case SOAP_TYPE_PointerTo_ngwm__addItemResponse: + return soap_out_PointerTo_ngwm__addItemResponse(soap, tag, id, (_ngwm__addItemResponse *const*)ptr, "ngwm:addItemResponse"); + case SOAP_TYPE_PointerTo_ngwm__addItemRequest: + return soap_out_PointerTo_ngwm__addItemRequest(soap, tag, id, (_ngwm__addItemRequest *const*)ptr, "ngwm:addItemRequest"); + case SOAP_TYPE_PointerTo_ngwm__acceptShareResponse: + return soap_out_PointerTo_ngwm__acceptShareResponse(soap, tag, id, (_ngwm__acceptShareResponse *const*)ptr, "ngwm:acceptShareResponse"); + case SOAP_TYPE_PointerTo_ngwm__acceptShareRequest: + return soap_out_PointerTo_ngwm__acceptShareRequest(soap, tag, id, (_ngwm__acceptShareRequest *const*)ptr, "ngwm:acceptShareRequest"); + case SOAP_TYPE_PointerTo_ngwm__acceptResponse: + return soap_out_PointerTo_ngwm__acceptResponse(soap, tag, id, (_ngwm__acceptResponse *const*)ptr, "ngwm:acceptResponse"); + case SOAP_TYPE_PointerTo_ngwm__acceptRequest: + return soap_out_PointerTo_ngwm__acceptRequest(soap, tag, id, (_ngwm__acceptRequest *const*)ptr, "ngwm:acceptRequest"); + case SOAP_TYPE_PointerTongwt__Alarm: + return soap_out_PointerTongwt__Alarm(soap, tag, id, (ngwt__Alarm *const*)ptr, "ngwt:Alarm"); + case SOAP_TYPE_PointerTongwt__PhoneFlags: + return soap_out_PointerTongwt__PhoneFlags(soap, tag, id, (ngwt__PhoneFlags *const*)ptr, "ngwt:PhoneFlags"); + case SOAP_TYPE_PointerTongwt__RecurrenceRule: + return soap_out_PointerTongwt__RecurrenceRule(soap, tag, id, (ngwt__RecurrenceRule *const*)ptr, "ngwt:RecurrenceRule"); + case SOAP_TYPE_PointerTongwt__RecurrenceDateType: + return soap_out_PointerTongwt__RecurrenceDateType(soap, tag, id, (ngwt__RecurrenceDateType *const*)ptr, "ngwt:RecurrenceDateType"); + case SOAP_TYPE_PointerTongwt__SMimeOperation: + return soap_out_PointerTongwt__SMimeOperation(soap, tag, id, (ngwt__SMimeOperation *const*)ptr, "ngwt:SMimeOperation"); + case SOAP_TYPE_PointerTongwt__LinkInfo: + return soap_out_PointerTongwt__LinkInfo(soap, tag, id, (ngwt__LinkInfo *const*)ptr, "ngwt:LinkInfo"); + case SOAP_TYPE_PointerTongwt__ItemOptions: + return soap_out_PointerTongwt__ItemOptions(soap, tag, id, (ngwt__ItemOptions *const*)ptr, "ngwt:ItemOptions"); + case SOAP_TYPE_PointerTongwt__AttachmentInfo: + return soap_out_PointerTongwt__AttachmentInfo(soap, tag, id, (ngwt__AttachmentInfo *const*)ptr, "ngwt:AttachmentInfo"); + case SOAP_TYPE_PointerTongwt__MessageBody: + return soap_out_PointerTongwt__MessageBody(soap, tag, id, (ngwt__MessageBody *const*)ptr, "ngwt:MessageBody"); + case SOAP_TYPE_PointerTongwt__ReferenceInfo: + return soap_out_PointerTongwt__ReferenceInfo(soap, tag, id, (ngwt__ReferenceInfo *const*)ptr, "ngwt:ReferenceInfo"); + case SOAP_TYPE_PointerTongwt__PersonalInfo: + return soap_out_PointerTongwt__PersonalInfo(soap, tag, id, (ngwt__PersonalInfo *const*)ptr, "ngwt:PersonalInfo"); + case SOAP_TYPE_PointerTongwt__OfficeInfo: + return soap_out_PointerTongwt__OfficeInfo(soap, tag, id, (ngwt__OfficeInfo *const*)ptr, "ngwt:OfficeInfo"); + case SOAP_TYPE_PointerTongwt__PostalAddressList: + return soap_out_PointerTongwt__PostalAddressList(soap, tag, id, (ngwt__PostalAddressList *const*)ptr, "ngwt:PostalAddressList"); + case SOAP_TYPE_PointerTongwt__PhoneList: + return soap_out_PointerTongwt__PhoneList(soap, tag, id, (ngwt__PhoneList *const*)ptr, "ngwt:PhoneList"); + case SOAP_TYPE_PointerTongwt__ImAddressList: + return soap_out_PointerTongwt__ImAddressList(soap, tag, id, (ngwt__ImAddressList *const*)ptr, "ngwt:ImAddressList"); + case SOAP_TYPE_PointerTongwt__EmailAddressList: + return soap_out_PointerTongwt__EmailAddressList(soap, tag, id, (ngwt__EmailAddressList *const*)ptr, "ngwt:EmailAddressList"); + case SOAP_TYPE_PointerTongwt__FullName: + return soap_out_PointerTongwt__FullName(soap, tag, id, (ngwt__FullName *const*)ptr, "ngwt:FullName"); + case SOAP_TYPE_PointerTongwt__VersionStatus: + return soap_out_PointerTongwt__VersionStatus(soap, tag, id, (enum ngwt__VersionStatus *const*)ptr, "ngwt:VersionStatus"); + case SOAP_TYPE_PointerTongwt__FolderACL: + return soap_out_PointerTongwt__FolderACL(soap, tag, id, (ngwt__FolderACL *const*)ptr, "ngwt:FolderACL"); + case SOAP_TYPE_PointerTongwt__RuleActionList: + return soap_out_PointerTongwt__RuleActionList(soap, tag, id, (ngwt__RuleActionList *const*)ptr, "ngwt:RuleActionList"); + case SOAP_TYPE_PointerTongwt__Execution: + return soap_out_PointerTongwt__Execution(soap, tag, id, (enum ngwt__Execution *const*)ptr, "ngwt:Execution"); + case SOAP_TYPE_PointerTongwt__Query: + return soap_out_PointerTongwt__Query(soap, tag, id, (ngwt__Query *const*)ptr, "ngwt:Query"); + case SOAP_TYPE_PointerTongwt__FolderACLStatus: + return soap_out_PointerTongwt__FolderACLStatus(soap, tag, id, (enum ngwt__FolderACLStatus *const*)ptr, "ngwt:FolderACLStatus"); + case SOAP_TYPE_PointerTongwt__AccessControlList: + return soap_out_PointerTongwt__AccessControlList(soap, tag, id, (ngwt__AccessControlList *const*)ptr, "ngwt:AccessControlList"); + case SOAP_TYPE_PointerTongwt__WeekOfYear: + return soap_out_PointerTongwt__WeekOfYear(soap, tag, id, (short *const*)ptr, "ngwt:WeekOfYear"); + case SOAP_TYPE_PointerTongwt__OccurrenceType: + return soap_out_PointerTongwt__OccurrenceType(soap, tag, id, (enum ngwt__OccurrenceType *const*)ptr, "ngwt:OccurrenceType"); + case SOAP_TYPE_PointerTongwt__ItemSecurity: + return soap_out_PointerTongwt__ItemSecurity(soap, tag, id, (enum ngwt__ItemSecurity *const*)ptr, "ngwt:ItemSecurity"); + case SOAP_TYPE_PointerTongwt__ItemClass: + return soap_out_PointerTongwt__ItemClass(soap, tag, id, (enum ngwt__ItemClass *const*)ptr, "ngwt:ItemClass"); + case SOAP_TYPE_PointerTongwt__ItemSource: + return soap_out_PointerTongwt__ItemSource(soap, tag, id, (enum ngwt__ItemSource *const*)ptr, "ngwt:ItemSource"); + case SOAP_TYPE_PointerTongwt__ItemStatus: + return soap_out_PointerTongwt__ItemStatus(soap, tag, id, (ngwt__ItemStatus *const*)ptr, "ngwt:ItemStatus"); + case SOAP_TYPE_PointerTongwt__DeltaSyncType: + return soap_out_PointerTongwt__DeltaSyncType(soap, tag, id, (enum ngwt__DeltaSyncType *const*)ptr, "ngwt:DeltaSyncType"); + case SOAP_TYPE_PointerTongwt__RecipientStatus: + return soap_out_PointerTongwt__RecipientStatus(soap, tag, id, (ngwt__RecipientStatus *const*)ptr, "ngwt:RecipientStatus"); + case SOAP_TYPE_PointerTongwt__FreeBusyBlockList: + return soap_out_PointerTongwt__FreeBusyBlockList(soap, tag, id, (ngwt__FreeBusyBlockList *const*)ptr, "ngwt:FreeBusyBlockList"); + case SOAP_TYPE_PointerTongwt__CalendarFolderAttribute: + return soap_out_PointerTongwt__CalendarFolderAttribute(soap, tag, id, (ngwt__CalendarFolderAttribute *const*)ptr, "ngwt:CalendarFolderAttribute"); + case SOAP_TYPE_PointerTongwt__FilterDate: + return soap_out_PointerTongwt__FilterDate(soap, tag, id, (enum ngwt__FilterDate *const*)ptr, "ngwt:FilterDate"); + case SOAP_TYPE_PointerTongwt__ContainerRef: + return soap_out_PointerTongwt__ContainerRef(soap, tag, id, (ngwt__ContainerRef *const*)ptr, "ngwt:ContainerRef"); + case SOAP_TYPE_PointerTongwt__CategoryType: + return soap_out_PointerTongwt__CategoryType(soap, tag, id, (enum ngwt__CategoryType *const*)ptr, "ngwt:CategoryType"); + case SOAP_TYPE_PointerTongwt__AccessMiscRight: + return soap_out_PointerTongwt__AccessMiscRight(soap, tag, id, (ngwt__AccessMiscRight *const*)ptr, "ngwt:AccessMiscRight"); + case SOAP_TYPE_PointerTongwt__AccessRight: + return soap_out_PointerTongwt__AccessRight(soap, tag, id, (ngwt__AccessRight *const*)ptr, "ngwt:AccessRight"); + case SOAP_TYPE_PointerTongwt__Rights: + return soap_out_PointerTongwt__Rights(soap, tag, id, (ngwt__Rights *const*)ptr, "ngwt:Rights"); + case SOAP_TYPE_PointerTongwe__EventList: + return soap_out_PointerTongwe__EventList(soap, tag, id, (ngwe__EventList *const*)ptr, "ngwe:EventList"); + case SOAP_TYPE_PointerTongwe__EventsList: + return soap_out_PointerTongwe__EventsList(soap, tag, id, (ngwe__EventsList *const*)ptr, "ngwe:EventsList"); + case SOAP_TYPE_PointerTongwe__Events: + return soap_out_PointerTongwe__Events(soap, tag, id, (ngwe__Events *const*)ptr, "ngwe:Events"); + case SOAP_TYPE_PointerTongwe__EventDefinition: + return soap_out_PointerTongwe__EventDefinition(soap, tag, id, (ngwe__EventDefinition *const*)ptr, "ngwe:EventDefinition"); + case SOAP_TYPE_PointerToxsd__duration: + return soap_out_PointerToxsd__duration(soap, tag, id, (std::string *const*)ptr, "xsd:duration"); + case SOAP_TYPE_PointerTongwe__Event: + return soap_out_PointerTongwe__Event(soap, tag, id, (ngwe__Event *const*)ptr, "ngwe:Event"); + case SOAP_TYPE_PointerTongwe__ContainerList: + return soap_out_PointerTongwe__ContainerList(soap, tag, id, (ngwe__ContainerList *const*)ptr, "ngwe:ContainerList"); + case SOAP_TYPE_PointerTongwe__ItemTypeList: + return soap_out_PointerTongwe__ItemTypeList(soap, tag, id, (enum ngwe__ItemTypeList *const*)ptr, "ngwe:ItemTypeList"); + case SOAP_TYPE_PointerTongwe__EventTypeList: + return soap_out_PointerTongwe__EventTypeList(soap, tag, id, (ngwe__EventTypeList *const*)ptr, "ngwe:EventTypeList"); + case SOAP_TYPE_PointerTongwe__ItemType: + return soap_out_PointerTongwe__ItemType(soap, tag, id, (enum ngwe__ItemType *const*)ptr, "ngwe:ItemType"); + case SOAP_TYPE_PointerTongwe__FieldList: + return soap_out_PointerTongwe__FieldList(soap, tag, id, (enum ngwe__FieldList *const*)ptr, "ngwe:FieldList"); + case SOAP_TYPE_PointerTongwt__FreeBusyUserList: + return soap_out_PointerTongwt__FreeBusyUserList(soap, tag, id, (ngwt__FreeBusyUserList *const*)ptr, "ngwt:FreeBusyUserList"); + case SOAP_TYPE_PointerTongwt__RetractType: + return soap_out_PointerTongwt__RetractType(soap, tag, id, (enum ngwt__RetractType *const*)ptr, "ngwt:RetractType"); + case SOAP_TYPE_PointerTongwt__ItemList: + return soap_out_PointerTongwt__ItemList(soap, tag, id, (ngwt__ItemList *const*)ptr, "ngwt:ItemList"); + case SOAP_TYPE_PointerTongwt__CursorSeek: + return soap_out_PointerTongwt__CursorSeek(soap, tag, id, (enum ngwt__CursorSeek *const*)ptr, "ngwt:CursorSeek"); + case SOAP_TYPE_PointerTongwt__AccessRightChanges: + return soap_out_PointerTongwt__AccessRightChanges(soap, tag, id, (ngwt__AccessRightChanges *const*)ptr, "ngwt:AccessRightChanges"); + case SOAP_TYPE_PointerTongwt__ModifyItem: + return soap_out_PointerTongwt__ModifyItem(soap, tag, id, (ngwt__ModifyItem *const*)ptr, "ngwt:ModifyItem"); + case SOAP_TYPE_PointerTongwt__Host: + return soap_out_PointerTongwt__Host(soap, tag, id, (ngwt__Host *const*)ptr, "ngwt:Host"); + case SOAP_TYPE_PointerTongwt__Authentication: + return soap_out_PointerTongwt__Authentication(soap, tag, id, (ngwt__Authentication *const*)ptr, "ngwt:Authentication"); + case SOAP_TYPE_PointerTongwt__UserList: + return soap_out_PointerTongwt__UserList(soap, tag, id, (ngwt__UserList *const*)ptr, "ngwt:UserList"); + case SOAP_TYPE_PointerTongwt__TimezoneList: + return soap_out_PointerTongwt__TimezoneList(soap, tag, id, (ngwt__TimezoneList *const*)ptr, "ngwt:TimezoneList"); + case SOAP_TYPE_PointerTongwt__Signatures: + return soap_out_PointerTongwt__Signatures(soap, tag, id, (ngwt__Signatures *const*)ptr, "ngwt:Signatures"); + case SOAP_TYPE_PointerTongwt__Settings: + return soap_out_PointerTongwt__Settings(soap, tag, id, (ngwt__Settings *const*)ptr, "ngwt:Settings"); + case SOAP_TYPE_PointerTongwt__RuleList: + return soap_out_PointerTongwt__RuleList(soap, tag, id, (ngwt__RuleList *const*)ptr, "ngwt:RuleList"); + case SOAP_TYPE_PointerTongwt__ProxyList: + return soap_out_PointerTongwt__ProxyList(soap, tag, id, (ngwt__ProxyList *const*)ptr, "ngwt:ProxyList"); + case SOAP_TYPE_PointerTongwt__AccessRightList: + return soap_out_PointerTongwt__AccessRightList(soap, tag, id, (ngwt__AccessRightList *const*)ptr, "ngwt:AccessRightList"); + case SOAP_TYPE_PointerTongwt__LibraryList: + return soap_out_PointerTongwt__LibraryList(soap, tag, id, (ngwt__LibraryList *const*)ptr, "ngwt:LibraryList"); + case SOAP_TYPE_PointerTongwt__SettingsList: + return soap_out_PointerTongwt__SettingsList(soap, tag, id, (ngwt__SettingsList *const*)ptr, "ngwt:SettingsList"); + case SOAP_TYPE_PointerTongwt__JunkHandlingList: + return soap_out_PointerTongwt__JunkHandlingList(soap, tag, id, (ngwt__JunkHandlingList *const*)ptr, "ngwt:JunkHandlingList"); + case SOAP_TYPE_PointerTongwt__FreeBusyInfoList: + return soap_out_PointerTongwt__FreeBusyInfoList(soap, tag, id, (ngwt__FreeBusyInfoList *const*)ptr, "ngwt:FreeBusyInfoList"); + case SOAP_TYPE_PointerTongwt__FreeBusyStats: + return soap_out_PointerTongwt__FreeBusyStats(soap, tag, id, (ngwt__FreeBusyStats *const*)ptr, "ngwt:FreeBusyStats"); + case SOAP_TYPE_PointerTongwt__FolderList: + return soap_out_PointerTongwt__FolderList(soap, tag, id, (ngwt__FolderList *const*)ptr, "ngwt:FolderList"); + case SOAP_TYPE_PointerTongwt__ItemSourceList: + return soap_out_PointerTongwt__ItemSourceList(soap, tag, id, (enum ngwt__ItemSourceList *const*)ptr, "ngwt:ItemSourceList"); + case SOAP_TYPE_PointerTongwt__MessageTypeList: + return soap_out_PointerTongwt__MessageTypeList(soap, tag, id, (enum ngwt__MessageTypeList *const*)ptr, "ngwt:MessageTypeList"); + case SOAP_TYPE_PointerTongwt__FolderType: + return soap_out_PointerTongwt__FolderType(soap, tag, id, (enum ngwt__FolderType *const*)ptr, "ngwt:FolderType"); + case SOAP_TYPE_PointerTongwt__DocumentTypeList: + return soap_out_PointerTongwt__DocumentTypeList(soap, tag, id, (ngwt__DocumentTypeList *const*)ptr, "ngwt:DocumentTypeList"); + case SOAP_TYPE_PointerTongwt__Items: + return soap_out_PointerTongwt__Items(soap, tag, id, (ngwt__Items *const*)ptr, "ngwt:Items"); + case SOAP_TYPE_PointerTongwt__DeltaInfo: + return soap_out_PointerTongwt__DeltaInfo(soap, tag, id, (ngwt__DeltaInfo *const*)ptr, "ngwt:DeltaInfo"); + case SOAP_TYPE_PointerTongwt__CustomList: + return soap_out_PointerTongwt__CustomList(soap, tag, id, (ngwt__CustomList *const*)ptr, "ngwt:CustomList"); + case SOAP_TYPE_PointerTongwt__CategoryList: + return soap_out_PointerTongwt__CategoryList(soap, tag, id, (ngwt__CategoryList *const*)ptr, "ngwt:CategoryList"); + case SOAP_TYPE_PointerTongwt__AddressBookList: + return soap_out_PointerTongwt__AddressBookList(soap, tag, id, (ngwt__AddressBookList *const*)ptr, "ngwt:AddressBookList"); + case SOAP_TYPE_PointerTongwt__Distribution: + return soap_out_PointerTongwt__Distribution(soap, tag, id, (ngwt__Distribution *const*)ptr, "ngwt:Distribution"); + case SOAP_TYPE_PointerTongwt__View: + return soap_out_PointerTongwt__View(soap, tag, id, (std::string *const*)ptr, "ngwt:View"); + case SOAP_TYPE_PointerTongwt__Status: + return soap_out_PointerTongwt__Status(soap, tag, id, (ngwt__Status *const*)ptr, "ngwt:Status"); + case SOAP_TYPE_PointerTongwt__ItemRefList: + return soap_out_PointerTongwt__ItemRefList(soap, tag, id, (ngwt__ItemRefList *const*)ptr, "ngwt:ItemRefList"); + case SOAP_TYPE_PointerTongwt__UserInfo: + return soap_out_PointerTongwt__UserInfo(soap, tag, id, (ngwt__UserInfo *const*)ptr, "ngwt:UserInfo"); + case SOAP_TYPE_PointerTongwt__RecipientType: + return soap_out_PointerTongwt__RecipientType(soap, tag, id, (enum ngwt__RecipientType *const*)ptr, "ngwt:RecipientType"); + case SOAP_TYPE_PointerTongwt__Timezone: + return soap_out_PointerTongwt__Timezone(soap, tag, id, (ngwt__Timezone *const*)ptr, "ngwt:Timezone"); + case SOAP_TYPE_PointerTongwt__Minute: + return soap_out_PointerTongwt__Minute(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Minute"); + case SOAP_TYPE_PointerTongwt__Hour: + return soap_out_PointerTongwt__Hour(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Hour"); + case SOAP_TYPE_PointerTongwt__DayOfWeek: + return soap_out_PointerTongwt__DayOfWeek(soap, tag, id, (ngwt__DayOfWeek *const*)ptr, "ngwt:DayOfWeek"); + case SOAP_TYPE_PointerTongwt__Day: + return soap_out_PointerTongwt__Day(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Day"); + case SOAP_TYPE_PointerTongwt__Month: + return soap_out_PointerTongwt__Month(soap, tag, id, (unsigned char *const*)ptr, "ngwt:Month"); + case SOAP_TYPE_PointerTongwt__TimezoneComponent: + return soap_out_PointerTongwt__TimezoneComponent(soap, tag, id, (ngwt__TimezoneComponent *const*)ptr, "ngwt:TimezoneComponent"); + case SOAP_TYPE_PointerTongwt__ProblemList: + return soap_out_PointerTongwt__ProblemList(soap, tag, id, (ngwt__ProblemList *const*)ptr, "ngwt:ProblemList"); + case SOAP_TYPE_PointerTongwt__Signature: + return soap_out_PointerTongwt__Signature(soap, tag, id, (ngwt__Signature *const*)ptr, "ngwt:Signature"); + case SOAP_TYPE_PointerTongwt__SignatureData: + return soap_out_PointerTongwt__SignatureData(soap, tag, id, (ngwt__SignatureData *const*)ptr, "ngwt:SignatureData"); + case SOAP_TYPE_PointerTongwt__SettingsGroup: + return soap_out_PointerTongwt__SettingsGroup(soap, tag, id, (ngwt__SettingsGroup *const*)ptr, "ngwt:SettingsGroup"); + case SOAP_TYPE_PointerTongwt__ReturnNotification: + return soap_out_PointerTongwt__ReturnNotification(soap, tag, id, (ngwt__ReturnNotification *const*)ptr, "ngwt:ReturnNotification"); + case SOAP_TYPE_PointerTongwt__StatusTracking: + return soap_out_PointerTongwt__StatusTracking(soap, tag, id, (ngwt__StatusTracking *const*)ptr, "ngwt:StatusTracking"); + case SOAP_TYPE_PointerTongwt__SendOptionsRequestReply: + return soap_out_PointerTongwt__SendOptionsRequestReply(soap, tag, id, (ngwt__SendOptionsRequestReply *const*)ptr, "ngwt:SendOptionsRequestReply"); + case SOAP_TYPE_PointerTongwt__Rule: + return soap_out_PointerTongwt__Rule(soap, tag, id, (ngwt__Rule *const*)ptr, "ngwt:Rule"); + case SOAP_TYPE_PointerTongwt__RuleAction: + return soap_out_PointerTongwt__RuleAction(soap, tag, id, (ngwt__RuleAction *const*)ptr, "ngwt:RuleAction"); + case SOAP_TYPE_PointerTongwt__CategoryRefList: + return soap_out_PointerTongwt__CategoryRefList(soap, tag, id, (ngwt__CategoryRefList *const*)ptr, "ngwt:CategoryRefList"); + case SOAP_TYPE_PointerTongwt__Mail: + return soap_out_PointerTongwt__Mail(soap, tag, id, (ngwt__Mail *const*)ptr, "ngwt:Mail"); + case SOAP_TYPE_PointerTongwt__ReturnNotificationOptions: + return soap_out_PointerTongwt__ReturnNotificationOptions(soap, tag, id, (ngwt__ReturnNotificationOptions *const*)ptr, "ngwt:ReturnNotificationOptions"); + case SOAP_TYPE_PointerTongwt__MonthList: + return soap_out_PointerTongwt__MonthList(soap, tag, id, (ngwt__MonthList *const*)ptr, "ngwt:MonthList"); + case SOAP_TYPE_PointerTongwt__DayOfYearList: + return soap_out_PointerTongwt__DayOfYearList(soap, tag, id, (ngwt__DayOfYearList *const*)ptr, "ngwt:DayOfYearList"); + case SOAP_TYPE_PointerTongwt__DayOfMonthList: + return soap_out_PointerTongwt__DayOfMonthList(soap, tag, id, (ngwt__DayOfMonthList *const*)ptr, "ngwt:DayOfMonthList"); + case SOAP_TYPE_PointerTongwt__DayOfYearWeekList: + return soap_out_PointerTongwt__DayOfYearWeekList(soap, tag, id, (ngwt__DayOfYearWeekList *const*)ptr, "ngwt:DayOfYearWeekList"); + case SOAP_TYPE_PointerTongwt__Frequency: + return soap_out_PointerTongwt__Frequency(soap, tag, id, (enum ngwt__Frequency *const*)ptr, "ngwt:Frequency"); + case SOAP_TYPE_PointerTongwt__DelegateeStatus: + return soap_out_PointerTongwt__DelegateeStatus(soap, tag, id, (ngwt__DelegateeStatus *const*)ptr, "ngwt:DelegateeStatus"); + case SOAP_TYPE_PointerTongwt__DelegatedStatus: + return soap_out_PointerTongwt__DelegatedStatus(soap, tag, id, (ngwt__DelegatedStatus *const*)ptr, "ngwt:DelegatedStatus"); + case SOAP_TYPE_PointerTongwt__CommentStatus: + return soap_out_PointerTongwt__CommentStatus(soap, tag, id, (ngwt__CommentStatus *const*)ptr, "ngwt:CommentStatus"); + case SOAP_TYPE_PointerTongwt__TransferFailedStatus: + return soap_out_PointerTongwt__TransferFailedStatus(soap, tag, id, (ngwt__TransferFailedStatus *const*)ptr, "ngwt:TransferFailedStatus"); + case SOAP_TYPE_PointerTongwt__Recipient: + return soap_out_PointerTongwt__Recipient(soap, tag, id, (ngwt__Recipient *const*)ptr, "ngwt:Recipient"); + case SOAP_TYPE_PointerTongwt__Filter: + return soap_out_PointerTongwt__Filter(soap, tag, id, (ngwt__Filter *const*)ptr, "ngwt:Filter"); + case SOAP_TYPE_PointerTongwt__QueryTarget: + return soap_out_PointerTongwt__QueryTarget(soap, tag, id, (ngwt__QueryTarget *const*)ptr, "ngwt:QueryTarget"); + case SOAP_TYPE_PointerTongwt__ProxyUser: + return soap_out_PointerTongwt__ProxyUser(soap, tag, id, (ngwt__ProxyUser *const*)ptr, "ngwt:ProxyUser"); + case SOAP_TYPE_PointerTongwt__ProblemEntry: + return soap_out_PointerTongwt__ProblemEntry(soap, tag, id, (ngwt__ProblemEntry *const*)ptr, "ngwt:ProblemEntry"); + case SOAP_TYPE_PointerTongwt__PostalAddress: + return soap_out_PointerTongwt__PostalAddress(soap, tag, id, (ngwt__PostalAddress *const*)ptr, "ngwt:PostalAddress"); + case SOAP_TYPE_PointerTongwt__PhoneNumber: + return soap_out_PointerTongwt__PhoneNumber(soap, tag, id, (ngwt__PhoneNumber *const*)ptr, "ngwt:PhoneNumber"); + case SOAP_TYPE_PointerToxsd__date: + return soap_out_PointerToxsd__date(soap, tag, id, (std::string *const*)ptr, "xsd:date"); + case SOAP_TYPE_PointerTongwt__ItemRef: + return soap_out_PointerTongwt__ItemRef(soap, tag, id, (ngwt__ItemRef *const*)ptr, "ngwt:ItemRef"); + case SOAP_TYPE_PointerTongwt__UUID: + return soap_out_PointerTongwt__UUID(soap, tag, id, (std::string *const*)ptr, "ngwt:UUID"); + case SOAP_TYPE_PointerTongwt__SharedFolderNotification: + return soap_out_PointerTongwt__SharedFolderNotification(soap, tag, id, (ngwt__SharedFolderNotification *const*)ptr, "ngwt:SharedFolderNotification"); + case SOAP_TYPE_PointerTongwt__MessagePart: + return soap_out_PointerTongwt__MessagePart(soap, tag, id, (ngwt__MessagePart *const*)ptr, "ngwt:MessagePart"); + case SOAP_TYPE_PointerTongwt__Library: + return soap_out_PointerTongwt__Library(soap, tag, id, (ngwt__Library *const*)ptr, "ngwt:Library"); + case SOAP_TYPE_PointerTongwt__JunkEntry: + return soap_out_PointerTongwt__JunkEntry(soap, tag, id, (ngwt__JunkEntry *const*)ptr, "ngwt:JunkEntry"); + case SOAP_TYPE_PointerTongwt__JunkHandlingListType: + return soap_out_PointerTongwt__JunkHandlingListType(soap, tag, id, (enum ngwt__JunkHandlingListType *const*)ptr, "ngwt:JunkHandlingListType"); + case SOAP_TYPE_PointerTongwt__Item: + return soap_out_PointerTongwt__Item(soap, tag, id, (ngwt__Item *const*)ptr, "ngwt:Item"); + case SOAP_TYPE_PointerTongwt__ItemChanges: + return soap_out_PointerTongwt__ItemChanges(soap, tag, id, (ngwt__ItemChanges *const*)ptr, "ngwt:ItemChanges"); + case SOAP_TYPE_PointerTongwt__ImAddress: + return soap_out_PointerTongwt__ImAddress(soap, tag, id, (ngwt__ImAddress *const*)ptr, "ngwt:ImAddress"); + case SOAP_TYPE_PointerTongwt__GroupMember: + return soap_out_PointerTongwt__GroupMember(soap, tag, id, (ngwt__GroupMember *const*)ptr, "ngwt:GroupMember"); + case SOAP_TYPE_PointerTongwt__GroupMemberList: + return soap_out_PointerTongwt__GroupMemberList(soap, tag, id, (ngwt__GroupMemberList *const*)ptr, "ngwt:GroupMemberList"); + case SOAP_TYPE_PointerTongwt__FreeBusyInfo: + return soap_out_PointerTongwt__FreeBusyInfo(soap, tag, id, (ngwt__FreeBusyInfo *const*)ptr, "ngwt:FreeBusyInfo"); + case SOAP_TYPE_PointerTongwt__NameAndEmail: + return soap_out_PointerTongwt__NameAndEmail(soap, tag, id, (ngwt__NameAndEmail *const*)ptr, "ngwt:NameAndEmail"); + case SOAP_TYPE_PointerTongwt__AcceptLevel: + return soap_out_PointerTongwt__AcceptLevel(soap, tag, id, (enum ngwt__AcceptLevel *const*)ptr, "ngwt:AcceptLevel"); + case SOAP_TYPE_PointerTongwt__FreeBusyBlock: + return soap_out_PointerTongwt__FreeBusyBlock(soap, tag, id, (ngwt__FreeBusyBlock *const*)ptr, "ngwt:FreeBusyBlock"); + case SOAP_TYPE_PointerTongwt__Folder: + return soap_out_PointerTongwt__Folder(soap, tag, id, (ngwt__Folder *const*)ptr, "ngwt:Folder"); + case SOAP_TYPE_PointerTongwt__FolderACLEntry: + return soap_out_PointerTongwt__FolderACLEntry(soap, tag, id, (ngwt__FolderACLEntry *const*)ptr, "ngwt:FolderACLEntry"); + case SOAP_TYPE_PointerTongwt__FilterElement: + return soap_out_PointerTongwt__FilterElement(soap, tag, id, (ngwt__FilterElement *const*)ptr, "ngwt:FilterElement"); + case SOAP_TYPE_PointerTongwt__DocumentType: + return soap_out_PointerTongwt__DocumentType(soap, tag, id, (ngwt__DocumentType *const*)ptr, "ngwt:DocumentType"); + case SOAP_TYPE_PointerTongwt__AgeAction: + return soap_out_PointerTongwt__AgeAction(soap, tag, id, (enum ngwt__AgeAction *const*)ptr, "ngwt:AgeAction"); + case SOAP_TYPE_PointerTongwt__SendOptions: + return soap_out_PointerTongwt__SendOptions(soap, tag, id, (ngwt__SendOptions *const*)ptr, "ngwt:SendOptions"); + case SOAP_TYPE_PointerTongwt__RecipientList: + return soap_out_PointerTongwt__RecipientList(soap, tag, id, (ngwt__RecipientList *const*)ptr, "ngwt:RecipientList"); + case SOAP_TYPE_PointerTongwt__From: + return soap_out_PointerTongwt__From(soap, tag, id, (ngwt__From *const*)ptr, "ngwt:From"); + case SOAP_TYPE_PointerToint: + return soap_out_PointerToint(soap, tag, id, (int *const*)ptr, "xsd:int"); + case SOAP_TYPE_PointerTongwt__DayOfYearWeek: + return soap_out_PointerTongwt__DayOfYearWeek(soap, tag, id, (ngwt__DayOfYearWeek *const*)ptr, "ngwt:DayOfYearWeek"); + case SOAP_TYPE_PointerTongwt__Custom: + return soap_out_PointerTongwt__Custom(soap, tag, id, (ngwt__Custom *const*)ptr, "ngwt:Custom"); + case SOAP_TYPE_PointerTongwt__CustomType: + return soap_out_PointerTongwt__CustomType(soap, tag, id, (enum ngwt__CustomType *const*)ptr, "ngwt:CustomType"); + case SOAP_TYPE_PointerTongwt__uid: + return soap_out_PointerTongwt__uid(soap, tag, id, (std::string *const*)ptr, "ngwt:uid"); + case SOAP_TYPE_PointerTongwt__Category: + return soap_out_PointerTongwt__Category(soap, tag, id, (ngwt__Category *const*)ptr, "ngwt:Category"); + case SOAP_TYPE_PointerToxsd__base64Binary: + return soap_out_PointerToxsd__base64Binary(soap, tag, id, (xsd__base64Binary *const*)ptr, "xsd:base64Binary"); + case SOAP_TYPE_PointerTounsignedLong: + return soap_out_PointerTounsignedLong(soap, tag, id, (unsigned long *const*)ptr, "xsd:unsignedLong"); + case SOAP_TYPE_PointerTostd__string: + return soap_out_PointerTostd__string(soap, tag, id, (std::string *const*)ptr, "xsd:string"); + case SOAP_TYPE_PointerTongwt__AttachmentID: + return soap_out_PointerTongwt__AttachmentID(soap, tag, id, (ngwt__AttachmentID *const*)ptr, "ngwt:AttachmentID"); + case SOAP_TYPE_PointerTongwt__AttachmentItemInfo: + return soap_out_PointerTongwt__AttachmentItemInfo(soap, tag, id, (ngwt__AttachmentItemInfo *const*)ptr, "ngwt:AttachmentItemInfo"); + case SOAP_TYPE_PointerTongwt__AddressBook: + return soap_out_PointerTongwt__AddressBook(soap, tag, id, (ngwt__AddressBook *const*)ptr, "ngwt:AddressBook"); + case SOAP_TYPE_PointerTongwt__AccessRightEntry: + return soap_out_PointerTongwt__AccessRightEntry(soap, tag, id, (ngwt__AccessRightEntry *const*)ptr, "ngwt:AccessRightEntry"); + case SOAP_TYPE_PointerTobool: + return soap_out_PointerTobool(soap, tag, id, (bool *const*)ptr, "xsd:boolean"); + case SOAP_TYPE_PointerTongwt__AccessControlListEntry: + return soap_out_PointerTongwt__AccessControlListEntry(soap, tag, id, (ngwt__AccessControlListEntry *const*)ptr, "ngwt:AccessControlListEntry"); + case SOAP_TYPE_PointerTounsignedByte: + return soap_out_PointerTounsignedByte(soap, tag, id, (unsigned char *const*)ptr, "xsd:unsignedByte"); + case SOAP_TYPE__QName: + return soap_out_string(soap, "QName", id, (char**)&ptr, NULL); + case SOAP_TYPE_string: + return soap_out_string(soap, tag, id, (char**)&ptr, "xsd:string"); + } + return SOAP_OK; +} +#endif + +#ifndef WITH_NOIDREF +SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr, int type) +{ + (void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */ + switch (type) + { + case SOAP_TYPE_ngwt__UUID: + soap_serialize_ngwt__UUID(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_ngwt__uid: + soap_serialize_ngwt__uid(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_ngwt__View: + soap_serialize_ngwt__View(soap, (const std::string *)ptr); + break; + case SOAP_TYPE__ngwe__removeEventsResponse: + ((_ngwe__removeEventsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__removeEventsRequest: + ((_ngwe__removeEventsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__removeEventConfigurationResponse: + ((_ngwe__removeEventConfigurationResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__removeEventConfigurationRequest: + ((_ngwe__removeEventConfigurationRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__getEventsResponse: + ((_ngwe__getEventsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__getEventsRequest: + ((_ngwe__getEventsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__getEventConfigurationResponse: + ((_ngwe__getEventConfigurationResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__getEventConfigurationRequest: + ((_ngwe__getEventConfigurationRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__configureEventsResponse: + ((_ngwe__configureEventsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__configureEventsRequest: + ((_ngwe__configureEventsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__cleanEventConfigurationResponse: + ((_ngwe__cleanEventConfigurationResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwe__cleanEventConfigurationRequest: + ((_ngwe__cleanEventConfigurationRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__Notify: + ((ngwe__Notify *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__EventTypeList: + ((ngwe__EventTypeList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__EventsList: + ((ngwe__EventsList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__Events: + ((ngwe__Events *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__EventList: + ((ngwe__EventList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__EventDefinition: + ((ngwe__EventDefinition *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__Event: + ((ngwe__Event *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwe__ContainerList: + ((ngwe__ContainerList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__updateVersionStatusResponse: + ((_ngwm__updateVersionStatusResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__updateVersionStatusRequest: + ((_ngwm__updateVersionStatusRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__uncompleteResponse: + ((_ngwm__uncompleteResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__uncompleteRequest: + ((_ngwm__uncompleteRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__unacceptResponse: + ((_ngwm__unacceptResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__unacceptRequest: + ((_ngwm__unacceptRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__startFreeBusySessionResponse: + ((_ngwm__startFreeBusySessionResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__startFreeBusySessionRequest: + ((_ngwm__startFreeBusySessionRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__setTimestampResponse: + ((_ngwm__setTimestampResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__setTimestampRequest: + ((_ngwm__setTimestampRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__sendItemResponse: + ((_ngwm__sendItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__sendItemRequest: + ((_ngwm__sendItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__retractResponse: + ((_ngwm__retractResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__retractRequest: + ((_ngwm__retractRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__replyResponse: + ((_ngwm__replyResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__replyRequest: + ((_ngwm__replyRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeSignatureResponse: + ((_ngwm__removeSignatureResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeSignatureRequest: + ((_ngwm__removeSignatureRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeProxyUserResponse: + ((_ngwm__removeProxyUserResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeProxyUserRequest: + ((_ngwm__removeProxyUserRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeProxyAccessResponse: + ((_ngwm__removeProxyAccessResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeProxyAccessRequest: + ((_ngwm__removeProxyAccessRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeMembersResponse: + ((_ngwm__removeMembersResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeMembersRequest: + ((_ngwm__removeMembersRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeJunkEntryResponse: + ((_ngwm__removeJunkEntryResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeJunkEntryRequest: + ((_ngwm__removeJunkEntryRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeItemsResponse: + ((_ngwm__removeItemsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeItemsRequest: + ((_ngwm__removeItemsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeItemResponse: + ((_ngwm__removeItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeItemRequest: + ((_ngwm__removeItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeCustomDefinitionResponse: + ((_ngwm__removeCustomDefinitionResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__removeCustomDefinitionRequest: + ((_ngwm__removeCustomDefinitionRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__readCursorResponse: + ((_ngwm__readCursorResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__readCursorRequest: + ((_ngwm__readCursorRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__purgeResponse: + ((_ngwm__purgeResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__purgeRequest: + ((_ngwm__purgeRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__purgeDeletedItemsResponse: + ((_ngwm__purgeDeletedItemsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__purgeDeletedItemsRequest: + ((_ngwm__purgeDeletedItemsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__positionCursorResponse: + ((_ngwm__positionCursorResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__positionCursorRequest: + ((_ngwm__positionCursorRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__moveItemResponse: + ((_ngwm__moveItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__moveItemRequest: + ((_ngwm__moveItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifySignaturesResponse: + ((_ngwm__modifySignaturesResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifySignaturesRequest: + ((_ngwm__modifySignaturesRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifySettingsResponse: + ((_ngwm__modifySettingsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifySettingsRequest: + ((_ngwm__modifySettingsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyProxyAccessResponse: + ((_ngwm__modifyProxyAccessResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyProxyAccessRequest: + ((_ngwm__modifyProxyAccessRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyPasswordResponse: + ((_ngwm__modifyPasswordResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyPasswordRequest: + ((_ngwm__modifyPasswordRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse: + ((_ngwm__modifyJunkMailSettingsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest: + ((_ngwm__modifyJunkMailSettingsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyJunkEntryResponse: + ((_ngwm__modifyJunkEntryResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyJunkEntryRequest: + ((_ngwm__modifyJunkEntryRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyItemsResponse: + ((_ngwm__modifyItemsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyItemsRequest: + ((_ngwm__modifyItemsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyItemResponse: + ((_ngwm__modifyItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__modifyItemRequest: + ((_ngwm__modifyItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markUnReadResponse: + ((_ngwm__markUnReadResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markUnReadRequest: + ((_ngwm__markUnReadRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markUnPrivateResponse: + ((_ngwm__markUnPrivateResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markUnPrivateRequest: + ((_ngwm__markUnPrivateRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markReadResponse: + ((_ngwm__markReadResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markReadRequest: + ((_ngwm__markReadRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markPrivateResponse: + ((_ngwm__markPrivateResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__markPrivateRequest: + ((_ngwm__markPrivateRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__logoutResponse: + ((_ngwm__logoutResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__logoutRequest: + ((_ngwm__logoutRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__loginResponse: + ((_ngwm__loginResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__loginRequest: + ((_ngwm__loginRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getUserListResponse: + ((_ngwm__getUserListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getUserListRequest: + ((_ngwm__getUserListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getTimezoneListResponse: + ((_ngwm__getTimezoneListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getTimezoneListRequest: + ((_ngwm__getTimezoneListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getTimestampResponse: + ((_ngwm__getTimestampResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getTimestampRequest: + ((_ngwm__getTimestampRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getSignaturesResponse: + ((_ngwm__getSignaturesResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getSignaturesRequest: + ((_ngwm__getSignaturesRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getSettingsResponse: + ((_ngwm__getSettingsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getSettingsRequest: + ((_ngwm__getSettingsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getRuleListResponse: + ((_ngwm__getRuleListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getRuleListRequest: + ((_ngwm__getRuleListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getProxyListResponse: + ((_ngwm__getProxyListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getProxyListRequest: + ((_ngwm__getProxyListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getProxyAccessListResponse: + ((_ngwm__getProxyAccessListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getProxyAccessListRequest: + ((_ngwm__getProxyAccessListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getQuickMessagesResponse: + ((_ngwm__getQuickMessagesResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getQuickMessagesRequest: + ((_ngwm__getQuickMessagesRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getLibraryListResponse: + ((_ngwm__getLibraryListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getLibraryListRequest: + ((_ngwm__getLibraryListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getLibraryItemResponse: + ((_ngwm__getLibraryItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getLibraryItemRequest: + ((_ngwm__getLibraryItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getJunkMailSettingsResponse: + ((_ngwm__getJunkMailSettingsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getJunkMailSettingsRequest: + ((_ngwm__getJunkMailSettingsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getJunkEntriesResponse: + ((_ngwm__getJunkEntriesResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getJunkEntriesRequest: + ((_ngwm__getJunkEntriesRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getItemsResponse: + ((_ngwm__getItemsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getItemsRequest: + ((_ngwm__getItemsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getItemResponse: + ((_ngwm__getItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getItemRequest: + ((_ngwm__getItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getFreeBusyResponse: + ((_ngwm__getFreeBusyResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getFreeBusyRequest: + ((_ngwm__getFreeBusyRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getFolderListResponse: + ((_ngwm__getFolderListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getFolderListRequest: + ((_ngwm__getFolderListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getFolderResponse: + ((_ngwm__getFolderResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getFolderRequest: + ((_ngwm__getFolderRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getDocumentTypeListResponse: + ((_ngwm__getDocumentTypeListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getDocumentTypeListRequest: + ((_ngwm__getDocumentTypeListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getDeltaInfoResponse: + ((_ngwm__getDeltaInfoResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getDeltaInfoRequest: + ((_ngwm__getDeltaInfoRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getDeltasResponse: + ((_ngwm__getDeltasResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getDeltasRequest: + ((_ngwm__getDeltasRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getCustomListResponse: + ((_ngwm__getCustomListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getCustomListRequest: + ((_ngwm__getCustomListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getCategoryListResponse: + ((_ngwm__getCategoryListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getCategoryListRequest: + ((_ngwm__getCategoryListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getAttachmentResponse: + ((_ngwm__getAttachmentResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getAttachmentRequest: + ((_ngwm__getAttachmentRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getAddressBookListResponse: + ((_ngwm__getAddressBookListResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__getAddressBookListRequest: + ((_ngwm__getAddressBookListRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__forwardResponse: + ((_ngwm__forwardResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__forwardRequest: + ((_ngwm__forwardRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__executeRuleResponse: + ((_ngwm__executeRuleResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__executeRuleRequest: + ((_ngwm__executeRuleRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__destroyCursorResponse: + ((_ngwm__destroyCursorResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__destroyCursorRequest: + ((_ngwm__destroyCursorRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__delegateResponse: + ((_ngwm__delegateResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__delegateRequest: + ((_ngwm__delegateRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__declineResponse: + ((_ngwm__declineResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__declineRequest: + ((_ngwm__declineRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createSignatureResponse: + ((_ngwm__createSignatureResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createSignatureRequest: + ((_ngwm__createSignatureRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createProxyAccessResponse: + ((_ngwm__createProxyAccessResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createProxyAccessRequest: + ((_ngwm__createProxyAccessRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createJunkEntryResponse: + ((_ngwm__createJunkEntryResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createJunkEntryRequest: + ((_ngwm__createJunkEntryRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createItemsResponse: + ((_ngwm__createItemsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createItemsRequest: + ((_ngwm__createItemsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createItemResponse: + ((_ngwm__createItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createItemRequest: + ((_ngwm__createItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createCursorResponse: + ((_ngwm__createCursorResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__createCursorRequest: + ((_ngwm__createCursorRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__completeResponse: + ((_ngwm__completeResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__completeRequest: + ((_ngwm__completeRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__closeFreeBusySessionResponse: + ((_ngwm__closeFreeBusySessionResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__closeFreeBusySessionRequest: + ((_ngwm__closeFreeBusySessionRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__addMembersResponse: + ((_ngwm__addMembersResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__addMembersRequest: + ((_ngwm__addMembersRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__addItemsResponse: + ((_ngwm__addItemsResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__addItemsRequest: + ((_ngwm__addItemsRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__addItemResponse: + ((_ngwm__addItemResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__addItemRequest: + ((_ngwm__addItemRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__acceptShareResponse: + ((_ngwm__acceptShareResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__acceptShareRequest: + ((_ngwm__acceptShareRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__acceptResponse: + ((_ngwm__acceptResponse *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE__ngwm__acceptRequest: + ((_ngwm__acceptRequest *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__VersionEvent: + ((ngwt__VersionEvent *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Version: + ((ngwt__Version *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__UserList: + ((ngwt__UserList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__UserInfo: + ((ngwt__UserInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__TrustedApplication: + ((ngwt__TrustedApplication *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__TransferFailedStatus: + ((ngwt__TransferFailedStatus *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__TimezoneList: + ((ngwt__TimezoneList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__TimezoneComponent: + ((ngwt__TimezoneComponent *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Timezone: + ((ngwt__Timezone *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Task: + ((ngwt__Task *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SystemFolder: + ((ngwt__SystemFolder *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__StatusTracking: + ((ngwt__StatusTracking *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Status: + ((ngwt__Status *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SMimeOperation: + ((ngwt__SMimeOperation *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SignatureData: + ((ngwt__SignatureData *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Signatures: + ((ngwt__Signatures *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Signature: + ((ngwt__Signature *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SharedNotification: + ((ngwt__SharedNotification *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SharedFolderNotification: + ((ngwt__SharedFolderNotification *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SharedFolder: + ((ngwt__SharedFolder *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SettingsList: + ((ngwt__SettingsList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SettingsGroup: + ((ngwt__SettingsGroup *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Settings: + ((ngwt__Settings *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SendOptions: + ((ngwt__SendOptions *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__SendOptionsRequestReply: + ((ngwt__SendOptionsRequestReply *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RuleList: + ((ngwt__RuleList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RuleActionList: + ((ngwt__RuleActionList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RuleAction: + ((ngwt__RuleAction *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Rule: + ((ngwt__Rule *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Rights: + ((ngwt__Rights *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ReturnNotificationOptions: + ((ngwt__ReturnNotificationOptions *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ReturnNotification: + ((ngwt__ReturnNotification *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Resource: + ((ngwt__Resource *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ReferenceInfo: + ((ngwt__ReferenceInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RecurrenceRule: + ((ngwt__RecurrenceRule *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RecurrenceDateType: + ((ngwt__RecurrenceDateType *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RecipientStatus: + ((ngwt__RecipientStatus *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__RecipientList: + ((ngwt__RecipientList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Recipient: + ((ngwt__Recipient *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__QueryTarget: + ((ngwt__QueryTarget *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__QueryFolder: + ((ngwt__QueryFolder *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Query: + ((ngwt__Query *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ProxyList: + ((ngwt__ProxyList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ProxyUser: + ((ngwt__ProxyUser *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Proxy: + ((ngwt__Proxy *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ProblemList: + ((ngwt__ProblemList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ProblemEntry: + ((ngwt__ProblemEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PostalAddressList: + ((ngwt__PostalAddressList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PostalAddress: + ((ngwt__PostalAddress *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PlainText: + ((ngwt__PlainText *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PhoneNumber: + ((ngwt__PhoneNumber *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PhoneMessage: + ((ngwt__PhoneMessage *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PhoneList: + ((ngwt__PhoneList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PhoneFlags: + ((ngwt__PhoneFlags *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__PersonalInfo: + ((ngwt__PersonalInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Organization: + ((ngwt__Organization *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__OfficeInfo: + ((ngwt__OfficeInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Note: + ((ngwt__Note *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__NameAndEmail: + ((ngwt__NameAndEmail *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__MonthList: + ((ngwt__MonthList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ModifyItem: + ((ngwt__ModifyItem *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__MessagePart: + ((ngwt__MessagePart *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__MessageBody: + ((ngwt__MessageBody *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Mail: + ((ngwt__Mail *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__LinkInfo: + ((ngwt__LinkInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__LibraryList: + ((ngwt__LibraryList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Library: + ((ngwt__Library *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__JunkHandlingList: + ((ngwt__JunkHandlingList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__JunkEntry: + ((ngwt__JunkEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ItemStatus: + ((ngwt__ItemStatus *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Items: + ((ngwt__Items *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ItemRefList: + ((ngwt__ItemRefList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ItemRef: + ((ngwt__ItemRef *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ItemOptions: + ((ngwt__ItemOptions *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ItemList: + ((ngwt__ItemList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ItemChanges: + ((ngwt__ItemChanges *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Item: + ((ngwt__Item *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ImAddressList: + ((ngwt__ImAddressList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ImAddress: + ((ngwt__ImAddress *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Host: + ((ngwt__Host *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__GroupMemberList: + ((ngwt__GroupMemberList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__GroupMember: + ((ngwt__GroupMember *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Group: + ((ngwt__Group *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FullName: + ((ngwt__FullName *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__From: + ((ngwt__From *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FreeBusyStats: + ((ngwt__FreeBusyStats *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FreeBusyInfoList: + ((ngwt__FreeBusyInfoList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FreeBusyUserList: + ((ngwt__FreeBusyUserList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FreeBusyInfo: + ((ngwt__FreeBusyInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FreeBusyBlock: + ((ngwt__FreeBusyBlock *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FreeBusyBlockList: + ((ngwt__FreeBusyBlockList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FolderList: + ((ngwt__FolderList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FolderACLEntry: + ((ngwt__FolderACLEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FolderACL: + ((ngwt__FolderACL *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Folder: + ((ngwt__Folder *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FilterGroup: + ((ngwt__FilterGroup *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FilterEntry: + ((ngwt__FilterEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__FilterElement: + ((ngwt__FilterElement *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Filter: + ((ngwt__Filter *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__EmailAddressList: + ((ngwt__EmailAddressList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DocumentTypeList: + ((ngwt__DocumentTypeList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DocumentType: + ((ngwt__DocumentType *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DocumentRef: + ((ngwt__DocumentRef *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Document: + ((ngwt__Document *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Distribution: + ((ngwt__Distribution *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DeltaInfo: + ((ngwt__DeltaInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DelegateeStatus: + ((ngwt__DelegateeStatus *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DelegatedStatus: + ((ngwt__DelegatedStatus *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DayOfYearWeekList: + ((ngwt__DayOfYearWeekList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DayOfYearWeek: + ((ngwt__DayOfYearWeek *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DayOfYearList: + ((ngwt__DayOfYearList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DayOfWeek: + ((ngwt__DayOfWeek *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__DayOfMonthList: + ((ngwt__DayOfMonthList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__CustomList: + ((ngwt__CustomList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Custom: + ((ngwt__Custom *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ContainerRef: + ((ngwt__ContainerRef *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ContainerItem: + ((ngwt__ContainerItem *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__ContactFolder: + ((ngwt__ContactFolder *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Contact: + ((ngwt__Contact *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__CommentStatus: + ((ngwt__CommentStatus *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__CategoryRefList: + ((ngwt__CategoryRefList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__CategoryList: + ((ngwt__CategoryList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Category: + ((ngwt__Category *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__CalendarItem: + ((ngwt__CalendarItem *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__CalendarFolderAttribute: + ((ngwt__CalendarFolderAttribute *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__BoxEntry: + ((ngwt__BoxEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Authentication: + ((ngwt__Authentication *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AttachmentItemInfo: + ((ngwt__AttachmentItemInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AttachmentInfo: + ((ngwt__AttachmentInfo *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AttachmentID: + ((ngwt__AttachmentID *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Appointment: + ((ngwt__Appointment *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__Alarm: + ((ngwt__Alarm *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AddressBookList: + ((ngwt__AddressBookList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AddressBookItem: + ((ngwt__AddressBookItem *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AddressBook: + ((ngwt__AddressBook *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessRightList: + ((ngwt__AccessRightList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessRightEntry: + ((ngwt__AccessRightEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessRightChanges: + ((ngwt__AccessRightChanges *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessRight: + ((ngwt__AccessRight *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessMiscRight: + ((ngwt__AccessMiscRight *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessControlList: + ((ngwt__AccessControlList *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_ngwt__AccessControlListEntry: + ((ngwt__AccessControlListEntry *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE_xsd__language: + soap_serialize_xsd__language(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_xsd__duration: + soap_serialize_xsd__duration(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_xsd__decimal: + soap_serialize_xsd__decimal(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_xsd__date: + soap_serialize_xsd__date(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_std__string: + soap_serialize_std__string(soap, (const std::string *)ptr); + break; + case SOAP_TYPE_xsd__base64Binary: + ((xsd__base64Binary *)ptr)->soap_serialize(soap); + break; + case SOAP_TYPE___ngw__removeEventsRequest: + soap_serialize___ngw__removeEventsRequest(soap, (const struct __ngw__removeEventsRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeEventConfigurationRequest: + soap_serialize___ngw__removeEventConfigurationRequest(soap, (const struct __ngw__removeEventConfigurationRequest *)ptr); + break; + case SOAP_TYPE___ngw__getEventsRequest: + soap_serialize___ngw__getEventsRequest(soap, (const struct __ngw__getEventsRequest *)ptr); + break; + case SOAP_TYPE___ngw__getEventConfigurationRequest: + soap_serialize___ngw__getEventConfigurationRequest(soap, (const struct __ngw__getEventConfigurationRequest *)ptr); + break; + case SOAP_TYPE___ngw__configureEventsRequest: + soap_serialize___ngw__configureEventsRequest(soap, (const struct __ngw__configureEventsRequest *)ptr); + break; + case SOAP_TYPE___ngw__cleanEventConfigurationRequest: + soap_serialize___ngw__cleanEventConfigurationRequest(soap, (const struct __ngw__cleanEventConfigurationRequest *)ptr); + break; + case SOAP_TYPE___ngw__updateVersionStatusRequest: + soap_serialize___ngw__updateVersionStatusRequest(soap, (const struct __ngw__updateVersionStatusRequest *)ptr); + break; + case SOAP_TYPE___ngw__uncompleteRequest: + soap_serialize___ngw__uncompleteRequest(soap, (const struct __ngw__uncompleteRequest *)ptr); + break; + case SOAP_TYPE___ngw__unacceptRequest: + soap_serialize___ngw__unacceptRequest(soap, (const struct __ngw__unacceptRequest *)ptr); + break; + case SOAP_TYPE___ngw__startFreeBusySessionRequest: + soap_serialize___ngw__startFreeBusySessionRequest(soap, (const struct __ngw__startFreeBusySessionRequest *)ptr); + break; + case SOAP_TYPE___ngw__setTimestampRequest: + soap_serialize___ngw__setTimestampRequest(soap, (const struct __ngw__setTimestampRequest *)ptr); + break; + case SOAP_TYPE___ngw__sendItemRequest: + soap_serialize___ngw__sendItemRequest(soap, (const struct __ngw__sendItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__retractRequest: + soap_serialize___ngw__retractRequest(soap, (const struct __ngw__retractRequest *)ptr); + break; + case SOAP_TYPE___ngw__replyRequest: + soap_serialize___ngw__replyRequest(soap, (const struct __ngw__replyRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeSignatureRequest: + soap_serialize___ngw__removeSignatureRequest(soap, (const struct __ngw__removeSignatureRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeProxyUserRequest: + soap_serialize___ngw__removeProxyUserRequest(soap, (const struct __ngw__removeProxyUserRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeProxyAccessRequest: + soap_serialize___ngw__removeProxyAccessRequest(soap, (const struct __ngw__removeProxyAccessRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeMembersRequest: + soap_serialize___ngw__removeMembersRequest(soap, (const struct __ngw__removeMembersRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeJunkEntryRequest: + soap_serialize___ngw__removeJunkEntryRequest(soap, (const struct __ngw__removeJunkEntryRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeItemsRequest: + soap_serialize___ngw__removeItemsRequest(soap, (const struct __ngw__removeItemsRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeItemRequest: + soap_serialize___ngw__removeItemRequest(soap, (const struct __ngw__removeItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__removeCustomDefinitionRequest: + soap_serialize___ngw__removeCustomDefinitionRequest(soap, (const struct __ngw__removeCustomDefinitionRequest *)ptr); + break; + case SOAP_TYPE___ngw__readCursorRequest: + soap_serialize___ngw__readCursorRequest(soap, (const struct __ngw__readCursorRequest *)ptr); + break; + case SOAP_TYPE___ngw__purgeRequest: + soap_serialize___ngw__purgeRequest(soap, (const struct __ngw__purgeRequest *)ptr); + break; + case SOAP_TYPE___ngw__purgeDeletedItemsRequest: + soap_serialize___ngw__purgeDeletedItemsRequest(soap, (const struct __ngw__purgeDeletedItemsRequest *)ptr); + break; + case SOAP_TYPE___ngw__positionCursorRequest: + soap_serialize___ngw__positionCursorRequest(soap, (const struct __ngw__positionCursorRequest *)ptr); + break; + case SOAP_TYPE___ngw__moveItemRequest: + soap_serialize___ngw__moveItemRequest(soap, (const struct __ngw__moveItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifySignaturesRequest: + soap_serialize___ngw__modifySignaturesRequest(soap, (const struct __ngw__modifySignaturesRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifySettingsRequest: + soap_serialize___ngw__modifySettingsRequest(soap, (const struct __ngw__modifySettingsRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifyProxyAccessRequest: + soap_serialize___ngw__modifyProxyAccessRequest(soap, (const struct __ngw__modifyProxyAccessRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifyPasswordRequest: + soap_serialize___ngw__modifyPasswordRequest(soap, (const struct __ngw__modifyPasswordRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifyJunkMailSettingsRequest: + soap_serialize___ngw__modifyJunkMailSettingsRequest(soap, (const struct __ngw__modifyJunkMailSettingsRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifyJunkEntryRequest: + soap_serialize___ngw__modifyJunkEntryRequest(soap, (const struct __ngw__modifyJunkEntryRequest *)ptr); + break; + case SOAP_TYPE___ngw__modifyItemRequest: + soap_serialize___ngw__modifyItemRequest(soap, (const struct __ngw__modifyItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__markUnReadRequest: + soap_serialize___ngw__markUnReadRequest(soap, (const struct __ngw__markUnReadRequest *)ptr); + break; + case SOAP_TYPE___ngw__markUnPrivateRequest: + soap_serialize___ngw__markUnPrivateRequest(soap, (const struct __ngw__markUnPrivateRequest *)ptr); + break; + case SOAP_TYPE___ngw__markReadRequest: + soap_serialize___ngw__markReadRequest(soap, (const struct __ngw__markReadRequest *)ptr); + break; + case SOAP_TYPE___ngw__markPrivateRequest: + soap_serialize___ngw__markPrivateRequest(soap, (const struct __ngw__markPrivateRequest *)ptr); + break; + case SOAP_TYPE___ngw__logoutRequest: + soap_serialize___ngw__logoutRequest(soap, (const struct __ngw__logoutRequest *)ptr); + break; + case SOAP_TYPE___ngw__loginRequest: + soap_serialize___ngw__loginRequest(soap, (const struct __ngw__loginRequest *)ptr); + break; + case SOAP_TYPE___ngw__getUserListRequest: + soap_serialize___ngw__getUserListRequest(soap, (const struct __ngw__getUserListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getTimezoneListRequest: + soap_serialize___ngw__getTimezoneListRequest(soap, (const struct __ngw__getTimezoneListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getTimestampRequest: + soap_serialize___ngw__getTimestampRequest(soap, (const struct __ngw__getTimestampRequest *)ptr); + break; + case SOAP_TYPE___ngw__getSignaturesRequest: + soap_serialize___ngw__getSignaturesRequest(soap, (const struct __ngw__getSignaturesRequest *)ptr); + break; + case SOAP_TYPE___ngw__getSettingsRequest: + soap_serialize___ngw__getSettingsRequest(soap, (const struct __ngw__getSettingsRequest *)ptr); + break; + case SOAP_TYPE___ngw__getRuleListRequest: + soap_serialize___ngw__getRuleListRequest(soap, (const struct __ngw__getRuleListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getProxyListRequest: + soap_serialize___ngw__getProxyListRequest(soap, (const struct __ngw__getProxyListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getProxyAccessListRequest: + soap_serialize___ngw__getProxyAccessListRequest(soap, (const struct __ngw__getProxyAccessListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getQuickMessagesRequest: + soap_serialize___ngw__getQuickMessagesRequest(soap, (const struct __ngw__getQuickMessagesRequest *)ptr); + break; + case SOAP_TYPE___ngw__getLibraryListRequest: + soap_serialize___ngw__getLibraryListRequest(soap, (const struct __ngw__getLibraryListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getLibraryItemRequest: + soap_serialize___ngw__getLibraryItemRequest(soap, (const struct __ngw__getLibraryItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__getJunkMailSettingsRequest: + soap_serialize___ngw__getJunkMailSettingsRequest(soap, (const struct __ngw__getJunkMailSettingsRequest *)ptr); + break; + case SOAP_TYPE___ngw__getJunkEntriesRequest: + soap_serialize___ngw__getJunkEntriesRequest(soap, (const struct __ngw__getJunkEntriesRequest *)ptr); + break; + case SOAP_TYPE___ngw__getItemsRequest: + soap_serialize___ngw__getItemsRequest(soap, (const struct __ngw__getItemsRequest *)ptr); + break; + case SOAP_TYPE___ngw__getItemRequest: + soap_serialize___ngw__getItemRequest(soap, (const struct __ngw__getItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__getFreeBusyRequest: + soap_serialize___ngw__getFreeBusyRequest(soap, (const struct __ngw__getFreeBusyRequest *)ptr); + break; + case SOAP_TYPE___ngw__getFolderListRequest: + soap_serialize___ngw__getFolderListRequest(soap, (const struct __ngw__getFolderListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getFolderRequest: + soap_serialize___ngw__getFolderRequest(soap, (const struct __ngw__getFolderRequest *)ptr); + break; + case SOAP_TYPE___ngw__getDocumentTypeListRequest: + soap_serialize___ngw__getDocumentTypeListRequest(soap, (const struct __ngw__getDocumentTypeListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getDeltaInfoRequest: + soap_serialize___ngw__getDeltaInfoRequest(soap, (const struct __ngw__getDeltaInfoRequest *)ptr); + break; + case SOAP_TYPE___ngw__getDeltasRequest: + soap_serialize___ngw__getDeltasRequest(soap, (const struct __ngw__getDeltasRequest *)ptr); + break; + case SOAP_TYPE___ngw__getCustomListRequest: + soap_serialize___ngw__getCustomListRequest(soap, (const struct __ngw__getCustomListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getCategoryListRequest: + soap_serialize___ngw__getCategoryListRequest(soap, (const struct __ngw__getCategoryListRequest *)ptr); + break; + case SOAP_TYPE___ngw__getAttachmentRequestMessage: + soap_serialize___ngw__getAttachmentRequestMessage(soap, (const struct __ngw__getAttachmentRequestMessage *)ptr); + break; + case SOAP_TYPE___ngw__getAddressBookListRequest: + soap_serialize___ngw__getAddressBookListRequest(soap, (const struct __ngw__getAddressBookListRequest *)ptr); + break; + case SOAP_TYPE___ngw__forwardRequest: + soap_serialize___ngw__forwardRequest(soap, (const struct __ngw__forwardRequest *)ptr); + break; + case SOAP_TYPE___ngw__executeRuleRequest: + soap_serialize___ngw__executeRuleRequest(soap, (const struct __ngw__executeRuleRequest *)ptr); + break; + case SOAP_TYPE___ngw__destroyCursorRequest: + soap_serialize___ngw__destroyCursorRequest(soap, (const struct __ngw__destroyCursorRequest *)ptr); + break; + case SOAP_TYPE___ngw__delegateRequest: + soap_serialize___ngw__delegateRequest(soap, (const struct __ngw__delegateRequest *)ptr); + break; + case SOAP_TYPE___ngw__declineRequest: + soap_serialize___ngw__declineRequest(soap, (const struct __ngw__declineRequest *)ptr); + break; + case SOAP_TYPE___ngw__createSignatureRequest: + soap_serialize___ngw__createSignatureRequest(soap, (const struct __ngw__createSignatureRequest *)ptr); + break; + case SOAP_TYPE___ngw__createProxyAccessRequest: + soap_serialize___ngw__createProxyAccessRequest(soap, (const struct __ngw__createProxyAccessRequest *)ptr); + break; + case SOAP_TYPE___ngw__createJunkEntryRequest: + soap_serialize___ngw__createJunkEntryRequest(soap, (const struct __ngw__createJunkEntryRequest *)ptr); + break; + case SOAP_TYPE___ngw__createItemsRequest: + soap_serialize___ngw__createItemsRequest(soap, (const struct __ngw__createItemsRequest *)ptr); + break; + case SOAP_TYPE___ngw__createItemRequest: + soap_serialize___ngw__createItemRequest(soap, (const struct __ngw__createItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__createCursorRequest: + soap_serialize___ngw__createCursorRequest(soap, (const struct __ngw__createCursorRequest *)ptr); + break; + case SOAP_TYPE___ngw__completeRequest: + soap_serialize___ngw__completeRequest(soap, (const struct __ngw__completeRequest *)ptr); + break; + case SOAP_TYPE___ngw__closeFreeBusySessionRequest: + soap_serialize___ngw__closeFreeBusySessionRequest(soap, (const struct __ngw__closeFreeBusySessionRequest *)ptr); + break; + case SOAP_TYPE___ngw__addMembersRequest: + soap_serialize___ngw__addMembersRequest(soap, (const struct __ngw__addMembersRequest *)ptr); + break; + case SOAP_TYPE___ngw__addItemsRequest: + soap_serialize___ngw__addItemsRequest(soap, (const struct __ngw__addItemsRequest *)ptr); + break; + case SOAP_TYPE___ngw__addItemRequest: + soap_serialize___ngw__addItemRequest(soap, (const struct __ngw__addItemRequest *)ptr); + break; + case SOAP_TYPE___ngw__acceptShareRequest: + soap_serialize___ngw__acceptShareRequest(soap, (const struct __ngw__acceptShareRequest *)ptr); + break; + case SOAP_TYPE___ngw__acceptRequest: + soap_serialize___ngw__acceptRequest(soap, (const struct __ngw__acceptRequest *)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__removeEventsResponse: + soap_serialize_PointerTo_ngwe__removeEventsResponse(soap, (_ngwe__removeEventsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__removeEventsRequest: + soap_serialize_PointerTo_ngwe__removeEventsRequest(soap, (_ngwe__removeEventsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse: + soap_serialize_PointerTo_ngwe__removeEventConfigurationResponse(soap, (_ngwe__removeEventConfigurationResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest: + soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(soap, (_ngwe__removeEventConfigurationRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__getEventsResponse: + soap_serialize_PointerTo_ngwe__getEventsResponse(soap, (_ngwe__getEventsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__getEventsRequest: + soap_serialize_PointerTo_ngwe__getEventsRequest(soap, (_ngwe__getEventsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse: + soap_serialize_PointerTo_ngwe__getEventConfigurationResponse(soap, (_ngwe__getEventConfigurationResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest: + soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(soap, (_ngwe__getEventConfigurationRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__configureEventsResponse: + soap_serialize_PointerTo_ngwe__configureEventsResponse(soap, (_ngwe__configureEventsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__configureEventsRequest: + soap_serialize_PointerTo_ngwe__configureEventsRequest(soap, (_ngwe__configureEventsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse: + soap_serialize_PointerTo_ngwe__cleanEventConfigurationResponse(soap, (_ngwe__cleanEventConfigurationResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest: + soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(soap, (_ngwe__cleanEventConfigurationRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse: + soap_serialize_PointerTo_ngwm__updateVersionStatusResponse(soap, (_ngwm__updateVersionStatusResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest: + soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(soap, (_ngwm__updateVersionStatusRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__uncompleteResponse: + soap_serialize_PointerTo_ngwm__uncompleteResponse(soap, (_ngwm__uncompleteResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__uncompleteRequest: + soap_serialize_PointerTo_ngwm__uncompleteRequest(soap, (_ngwm__uncompleteRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__unacceptResponse: + soap_serialize_PointerTo_ngwm__unacceptResponse(soap, (_ngwm__unacceptResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__unacceptRequest: + soap_serialize_PointerTo_ngwm__unacceptRequest(soap, (_ngwm__unacceptRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse: + soap_serialize_PointerTo_ngwm__startFreeBusySessionResponse(soap, (_ngwm__startFreeBusySessionResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest: + soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(soap, (_ngwm__startFreeBusySessionRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__setTimestampResponse: + soap_serialize_PointerTo_ngwm__setTimestampResponse(soap, (_ngwm__setTimestampResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__setTimestampRequest: + soap_serialize_PointerTo_ngwm__setTimestampRequest(soap, (_ngwm__setTimestampRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__sendItemResponse: + soap_serialize_PointerTo_ngwm__sendItemResponse(soap, (_ngwm__sendItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__sendItemRequest: + soap_serialize_PointerTo_ngwm__sendItemRequest(soap, (_ngwm__sendItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__retractResponse: + soap_serialize_PointerTo_ngwm__retractResponse(soap, (_ngwm__retractResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__retractRequest: + soap_serialize_PointerTo_ngwm__retractRequest(soap, (_ngwm__retractRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__replyResponse: + soap_serialize_PointerTo_ngwm__replyResponse(soap, (_ngwm__replyResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__replyRequest: + soap_serialize_PointerTo_ngwm__replyRequest(soap, (_ngwm__replyRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse: + soap_serialize_PointerTo_ngwm__removeSignatureResponse(soap, (_ngwm__removeSignatureResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest: + soap_serialize_PointerTo_ngwm__removeSignatureRequest(soap, (_ngwm__removeSignatureRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse: + soap_serialize_PointerTo_ngwm__removeProxyUserResponse(soap, (_ngwm__removeProxyUserResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest: + soap_serialize_PointerTo_ngwm__removeProxyUserRequest(soap, (_ngwm__removeProxyUserRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse: + soap_serialize_PointerTo_ngwm__removeProxyAccessResponse(soap, (_ngwm__removeProxyAccessResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest: + soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(soap, (_ngwm__removeProxyAccessRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeMembersResponse: + soap_serialize_PointerTo_ngwm__removeMembersResponse(soap, (_ngwm__removeMembersResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeMembersRequest: + soap_serialize_PointerTo_ngwm__removeMembersRequest(soap, (_ngwm__removeMembersRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse: + soap_serialize_PointerTo_ngwm__removeJunkEntryResponse(soap, (_ngwm__removeJunkEntryResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest: + soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(soap, (_ngwm__removeJunkEntryRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeItemsResponse: + soap_serialize_PointerTo_ngwm__removeItemsResponse(soap, (_ngwm__removeItemsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeItemsRequest: + soap_serialize_PointerTo_ngwm__removeItemsRequest(soap, (_ngwm__removeItemsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeItemResponse: + soap_serialize_PointerTo_ngwm__removeItemResponse(soap, (_ngwm__removeItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeItemRequest: + soap_serialize_PointerTo_ngwm__removeItemRequest(soap, (_ngwm__removeItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse: + soap_serialize_PointerTo_ngwm__removeCustomDefinitionResponse(soap, (_ngwm__removeCustomDefinitionResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest: + soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(soap, (_ngwm__removeCustomDefinitionRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__readCursorResponse: + soap_serialize_PointerTo_ngwm__readCursorResponse(soap, (_ngwm__readCursorResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__readCursorRequest: + soap_serialize_PointerTo_ngwm__readCursorRequest(soap, (_ngwm__readCursorRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__purgeResponse: + soap_serialize_PointerTo_ngwm__purgeResponse(soap, (_ngwm__purgeResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__purgeRequest: + soap_serialize_PointerTo_ngwm__purgeRequest(soap, (_ngwm__purgeRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse: + soap_serialize_PointerTo_ngwm__purgeDeletedItemsResponse(soap, (_ngwm__purgeDeletedItemsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest: + soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(soap, (_ngwm__purgeDeletedItemsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__positionCursorResponse: + soap_serialize_PointerTo_ngwm__positionCursorResponse(soap, (_ngwm__positionCursorResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__positionCursorRequest: + soap_serialize_PointerTo_ngwm__positionCursorRequest(soap, (_ngwm__positionCursorRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__moveItemResponse: + soap_serialize_PointerTo_ngwm__moveItemResponse(soap, (_ngwm__moveItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__moveItemRequest: + soap_serialize_PointerTo_ngwm__moveItemRequest(soap, (_ngwm__moveItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse: + soap_serialize_PointerTo_ngwm__modifySignaturesResponse(soap, (_ngwm__modifySignaturesResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest: + soap_serialize_PointerTo_ngwm__modifySignaturesRequest(soap, (_ngwm__modifySignaturesRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse: + soap_serialize_PointerTo_ngwm__modifySettingsResponse(soap, (_ngwm__modifySettingsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest: + soap_serialize_PointerTo_ngwm__modifySettingsRequest(soap, (_ngwm__modifySettingsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse: + soap_serialize_PointerTo_ngwm__modifyProxyAccessResponse(soap, (_ngwm__modifyProxyAccessResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest: + soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(soap, (_ngwm__modifyProxyAccessRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse: + soap_serialize_PointerTo_ngwm__modifyPasswordResponse(soap, (_ngwm__modifyPasswordResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest: + soap_serialize_PointerTo_ngwm__modifyPasswordRequest(soap, (_ngwm__modifyPasswordRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse: + soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, (_ngwm__modifyJunkMailSettingsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest: + soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, (_ngwm__modifyJunkMailSettingsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse: + soap_serialize_PointerTo_ngwm__modifyJunkEntryResponse(soap, (_ngwm__modifyJunkEntryResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest: + soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(soap, (_ngwm__modifyJunkEntryRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyItemResponse: + soap_serialize_PointerTo_ngwm__modifyItemResponse(soap, (_ngwm__modifyItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__modifyItemRequest: + soap_serialize_PointerTo_ngwm__modifyItemRequest(soap, (_ngwm__modifyItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markUnReadResponse: + soap_serialize_PointerTo_ngwm__markUnReadResponse(soap, (_ngwm__markUnReadResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markUnReadRequest: + soap_serialize_PointerTo_ngwm__markUnReadRequest(soap, (_ngwm__markUnReadRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse: + soap_serialize_PointerTo_ngwm__markUnPrivateResponse(soap, (_ngwm__markUnPrivateResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest: + soap_serialize_PointerTo_ngwm__markUnPrivateRequest(soap, (_ngwm__markUnPrivateRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markReadResponse: + soap_serialize_PointerTo_ngwm__markReadResponse(soap, (_ngwm__markReadResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markReadRequest: + soap_serialize_PointerTo_ngwm__markReadRequest(soap, (_ngwm__markReadRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markPrivateResponse: + soap_serialize_PointerTo_ngwm__markPrivateResponse(soap, (_ngwm__markPrivateResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__markPrivateRequest: + soap_serialize_PointerTo_ngwm__markPrivateRequest(soap, (_ngwm__markPrivateRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__logoutResponse: + soap_serialize_PointerTo_ngwm__logoutResponse(soap, (_ngwm__logoutResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__logoutRequest: + soap_serialize_PointerTo_ngwm__logoutRequest(soap, (_ngwm__logoutRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__loginResponse: + soap_serialize_PointerTo_ngwm__loginResponse(soap, (_ngwm__loginResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__loginRequest: + soap_serialize_PointerTo_ngwm__loginRequest(soap, (_ngwm__loginRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getUserListResponse: + soap_serialize_PointerTo_ngwm__getUserListResponse(soap, (_ngwm__getUserListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getUserListRequest: + soap_serialize_PointerTo_ngwm__getUserListRequest(soap, (_ngwm__getUserListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse: + soap_serialize_PointerTo_ngwm__getTimezoneListResponse(soap, (_ngwm__getTimezoneListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest: + soap_serialize_PointerTo_ngwm__getTimezoneListRequest(soap, (_ngwm__getTimezoneListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getTimestampResponse: + soap_serialize_PointerTo_ngwm__getTimestampResponse(soap, (_ngwm__getTimestampResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getTimestampRequest: + soap_serialize_PointerTo_ngwm__getTimestampRequest(soap, (_ngwm__getTimestampRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse: + soap_serialize_PointerTo_ngwm__getSignaturesResponse(soap, (_ngwm__getSignaturesResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest: + soap_serialize_PointerTo_ngwm__getSignaturesRequest(soap, (_ngwm__getSignaturesRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getSettingsResponse: + soap_serialize_PointerTo_ngwm__getSettingsResponse(soap, (_ngwm__getSettingsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getSettingsRequest: + soap_serialize_PointerTo_ngwm__getSettingsRequest(soap, (_ngwm__getSettingsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getRuleListResponse: + soap_serialize_PointerTo_ngwm__getRuleListResponse(soap, (_ngwm__getRuleListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getRuleListRequest: + soap_serialize_PointerTo_ngwm__getRuleListRequest(soap, (_ngwm__getRuleListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getProxyListResponse: + soap_serialize_PointerTo_ngwm__getProxyListResponse(soap, (_ngwm__getProxyListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getProxyListRequest: + soap_serialize_PointerTo_ngwm__getProxyListRequest(soap, (_ngwm__getProxyListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse: + soap_serialize_PointerTo_ngwm__getProxyAccessListResponse(soap, (_ngwm__getProxyAccessListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest: + soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(soap, (_ngwm__getProxyAccessListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse: + soap_serialize_PointerTo_ngwm__getQuickMessagesResponse(soap, (_ngwm__getQuickMessagesResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest: + soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(soap, (_ngwm__getQuickMessagesRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse: + soap_serialize_PointerTo_ngwm__getLibraryListResponse(soap, (_ngwm__getLibraryListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest: + soap_serialize_PointerTo_ngwm__getLibraryListRequest(soap, (_ngwm__getLibraryListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse: + soap_serialize_PointerTo_ngwm__getLibraryItemResponse(soap, (_ngwm__getLibraryItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest: + soap_serialize_PointerTo_ngwm__getLibraryItemRequest(soap, (_ngwm__getLibraryItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse: + soap_serialize_PointerTo_ngwm__getJunkMailSettingsResponse(soap, (_ngwm__getJunkMailSettingsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest: + soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(soap, (_ngwm__getJunkMailSettingsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse: + soap_serialize_PointerTo_ngwm__getJunkEntriesResponse(soap, (_ngwm__getJunkEntriesResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest: + soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(soap, (_ngwm__getJunkEntriesRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getItemsResponse: + soap_serialize_PointerTo_ngwm__getItemsResponse(soap, (_ngwm__getItemsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getItemsRequest: + soap_serialize_PointerTo_ngwm__getItemsRequest(soap, (_ngwm__getItemsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getItemResponse: + soap_serialize_PointerTo_ngwm__getItemResponse(soap, (_ngwm__getItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getItemRequest: + soap_serialize_PointerTo_ngwm__getItemRequest(soap, (_ngwm__getItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse: + soap_serialize_PointerTo_ngwm__getFreeBusyResponse(soap, (_ngwm__getFreeBusyResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest: + soap_serialize_PointerTo_ngwm__getFreeBusyRequest(soap, (_ngwm__getFreeBusyRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getFolderListResponse: + soap_serialize_PointerTo_ngwm__getFolderListResponse(soap, (_ngwm__getFolderListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getFolderListRequest: + soap_serialize_PointerTo_ngwm__getFolderListRequest(soap, (_ngwm__getFolderListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getFolderResponse: + soap_serialize_PointerTo_ngwm__getFolderResponse(soap, (_ngwm__getFolderResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getFolderRequest: + soap_serialize_PointerTo_ngwm__getFolderRequest(soap, (_ngwm__getFolderRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse: + soap_serialize_PointerTo_ngwm__getDocumentTypeListResponse(soap, (_ngwm__getDocumentTypeListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest: + soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(soap, (_ngwm__getDocumentTypeListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse: + soap_serialize_PointerTo_ngwm__getDeltaInfoResponse(soap, (_ngwm__getDeltaInfoResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest: + soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(soap, (_ngwm__getDeltaInfoRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getDeltasResponse: + soap_serialize_PointerTo_ngwm__getDeltasResponse(soap, (_ngwm__getDeltasResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getDeltasRequest: + soap_serialize_PointerTo_ngwm__getDeltasRequest(soap, (_ngwm__getDeltasRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getCustomListResponse: + soap_serialize_PointerTo_ngwm__getCustomListResponse(soap, (_ngwm__getCustomListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getCustomListRequest: + soap_serialize_PointerTo_ngwm__getCustomListRequest(soap, (_ngwm__getCustomListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse: + soap_serialize_PointerTo_ngwm__getCategoryListResponse(soap, (_ngwm__getCategoryListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest: + soap_serialize_PointerTo_ngwm__getCategoryListRequest(soap, (_ngwm__getCategoryListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse: + soap_serialize_PointerTo_ngwm__getAttachmentResponse(soap, (_ngwm__getAttachmentResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest: + soap_serialize_PointerTo_ngwm__getAttachmentRequest(soap, (_ngwm__getAttachmentRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse: + soap_serialize_PointerTo_ngwm__getAddressBookListResponse(soap, (_ngwm__getAddressBookListResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest: + soap_serialize_PointerTo_ngwm__getAddressBookListRequest(soap, (_ngwm__getAddressBookListRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__forwardResponse: + soap_serialize_PointerTo_ngwm__forwardResponse(soap, (_ngwm__forwardResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__forwardRequest: + soap_serialize_PointerTo_ngwm__forwardRequest(soap, (_ngwm__forwardRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__executeRuleResponse: + soap_serialize_PointerTo_ngwm__executeRuleResponse(soap, (_ngwm__executeRuleResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__executeRuleRequest: + soap_serialize_PointerTo_ngwm__executeRuleRequest(soap, (_ngwm__executeRuleRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse: + soap_serialize_PointerTo_ngwm__destroyCursorResponse(soap, (_ngwm__destroyCursorResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest: + soap_serialize_PointerTo_ngwm__destroyCursorRequest(soap, (_ngwm__destroyCursorRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__delegateResponse: + soap_serialize_PointerTo_ngwm__delegateResponse(soap, (_ngwm__delegateResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__delegateRequest: + soap_serialize_PointerTo_ngwm__delegateRequest(soap, (_ngwm__delegateRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__declineResponse: + soap_serialize_PointerTo_ngwm__declineResponse(soap, (_ngwm__declineResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__declineRequest: + soap_serialize_PointerTo_ngwm__declineRequest(soap, (_ngwm__declineRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createSignatureResponse: + soap_serialize_PointerTo_ngwm__createSignatureResponse(soap, (_ngwm__createSignatureResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createSignatureRequest: + soap_serialize_PointerTo_ngwm__createSignatureRequest(soap, (_ngwm__createSignatureRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse: + soap_serialize_PointerTo_ngwm__createProxyAccessResponse(soap, (_ngwm__createProxyAccessResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest: + soap_serialize_PointerTo_ngwm__createProxyAccessRequest(soap, (_ngwm__createProxyAccessRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse: + soap_serialize_PointerTo_ngwm__createJunkEntryResponse(soap, (_ngwm__createJunkEntryResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest: + soap_serialize_PointerTo_ngwm__createJunkEntryRequest(soap, (_ngwm__createJunkEntryRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createItemsResponse: + soap_serialize_PointerTo_ngwm__createItemsResponse(soap, (_ngwm__createItemsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createItemsRequest: + soap_serialize_PointerTo_ngwm__createItemsRequest(soap, (_ngwm__createItemsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createItemResponse: + soap_serialize_PointerTo_ngwm__createItemResponse(soap, (_ngwm__createItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createItemRequest: + soap_serialize_PointerTo_ngwm__createItemRequest(soap, (_ngwm__createItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createCursorResponse: + soap_serialize_PointerTo_ngwm__createCursorResponse(soap, (_ngwm__createCursorResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__createCursorRequest: + soap_serialize_PointerTo_ngwm__createCursorRequest(soap, (_ngwm__createCursorRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__completeResponse: + soap_serialize_PointerTo_ngwm__completeResponse(soap, (_ngwm__completeResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__completeRequest: + soap_serialize_PointerTo_ngwm__completeRequest(soap, (_ngwm__completeRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse: + soap_serialize_PointerTo_ngwm__closeFreeBusySessionResponse(soap, (_ngwm__closeFreeBusySessionResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest: + soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(soap, (_ngwm__closeFreeBusySessionRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__addMembersResponse: + soap_serialize_PointerTo_ngwm__addMembersResponse(soap, (_ngwm__addMembersResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__addMembersRequest: + soap_serialize_PointerTo_ngwm__addMembersRequest(soap, (_ngwm__addMembersRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__addItemsResponse: + soap_serialize_PointerTo_ngwm__addItemsResponse(soap, (_ngwm__addItemsResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__addItemsRequest: + soap_serialize_PointerTo_ngwm__addItemsRequest(soap, (_ngwm__addItemsRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__addItemResponse: + soap_serialize_PointerTo_ngwm__addItemResponse(soap, (_ngwm__addItemResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__addItemRequest: + soap_serialize_PointerTo_ngwm__addItemRequest(soap, (_ngwm__addItemRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__acceptShareResponse: + soap_serialize_PointerTo_ngwm__acceptShareResponse(soap, (_ngwm__acceptShareResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__acceptShareRequest: + soap_serialize_PointerTo_ngwm__acceptShareRequest(soap, (_ngwm__acceptShareRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__acceptResponse: + soap_serialize_PointerTo_ngwm__acceptResponse(soap, (_ngwm__acceptResponse *const*)ptr); + break; + case SOAP_TYPE_PointerTo_ngwm__acceptRequest: + soap_serialize_PointerTo_ngwm__acceptRequest(soap, (_ngwm__acceptRequest *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Alarm: + soap_serialize_PointerTongwt__Alarm(soap, (ngwt__Alarm *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__PhoneFlags: + soap_serialize_PointerTongwt__PhoneFlags(soap, (ngwt__PhoneFlags *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RecurrenceRule: + soap_serialize_PointerTongwt__RecurrenceRule(soap, (ngwt__RecurrenceRule *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RecurrenceDateType: + soap_serialize_PointerTongwt__RecurrenceDateType(soap, (ngwt__RecurrenceDateType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SMimeOperation: + soap_serialize_PointerTongwt__SMimeOperation(soap, (ngwt__SMimeOperation *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__LinkInfo: + soap_serialize_PointerTongwt__LinkInfo(soap, (ngwt__LinkInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemOptions: + soap_serialize_PointerTongwt__ItemOptions(soap, (ngwt__ItemOptions *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AttachmentInfo: + soap_serialize_PointerTongwt__AttachmentInfo(soap, (ngwt__AttachmentInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__MessageBody: + soap_serialize_PointerTongwt__MessageBody(soap, (ngwt__MessageBody *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ReferenceInfo: + soap_serialize_PointerTongwt__ReferenceInfo(soap, (ngwt__ReferenceInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__PersonalInfo: + soap_serialize_PointerTongwt__PersonalInfo(soap, (ngwt__PersonalInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__OfficeInfo: + soap_serialize_PointerTongwt__OfficeInfo(soap, (ngwt__OfficeInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__PostalAddressList: + soap_serialize_PointerTongwt__PostalAddressList(soap, (ngwt__PostalAddressList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__PhoneList: + soap_serialize_PointerTongwt__PhoneList(soap, (ngwt__PhoneList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ImAddressList: + soap_serialize_PointerTongwt__ImAddressList(soap, (ngwt__ImAddressList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__EmailAddressList: + soap_serialize_PointerTongwt__EmailAddressList(soap, (ngwt__EmailAddressList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FullName: + soap_serialize_PointerTongwt__FullName(soap, (ngwt__FullName *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__VersionStatus: + soap_serialize_PointerTongwt__VersionStatus(soap, (enum ngwt__VersionStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FolderACL: + soap_serialize_PointerTongwt__FolderACL(soap, (ngwt__FolderACL *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RuleActionList: + soap_serialize_PointerTongwt__RuleActionList(soap, (ngwt__RuleActionList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Execution: + soap_serialize_PointerTongwt__Execution(soap, (enum ngwt__Execution *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Query: + soap_serialize_PointerTongwt__Query(soap, (ngwt__Query *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FolderACLStatus: + soap_serialize_PointerTongwt__FolderACLStatus(soap, (enum ngwt__FolderACLStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessControlList: + soap_serialize_PointerTongwt__AccessControlList(soap, (ngwt__AccessControlList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__WeekOfYear: + soap_serialize_PointerTongwt__WeekOfYear(soap, (short *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__OccurrenceType: + soap_serialize_PointerTongwt__OccurrenceType(soap, (enum ngwt__OccurrenceType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemSecurity: + soap_serialize_PointerTongwt__ItemSecurity(soap, (enum ngwt__ItemSecurity *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemClass: + soap_serialize_PointerTongwt__ItemClass(soap, (enum ngwt__ItemClass *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemSource: + soap_serialize_PointerTongwt__ItemSource(soap, (enum ngwt__ItemSource *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemStatus: + soap_serialize_PointerTongwt__ItemStatus(soap, (ngwt__ItemStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DeltaSyncType: + soap_serialize_PointerTongwt__DeltaSyncType(soap, (enum ngwt__DeltaSyncType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RecipientStatus: + soap_serialize_PointerTongwt__RecipientStatus(soap, (ngwt__RecipientStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FreeBusyBlockList: + soap_serialize_PointerTongwt__FreeBusyBlockList(soap, (ngwt__FreeBusyBlockList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CalendarFolderAttribute: + soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, (ngwt__CalendarFolderAttribute *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FilterDate: + soap_serialize_PointerTongwt__FilterDate(soap, (enum ngwt__FilterDate *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ContainerRef: + soap_serialize_PointerTongwt__ContainerRef(soap, (ngwt__ContainerRef *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CategoryType: + soap_serialize_PointerTongwt__CategoryType(soap, (enum ngwt__CategoryType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessMiscRight: + soap_serialize_PointerTongwt__AccessMiscRight(soap, (ngwt__AccessMiscRight *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessRight: + soap_serialize_PointerTongwt__AccessRight(soap, (ngwt__AccessRight *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Rights: + soap_serialize_PointerTongwt__Rights(soap, (ngwt__Rights *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__EventList: + soap_serialize_PointerTongwe__EventList(soap, (ngwe__EventList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__EventsList: + soap_serialize_PointerTongwe__EventsList(soap, (ngwe__EventsList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__Events: + soap_serialize_PointerTongwe__Events(soap, (ngwe__Events *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__EventDefinition: + soap_serialize_PointerTongwe__EventDefinition(soap, (ngwe__EventDefinition *const*)ptr); + break; + case SOAP_TYPE_PointerToxsd__duration: + soap_serialize_PointerToxsd__duration(soap, (std::string *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__Event: + soap_serialize_PointerTongwe__Event(soap, (ngwe__Event *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__ContainerList: + soap_serialize_PointerTongwe__ContainerList(soap, (ngwe__ContainerList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__ItemTypeList: + soap_serialize_PointerTongwe__ItemTypeList(soap, (enum ngwe__ItemTypeList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__EventTypeList: + soap_serialize_PointerTongwe__EventTypeList(soap, (ngwe__EventTypeList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__ItemType: + soap_serialize_PointerTongwe__ItemType(soap, (enum ngwe__ItemType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwe__FieldList: + soap_serialize_PointerTongwe__FieldList(soap, (enum ngwe__FieldList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FreeBusyUserList: + soap_serialize_PointerTongwt__FreeBusyUserList(soap, (ngwt__FreeBusyUserList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RetractType: + soap_serialize_PointerTongwt__RetractType(soap, (enum ngwt__RetractType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemList: + soap_serialize_PointerTongwt__ItemList(soap, (ngwt__ItemList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CursorSeek: + soap_serialize_PointerTongwt__CursorSeek(soap, (enum ngwt__CursorSeek *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessRightChanges: + soap_serialize_PointerTongwt__AccessRightChanges(soap, (ngwt__AccessRightChanges *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ModifyItem: + soap_serialize_PointerTongwt__ModifyItem(soap, (ngwt__ModifyItem *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Host: + soap_serialize_PointerTongwt__Host(soap, (ngwt__Host *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Authentication: + soap_serialize_PointerTongwt__Authentication(soap, (ngwt__Authentication *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__UserList: + soap_serialize_PointerTongwt__UserList(soap, (ngwt__UserList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__TimezoneList: + soap_serialize_PointerTongwt__TimezoneList(soap, (ngwt__TimezoneList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Signatures: + soap_serialize_PointerTongwt__Signatures(soap, (ngwt__Signatures *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Settings: + soap_serialize_PointerTongwt__Settings(soap, (ngwt__Settings *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RuleList: + soap_serialize_PointerTongwt__RuleList(soap, (ngwt__RuleList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ProxyList: + soap_serialize_PointerTongwt__ProxyList(soap, (ngwt__ProxyList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessRightList: + soap_serialize_PointerTongwt__AccessRightList(soap, (ngwt__AccessRightList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__LibraryList: + soap_serialize_PointerTongwt__LibraryList(soap, (ngwt__LibraryList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SettingsList: + soap_serialize_PointerTongwt__SettingsList(soap, (ngwt__SettingsList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__JunkHandlingList: + soap_serialize_PointerTongwt__JunkHandlingList(soap, (ngwt__JunkHandlingList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FreeBusyInfoList: + soap_serialize_PointerTongwt__FreeBusyInfoList(soap, (ngwt__FreeBusyInfoList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FreeBusyStats: + soap_serialize_PointerTongwt__FreeBusyStats(soap, (ngwt__FreeBusyStats *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FolderList: + soap_serialize_PointerTongwt__FolderList(soap, (ngwt__FolderList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemSourceList: + soap_serialize_PointerTongwt__ItemSourceList(soap, (enum ngwt__ItemSourceList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__MessageTypeList: + soap_serialize_PointerTongwt__MessageTypeList(soap, (enum ngwt__MessageTypeList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FolderType: + soap_serialize_PointerTongwt__FolderType(soap, (enum ngwt__FolderType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DocumentTypeList: + soap_serialize_PointerTongwt__DocumentTypeList(soap, (ngwt__DocumentTypeList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Items: + soap_serialize_PointerTongwt__Items(soap, (ngwt__Items *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DeltaInfo: + soap_serialize_PointerTongwt__DeltaInfo(soap, (ngwt__DeltaInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CustomList: + soap_serialize_PointerTongwt__CustomList(soap, (ngwt__CustomList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CategoryList: + soap_serialize_PointerTongwt__CategoryList(soap, (ngwt__CategoryList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AddressBookList: + soap_serialize_PointerTongwt__AddressBookList(soap, (ngwt__AddressBookList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Distribution: + soap_serialize_PointerTongwt__Distribution(soap, (ngwt__Distribution *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__View: + soap_serialize_PointerTongwt__View(soap, (std::string *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Status: + soap_serialize_PointerTongwt__Status(soap, (ngwt__Status *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemRefList: + soap_serialize_PointerTongwt__ItemRefList(soap, (ngwt__ItemRefList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__UserInfo: + soap_serialize_PointerTongwt__UserInfo(soap, (ngwt__UserInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RecipientType: + soap_serialize_PointerTongwt__RecipientType(soap, (enum ngwt__RecipientType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Timezone: + soap_serialize_PointerTongwt__Timezone(soap, (ngwt__Timezone *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Minute: + soap_serialize_PointerTongwt__Minute(soap, (unsigned char *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Hour: + soap_serialize_PointerTongwt__Hour(soap, (unsigned char *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DayOfWeek: + soap_serialize_PointerTongwt__DayOfWeek(soap, (ngwt__DayOfWeek *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Day: + soap_serialize_PointerTongwt__Day(soap, (unsigned char *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Month: + soap_serialize_PointerTongwt__Month(soap, (unsigned char *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__TimezoneComponent: + soap_serialize_PointerTongwt__TimezoneComponent(soap, (ngwt__TimezoneComponent *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ProblemList: + soap_serialize_PointerTongwt__ProblemList(soap, (ngwt__ProblemList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Signature: + soap_serialize_PointerTongwt__Signature(soap, (ngwt__Signature *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SignatureData: + soap_serialize_PointerTongwt__SignatureData(soap, (ngwt__SignatureData *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SettingsGroup: + soap_serialize_PointerTongwt__SettingsGroup(soap, (ngwt__SettingsGroup *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ReturnNotification: + soap_serialize_PointerTongwt__ReturnNotification(soap, (ngwt__ReturnNotification *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__StatusTracking: + soap_serialize_PointerTongwt__StatusTracking(soap, (ngwt__StatusTracking *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SendOptionsRequestReply: + soap_serialize_PointerTongwt__SendOptionsRequestReply(soap, (ngwt__SendOptionsRequestReply *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Rule: + soap_serialize_PointerTongwt__Rule(soap, (ngwt__Rule *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RuleAction: + soap_serialize_PointerTongwt__RuleAction(soap, (ngwt__RuleAction *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CategoryRefList: + soap_serialize_PointerTongwt__CategoryRefList(soap, (ngwt__CategoryRefList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Mail: + soap_serialize_PointerTongwt__Mail(soap, (ngwt__Mail *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ReturnNotificationOptions: + soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, (ngwt__ReturnNotificationOptions *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__MonthList: + soap_serialize_PointerTongwt__MonthList(soap, (ngwt__MonthList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DayOfYearList: + soap_serialize_PointerTongwt__DayOfYearList(soap, (ngwt__DayOfYearList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DayOfMonthList: + soap_serialize_PointerTongwt__DayOfMonthList(soap, (ngwt__DayOfMonthList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DayOfYearWeekList: + soap_serialize_PointerTongwt__DayOfYearWeekList(soap, (ngwt__DayOfYearWeekList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Frequency: + soap_serialize_PointerTongwt__Frequency(soap, (enum ngwt__Frequency *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DelegateeStatus: + soap_serialize_PointerTongwt__DelegateeStatus(soap, (ngwt__DelegateeStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DelegatedStatus: + soap_serialize_PointerTongwt__DelegatedStatus(soap, (ngwt__DelegatedStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CommentStatus: + soap_serialize_PointerTongwt__CommentStatus(soap, (ngwt__CommentStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__TransferFailedStatus: + soap_serialize_PointerTongwt__TransferFailedStatus(soap, (ngwt__TransferFailedStatus *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Recipient: + soap_serialize_PointerTongwt__Recipient(soap, (ngwt__Recipient *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Filter: + soap_serialize_PointerTongwt__Filter(soap, (ngwt__Filter *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__QueryTarget: + soap_serialize_PointerTongwt__QueryTarget(soap, (ngwt__QueryTarget *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ProxyUser: + soap_serialize_PointerTongwt__ProxyUser(soap, (ngwt__ProxyUser *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ProblemEntry: + soap_serialize_PointerTongwt__ProblemEntry(soap, (ngwt__ProblemEntry *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__PostalAddress: + soap_serialize_PointerTongwt__PostalAddress(soap, (ngwt__PostalAddress *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__PhoneNumber: + soap_serialize_PointerTongwt__PhoneNumber(soap, (ngwt__PhoneNumber *const*)ptr); + break; + case SOAP_TYPE_PointerToxsd__date: + soap_serialize_PointerToxsd__date(soap, (std::string *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemRef: + soap_serialize_PointerTongwt__ItemRef(soap, (ngwt__ItemRef *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__UUID: + soap_serialize_PointerTongwt__UUID(soap, (std::string *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SharedFolderNotification: + soap_serialize_PointerTongwt__SharedFolderNotification(soap, (ngwt__SharedFolderNotification *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__MessagePart: + soap_serialize_PointerTongwt__MessagePart(soap, (ngwt__MessagePart *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Library: + soap_serialize_PointerTongwt__Library(soap, (ngwt__Library *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__JunkEntry: + soap_serialize_PointerTongwt__JunkEntry(soap, (ngwt__JunkEntry *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__JunkHandlingListType: + soap_serialize_PointerTongwt__JunkHandlingListType(soap, (enum ngwt__JunkHandlingListType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Item: + soap_serialize_PointerTongwt__Item(soap, (ngwt__Item *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ItemChanges: + soap_serialize_PointerTongwt__ItemChanges(soap, (ngwt__ItemChanges *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__ImAddress: + soap_serialize_PointerTongwt__ImAddress(soap, (ngwt__ImAddress *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__GroupMember: + soap_serialize_PointerTongwt__GroupMember(soap, (ngwt__GroupMember *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__GroupMemberList: + soap_serialize_PointerTongwt__GroupMemberList(soap, (ngwt__GroupMemberList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FreeBusyInfo: + soap_serialize_PointerTongwt__FreeBusyInfo(soap, (ngwt__FreeBusyInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__NameAndEmail: + soap_serialize_PointerTongwt__NameAndEmail(soap, (ngwt__NameAndEmail *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AcceptLevel: + soap_serialize_PointerTongwt__AcceptLevel(soap, (enum ngwt__AcceptLevel *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FreeBusyBlock: + soap_serialize_PointerTongwt__FreeBusyBlock(soap, (ngwt__FreeBusyBlock *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Folder: + soap_serialize_PointerTongwt__Folder(soap, (ngwt__Folder *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FolderACLEntry: + soap_serialize_PointerTongwt__FolderACLEntry(soap, (ngwt__FolderACLEntry *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__FilterElement: + soap_serialize_PointerTongwt__FilterElement(soap, (ngwt__FilterElement *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DocumentType: + soap_serialize_PointerTongwt__DocumentType(soap, (ngwt__DocumentType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AgeAction: + soap_serialize_PointerTongwt__AgeAction(soap, (enum ngwt__AgeAction *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__SendOptions: + soap_serialize_PointerTongwt__SendOptions(soap, (ngwt__SendOptions *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__RecipientList: + soap_serialize_PointerTongwt__RecipientList(soap, (ngwt__RecipientList *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__From: + soap_serialize_PointerTongwt__From(soap, (ngwt__From *const*)ptr); + break; + case SOAP_TYPE_PointerToint: + soap_serialize_PointerToint(soap, (int *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__DayOfYearWeek: + soap_serialize_PointerTongwt__DayOfYearWeek(soap, (ngwt__DayOfYearWeek *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Custom: + soap_serialize_PointerTongwt__Custom(soap, (ngwt__Custom *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__CustomType: + soap_serialize_PointerTongwt__CustomType(soap, (enum ngwt__CustomType *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__uid: + soap_serialize_PointerTongwt__uid(soap, (std::string *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__Category: + soap_serialize_PointerTongwt__Category(soap, (ngwt__Category *const*)ptr); + break; + case SOAP_TYPE_PointerToxsd__base64Binary: + soap_serialize_PointerToxsd__base64Binary(soap, (xsd__base64Binary *const*)ptr); + break; + case SOAP_TYPE_PointerTounsignedLong: + soap_serialize_PointerTounsignedLong(soap, (unsigned long *const*)ptr); + break; + case SOAP_TYPE_PointerTostd__string: + soap_serialize_PointerTostd__string(soap, (std::string *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AttachmentID: + soap_serialize_PointerTongwt__AttachmentID(soap, (ngwt__AttachmentID *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AttachmentItemInfo: + soap_serialize_PointerTongwt__AttachmentItemInfo(soap, (ngwt__AttachmentItemInfo *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AddressBook: + soap_serialize_PointerTongwt__AddressBook(soap, (ngwt__AddressBook *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessRightEntry: + soap_serialize_PointerTongwt__AccessRightEntry(soap, (ngwt__AccessRightEntry *const*)ptr); + break; + case SOAP_TYPE_PointerTobool: + soap_serialize_PointerTobool(soap, (bool *const*)ptr); + break; + case SOAP_TYPE_PointerTongwt__AccessControlListEntry: + soap_serialize_PointerTongwt__AccessControlListEntry(soap, (ngwt__AccessControlListEntry *const*)ptr); + break; + case SOAP_TYPE_PointerTounsignedByte: + soap_serialize_PointerTounsignedByte(soap, (unsigned char *const*)ptr); + break; + case SOAP_TYPE__QName: + soap_serialize_string(soap, (char**)&ptr); + break; + case SOAP_TYPE_string: + soap_serialize_string(soap, (char**)&ptr); + break; + } +} +#endif + +SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n) +{ + switch (t) + { + case SOAP_TYPE_xsd__base64Binary: + return (void*)soap_instantiate_xsd__base64Binary(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__string: + return (void*)soap_instantiate_std__string(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessControlList: + return (void*)soap_instantiate_ngwt__AccessControlList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessMiscRight: + return (void*)soap_instantiate_ngwt__AccessMiscRight(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessRight: + return (void*)soap_instantiate_ngwt__AccessRight(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessRightChanges: + return (void*)soap_instantiate_ngwt__AccessRightChanges(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessRightList: + return (void*)soap_instantiate_ngwt__AccessRightList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AddressBookList: + return (void*)soap_instantiate_ngwt__AddressBookList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AttachmentInfo: + return (void*)soap_instantiate_ngwt__AttachmentInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AttachmentItemInfo: + return (void*)soap_instantiate_ngwt__AttachmentItemInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Authentication: + return (void*)soap_instantiate_ngwt__Authentication(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__CalendarFolderAttribute: + return (void*)soap_instantiate_ngwt__CalendarFolderAttribute(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__CategoryList: + return (void*)soap_instantiate_ngwt__CategoryList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__CategoryRefList: + return (void*)soap_instantiate_ngwt__CategoryRefList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Custom: + return (void*)soap_instantiate_ngwt__Custom(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__CustomList: + return (void*)soap_instantiate_ngwt__CustomList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DayOfMonthList: + return (void*)soap_instantiate_ngwt__DayOfMonthList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DayOfYearList: + return (void*)soap_instantiate_ngwt__DayOfYearList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DayOfYearWeekList: + return (void*)soap_instantiate_ngwt__DayOfYearWeekList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DeltaInfo: + return (void*)soap_instantiate_ngwt__DeltaInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Distribution: + return (void*)soap_instantiate_ngwt__Distribution(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DocumentType: + return (void*)soap_instantiate_ngwt__DocumentType(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DocumentTypeList: + return (void*)soap_instantiate_ngwt__DocumentTypeList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__EmailAddressList: + return (void*)soap_instantiate_ngwt__EmailAddressList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Filter: + return (void*)soap_instantiate_ngwt__Filter(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FilterElement: + return (void*)soap_instantiate_ngwt__FilterElement(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FolderACL: + return (void*)soap_instantiate_ngwt__FolderACL(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FolderList: + return (void*)soap_instantiate_ngwt__FolderList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FreeBusyBlockList: + return (void*)soap_instantiate_ngwt__FreeBusyBlockList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FreeBusyBlock: + return (void*)soap_instantiate_ngwt__FreeBusyBlock(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FreeBusyUserList: + return (void*)soap_instantiate_ngwt__FreeBusyUserList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FreeBusyInfoList: + return (void*)soap_instantiate_ngwt__FreeBusyInfoList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FreeBusyStats: + return (void*)soap_instantiate_ngwt__FreeBusyStats(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FullName: + return (void*)soap_instantiate_ngwt__FullName(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__GroupMember: + return (void*)soap_instantiate_ngwt__GroupMember(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__GroupMemberList: + return (void*)soap_instantiate_ngwt__GroupMemberList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Host: + return (void*)soap_instantiate_ngwt__Host(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ImAddress: + return (void*)soap_instantiate_ngwt__ImAddress(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ImAddressList: + return (void*)soap_instantiate_ngwt__ImAddressList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Item: + return (void*)soap_instantiate_ngwt__Item(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ItemChanges: + return (void*)soap_instantiate_ngwt__ItemChanges(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ItemList: + return (void*)soap_instantiate_ngwt__ItemList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ItemOptions: + return (void*)soap_instantiate_ngwt__ItemOptions(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ItemRefList: + return (void*)soap_instantiate_ngwt__ItemRefList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Items: + return (void*)soap_instantiate_ngwt__Items(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ItemStatus: + return (void*)soap_instantiate_ngwt__ItemStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__JunkEntry: + return (void*)soap_instantiate_ngwt__JunkEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__JunkHandlingList: + return (void*)soap_instantiate_ngwt__JunkHandlingList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__LibraryList: + return (void*)soap_instantiate_ngwt__LibraryList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__LinkInfo: + return (void*)soap_instantiate_ngwt__LinkInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__MessageBody: + return (void*)soap_instantiate_ngwt__MessageBody(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ModifyItem: + return (void*)soap_instantiate_ngwt__ModifyItem(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__MonthList: + return (void*)soap_instantiate_ngwt__MonthList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__NameAndEmail: + return (void*)soap_instantiate_ngwt__NameAndEmail(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__OfficeInfo: + return (void*)soap_instantiate_ngwt__OfficeInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PersonalInfo: + return (void*)soap_instantiate_ngwt__PersonalInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PhoneFlags: + return (void*)soap_instantiate_ngwt__PhoneFlags(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PhoneList: + return (void*)soap_instantiate_ngwt__PhoneList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PostalAddress: + return (void*)soap_instantiate_ngwt__PostalAddress(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PostalAddressList: + return (void*)soap_instantiate_ngwt__PostalAddressList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ProblemEntry: + return (void*)soap_instantiate_ngwt__ProblemEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ProblemList: + return (void*)soap_instantiate_ngwt__ProblemList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ProxyList: + return (void*)soap_instantiate_ngwt__ProxyList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Query: + return (void*)soap_instantiate_ngwt__Query(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__QueryTarget: + return (void*)soap_instantiate_ngwt__QueryTarget(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RecipientList: + return (void*)soap_instantiate_ngwt__RecipientList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RecipientStatus: + return (void*)soap_instantiate_ngwt__RecipientStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RecurrenceDateType: + return (void*)soap_instantiate_ngwt__RecurrenceDateType(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RecurrenceRule: + return (void*)soap_instantiate_ngwt__RecurrenceRule(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ReferenceInfo: + return (void*)soap_instantiate_ngwt__ReferenceInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ReturnNotification: + return (void*)soap_instantiate_ngwt__ReturnNotification(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ReturnNotificationOptions: + return (void*)soap_instantiate_ngwt__ReturnNotificationOptions(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Rights: + return (void*)soap_instantiate_ngwt__Rights(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RuleAction: + return (void*)soap_instantiate_ngwt__RuleAction(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RuleActionList: + return (void*)soap_instantiate_ngwt__RuleActionList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__RuleList: + return (void*)soap_instantiate_ngwt__RuleList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SendOptionsRequestReply: + return (void*)soap_instantiate_ngwt__SendOptionsRequestReply(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SendOptions: + return (void*)soap_instantiate_ngwt__SendOptions(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Settings: + return (void*)soap_instantiate_ngwt__Settings(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SettingsGroup: + return (void*)soap_instantiate_ngwt__SettingsGroup(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SettingsList: + return (void*)soap_instantiate_ngwt__SettingsList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SharedFolderNotification: + return (void*)soap_instantiate_ngwt__SharedFolderNotification(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Signature: + return (void*)soap_instantiate_ngwt__Signature(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Signatures: + return (void*)soap_instantiate_ngwt__Signatures(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SignatureData: + return (void*)soap_instantiate_ngwt__SignatureData(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SMimeOperation: + return (void*)soap_instantiate_ngwt__SMimeOperation(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Status: + return (void*)soap_instantiate_ngwt__Status(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Timezone: + return (void*)soap_instantiate_ngwt__Timezone(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__TimezoneComponent: + return (void*)soap_instantiate_ngwt__TimezoneComponent(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__TimezoneList: + return (void*)soap_instantiate_ngwt__TimezoneList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__UserInfo: + return (void*)soap_instantiate_ngwt__UserInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__UserList: + return (void*)soap_instantiate_ngwt__UserList(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__acceptRequest: + return (void*)soap_instantiate__ngwm__acceptRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__acceptResponse: + return (void*)soap_instantiate__ngwm__acceptResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__acceptShareRequest: + return (void*)soap_instantiate__ngwm__acceptShareRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__acceptShareResponse: + return (void*)soap_instantiate__ngwm__acceptShareResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__addItemRequest: + return (void*)soap_instantiate__ngwm__addItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__addItemResponse: + return (void*)soap_instantiate__ngwm__addItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__addItemsRequest: + return (void*)soap_instantiate__ngwm__addItemsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__addItemsResponse: + return (void*)soap_instantiate__ngwm__addItemsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__addMembersRequest: + return (void*)soap_instantiate__ngwm__addMembersRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__addMembersResponse: + return (void*)soap_instantiate__ngwm__addMembersResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__closeFreeBusySessionRequest: + return (void*)soap_instantiate__ngwm__closeFreeBusySessionRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__closeFreeBusySessionResponse: + return (void*)soap_instantiate__ngwm__closeFreeBusySessionResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__completeRequest: + return (void*)soap_instantiate__ngwm__completeRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__completeResponse: + return (void*)soap_instantiate__ngwm__completeResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createCursorRequest: + return (void*)soap_instantiate__ngwm__createCursorRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createCursorResponse: + return (void*)soap_instantiate__ngwm__createCursorResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createItemRequest: + return (void*)soap_instantiate__ngwm__createItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createItemResponse: + return (void*)soap_instantiate__ngwm__createItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createItemsRequest: + return (void*)soap_instantiate__ngwm__createItemsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createItemsResponse: + return (void*)soap_instantiate__ngwm__createItemsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createJunkEntryRequest: + return (void*)soap_instantiate__ngwm__createJunkEntryRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createJunkEntryResponse: + return (void*)soap_instantiate__ngwm__createJunkEntryResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createProxyAccessRequest: + return (void*)soap_instantiate__ngwm__createProxyAccessRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createProxyAccessResponse: + return (void*)soap_instantiate__ngwm__createProxyAccessResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createSignatureRequest: + return (void*)soap_instantiate__ngwm__createSignatureRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__createSignatureResponse: + return (void*)soap_instantiate__ngwm__createSignatureResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__declineRequest: + return (void*)soap_instantiate__ngwm__declineRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__declineResponse: + return (void*)soap_instantiate__ngwm__declineResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__delegateRequest: + return (void*)soap_instantiate__ngwm__delegateRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__delegateResponse: + return (void*)soap_instantiate__ngwm__delegateResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__destroyCursorRequest: + return (void*)soap_instantiate__ngwm__destroyCursorRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__destroyCursorResponse: + return (void*)soap_instantiate__ngwm__destroyCursorResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__executeRuleRequest: + return (void*)soap_instantiate__ngwm__executeRuleRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__executeRuleResponse: + return (void*)soap_instantiate__ngwm__executeRuleResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__forwardRequest: + return (void*)soap_instantiate__ngwm__forwardRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__forwardResponse: + return (void*)soap_instantiate__ngwm__forwardResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getAddressBookListRequest: + return (void*)soap_instantiate__ngwm__getAddressBookListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getAddressBookListResponse: + return (void*)soap_instantiate__ngwm__getAddressBookListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getAttachmentRequest: + return (void*)soap_instantiate__ngwm__getAttachmentRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getAttachmentResponse: + return (void*)soap_instantiate__ngwm__getAttachmentResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getCategoryListRequest: + return (void*)soap_instantiate__ngwm__getCategoryListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getCategoryListResponse: + return (void*)soap_instantiate__ngwm__getCategoryListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getCustomListRequest: + return (void*)soap_instantiate__ngwm__getCustomListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getCustomListResponse: + return (void*)soap_instantiate__ngwm__getCustomListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getDeltasRequest: + return (void*)soap_instantiate__ngwm__getDeltasRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getDeltasResponse: + return (void*)soap_instantiate__ngwm__getDeltasResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getDeltaInfoRequest: + return (void*)soap_instantiate__ngwm__getDeltaInfoRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getDeltaInfoResponse: + return (void*)soap_instantiate__ngwm__getDeltaInfoResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getDocumentTypeListRequest: + return (void*)soap_instantiate__ngwm__getDocumentTypeListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getDocumentTypeListResponse: + return (void*)soap_instantiate__ngwm__getDocumentTypeListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getFolderRequest: + return (void*)soap_instantiate__ngwm__getFolderRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getFolderResponse: + return (void*)soap_instantiate__ngwm__getFolderResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getFolderListRequest: + return (void*)soap_instantiate__ngwm__getFolderListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getFolderListResponse: + return (void*)soap_instantiate__ngwm__getFolderListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getFreeBusyRequest: + return (void*)soap_instantiate__ngwm__getFreeBusyRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getFreeBusyResponse: + return (void*)soap_instantiate__ngwm__getFreeBusyResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getItemRequest: + return (void*)soap_instantiate__ngwm__getItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getItemResponse: + return (void*)soap_instantiate__ngwm__getItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getItemsRequest: + return (void*)soap_instantiate__ngwm__getItemsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getItemsResponse: + return (void*)soap_instantiate__ngwm__getItemsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getJunkEntriesRequest: + return (void*)soap_instantiate__ngwm__getJunkEntriesRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getJunkEntriesResponse: + return (void*)soap_instantiate__ngwm__getJunkEntriesResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getJunkMailSettingsRequest: + return (void*)soap_instantiate__ngwm__getJunkMailSettingsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getJunkMailSettingsResponse: + return (void*)soap_instantiate__ngwm__getJunkMailSettingsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getLibraryItemRequest: + return (void*)soap_instantiate__ngwm__getLibraryItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getLibraryItemResponse: + return (void*)soap_instantiate__ngwm__getLibraryItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getLibraryListRequest: + return (void*)soap_instantiate__ngwm__getLibraryListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getLibraryListResponse: + return (void*)soap_instantiate__ngwm__getLibraryListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getQuickMessagesRequest: + return (void*)soap_instantiate__ngwm__getQuickMessagesRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getQuickMessagesResponse: + return (void*)soap_instantiate__ngwm__getQuickMessagesResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getProxyAccessListRequest: + return (void*)soap_instantiate__ngwm__getProxyAccessListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getProxyAccessListResponse: + return (void*)soap_instantiate__ngwm__getProxyAccessListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getProxyListRequest: + return (void*)soap_instantiate__ngwm__getProxyListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getProxyListResponse: + return (void*)soap_instantiate__ngwm__getProxyListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getRuleListRequest: + return (void*)soap_instantiate__ngwm__getRuleListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getRuleListResponse: + return (void*)soap_instantiate__ngwm__getRuleListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getSettingsRequest: + return (void*)soap_instantiate__ngwm__getSettingsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getSettingsResponse: + return (void*)soap_instantiate__ngwm__getSettingsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getSignaturesRequest: + return (void*)soap_instantiate__ngwm__getSignaturesRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getSignaturesResponse: + return (void*)soap_instantiate__ngwm__getSignaturesResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getTimestampRequest: + return (void*)soap_instantiate__ngwm__getTimestampRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getTimestampResponse: + return (void*)soap_instantiate__ngwm__getTimestampResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getTimezoneListRequest: + return (void*)soap_instantiate__ngwm__getTimezoneListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getTimezoneListResponse: + return (void*)soap_instantiate__ngwm__getTimezoneListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getUserListRequest: + return (void*)soap_instantiate__ngwm__getUserListRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__getUserListResponse: + return (void*)soap_instantiate__ngwm__getUserListResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__loginRequest: + return (void*)soap_instantiate__ngwm__loginRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__loginResponse: + return (void*)soap_instantiate__ngwm__loginResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__logoutRequest: + return (void*)soap_instantiate__ngwm__logoutRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__logoutResponse: + return (void*)soap_instantiate__ngwm__logoutResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markPrivateRequest: + return (void*)soap_instantiate__ngwm__markPrivateRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markPrivateResponse: + return (void*)soap_instantiate__ngwm__markPrivateResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markReadRequest: + return (void*)soap_instantiate__ngwm__markReadRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markReadResponse: + return (void*)soap_instantiate__ngwm__markReadResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markUnPrivateRequest: + return (void*)soap_instantiate__ngwm__markUnPrivateRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markUnPrivateResponse: + return (void*)soap_instantiate__ngwm__markUnPrivateResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markUnReadRequest: + return (void*)soap_instantiate__ngwm__markUnReadRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__markUnReadResponse: + return (void*)soap_instantiate__ngwm__markUnReadResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyItemRequest: + return (void*)soap_instantiate__ngwm__modifyItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyItemResponse: + return (void*)soap_instantiate__ngwm__modifyItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyItemsRequest: + return (void*)soap_instantiate__ngwm__modifyItemsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyItemsResponse: + return (void*)soap_instantiate__ngwm__modifyItemsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyJunkEntryRequest: + return (void*)soap_instantiate__ngwm__modifyJunkEntryRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyJunkEntryResponse: + return (void*)soap_instantiate__ngwm__modifyJunkEntryResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest: + return (void*)soap_instantiate__ngwm__modifyJunkMailSettingsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse: + return (void*)soap_instantiate__ngwm__modifyJunkMailSettingsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyPasswordRequest: + return (void*)soap_instantiate__ngwm__modifyPasswordRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyPasswordResponse: + return (void*)soap_instantiate__ngwm__modifyPasswordResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyProxyAccessRequest: + return (void*)soap_instantiate__ngwm__modifyProxyAccessRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifyProxyAccessResponse: + return (void*)soap_instantiate__ngwm__modifyProxyAccessResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifySettingsRequest: + return (void*)soap_instantiate__ngwm__modifySettingsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifySettingsResponse: + return (void*)soap_instantiate__ngwm__modifySettingsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifySignaturesRequest: + return (void*)soap_instantiate__ngwm__modifySignaturesRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__modifySignaturesResponse: + return (void*)soap_instantiate__ngwm__modifySignaturesResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__moveItemRequest: + return (void*)soap_instantiate__ngwm__moveItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__moveItemResponse: + return (void*)soap_instantiate__ngwm__moveItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__positionCursorRequest: + return (void*)soap_instantiate__ngwm__positionCursorRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__positionCursorResponse: + return (void*)soap_instantiate__ngwm__positionCursorResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__purgeDeletedItemsRequest: + return (void*)soap_instantiate__ngwm__purgeDeletedItemsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__purgeDeletedItemsResponse: + return (void*)soap_instantiate__ngwm__purgeDeletedItemsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__purgeRequest: + return (void*)soap_instantiate__ngwm__purgeRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__purgeResponse: + return (void*)soap_instantiate__ngwm__purgeResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__readCursorRequest: + return (void*)soap_instantiate__ngwm__readCursorRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__readCursorResponse: + return (void*)soap_instantiate__ngwm__readCursorResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeCustomDefinitionRequest: + return (void*)soap_instantiate__ngwm__removeCustomDefinitionRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeCustomDefinitionResponse: + return (void*)soap_instantiate__ngwm__removeCustomDefinitionResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeItemRequest: + return (void*)soap_instantiate__ngwm__removeItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeItemResponse: + return (void*)soap_instantiate__ngwm__removeItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeItemsRequest: + return (void*)soap_instantiate__ngwm__removeItemsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeItemsResponse: + return (void*)soap_instantiate__ngwm__removeItemsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeJunkEntryRequest: + return (void*)soap_instantiate__ngwm__removeJunkEntryRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeJunkEntryResponse: + return (void*)soap_instantiate__ngwm__removeJunkEntryResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeMembersRequest: + return (void*)soap_instantiate__ngwm__removeMembersRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeMembersResponse: + return (void*)soap_instantiate__ngwm__removeMembersResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeProxyAccessRequest: + return (void*)soap_instantiate__ngwm__removeProxyAccessRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeProxyAccessResponse: + return (void*)soap_instantiate__ngwm__removeProxyAccessResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeProxyUserRequest: + return (void*)soap_instantiate__ngwm__removeProxyUserRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeProxyUserResponse: + return (void*)soap_instantiate__ngwm__removeProxyUserResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeSignatureRequest: + return (void*)soap_instantiate__ngwm__removeSignatureRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__removeSignatureResponse: + return (void*)soap_instantiate__ngwm__removeSignatureResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__replyRequest: + return (void*)soap_instantiate__ngwm__replyRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__replyResponse: + return (void*)soap_instantiate__ngwm__replyResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__retractRequest: + return (void*)soap_instantiate__ngwm__retractRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__retractResponse: + return (void*)soap_instantiate__ngwm__retractResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__sendItemRequest: + return (void*)soap_instantiate__ngwm__sendItemRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__sendItemResponse: + return (void*)soap_instantiate__ngwm__sendItemResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__setTimestampRequest: + return (void*)soap_instantiate__ngwm__setTimestampRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__setTimestampResponse: + return (void*)soap_instantiate__ngwm__setTimestampResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__startFreeBusySessionRequest: + return (void*)soap_instantiate__ngwm__startFreeBusySessionRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__startFreeBusySessionResponse: + return (void*)soap_instantiate__ngwm__startFreeBusySessionResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__unacceptRequest: + return (void*)soap_instantiate__ngwm__unacceptRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__unacceptResponse: + return (void*)soap_instantiate__ngwm__unacceptResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__uncompleteRequest: + return (void*)soap_instantiate__ngwm__uncompleteRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__uncompleteResponse: + return (void*)soap_instantiate__ngwm__uncompleteResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__updateVersionStatusRequest: + return (void*)soap_instantiate__ngwm__updateVersionStatusRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwm__updateVersionStatusResponse: + return (void*)soap_instantiate__ngwm__updateVersionStatusResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__ContainerList: + return (void*)soap_instantiate_ngwe__ContainerList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__Event: + return (void*)soap_instantiate_ngwe__Event(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__EventDefinition: + return (void*)soap_instantiate_ngwe__EventDefinition(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__EventList: + return (void*)soap_instantiate_ngwe__EventList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__Events: + return (void*)soap_instantiate_ngwe__Events(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__EventsList: + return (void*)soap_instantiate_ngwe__EventsList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__EventTypeList: + return (void*)soap_instantiate_ngwe__EventTypeList(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwe__Notify: + return (void*)soap_instantiate_ngwe__Notify(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__cleanEventConfigurationRequest: + return (void*)soap_instantiate__ngwe__cleanEventConfigurationRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__cleanEventConfigurationResponse: + return (void*)soap_instantiate__ngwe__cleanEventConfigurationResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__configureEventsRequest: + return (void*)soap_instantiate__ngwe__configureEventsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__configureEventsResponse: + return (void*)soap_instantiate__ngwe__configureEventsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__getEventConfigurationRequest: + return (void*)soap_instantiate__ngwe__getEventConfigurationRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__getEventConfigurationResponse: + return (void*)soap_instantiate__ngwe__getEventConfigurationResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__getEventsRequest: + return (void*)soap_instantiate__ngwe__getEventsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__getEventsResponse: + return (void*)soap_instantiate__ngwe__getEventsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__removeEventConfigurationRequest: + return (void*)soap_instantiate__ngwe__removeEventConfigurationRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__removeEventConfigurationResponse: + return (void*)soap_instantiate__ngwe__removeEventConfigurationResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__removeEventsRequest: + return (void*)soap_instantiate__ngwe__removeEventsRequest(soap, -1, type, arrayType, n); + case SOAP_TYPE__ngwe__removeEventsResponse: + return (void*)soap_instantiate__ngwe__removeEventsResponse(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessControlListEntry: + return (void*)soap_instantiate_ngwt__AccessControlListEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AccessRightEntry: + return (void*)soap_instantiate_ngwt__AccessRightEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AddressBook: + return (void*)soap_instantiate_ngwt__AddressBook(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Alarm: + return (void*)soap_instantiate_ngwt__Alarm(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Category: + return (void*)soap_instantiate_ngwt__Category(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__CommentStatus: + return (void*)soap_instantiate_ngwt__CommentStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ContainerItem: + return (void*)soap_instantiate_ngwt__ContainerItem(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ContainerRef: + return (void*)soap_instantiate_ngwt__ContainerRef(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DelegatedStatus: + return (void*)soap_instantiate_ngwt__DelegatedStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DelegateeStatus: + return (void*)soap_instantiate_ngwt__DelegateeStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FilterEntry: + return (void*)soap_instantiate_ngwt__FilterEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FilterGroup: + return (void*)soap_instantiate_ngwt__FilterGroup(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Folder: + return (void*)soap_instantiate_ngwt__Folder(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FreeBusyInfo: + return (void*)soap_instantiate_ngwt__FreeBusyInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__From: + return (void*)soap_instantiate_ngwt__From(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ItemRef: + return (void*)soap_instantiate_ngwt__ItemRef(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Library: + return (void*)soap_instantiate_ngwt__Library(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__MessagePart: + return (void*)soap_instantiate_ngwt__MessagePart(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PhoneNumber: + return (void*)soap_instantiate_ngwt__PhoneNumber(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PlainText: + return (void*)soap_instantiate_ngwt__PlainText(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Proxy: + return (void*)soap_instantiate_ngwt__Proxy(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ProxyUser: + return (void*)soap_instantiate_ngwt__ProxyUser(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Recipient: + return (void*)soap_instantiate_ngwt__Recipient(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__TransferFailedStatus: + return (void*)soap_instantiate_ngwt__TransferFailedStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__TrustedApplication: + return (void*)soap_instantiate_ngwt__TrustedApplication(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AddressBookItem: + return (void*)soap_instantiate_ngwt__AddressBookItem(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__AttachmentID: + return (void*)soap_instantiate_ngwt__AttachmentID(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__BoxEntry: + return (void*)soap_instantiate_ngwt__BoxEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DayOfWeek: + return (void*)soap_instantiate_ngwt__DayOfWeek(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DayOfYearWeek: + return (void*)soap_instantiate_ngwt__DayOfYearWeek(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Document: + return (void*)soap_instantiate_ngwt__Document(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__FolderACLEntry: + return (void*)soap_instantiate_ngwt__FolderACLEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__QueryFolder: + return (void*)soap_instantiate_ngwt__QueryFolder(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Rule: + return (void*)soap_instantiate_ngwt__Rule(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SharedFolder: + return (void*)soap_instantiate_ngwt__SharedFolder(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__StatusTracking: + return (void*)soap_instantiate_ngwt__StatusTracking(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SystemFolder: + return (void*)soap_instantiate_ngwt__SystemFolder(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Version: + return (void*)soap_instantiate_ngwt__Version(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__VersionEvent: + return (void*)soap_instantiate_ngwt__VersionEvent(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Contact: + return (void*)soap_instantiate_ngwt__Contact(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__ContactFolder: + return (void*)soap_instantiate_ngwt__ContactFolder(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Group: + return (void*)soap_instantiate_ngwt__Group(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Mail: + return (void*)soap_instantiate_ngwt__Mail(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Organization: + return (void*)soap_instantiate_ngwt__Organization(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Resource: + return (void*)soap_instantiate_ngwt__Resource(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__CalendarItem: + return (void*)soap_instantiate_ngwt__CalendarItem(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__DocumentRef: + return (void*)soap_instantiate_ngwt__DocumentRef(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__PhoneMessage: + return (void*)soap_instantiate_ngwt__PhoneMessage(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__SharedNotification: + return (void*)soap_instantiate_ngwt__SharedNotification(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Appointment: + return (void*)soap_instantiate_ngwt__Appointment(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Note: + return (void*)soap_instantiate_ngwt__Note(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__Task: + return (void*)soap_instantiate_ngwt__Task(soap, -1, type, arrayType, n); + case SOAP_TYPE_SOAP_ENV__Header: + return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n); + case SOAP_TYPE_xsd__date: + return (void*)soap_instantiate_xsd__date(soap, -1, type, arrayType, n); + case SOAP_TYPE_xsd__decimal: + return (void*)soap_instantiate_xsd__decimal(soap, -1, type, arrayType, n); + case SOAP_TYPE_xsd__duration: + return (void*)soap_instantiate_xsd__duration(soap, -1, type, arrayType, n); + case SOAP_TYPE_xsd__language: + return (void*)soap_instantiate_xsd__language(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__View: + return (void*)soap_instantiate_ngwt__View(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__uid: + return (void*)soap_instantiate_ngwt__uid(soap, -1, type, arrayType, n); + case SOAP_TYPE_ngwt__UUID: + return (void*)soap_instantiate_ngwt__UUID(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfngwe__EventType: + return (void*)soap_instantiate_std__vectorTemplateOfngwe__EventType(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfstring: + return (void*)soap_instantiate_std__vectorTemplateOfstring(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfxsd__date: + return (void*)soap_instantiate_std__vectorTemplateOfxsd__date(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfngwt__Month: + return (void*)soap_instantiate_std__vectorTemplateOfngwt__Month(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfstd__string: + return (void*)soap_instantiate_std__vectorTemplateOfstd__string(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear: + return (void*)soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth: + return (void*)soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfngwt__uid: + return (void*)soap_instantiate_std__vectorTemplateOfngwt__uid(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags: + return (void*)soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, -1, type, arrayType, n); + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry: + return (void*)soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, -1, type, arrayType, n); + } + return NULL; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_fdelete(struct soap_clist *p) +{ switch (p->type) + { + case SOAP_TYPE_xsd__base64Binary: + if (p->size < 0) + delete (xsd__base64Binary*)p->ptr; + else + delete[] (xsd__base64Binary*)p->ptr; + break; + case SOAP_TYPE_std__string: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessControlList: + if (p->size < 0) + delete (ngwt__AccessControlList*)p->ptr; + else + delete[] (ngwt__AccessControlList*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessMiscRight: + if (p->size < 0) + delete (ngwt__AccessMiscRight*)p->ptr; + else + delete[] (ngwt__AccessMiscRight*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessRight: + if (p->size < 0) + delete (ngwt__AccessRight*)p->ptr; + else + delete[] (ngwt__AccessRight*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessRightChanges: + if (p->size < 0) + delete (ngwt__AccessRightChanges*)p->ptr; + else + delete[] (ngwt__AccessRightChanges*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessRightList: + if (p->size < 0) + delete (ngwt__AccessRightList*)p->ptr; + else + delete[] (ngwt__AccessRightList*)p->ptr; + break; + case SOAP_TYPE_ngwt__AddressBookList: + if (p->size < 0) + delete (ngwt__AddressBookList*)p->ptr; + else + delete[] (ngwt__AddressBookList*)p->ptr; + break; + case SOAP_TYPE_ngwt__AttachmentInfo: + if (p->size < 0) + delete (ngwt__AttachmentInfo*)p->ptr; + else + delete[] (ngwt__AttachmentInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__AttachmentItemInfo: + if (p->size < 0) + delete (ngwt__AttachmentItemInfo*)p->ptr; + else + delete[] (ngwt__AttachmentItemInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__Authentication: + if (p->size < 0) + delete (ngwt__Authentication*)p->ptr; + else + delete[] (ngwt__Authentication*)p->ptr; + break; + case SOAP_TYPE_ngwt__CalendarFolderAttribute: + if (p->size < 0) + delete (ngwt__CalendarFolderAttribute*)p->ptr; + else + delete[] (ngwt__CalendarFolderAttribute*)p->ptr; + break; + case SOAP_TYPE_ngwt__CategoryList: + if (p->size < 0) + delete (ngwt__CategoryList*)p->ptr; + else + delete[] (ngwt__CategoryList*)p->ptr; + break; + case SOAP_TYPE_ngwt__CategoryRefList: + if (p->size < 0) + delete (ngwt__CategoryRefList*)p->ptr; + else + delete[] (ngwt__CategoryRefList*)p->ptr; + break; + case SOAP_TYPE_ngwt__Custom: + if (p->size < 0) + delete (ngwt__Custom*)p->ptr; + else + delete[] (ngwt__Custom*)p->ptr; + break; + case SOAP_TYPE_ngwt__CustomList: + if (p->size < 0) + delete (ngwt__CustomList*)p->ptr; + else + delete[] (ngwt__CustomList*)p->ptr; + break; + case SOAP_TYPE_ngwt__DayOfMonthList: + if (p->size < 0) + delete (ngwt__DayOfMonthList*)p->ptr; + else + delete[] (ngwt__DayOfMonthList*)p->ptr; + break; + case SOAP_TYPE_ngwt__DayOfYearList: + if (p->size < 0) + delete (ngwt__DayOfYearList*)p->ptr; + else + delete[] (ngwt__DayOfYearList*)p->ptr; + break; + case SOAP_TYPE_ngwt__DayOfYearWeekList: + if (p->size < 0) + delete (ngwt__DayOfYearWeekList*)p->ptr; + else + delete[] (ngwt__DayOfYearWeekList*)p->ptr; + break; + case SOAP_TYPE_ngwt__DeltaInfo: + if (p->size < 0) + delete (ngwt__DeltaInfo*)p->ptr; + else + delete[] (ngwt__DeltaInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__Distribution: + if (p->size < 0) + delete (ngwt__Distribution*)p->ptr; + else + delete[] (ngwt__Distribution*)p->ptr; + break; + case SOAP_TYPE_ngwt__DocumentType: + if (p->size < 0) + delete (ngwt__DocumentType*)p->ptr; + else + delete[] (ngwt__DocumentType*)p->ptr; + break; + case SOAP_TYPE_ngwt__DocumentTypeList: + if (p->size < 0) + delete (ngwt__DocumentTypeList*)p->ptr; + else + delete[] (ngwt__DocumentTypeList*)p->ptr; + break; + case SOAP_TYPE_ngwt__EmailAddressList: + if (p->size < 0) + delete (ngwt__EmailAddressList*)p->ptr; + else + delete[] (ngwt__EmailAddressList*)p->ptr; + break; + case SOAP_TYPE_ngwt__Filter: + if (p->size < 0) + delete (ngwt__Filter*)p->ptr; + else + delete[] (ngwt__Filter*)p->ptr; + break; + case SOAP_TYPE_ngwt__FilterElement: + if (p->size < 0) + delete (ngwt__FilterElement*)p->ptr; + else + delete[] (ngwt__FilterElement*)p->ptr; + break; + case SOAP_TYPE_ngwt__FolderACL: + if (p->size < 0) + delete (ngwt__FolderACL*)p->ptr; + else + delete[] (ngwt__FolderACL*)p->ptr; + break; + case SOAP_TYPE_ngwt__FolderList: + if (p->size < 0) + delete (ngwt__FolderList*)p->ptr; + else + delete[] (ngwt__FolderList*)p->ptr; + break; + case SOAP_TYPE_ngwt__FreeBusyBlockList: + if (p->size < 0) + delete (ngwt__FreeBusyBlockList*)p->ptr; + else + delete[] (ngwt__FreeBusyBlockList*)p->ptr; + break; + case SOAP_TYPE_ngwt__FreeBusyBlock: + if (p->size < 0) + delete (ngwt__FreeBusyBlock*)p->ptr; + else + delete[] (ngwt__FreeBusyBlock*)p->ptr; + break; + case SOAP_TYPE_ngwt__FreeBusyUserList: + if (p->size < 0) + delete (ngwt__FreeBusyUserList*)p->ptr; + else + delete[] (ngwt__FreeBusyUserList*)p->ptr; + break; + case SOAP_TYPE_ngwt__FreeBusyInfoList: + if (p->size < 0) + delete (ngwt__FreeBusyInfoList*)p->ptr; + else + delete[] (ngwt__FreeBusyInfoList*)p->ptr; + break; + case SOAP_TYPE_ngwt__FreeBusyStats: + if (p->size < 0) + delete (ngwt__FreeBusyStats*)p->ptr; + else + delete[] (ngwt__FreeBusyStats*)p->ptr; + break; + case SOAP_TYPE_ngwt__FullName: + if (p->size < 0) + delete (ngwt__FullName*)p->ptr; + else + delete[] (ngwt__FullName*)p->ptr; + break; + case SOAP_TYPE_ngwt__GroupMember: + if (p->size < 0) + delete (ngwt__GroupMember*)p->ptr; + else + delete[] (ngwt__GroupMember*)p->ptr; + break; + case SOAP_TYPE_ngwt__GroupMemberList: + if (p->size < 0) + delete (ngwt__GroupMemberList*)p->ptr; + else + delete[] (ngwt__GroupMemberList*)p->ptr; + break; + case SOAP_TYPE_ngwt__Host: + if (p->size < 0) + delete (ngwt__Host*)p->ptr; + else + delete[] (ngwt__Host*)p->ptr; + break; + case SOAP_TYPE_ngwt__ImAddress: + if (p->size < 0) + delete (ngwt__ImAddress*)p->ptr; + else + delete[] (ngwt__ImAddress*)p->ptr; + break; + case SOAP_TYPE_ngwt__ImAddressList: + if (p->size < 0) + delete (ngwt__ImAddressList*)p->ptr; + else + delete[] (ngwt__ImAddressList*)p->ptr; + break; + case SOAP_TYPE_ngwt__Item: + if (p->size < 0) + delete (ngwt__Item*)p->ptr; + else + delete[] (ngwt__Item*)p->ptr; + break; + case SOAP_TYPE_ngwt__ItemChanges: + if (p->size < 0) + delete (ngwt__ItemChanges*)p->ptr; + else + delete[] (ngwt__ItemChanges*)p->ptr; + break; + case SOAP_TYPE_ngwt__ItemList: + if (p->size < 0) + delete (ngwt__ItemList*)p->ptr; + else + delete[] (ngwt__ItemList*)p->ptr; + break; + case SOAP_TYPE_ngwt__ItemOptions: + if (p->size < 0) + delete (ngwt__ItemOptions*)p->ptr; + else + delete[] (ngwt__ItemOptions*)p->ptr; + break; + case SOAP_TYPE_ngwt__ItemRefList: + if (p->size < 0) + delete (ngwt__ItemRefList*)p->ptr; + else + delete[] (ngwt__ItemRefList*)p->ptr; + break; + case SOAP_TYPE_ngwt__Items: + if (p->size < 0) + delete (ngwt__Items*)p->ptr; + else + delete[] (ngwt__Items*)p->ptr; + break; + case SOAP_TYPE_ngwt__ItemStatus: + if (p->size < 0) + delete (ngwt__ItemStatus*)p->ptr; + else + delete[] (ngwt__ItemStatus*)p->ptr; + break; + case SOAP_TYPE_ngwt__JunkEntry: + if (p->size < 0) + delete (ngwt__JunkEntry*)p->ptr; + else + delete[] (ngwt__JunkEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__JunkHandlingList: + if (p->size < 0) + delete (ngwt__JunkHandlingList*)p->ptr; + else + delete[] (ngwt__JunkHandlingList*)p->ptr; + break; + case SOAP_TYPE_ngwt__LibraryList: + if (p->size < 0) + delete (ngwt__LibraryList*)p->ptr; + else + delete[] (ngwt__LibraryList*)p->ptr; + break; + case SOAP_TYPE_ngwt__LinkInfo: + if (p->size < 0) + delete (ngwt__LinkInfo*)p->ptr; + else + delete[] (ngwt__LinkInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__MessageBody: + if (p->size < 0) + delete (ngwt__MessageBody*)p->ptr; + else + delete[] (ngwt__MessageBody*)p->ptr; + break; + case SOAP_TYPE_ngwt__ModifyItem: + if (p->size < 0) + delete (ngwt__ModifyItem*)p->ptr; + else + delete[] (ngwt__ModifyItem*)p->ptr; + break; + case SOAP_TYPE_ngwt__MonthList: + if (p->size < 0) + delete (ngwt__MonthList*)p->ptr; + else + delete[] (ngwt__MonthList*)p->ptr; + break; + case SOAP_TYPE_ngwt__NameAndEmail: + if (p->size < 0) + delete (ngwt__NameAndEmail*)p->ptr; + else + delete[] (ngwt__NameAndEmail*)p->ptr; + break; + case SOAP_TYPE_ngwt__OfficeInfo: + if (p->size < 0) + delete (ngwt__OfficeInfo*)p->ptr; + else + delete[] (ngwt__OfficeInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__PersonalInfo: + if (p->size < 0) + delete (ngwt__PersonalInfo*)p->ptr; + else + delete[] (ngwt__PersonalInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__PhoneFlags: + if (p->size < 0) + delete (ngwt__PhoneFlags*)p->ptr; + else + delete[] (ngwt__PhoneFlags*)p->ptr; + break; + case SOAP_TYPE_ngwt__PhoneList: + if (p->size < 0) + delete (ngwt__PhoneList*)p->ptr; + else + delete[] (ngwt__PhoneList*)p->ptr; + break; + case SOAP_TYPE_ngwt__PostalAddress: + if (p->size < 0) + delete (ngwt__PostalAddress*)p->ptr; + else + delete[] (ngwt__PostalAddress*)p->ptr; + break; + case SOAP_TYPE_ngwt__PostalAddressList: + if (p->size < 0) + delete (ngwt__PostalAddressList*)p->ptr; + else + delete[] (ngwt__PostalAddressList*)p->ptr; + break; + case SOAP_TYPE_ngwt__ProblemEntry: + if (p->size < 0) + delete (ngwt__ProblemEntry*)p->ptr; + else + delete[] (ngwt__ProblemEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__ProblemList: + if (p->size < 0) + delete (ngwt__ProblemList*)p->ptr; + else + delete[] (ngwt__ProblemList*)p->ptr; + break; + case SOAP_TYPE_ngwt__ProxyList: + if (p->size < 0) + delete (ngwt__ProxyList*)p->ptr; + else + delete[] (ngwt__ProxyList*)p->ptr; + break; + case SOAP_TYPE_ngwt__Query: + if (p->size < 0) + delete (ngwt__Query*)p->ptr; + else + delete[] (ngwt__Query*)p->ptr; + break; + case SOAP_TYPE_ngwt__QueryTarget: + if (p->size < 0) + delete (ngwt__QueryTarget*)p->ptr; + else + delete[] (ngwt__QueryTarget*)p->ptr; + break; + case SOAP_TYPE_ngwt__RecipientList: + if (p->size < 0) + delete (ngwt__RecipientList*)p->ptr; + else + delete[] (ngwt__RecipientList*)p->ptr; + break; + case SOAP_TYPE_ngwt__RecipientStatus: + if (p->size < 0) + delete (ngwt__RecipientStatus*)p->ptr; + else + delete[] (ngwt__RecipientStatus*)p->ptr; + break; + case SOAP_TYPE_ngwt__RecurrenceDateType: + if (p->size < 0) + delete (ngwt__RecurrenceDateType*)p->ptr; + else + delete[] (ngwt__RecurrenceDateType*)p->ptr; + break; + case SOAP_TYPE_ngwt__RecurrenceRule: + if (p->size < 0) + delete (ngwt__RecurrenceRule*)p->ptr; + else + delete[] (ngwt__RecurrenceRule*)p->ptr; + break; + case SOAP_TYPE_ngwt__ReferenceInfo: + if (p->size < 0) + delete (ngwt__ReferenceInfo*)p->ptr; + else + delete[] (ngwt__ReferenceInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__ReturnNotification: + if (p->size < 0) + delete (ngwt__ReturnNotification*)p->ptr; + else + delete[] (ngwt__ReturnNotification*)p->ptr; + break; + case SOAP_TYPE_ngwt__ReturnNotificationOptions: + if (p->size < 0) + delete (ngwt__ReturnNotificationOptions*)p->ptr; + else + delete[] (ngwt__ReturnNotificationOptions*)p->ptr; + break; + case SOAP_TYPE_ngwt__Rights: + if (p->size < 0) + delete (ngwt__Rights*)p->ptr; + else + delete[] (ngwt__Rights*)p->ptr; + break; + case SOAP_TYPE_ngwt__RuleAction: + if (p->size < 0) + delete (ngwt__RuleAction*)p->ptr; + else + delete[] (ngwt__RuleAction*)p->ptr; + break; + case SOAP_TYPE_ngwt__RuleActionList: + if (p->size < 0) + delete (ngwt__RuleActionList*)p->ptr; + else + delete[] (ngwt__RuleActionList*)p->ptr; + break; + case SOAP_TYPE_ngwt__RuleList: + if (p->size < 0) + delete (ngwt__RuleList*)p->ptr; + else + delete[] (ngwt__RuleList*)p->ptr; + break; + case SOAP_TYPE_ngwt__SendOptionsRequestReply: + if (p->size < 0) + delete (ngwt__SendOptionsRequestReply*)p->ptr; + else + delete[] (ngwt__SendOptionsRequestReply*)p->ptr; + break; + case SOAP_TYPE_ngwt__SendOptions: + if (p->size < 0) + delete (ngwt__SendOptions*)p->ptr; + else + delete[] (ngwt__SendOptions*)p->ptr; + break; + case SOAP_TYPE_ngwt__Settings: + if (p->size < 0) + delete (ngwt__Settings*)p->ptr; + else + delete[] (ngwt__Settings*)p->ptr; + break; + case SOAP_TYPE_ngwt__SettingsGroup: + if (p->size < 0) + delete (ngwt__SettingsGroup*)p->ptr; + else + delete[] (ngwt__SettingsGroup*)p->ptr; + break; + case SOAP_TYPE_ngwt__SettingsList: + if (p->size < 0) + delete (ngwt__SettingsList*)p->ptr; + else + delete[] (ngwt__SettingsList*)p->ptr; + break; + case SOAP_TYPE_ngwt__SharedFolderNotification: + if (p->size < 0) + delete (ngwt__SharedFolderNotification*)p->ptr; + else + delete[] (ngwt__SharedFolderNotification*)p->ptr; + break; + case SOAP_TYPE_ngwt__Signature: + if (p->size < 0) + delete (ngwt__Signature*)p->ptr; + else + delete[] (ngwt__Signature*)p->ptr; + break; + case SOAP_TYPE_ngwt__Signatures: + if (p->size < 0) + delete (ngwt__Signatures*)p->ptr; + else + delete[] (ngwt__Signatures*)p->ptr; + break; + case SOAP_TYPE_ngwt__SignatureData: + if (p->size < 0) + delete (ngwt__SignatureData*)p->ptr; + else + delete[] (ngwt__SignatureData*)p->ptr; + break; + case SOAP_TYPE_ngwt__SMimeOperation: + if (p->size < 0) + delete (ngwt__SMimeOperation*)p->ptr; + else + delete[] (ngwt__SMimeOperation*)p->ptr; + break; + case SOAP_TYPE_ngwt__Status: + if (p->size < 0) + delete (ngwt__Status*)p->ptr; + else + delete[] (ngwt__Status*)p->ptr; + break; + case SOAP_TYPE_ngwt__Timezone: + if (p->size < 0) + delete (ngwt__Timezone*)p->ptr; + else + delete[] (ngwt__Timezone*)p->ptr; + break; + case SOAP_TYPE_ngwt__TimezoneComponent: + if (p->size < 0) + delete (ngwt__TimezoneComponent*)p->ptr; + else + delete[] (ngwt__TimezoneComponent*)p->ptr; + break; + case SOAP_TYPE_ngwt__TimezoneList: + if (p->size < 0) + delete (ngwt__TimezoneList*)p->ptr; + else + delete[] (ngwt__TimezoneList*)p->ptr; + break; + case SOAP_TYPE_ngwt__UserInfo: + if (p->size < 0) + delete (ngwt__UserInfo*)p->ptr; + else + delete[] (ngwt__UserInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__UserList: + if (p->size < 0) + delete (ngwt__UserList*)p->ptr; + else + delete[] (ngwt__UserList*)p->ptr; + break; + case SOAP_TYPE__ngwm__acceptRequest: + if (p->size < 0) + delete (_ngwm__acceptRequest*)p->ptr; + else + delete[] (_ngwm__acceptRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__acceptResponse: + if (p->size < 0) + delete (_ngwm__acceptResponse*)p->ptr; + else + delete[] (_ngwm__acceptResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__acceptShareRequest: + if (p->size < 0) + delete (_ngwm__acceptShareRequest*)p->ptr; + else + delete[] (_ngwm__acceptShareRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__acceptShareResponse: + if (p->size < 0) + delete (_ngwm__acceptShareResponse*)p->ptr; + else + delete[] (_ngwm__acceptShareResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__addItemRequest: + if (p->size < 0) + delete (_ngwm__addItemRequest*)p->ptr; + else + delete[] (_ngwm__addItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__addItemResponse: + if (p->size < 0) + delete (_ngwm__addItemResponse*)p->ptr; + else + delete[] (_ngwm__addItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__addItemsRequest: + if (p->size < 0) + delete (_ngwm__addItemsRequest*)p->ptr; + else + delete[] (_ngwm__addItemsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__addItemsResponse: + if (p->size < 0) + delete (_ngwm__addItemsResponse*)p->ptr; + else + delete[] (_ngwm__addItemsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__addMembersRequest: + if (p->size < 0) + delete (_ngwm__addMembersRequest*)p->ptr; + else + delete[] (_ngwm__addMembersRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__addMembersResponse: + if (p->size < 0) + delete (_ngwm__addMembersResponse*)p->ptr; + else + delete[] (_ngwm__addMembersResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__closeFreeBusySessionRequest: + if (p->size < 0) + delete (_ngwm__closeFreeBusySessionRequest*)p->ptr; + else + delete[] (_ngwm__closeFreeBusySessionRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__closeFreeBusySessionResponse: + if (p->size < 0) + delete (_ngwm__closeFreeBusySessionResponse*)p->ptr; + else + delete[] (_ngwm__closeFreeBusySessionResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__completeRequest: + if (p->size < 0) + delete (_ngwm__completeRequest*)p->ptr; + else + delete[] (_ngwm__completeRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__completeResponse: + if (p->size < 0) + delete (_ngwm__completeResponse*)p->ptr; + else + delete[] (_ngwm__completeResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__createCursorRequest: + if (p->size < 0) + delete (_ngwm__createCursorRequest*)p->ptr; + else + delete[] (_ngwm__createCursorRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__createCursorResponse: + if (p->size < 0) + delete (_ngwm__createCursorResponse*)p->ptr; + else + delete[] (_ngwm__createCursorResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__createItemRequest: + if (p->size < 0) + delete (_ngwm__createItemRequest*)p->ptr; + else + delete[] (_ngwm__createItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__createItemResponse: + if (p->size < 0) + delete (_ngwm__createItemResponse*)p->ptr; + else + delete[] (_ngwm__createItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__createItemsRequest: + if (p->size < 0) + delete (_ngwm__createItemsRequest*)p->ptr; + else + delete[] (_ngwm__createItemsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__createItemsResponse: + if (p->size < 0) + delete (_ngwm__createItemsResponse*)p->ptr; + else + delete[] (_ngwm__createItemsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__createJunkEntryRequest: + if (p->size < 0) + delete (_ngwm__createJunkEntryRequest*)p->ptr; + else + delete[] (_ngwm__createJunkEntryRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__createJunkEntryResponse: + if (p->size < 0) + delete (_ngwm__createJunkEntryResponse*)p->ptr; + else + delete[] (_ngwm__createJunkEntryResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__createProxyAccessRequest: + if (p->size < 0) + delete (_ngwm__createProxyAccessRequest*)p->ptr; + else + delete[] (_ngwm__createProxyAccessRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__createProxyAccessResponse: + if (p->size < 0) + delete (_ngwm__createProxyAccessResponse*)p->ptr; + else + delete[] (_ngwm__createProxyAccessResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__createSignatureRequest: + if (p->size < 0) + delete (_ngwm__createSignatureRequest*)p->ptr; + else + delete[] (_ngwm__createSignatureRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__createSignatureResponse: + if (p->size < 0) + delete (_ngwm__createSignatureResponse*)p->ptr; + else + delete[] (_ngwm__createSignatureResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__declineRequest: + if (p->size < 0) + delete (_ngwm__declineRequest*)p->ptr; + else + delete[] (_ngwm__declineRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__declineResponse: + if (p->size < 0) + delete (_ngwm__declineResponse*)p->ptr; + else + delete[] (_ngwm__declineResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__delegateRequest: + if (p->size < 0) + delete (_ngwm__delegateRequest*)p->ptr; + else + delete[] (_ngwm__delegateRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__delegateResponse: + if (p->size < 0) + delete (_ngwm__delegateResponse*)p->ptr; + else + delete[] (_ngwm__delegateResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__destroyCursorRequest: + if (p->size < 0) + delete (_ngwm__destroyCursorRequest*)p->ptr; + else + delete[] (_ngwm__destroyCursorRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__destroyCursorResponse: + if (p->size < 0) + delete (_ngwm__destroyCursorResponse*)p->ptr; + else + delete[] (_ngwm__destroyCursorResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__executeRuleRequest: + if (p->size < 0) + delete (_ngwm__executeRuleRequest*)p->ptr; + else + delete[] (_ngwm__executeRuleRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__executeRuleResponse: + if (p->size < 0) + delete (_ngwm__executeRuleResponse*)p->ptr; + else + delete[] (_ngwm__executeRuleResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__forwardRequest: + if (p->size < 0) + delete (_ngwm__forwardRequest*)p->ptr; + else + delete[] (_ngwm__forwardRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__forwardResponse: + if (p->size < 0) + delete (_ngwm__forwardResponse*)p->ptr; + else + delete[] (_ngwm__forwardResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getAddressBookListRequest: + if (p->size < 0) + delete (_ngwm__getAddressBookListRequest*)p->ptr; + else + delete[] (_ngwm__getAddressBookListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getAddressBookListResponse: + if (p->size < 0) + delete (_ngwm__getAddressBookListResponse*)p->ptr; + else + delete[] (_ngwm__getAddressBookListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getAttachmentRequest: + if (p->size < 0) + delete (_ngwm__getAttachmentRequest*)p->ptr; + else + delete[] (_ngwm__getAttachmentRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getAttachmentResponse: + if (p->size < 0) + delete (_ngwm__getAttachmentResponse*)p->ptr; + else + delete[] (_ngwm__getAttachmentResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getCategoryListRequest: + if (p->size < 0) + delete (_ngwm__getCategoryListRequest*)p->ptr; + else + delete[] (_ngwm__getCategoryListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getCategoryListResponse: + if (p->size < 0) + delete (_ngwm__getCategoryListResponse*)p->ptr; + else + delete[] (_ngwm__getCategoryListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getCustomListRequest: + if (p->size < 0) + delete (_ngwm__getCustomListRequest*)p->ptr; + else + delete[] (_ngwm__getCustomListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getCustomListResponse: + if (p->size < 0) + delete (_ngwm__getCustomListResponse*)p->ptr; + else + delete[] (_ngwm__getCustomListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getDeltasRequest: + if (p->size < 0) + delete (_ngwm__getDeltasRequest*)p->ptr; + else + delete[] (_ngwm__getDeltasRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getDeltasResponse: + if (p->size < 0) + delete (_ngwm__getDeltasResponse*)p->ptr; + else + delete[] (_ngwm__getDeltasResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getDeltaInfoRequest: + if (p->size < 0) + delete (_ngwm__getDeltaInfoRequest*)p->ptr; + else + delete[] (_ngwm__getDeltaInfoRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getDeltaInfoResponse: + if (p->size < 0) + delete (_ngwm__getDeltaInfoResponse*)p->ptr; + else + delete[] (_ngwm__getDeltaInfoResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getDocumentTypeListRequest: + if (p->size < 0) + delete (_ngwm__getDocumentTypeListRequest*)p->ptr; + else + delete[] (_ngwm__getDocumentTypeListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getDocumentTypeListResponse: + if (p->size < 0) + delete (_ngwm__getDocumentTypeListResponse*)p->ptr; + else + delete[] (_ngwm__getDocumentTypeListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getFolderRequest: + if (p->size < 0) + delete (_ngwm__getFolderRequest*)p->ptr; + else + delete[] (_ngwm__getFolderRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getFolderResponse: + if (p->size < 0) + delete (_ngwm__getFolderResponse*)p->ptr; + else + delete[] (_ngwm__getFolderResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getFolderListRequest: + if (p->size < 0) + delete (_ngwm__getFolderListRequest*)p->ptr; + else + delete[] (_ngwm__getFolderListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getFolderListResponse: + if (p->size < 0) + delete (_ngwm__getFolderListResponse*)p->ptr; + else + delete[] (_ngwm__getFolderListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getFreeBusyRequest: + if (p->size < 0) + delete (_ngwm__getFreeBusyRequest*)p->ptr; + else + delete[] (_ngwm__getFreeBusyRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getFreeBusyResponse: + if (p->size < 0) + delete (_ngwm__getFreeBusyResponse*)p->ptr; + else + delete[] (_ngwm__getFreeBusyResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getItemRequest: + if (p->size < 0) + delete (_ngwm__getItemRequest*)p->ptr; + else + delete[] (_ngwm__getItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getItemResponse: + if (p->size < 0) + delete (_ngwm__getItemResponse*)p->ptr; + else + delete[] (_ngwm__getItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getItemsRequest: + if (p->size < 0) + delete (_ngwm__getItemsRequest*)p->ptr; + else + delete[] (_ngwm__getItemsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getItemsResponse: + if (p->size < 0) + delete (_ngwm__getItemsResponse*)p->ptr; + else + delete[] (_ngwm__getItemsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getJunkEntriesRequest: + if (p->size < 0) + delete (_ngwm__getJunkEntriesRequest*)p->ptr; + else + delete[] (_ngwm__getJunkEntriesRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getJunkEntriesResponse: + if (p->size < 0) + delete (_ngwm__getJunkEntriesResponse*)p->ptr; + else + delete[] (_ngwm__getJunkEntriesResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getJunkMailSettingsRequest: + if (p->size < 0) + delete (_ngwm__getJunkMailSettingsRequest*)p->ptr; + else + delete[] (_ngwm__getJunkMailSettingsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getJunkMailSettingsResponse: + if (p->size < 0) + delete (_ngwm__getJunkMailSettingsResponse*)p->ptr; + else + delete[] (_ngwm__getJunkMailSettingsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getLibraryItemRequest: + if (p->size < 0) + delete (_ngwm__getLibraryItemRequest*)p->ptr; + else + delete[] (_ngwm__getLibraryItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getLibraryItemResponse: + if (p->size < 0) + delete (_ngwm__getLibraryItemResponse*)p->ptr; + else + delete[] (_ngwm__getLibraryItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getLibraryListRequest: + if (p->size < 0) + delete (_ngwm__getLibraryListRequest*)p->ptr; + else + delete[] (_ngwm__getLibraryListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getLibraryListResponse: + if (p->size < 0) + delete (_ngwm__getLibraryListResponse*)p->ptr; + else + delete[] (_ngwm__getLibraryListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getQuickMessagesRequest: + if (p->size < 0) + delete (_ngwm__getQuickMessagesRequest*)p->ptr; + else + delete[] (_ngwm__getQuickMessagesRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getQuickMessagesResponse: + if (p->size < 0) + delete (_ngwm__getQuickMessagesResponse*)p->ptr; + else + delete[] (_ngwm__getQuickMessagesResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getProxyAccessListRequest: + if (p->size < 0) + delete (_ngwm__getProxyAccessListRequest*)p->ptr; + else + delete[] (_ngwm__getProxyAccessListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getProxyAccessListResponse: + if (p->size < 0) + delete (_ngwm__getProxyAccessListResponse*)p->ptr; + else + delete[] (_ngwm__getProxyAccessListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getProxyListRequest: + if (p->size < 0) + delete (_ngwm__getProxyListRequest*)p->ptr; + else + delete[] (_ngwm__getProxyListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getProxyListResponse: + if (p->size < 0) + delete (_ngwm__getProxyListResponse*)p->ptr; + else + delete[] (_ngwm__getProxyListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getRuleListRequest: + if (p->size < 0) + delete (_ngwm__getRuleListRequest*)p->ptr; + else + delete[] (_ngwm__getRuleListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getRuleListResponse: + if (p->size < 0) + delete (_ngwm__getRuleListResponse*)p->ptr; + else + delete[] (_ngwm__getRuleListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getSettingsRequest: + if (p->size < 0) + delete (_ngwm__getSettingsRequest*)p->ptr; + else + delete[] (_ngwm__getSettingsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getSettingsResponse: + if (p->size < 0) + delete (_ngwm__getSettingsResponse*)p->ptr; + else + delete[] (_ngwm__getSettingsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getSignaturesRequest: + if (p->size < 0) + delete (_ngwm__getSignaturesRequest*)p->ptr; + else + delete[] (_ngwm__getSignaturesRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getSignaturesResponse: + if (p->size < 0) + delete (_ngwm__getSignaturesResponse*)p->ptr; + else + delete[] (_ngwm__getSignaturesResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getTimestampRequest: + if (p->size < 0) + delete (_ngwm__getTimestampRequest*)p->ptr; + else + delete[] (_ngwm__getTimestampRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getTimestampResponse: + if (p->size < 0) + delete (_ngwm__getTimestampResponse*)p->ptr; + else + delete[] (_ngwm__getTimestampResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getTimezoneListRequest: + if (p->size < 0) + delete (_ngwm__getTimezoneListRequest*)p->ptr; + else + delete[] (_ngwm__getTimezoneListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getTimezoneListResponse: + if (p->size < 0) + delete (_ngwm__getTimezoneListResponse*)p->ptr; + else + delete[] (_ngwm__getTimezoneListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__getUserListRequest: + if (p->size < 0) + delete (_ngwm__getUserListRequest*)p->ptr; + else + delete[] (_ngwm__getUserListRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__getUserListResponse: + if (p->size < 0) + delete (_ngwm__getUserListResponse*)p->ptr; + else + delete[] (_ngwm__getUserListResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__loginRequest: + if (p->size < 0) + delete (_ngwm__loginRequest*)p->ptr; + else + delete[] (_ngwm__loginRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__loginResponse: + if (p->size < 0) + delete (_ngwm__loginResponse*)p->ptr; + else + delete[] (_ngwm__loginResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__logoutRequest: + if (p->size < 0) + delete (_ngwm__logoutRequest*)p->ptr; + else + delete[] (_ngwm__logoutRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__logoutResponse: + if (p->size < 0) + delete (_ngwm__logoutResponse*)p->ptr; + else + delete[] (_ngwm__logoutResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__markPrivateRequest: + if (p->size < 0) + delete (_ngwm__markPrivateRequest*)p->ptr; + else + delete[] (_ngwm__markPrivateRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__markPrivateResponse: + if (p->size < 0) + delete (_ngwm__markPrivateResponse*)p->ptr; + else + delete[] (_ngwm__markPrivateResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__markReadRequest: + if (p->size < 0) + delete (_ngwm__markReadRequest*)p->ptr; + else + delete[] (_ngwm__markReadRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__markReadResponse: + if (p->size < 0) + delete (_ngwm__markReadResponse*)p->ptr; + else + delete[] (_ngwm__markReadResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__markUnPrivateRequest: + if (p->size < 0) + delete (_ngwm__markUnPrivateRequest*)p->ptr; + else + delete[] (_ngwm__markUnPrivateRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__markUnPrivateResponse: + if (p->size < 0) + delete (_ngwm__markUnPrivateResponse*)p->ptr; + else + delete[] (_ngwm__markUnPrivateResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__markUnReadRequest: + if (p->size < 0) + delete (_ngwm__markUnReadRequest*)p->ptr; + else + delete[] (_ngwm__markUnReadRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__markUnReadResponse: + if (p->size < 0) + delete (_ngwm__markUnReadResponse*)p->ptr; + else + delete[] (_ngwm__markUnReadResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyItemRequest: + if (p->size < 0) + delete (_ngwm__modifyItemRequest*)p->ptr; + else + delete[] (_ngwm__modifyItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyItemResponse: + if (p->size < 0) + delete (_ngwm__modifyItemResponse*)p->ptr; + else + delete[] (_ngwm__modifyItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyItemsRequest: + if (p->size < 0) + delete (_ngwm__modifyItemsRequest*)p->ptr; + else + delete[] (_ngwm__modifyItemsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyItemsResponse: + if (p->size < 0) + delete (_ngwm__modifyItemsResponse*)p->ptr; + else + delete[] (_ngwm__modifyItemsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyJunkEntryRequest: + if (p->size < 0) + delete (_ngwm__modifyJunkEntryRequest*)p->ptr; + else + delete[] (_ngwm__modifyJunkEntryRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyJunkEntryResponse: + if (p->size < 0) + delete (_ngwm__modifyJunkEntryResponse*)p->ptr; + else + delete[] (_ngwm__modifyJunkEntryResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest: + if (p->size < 0) + delete (_ngwm__modifyJunkMailSettingsRequest*)p->ptr; + else + delete[] (_ngwm__modifyJunkMailSettingsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse: + if (p->size < 0) + delete (_ngwm__modifyJunkMailSettingsResponse*)p->ptr; + else + delete[] (_ngwm__modifyJunkMailSettingsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyPasswordRequest: + if (p->size < 0) + delete (_ngwm__modifyPasswordRequest*)p->ptr; + else + delete[] (_ngwm__modifyPasswordRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyPasswordResponse: + if (p->size < 0) + delete (_ngwm__modifyPasswordResponse*)p->ptr; + else + delete[] (_ngwm__modifyPasswordResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyProxyAccessRequest: + if (p->size < 0) + delete (_ngwm__modifyProxyAccessRequest*)p->ptr; + else + delete[] (_ngwm__modifyProxyAccessRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifyProxyAccessResponse: + if (p->size < 0) + delete (_ngwm__modifyProxyAccessResponse*)p->ptr; + else + delete[] (_ngwm__modifyProxyAccessResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifySettingsRequest: + if (p->size < 0) + delete (_ngwm__modifySettingsRequest*)p->ptr; + else + delete[] (_ngwm__modifySettingsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifySettingsResponse: + if (p->size < 0) + delete (_ngwm__modifySettingsResponse*)p->ptr; + else + delete[] (_ngwm__modifySettingsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifySignaturesRequest: + if (p->size < 0) + delete (_ngwm__modifySignaturesRequest*)p->ptr; + else + delete[] (_ngwm__modifySignaturesRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__modifySignaturesResponse: + if (p->size < 0) + delete (_ngwm__modifySignaturesResponse*)p->ptr; + else + delete[] (_ngwm__modifySignaturesResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__moveItemRequest: + if (p->size < 0) + delete (_ngwm__moveItemRequest*)p->ptr; + else + delete[] (_ngwm__moveItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__moveItemResponse: + if (p->size < 0) + delete (_ngwm__moveItemResponse*)p->ptr; + else + delete[] (_ngwm__moveItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__positionCursorRequest: + if (p->size < 0) + delete (_ngwm__positionCursorRequest*)p->ptr; + else + delete[] (_ngwm__positionCursorRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__positionCursorResponse: + if (p->size < 0) + delete (_ngwm__positionCursorResponse*)p->ptr; + else + delete[] (_ngwm__positionCursorResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__purgeDeletedItemsRequest: + if (p->size < 0) + delete (_ngwm__purgeDeletedItemsRequest*)p->ptr; + else + delete[] (_ngwm__purgeDeletedItemsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__purgeDeletedItemsResponse: + if (p->size < 0) + delete (_ngwm__purgeDeletedItemsResponse*)p->ptr; + else + delete[] (_ngwm__purgeDeletedItemsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__purgeRequest: + if (p->size < 0) + delete (_ngwm__purgeRequest*)p->ptr; + else + delete[] (_ngwm__purgeRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__purgeResponse: + if (p->size < 0) + delete (_ngwm__purgeResponse*)p->ptr; + else + delete[] (_ngwm__purgeResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__readCursorRequest: + if (p->size < 0) + delete (_ngwm__readCursorRequest*)p->ptr; + else + delete[] (_ngwm__readCursorRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__readCursorResponse: + if (p->size < 0) + delete (_ngwm__readCursorResponse*)p->ptr; + else + delete[] (_ngwm__readCursorResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeCustomDefinitionRequest: + if (p->size < 0) + delete (_ngwm__removeCustomDefinitionRequest*)p->ptr; + else + delete[] (_ngwm__removeCustomDefinitionRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeCustomDefinitionResponse: + if (p->size < 0) + delete (_ngwm__removeCustomDefinitionResponse*)p->ptr; + else + delete[] (_ngwm__removeCustomDefinitionResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeItemRequest: + if (p->size < 0) + delete (_ngwm__removeItemRequest*)p->ptr; + else + delete[] (_ngwm__removeItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeItemResponse: + if (p->size < 0) + delete (_ngwm__removeItemResponse*)p->ptr; + else + delete[] (_ngwm__removeItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeItemsRequest: + if (p->size < 0) + delete (_ngwm__removeItemsRequest*)p->ptr; + else + delete[] (_ngwm__removeItemsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeItemsResponse: + if (p->size < 0) + delete (_ngwm__removeItemsResponse*)p->ptr; + else + delete[] (_ngwm__removeItemsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeJunkEntryRequest: + if (p->size < 0) + delete (_ngwm__removeJunkEntryRequest*)p->ptr; + else + delete[] (_ngwm__removeJunkEntryRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeJunkEntryResponse: + if (p->size < 0) + delete (_ngwm__removeJunkEntryResponse*)p->ptr; + else + delete[] (_ngwm__removeJunkEntryResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeMembersRequest: + if (p->size < 0) + delete (_ngwm__removeMembersRequest*)p->ptr; + else + delete[] (_ngwm__removeMembersRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeMembersResponse: + if (p->size < 0) + delete (_ngwm__removeMembersResponse*)p->ptr; + else + delete[] (_ngwm__removeMembersResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeProxyAccessRequest: + if (p->size < 0) + delete (_ngwm__removeProxyAccessRequest*)p->ptr; + else + delete[] (_ngwm__removeProxyAccessRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeProxyAccessResponse: + if (p->size < 0) + delete (_ngwm__removeProxyAccessResponse*)p->ptr; + else + delete[] (_ngwm__removeProxyAccessResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeProxyUserRequest: + if (p->size < 0) + delete (_ngwm__removeProxyUserRequest*)p->ptr; + else + delete[] (_ngwm__removeProxyUserRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeProxyUserResponse: + if (p->size < 0) + delete (_ngwm__removeProxyUserResponse*)p->ptr; + else + delete[] (_ngwm__removeProxyUserResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeSignatureRequest: + if (p->size < 0) + delete (_ngwm__removeSignatureRequest*)p->ptr; + else + delete[] (_ngwm__removeSignatureRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__removeSignatureResponse: + if (p->size < 0) + delete (_ngwm__removeSignatureResponse*)p->ptr; + else + delete[] (_ngwm__removeSignatureResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__replyRequest: + if (p->size < 0) + delete (_ngwm__replyRequest*)p->ptr; + else + delete[] (_ngwm__replyRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__replyResponse: + if (p->size < 0) + delete (_ngwm__replyResponse*)p->ptr; + else + delete[] (_ngwm__replyResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__retractRequest: + if (p->size < 0) + delete (_ngwm__retractRequest*)p->ptr; + else + delete[] (_ngwm__retractRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__retractResponse: + if (p->size < 0) + delete (_ngwm__retractResponse*)p->ptr; + else + delete[] (_ngwm__retractResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__sendItemRequest: + if (p->size < 0) + delete (_ngwm__sendItemRequest*)p->ptr; + else + delete[] (_ngwm__sendItemRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__sendItemResponse: + if (p->size < 0) + delete (_ngwm__sendItemResponse*)p->ptr; + else + delete[] (_ngwm__sendItemResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__setTimestampRequest: + if (p->size < 0) + delete (_ngwm__setTimestampRequest*)p->ptr; + else + delete[] (_ngwm__setTimestampRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__setTimestampResponse: + if (p->size < 0) + delete (_ngwm__setTimestampResponse*)p->ptr; + else + delete[] (_ngwm__setTimestampResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__startFreeBusySessionRequest: + if (p->size < 0) + delete (_ngwm__startFreeBusySessionRequest*)p->ptr; + else + delete[] (_ngwm__startFreeBusySessionRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__startFreeBusySessionResponse: + if (p->size < 0) + delete (_ngwm__startFreeBusySessionResponse*)p->ptr; + else + delete[] (_ngwm__startFreeBusySessionResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__unacceptRequest: + if (p->size < 0) + delete (_ngwm__unacceptRequest*)p->ptr; + else + delete[] (_ngwm__unacceptRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__unacceptResponse: + if (p->size < 0) + delete (_ngwm__unacceptResponse*)p->ptr; + else + delete[] (_ngwm__unacceptResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__uncompleteRequest: + if (p->size < 0) + delete (_ngwm__uncompleteRequest*)p->ptr; + else + delete[] (_ngwm__uncompleteRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__uncompleteResponse: + if (p->size < 0) + delete (_ngwm__uncompleteResponse*)p->ptr; + else + delete[] (_ngwm__uncompleteResponse*)p->ptr; + break; + case SOAP_TYPE__ngwm__updateVersionStatusRequest: + if (p->size < 0) + delete (_ngwm__updateVersionStatusRequest*)p->ptr; + else + delete[] (_ngwm__updateVersionStatusRequest*)p->ptr; + break; + case SOAP_TYPE__ngwm__updateVersionStatusResponse: + if (p->size < 0) + delete (_ngwm__updateVersionStatusResponse*)p->ptr; + else + delete[] (_ngwm__updateVersionStatusResponse*)p->ptr; + break; + case SOAP_TYPE_ngwe__ContainerList: + if (p->size < 0) + delete (ngwe__ContainerList*)p->ptr; + else + delete[] (ngwe__ContainerList*)p->ptr; + break; + case SOAP_TYPE_ngwe__Event: + if (p->size < 0) + delete (ngwe__Event*)p->ptr; + else + delete[] (ngwe__Event*)p->ptr; + break; + case SOAP_TYPE_ngwe__EventDefinition: + if (p->size < 0) + delete (ngwe__EventDefinition*)p->ptr; + else + delete[] (ngwe__EventDefinition*)p->ptr; + break; + case SOAP_TYPE_ngwe__EventList: + if (p->size < 0) + delete (ngwe__EventList*)p->ptr; + else + delete[] (ngwe__EventList*)p->ptr; + break; + case SOAP_TYPE_ngwe__Events: + if (p->size < 0) + delete (ngwe__Events*)p->ptr; + else + delete[] (ngwe__Events*)p->ptr; + break; + case SOAP_TYPE_ngwe__EventsList: + if (p->size < 0) + delete (ngwe__EventsList*)p->ptr; + else + delete[] (ngwe__EventsList*)p->ptr; + break; + case SOAP_TYPE_ngwe__EventTypeList: + if (p->size < 0) + delete (ngwe__EventTypeList*)p->ptr; + else + delete[] (ngwe__EventTypeList*)p->ptr; + break; + case SOAP_TYPE_ngwe__Notify: + if (p->size < 0) + delete (ngwe__Notify*)p->ptr; + else + delete[] (ngwe__Notify*)p->ptr; + break; + case SOAP_TYPE__ngwe__cleanEventConfigurationRequest: + if (p->size < 0) + delete (_ngwe__cleanEventConfigurationRequest*)p->ptr; + else + delete[] (_ngwe__cleanEventConfigurationRequest*)p->ptr; + break; + case SOAP_TYPE__ngwe__cleanEventConfigurationResponse: + if (p->size < 0) + delete (_ngwe__cleanEventConfigurationResponse*)p->ptr; + else + delete[] (_ngwe__cleanEventConfigurationResponse*)p->ptr; + break; + case SOAP_TYPE__ngwe__configureEventsRequest: + if (p->size < 0) + delete (_ngwe__configureEventsRequest*)p->ptr; + else + delete[] (_ngwe__configureEventsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwe__configureEventsResponse: + if (p->size < 0) + delete (_ngwe__configureEventsResponse*)p->ptr; + else + delete[] (_ngwe__configureEventsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwe__getEventConfigurationRequest: + if (p->size < 0) + delete (_ngwe__getEventConfigurationRequest*)p->ptr; + else + delete[] (_ngwe__getEventConfigurationRequest*)p->ptr; + break; + case SOAP_TYPE__ngwe__getEventConfigurationResponse: + if (p->size < 0) + delete (_ngwe__getEventConfigurationResponse*)p->ptr; + else + delete[] (_ngwe__getEventConfigurationResponse*)p->ptr; + break; + case SOAP_TYPE__ngwe__getEventsRequest: + if (p->size < 0) + delete (_ngwe__getEventsRequest*)p->ptr; + else + delete[] (_ngwe__getEventsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwe__getEventsResponse: + if (p->size < 0) + delete (_ngwe__getEventsResponse*)p->ptr; + else + delete[] (_ngwe__getEventsResponse*)p->ptr; + break; + case SOAP_TYPE__ngwe__removeEventConfigurationRequest: + if (p->size < 0) + delete (_ngwe__removeEventConfigurationRequest*)p->ptr; + else + delete[] (_ngwe__removeEventConfigurationRequest*)p->ptr; + break; + case SOAP_TYPE__ngwe__removeEventConfigurationResponse: + if (p->size < 0) + delete (_ngwe__removeEventConfigurationResponse*)p->ptr; + else + delete[] (_ngwe__removeEventConfigurationResponse*)p->ptr; + break; + case SOAP_TYPE__ngwe__removeEventsRequest: + if (p->size < 0) + delete (_ngwe__removeEventsRequest*)p->ptr; + else + delete[] (_ngwe__removeEventsRequest*)p->ptr; + break; + case SOAP_TYPE__ngwe__removeEventsResponse: + if (p->size < 0) + delete (_ngwe__removeEventsResponse*)p->ptr; + else + delete[] (_ngwe__removeEventsResponse*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessControlListEntry: + if (p->size < 0) + delete (ngwt__AccessControlListEntry*)p->ptr; + else + delete[] (ngwt__AccessControlListEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__AccessRightEntry: + if (p->size < 0) + delete (ngwt__AccessRightEntry*)p->ptr; + else + delete[] (ngwt__AccessRightEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__AddressBook: + if (p->size < 0) + delete (ngwt__AddressBook*)p->ptr; + else + delete[] (ngwt__AddressBook*)p->ptr; + break; + case SOAP_TYPE_ngwt__Alarm: + if (p->size < 0) + delete (ngwt__Alarm*)p->ptr; + else + delete[] (ngwt__Alarm*)p->ptr; + break; + case SOAP_TYPE_ngwt__Category: + if (p->size < 0) + delete (ngwt__Category*)p->ptr; + else + delete[] (ngwt__Category*)p->ptr; + break; + case SOAP_TYPE_ngwt__CommentStatus: + if (p->size < 0) + delete (ngwt__CommentStatus*)p->ptr; + else + delete[] (ngwt__CommentStatus*)p->ptr; + break; + case SOAP_TYPE_ngwt__ContainerItem: + if (p->size < 0) + delete (ngwt__ContainerItem*)p->ptr; + else + delete[] (ngwt__ContainerItem*)p->ptr; + break; + case SOAP_TYPE_ngwt__ContainerRef: + if (p->size < 0) + delete (ngwt__ContainerRef*)p->ptr; + else + delete[] (ngwt__ContainerRef*)p->ptr; + break; + case SOAP_TYPE_ngwt__DelegatedStatus: + if (p->size < 0) + delete (ngwt__DelegatedStatus*)p->ptr; + else + delete[] (ngwt__DelegatedStatus*)p->ptr; + break; + case SOAP_TYPE_ngwt__DelegateeStatus: + if (p->size < 0) + delete (ngwt__DelegateeStatus*)p->ptr; + else + delete[] (ngwt__DelegateeStatus*)p->ptr; + break; + case SOAP_TYPE_ngwt__FilterEntry: + if (p->size < 0) + delete (ngwt__FilterEntry*)p->ptr; + else + delete[] (ngwt__FilterEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__FilterGroup: + if (p->size < 0) + delete (ngwt__FilterGroup*)p->ptr; + else + delete[] (ngwt__FilterGroup*)p->ptr; + break; + case SOAP_TYPE_ngwt__Folder: + if (p->size < 0) + delete (ngwt__Folder*)p->ptr; + else + delete[] (ngwt__Folder*)p->ptr; + break; + case SOAP_TYPE_ngwt__FreeBusyInfo: + if (p->size < 0) + delete (ngwt__FreeBusyInfo*)p->ptr; + else + delete[] (ngwt__FreeBusyInfo*)p->ptr; + break; + case SOAP_TYPE_ngwt__From: + if (p->size < 0) + delete (ngwt__From*)p->ptr; + else + delete[] (ngwt__From*)p->ptr; + break; + case SOAP_TYPE_ngwt__ItemRef: + if (p->size < 0) + delete (ngwt__ItemRef*)p->ptr; + else + delete[] (ngwt__ItemRef*)p->ptr; + break; + case SOAP_TYPE_ngwt__Library: + if (p->size < 0) + delete (ngwt__Library*)p->ptr; + else + delete[] (ngwt__Library*)p->ptr; + break; + case SOAP_TYPE_ngwt__MessagePart: + if (p->size < 0) + delete (ngwt__MessagePart*)p->ptr; + else + delete[] (ngwt__MessagePart*)p->ptr; + break; + case SOAP_TYPE_ngwt__PhoneNumber: + if (p->size < 0) + delete (ngwt__PhoneNumber*)p->ptr; + else + delete[] (ngwt__PhoneNumber*)p->ptr; + break; + case SOAP_TYPE_ngwt__PlainText: + if (p->size < 0) + delete (ngwt__PlainText*)p->ptr; + else + delete[] (ngwt__PlainText*)p->ptr; + break; + case SOAP_TYPE_ngwt__Proxy: + if (p->size < 0) + delete (ngwt__Proxy*)p->ptr; + else + delete[] (ngwt__Proxy*)p->ptr; + break; + case SOAP_TYPE_ngwt__ProxyUser: + if (p->size < 0) + delete (ngwt__ProxyUser*)p->ptr; + else + delete[] (ngwt__ProxyUser*)p->ptr; + break; + case SOAP_TYPE_ngwt__Recipient: + if (p->size < 0) + delete (ngwt__Recipient*)p->ptr; + else + delete[] (ngwt__Recipient*)p->ptr; + break; + case SOAP_TYPE_ngwt__TransferFailedStatus: + if (p->size < 0) + delete (ngwt__TransferFailedStatus*)p->ptr; + else + delete[] (ngwt__TransferFailedStatus*)p->ptr; + break; + case SOAP_TYPE_ngwt__TrustedApplication: + if (p->size < 0) + delete (ngwt__TrustedApplication*)p->ptr; + else + delete[] (ngwt__TrustedApplication*)p->ptr; + break; + case SOAP_TYPE_ngwt__AddressBookItem: + if (p->size < 0) + delete (ngwt__AddressBookItem*)p->ptr; + else + delete[] (ngwt__AddressBookItem*)p->ptr; + break; + case SOAP_TYPE_ngwt__AttachmentID: + if (p->size < 0) + delete (ngwt__AttachmentID*)p->ptr; + else + delete[] (ngwt__AttachmentID*)p->ptr; + break; + case SOAP_TYPE_ngwt__BoxEntry: + if (p->size < 0) + delete (ngwt__BoxEntry*)p->ptr; + else + delete[] (ngwt__BoxEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__DayOfWeek: + if (p->size < 0) + delete (ngwt__DayOfWeek*)p->ptr; + else + delete[] (ngwt__DayOfWeek*)p->ptr; + break; + case SOAP_TYPE_ngwt__DayOfYearWeek: + if (p->size < 0) + delete (ngwt__DayOfYearWeek*)p->ptr; + else + delete[] (ngwt__DayOfYearWeek*)p->ptr; + break; + case SOAP_TYPE_ngwt__Document: + if (p->size < 0) + delete (ngwt__Document*)p->ptr; + else + delete[] (ngwt__Document*)p->ptr; + break; + case SOAP_TYPE_ngwt__FolderACLEntry: + if (p->size < 0) + delete (ngwt__FolderACLEntry*)p->ptr; + else + delete[] (ngwt__FolderACLEntry*)p->ptr; + break; + case SOAP_TYPE_ngwt__QueryFolder: + if (p->size < 0) + delete (ngwt__QueryFolder*)p->ptr; + else + delete[] (ngwt__QueryFolder*)p->ptr; + break; + case SOAP_TYPE_ngwt__Rule: + if (p->size < 0) + delete (ngwt__Rule*)p->ptr; + else + delete[] (ngwt__Rule*)p->ptr; + break; + case SOAP_TYPE_ngwt__SharedFolder: + if (p->size < 0) + delete (ngwt__SharedFolder*)p->ptr; + else + delete[] (ngwt__SharedFolder*)p->ptr; + break; + case SOAP_TYPE_ngwt__StatusTracking: + if (p->size < 0) + delete (ngwt__StatusTracking*)p->ptr; + else + delete[] (ngwt__StatusTracking*)p->ptr; + break; + case SOAP_TYPE_ngwt__SystemFolder: + if (p->size < 0) + delete (ngwt__SystemFolder*)p->ptr; + else + delete[] (ngwt__SystemFolder*)p->ptr; + break; + case SOAP_TYPE_ngwt__Version: + if (p->size < 0) + delete (ngwt__Version*)p->ptr; + else + delete[] (ngwt__Version*)p->ptr; + break; + case SOAP_TYPE_ngwt__VersionEvent: + if (p->size < 0) + delete (ngwt__VersionEvent*)p->ptr; + else + delete[] (ngwt__VersionEvent*)p->ptr; + break; + case SOAP_TYPE_ngwt__Contact: + if (p->size < 0) + delete (ngwt__Contact*)p->ptr; + else + delete[] (ngwt__Contact*)p->ptr; + break; + case SOAP_TYPE_ngwt__ContactFolder: + if (p->size < 0) + delete (ngwt__ContactFolder*)p->ptr; + else + delete[] (ngwt__ContactFolder*)p->ptr; + break; + case SOAP_TYPE_ngwt__Group: + if (p->size < 0) + delete (ngwt__Group*)p->ptr; + else + delete[] (ngwt__Group*)p->ptr; + break; + case SOAP_TYPE_ngwt__Mail: + if (p->size < 0) + delete (ngwt__Mail*)p->ptr; + else + delete[] (ngwt__Mail*)p->ptr; + break; + case SOAP_TYPE_ngwt__Organization: + if (p->size < 0) + delete (ngwt__Organization*)p->ptr; + else + delete[] (ngwt__Organization*)p->ptr; + break; + case SOAP_TYPE_ngwt__Resource: + if (p->size < 0) + delete (ngwt__Resource*)p->ptr; + else + delete[] (ngwt__Resource*)p->ptr; + break; + case SOAP_TYPE_ngwt__CalendarItem: + if (p->size < 0) + delete (ngwt__CalendarItem*)p->ptr; + else + delete[] (ngwt__CalendarItem*)p->ptr; + break; + case SOAP_TYPE_ngwt__DocumentRef: + if (p->size < 0) + delete (ngwt__DocumentRef*)p->ptr; + else + delete[] (ngwt__DocumentRef*)p->ptr; + break; + case SOAP_TYPE_ngwt__PhoneMessage: + if (p->size < 0) + delete (ngwt__PhoneMessage*)p->ptr; + else + delete[] (ngwt__PhoneMessage*)p->ptr; + break; + case SOAP_TYPE_ngwt__SharedNotification: + if (p->size < 0) + delete (ngwt__SharedNotification*)p->ptr; + else + delete[] (ngwt__SharedNotification*)p->ptr; + break; + case SOAP_TYPE_ngwt__Appointment: + if (p->size < 0) + delete (ngwt__Appointment*)p->ptr; + else + delete[] (ngwt__Appointment*)p->ptr; + break; + case SOAP_TYPE_ngwt__Note: + if (p->size < 0) + delete (ngwt__Note*)p->ptr; + else + delete[] (ngwt__Note*)p->ptr; + break; + case SOAP_TYPE_ngwt__Task: + if (p->size < 0) + delete (ngwt__Task*)p->ptr; + else + delete[] (ngwt__Task*)p->ptr; + break; + case SOAP_TYPE_SOAP_ENV__Header: + if (p->size < 0) + delete (struct SOAP_ENV__Header*)p->ptr; + else + delete[] (struct SOAP_ENV__Header*)p->ptr; + break; + case SOAP_TYPE_xsd__date: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_xsd__decimal: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_xsd__duration: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_xsd__language: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_ngwt__View: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_ngwt__uid: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_ngwt__UUID: + if (p->size < 0) + delete (std::string*)p->ptr; + else + delete[] (std::string*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfngwe__EventType: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfstring: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfxsd__date: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__Month: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfstd__string: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__uid: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry: + if (p->size < 0) + delete (std::vector*)p->ptr; + else + delete[] (std::vector*)p->ptr; + break; + } +} + +SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, const char *type, const char *arrayType) +{ return soap_id_enter(soap, id, p, t, n, 0, type, arrayType, soap_instantiate); +} + +SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap *soap, const char *href, void *p, int st, int tt, size_t n, unsigned int k) +{ return soap_id_forward(soap, href, p, st, tt, n, k, soap_container_insert); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_container_insert(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ switch (tt) + { + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__FilterElement **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__ContainerRef **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfngwe__EventType: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(enum ngwe__EventType *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwe__Events **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwe__Event **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfstring: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(char **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__ModifyItem **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Host **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__UserInfo **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Timezone **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Signature **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__SettingsGroup **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Rule **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__RuleAction **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfxsd__date: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(std::string *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__DelegateeStatus **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Recipient **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__ProxyUser **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__ProblemEntry **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__PostalAddress **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__PhoneNumber **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__Month: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(unsigned char *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__MessagePart **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Library **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__JunkEntry **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Item **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__ImAddress **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__GroupMember **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__FreeBusyInfo **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__NameAndEmail **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__FreeBusyBlock **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Folder **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__FolderACLEntry **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfstd__string: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(std::string *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__DocumentType **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__DayOfYearWeek **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(short *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(char *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Custom **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__uid: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(std::string *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__Category **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(enum ngwt__CalendarFolderFlags *)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__AttachmentItemInfo **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__AddressBook **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__AccessRightEntry **)q); + break; + case SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container insert type=%d in %d location=%p object=%p\n", st, tt, p, q)); + ((std::vector*)p)->insert(((std::vector*)p)->end(), *(ngwt__AccessControlListEntry **)q); + break; + default: + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not insert type=%d in %d\n", st, tt)); + } +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfMonth(struct soap *soap, char *a) +{ soap_default_byte(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfMonth(struct soap *soap, const char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfMonth); + if (soap_out_ngwt__DayOfMonth(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonth(struct soap *soap, const char *tag, int id, const char *a, const char *type) +{ + return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_ngwt__DayOfMonth); +} + +SOAP_FMAC3 char * SOAP_FMAC4 soap_get_ngwt__DayOfMonth(struct soap *soap, char *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfMonth(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 char * SOAP_FMAC4 soap_in_ngwt__DayOfMonth(struct soap *soap, const char *tag, char *a, const char *type) +{ + return soap_inbyte(soap, tag, a, type, SOAP_TYPE_ngwt__DayOfMonth); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap *soap, char *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_byte + *a = SOAP_DEFAULT_byte; +#else + *a = (char)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_byte); + if (soap_out_byte(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type) +{ + return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_byte); +} + +SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap *soap, char *p, const char *tag, const char *type) +{ + if ((p = soap_in_byte(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap *soap, const char *tag, char *a, const char *type) +{ + return soap_inbyte(soap, tag, a, type, SOAP_TYPE_byte); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekOfYear(struct soap *soap, short *a) +{ soap_default_short(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekOfYear(struct soap *soap, const short *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__WeekOfYear); + if (soap_out_ngwt__WeekOfYear(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekOfYear(struct soap *soap, const char *tag, int id, const short *a, const char *type) +{ + return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_ngwt__WeekOfYear); +} + +SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__WeekOfYear(struct soap *soap, short *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__WeekOfYear(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__WeekOfYear(struct soap *soap, const char *tag, short *a, const char *type) +{ + return soap_inshort(soap, tag, a, type, SOAP_TYPE_ngwt__WeekOfYear); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfYear(struct soap *soap, short *a) +{ soap_default_short(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfYear(struct soap *soap, const short *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYear); + if (soap_out_ngwt__DayOfYear(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYear(struct soap *soap, const char *tag, int id, const short *a, const char *type) +{ + return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_ngwt__DayOfYear); +} + +SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__DayOfYear(struct soap *soap, short *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfYear(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__DayOfYear(struct soap *soap, const char *tag, short *a, const char *type) +{ + return soap_inshort(soap, tag, a, type, SOAP_TYPE_ngwt__DayOfYear); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_short(struct soap *soap, short *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_short + *a = SOAP_DEFAULT_short; +#else + *a = (short)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_short(struct soap *soap, const short *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_short); + if (soap_out_short(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_short(struct soap *soap, const char *tag, int id, const short *a, const char *type) +{ + return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_short); +} + +SOAP_FMAC3 short * SOAP_FMAC4 soap_get_short(struct soap *soap, short *p, const char *tag, const char *type) +{ + if ((p = soap_in_short(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 short * SOAP_FMAC4 soap_in_short(struct soap *soap, const char *tag, short *a, const char *type) +{ + return soap_inshort(soap, tag, a, type, SOAP_TYPE_short); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__GMTOffset(struct soap *soap, int *a) +{ soap_default_int(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__GMTOffset(struct soap *soap, const int *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__GMTOffset); + if (soap_out_ngwt__GMTOffset(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GMTOffset(struct soap *soap, const char *tag, int id, const int *a, const char *type) +{ + return soap_outint(soap, tag, id, a, type, SOAP_TYPE_ngwt__GMTOffset); +} + +SOAP_FMAC3 int * SOAP_FMAC4 soap_get_ngwt__GMTOffset(struct soap *soap, int *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__GMTOffset(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 int * SOAP_FMAC4 soap_in_ngwt__GMTOffset(struct soap *soap, const char *tag, int *a, const char *type) +{ + return soap_inint(soap, tag, a, type, SOAP_TYPE_ngwt__GMTOffset); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap *soap, int *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_int + *a = SOAP_DEFAULT_int; +#else + *a = (int)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_int); + if (soap_out_int(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type) +{ + return soap_outint(soap, tag, id, a, type, SOAP_TYPE_int); +} + +SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap *soap, int *p, const char *tag, const char *type) +{ + if ((p = soap_in_int(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int *a, const char *type) +{ + return soap_inint(soap, tag, a, type, SOAP_TYPE_int); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_long(struct soap *soap, long *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_long + *a = SOAP_DEFAULT_long; +#else + *a = (long)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_long(struct soap *soap, const long *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_long); + if (soap_out_long(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_long(struct soap *soap, const char *tag, int id, const long *a, const char *type) +{ + return soap_outlong(soap, tag, id, a, type, SOAP_TYPE_long); +} + +SOAP_FMAC3 long * SOAP_FMAC4 soap_get_long(struct soap *soap, long *p, const char *tag, const char *type) +{ + if ((p = soap_in_long(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 long * SOAP_FMAC4 soap_in_long(struct soap *soap, const char *tag, long *a, const char *type) +{ + return soap_inlong(soap, tag, a, type, SOAP_TYPE_long); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Month(struct soap *soap, unsigned char *a) +{ soap_default_unsignedByte(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Month(struct soap *soap, const unsigned char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Month); + if (soap_out_ngwt__Month(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Month(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type) +{ + return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Month); +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Month(struct soap *soap, unsigned char *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Month(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Month(struct soap *soap, const char *tag, unsigned char *a, const char *type) +{ + return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Month); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Minute(struct soap *soap, unsigned char *a) +{ soap_default_unsignedByte(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Minute(struct soap *soap, const unsigned char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Minute); + if (soap_out_ngwt__Minute(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Minute(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type) +{ + return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Minute); +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Minute(struct soap *soap, unsigned char *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Minute(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Minute(struct soap *soap, const char *tag, unsigned char *a, const char *type) +{ + return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Minute); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Hour(struct soap *soap, unsigned char *a) +{ soap_default_unsignedByte(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Hour(struct soap *soap, const unsigned char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Hour); + if (soap_out_ngwt__Hour(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Hour(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type) +{ + return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Hour); +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Hour(struct soap *soap, unsigned char *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Hour(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Hour(struct soap *soap, const char *tag, unsigned char *a, const char *type) +{ + return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Hour); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Day(struct soap *soap, unsigned char *a) +{ soap_default_unsignedByte(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Day(struct soap *soap, const unsigned char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Day); + if (soap_out_ngwt__Day(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Day(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type) +{ + return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_ngwt__Day); +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Day(struct soap *soap, unsigned char *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Day(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Day(struct soap *soap, const char *tag, unsigned char *a, const char *type) +{ + return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_ngwt__Day); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedByte(struct soap *soap, unsigned char *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_unsignedByte + *a = SOAP_DEFAULT_unsignedByte; +#else + *a = (unsigned char)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap *soap, const unsigned char *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedByte); + if (soap_out_unsignedByte(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type) +{ + return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_unsignedByte); +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap *soap, unsigned char *p, const char *tag, const char *type) +{ + if ((p = soap_in_unsignedByte(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap *soap, const char *tag, unsigned char *a, const char *type) +{ + return soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_unsignedByte); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedInt(struct soap *soap, unsigned int *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_unsignedInt + *a = SOAP_DEFAULT_unsignedInt; +#else + *a = (unsigned int)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap *soap, const unsigned int *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedInt); + if (soap_out_unsignedInt(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap *soap, const char *tag, int id, const unsigned int *a, const char *type) +{ + return soap_outunsignedInt(soap, tag, id, a, type, SOAP_TYPE_unsignedInt); +} + +SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap *soap, unsigned int *p, const char *tag, const char *type) +{ + if ((p = soap_in_unsignedInt(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap *soap, const char *tag, unsigned int *a, const char *type) +{ + return soap_inunsignedInt(soap, tag, a, type, SOAP_TYPE_unsignedInt); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedLong(struct soap *soap, unsigned long *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_unsignedLong + *a = SOAP_DEFAULT_unsignedLong; +#else + *a = (unsigned long)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedLong(struct soap *soap, const unsigned long *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedLong); + if (soap_out_unsignedLong(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedLong(struct soap *soap, const char *tag, int id, const unsigned long *a, const char *type) +{ + return soap_outunsignedLong(soap, tag, id, a, type, SOAP_TYPE_unsignedLong); +} + +SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_get_unsignedLong(struct soap *soap, unsigned long *p, const char *tag, const char *type) +{ + if ((p = soap_in_unsignedLong(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_in_unsignedLong(struct soap *soap, const char *tag, unsigned long *a, const char *type) +{ + return soap_inunsignedLong(soap, tag, a, type, SOAP_TYPE_unsignedLong); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_bool(struct soap *soap, bool *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_bool + *a = SOAP_DEFAULT_bool; +#else + *a = (bool)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap *soap, const bool *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_bool); + if (soap_out_bool(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_bool[] = +{ { (long)false, "false" }, + { (long)true, "true" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap *soap, bool n) +{ const char *s = soap_str_code(soap_codes_bool, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap *soap, const char *tag, int id, const bool *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_bool), type); + soap_send(soap, soap_bool2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap *soap, bool *p, const char *tag, const char *type) +{ + if ((p = soap_in_bool(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap *soap, const char *s, bool *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_bool, s); + if (map) + *a = (bool)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (bool)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap *soap, const char *tag, bool *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (bool *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_bool, sizeof(bool), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2bool(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (bool *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_bool, 0, sizeof(bool), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemType(struct soap *soap, enum ngwe__ItemType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwe__ItemType + *a = SOAP_DEFAULT_ngwe__ItemType; +#else + *a = (enum ngwe__ItemType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemType(struct soap *soap, const enum ngwe__ItemType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__ItemType); + if (soap_out_ngwe__ItemType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwe__ItemType[] = +{ { (long)AddressBookItem_, "AddressBookItem" }, + { (long)Appointment___, "Appointment" }, + { (long)CalendarItem___, "CalendarItem" }, + { (long)Contact____, "Contact" }, + { (long)Group__, "Group" }, + { (long)Mail___, "Mail" }, + { (long)Note___, "Note" }, + { (long)Organization____, "Organization" }, + { (long)PhoneMessage___, "PhoneMessage" }, + { (long)Resource___, "Resource" }, + { (long)Task___, "Task" }, + { (long)DocumentRef_, "DocumentRef" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__ItemType2s(struct soap *soap, enum ngwe__ItemType n) +{ const char *s = soap_str_code(soap_codes_ngwe__ItemType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemType(struct soap *soap, const char *tag, int id, const enum ngwe__ItemType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__ItemType), type); + soap_send(soap, soap_ngwe__ItemType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_get_ngwe__ItemType(struct soap *soap, enum ngwe__ItemType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__ItemType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__ItemType(struct soap *soap, const char *s, enum ngwe__ItemType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwe__ItemType, s); + if (map) + *a = (enum ngwe__ItemType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwe__ItemType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_in_ngwe__ItemType(struct soap *soap, const char *tag, enum ngwe__ItemType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwe__ItemType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__ItemType, sizeof(enum ngwe__ItemType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwe__ItemType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwe__ItemType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemType, 0, sizeof(enum ngwe__ItemType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__Field(struct soap *soap, enum ngwe__Field *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwe__Field + *a = SOAP_DEFAULT_ngwe__Field; +#else + *a = (enum ngwe__Field)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__Field(struct soap *soap, const enum ngwe__Field *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__Field); + if (soap_out_ngwe__Field(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwe__Field[] = +{ { (long)AcceptLevel_, "AcceptLevel" }, + { (long)Alarm_, "Alarm" }, + { (long)AllDayEvent_, "AllDayEvent" }, + { (long)Attachment_, "Attachment" }, + { (long)Category__, "Category" }, + { (long)Classification_, "Classification" }, + { (long)Contact___, "Contact" }, + { (long)DueDate_, "DueDate" }, + { (long)Duration_, "Duration" }, + { (long)EmailAddress_, "EmailAddress" }, + { (long)ExpirationDate_, "ExpirationDate" }, + { (long)Hidden_, "Hidden" }, + { (long)IMAddress_, "IMAddress" }, + { (long)MessageBody_, "MessageBody" }, + { (long)Name_, "Name" }, + { (long)Organization___, "Organization" }, + { (long)Owner_, "Owner" }, + { (long)PersonalSubject_, "PersonalSubject" }, + { (long)PhoneNumber_, "PhoneNumber" }, + { (long)Place_, "Place" }, + { (long)PostalAddress_, "PostalAddress" }, + { (long)RecipientStatus_, "RecipientStatus" }, + { (long)Rights_, "Rights" }, + { (long)Security_, "Security" }, + { (long)SendPriority_, "SendPriority" }, + { (long)StartDate_, "StartDate" }, + { (long)Subject_, "Subject" }, + { (long)TaskCategory_, "TaskCategory" }, + { (long)TaskPriority_, "TaskPriority" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__Field2s(struct soap *soap, enum ngwe__Field n) +{ const char *s = soap_str_code(soap_codes_ngwe__Field, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Field(struct soap *soap, const char *tag, int id, const enum ngwe__Field *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Field), type); + soap_send(soap, soap_ngwe__Field2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_get_ngwe__Field(struct soap *soap, enum ngwe__Field *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__Field(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__Field(struct soap *soap, const char *s, enum ngwe__Field *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwe__Field, s); + if (map) + *a = (enum ngwe__Field)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwe__Field)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_in_ngwe__Field(struct soap *soap, const char *tag, enum ngwe__Field *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwe__Field *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Field, sizeof(enum ngwe__Field), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwe__Field(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwe__Field *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Field, 0, sizeof(enum ngwe__Field), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__EventType(struct soap *soap, enum ngwe__EventType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwe__EventType + *a = SOAP_DEFAULT_ngwe__EventType; +#else + *a = (enum ngwe__EventType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__EventType(struct soap *soap, const enum ngwe__EventType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__EventType); + if (soap_out_ngwe__EventType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwe__EventType[] = +{ { (long)AddressBookAdd, "AddressBookAdd" }, + { (long)AddressBookDelete, "AddressBookDelete" }, + { (long)AddressBookModify, "AddressBookModify" }, + { (long)AddressBookItemAdd, "AddressBookItemAdd" }, + { (long)AddressBookItemDelete, "AddressBookItemDelete" }, + { (long)AddressBookItemModify, "AddressBookItemModify" }, + { (long)FolderAccept, "FolderAccept" }, + { (long)FolderAdd, "FolderAdd" }, + { (long)FolderDelete, "FolderDelete" }, + { (long)FolderItemAdd, "FolderItemAdd" }, + { (long)FolderItemDelete, "FolderItemDelete" }, + { (long)FolderItemMove, "FolderItemMove" }, + { (long)FolderModify, "FolderModify" }, + { (long)ItemAccept, "ItemAccept" }, + { (long)ItemArchive, "ItemArchive" }, + { (long)ItemComplete, "ItemComplete" }, + { (long)ItemDecline, "ItemDecline" }, + { (long)ItemDelete, "ItemDelete" }, + { (long)ItemMarkPrivate, "ItemMarkPrivate" }, + { (long)ItemMarkRead, "ItemMarkRead" }, + { (long)ItemMarkUnread, "ItemMarkUnread" }, + { (long)ItemModify, "ItemModify" }, + { (long)ItemPurge, "ItemPurge" }, + { (long)ItemUnarchive, "ItemUnarchive" }, + { (long)ItemUndelete, "ItemUndelete" }, + { (long)Login, "Login" }, + { (long)Logout, "Logout" }, + { (long)ProxyAccessAdd, "ProxyAccessAdd" }, + { (long)ProxyAccessModify, "ProxyAccessModify" }, + { (long)ProxyAccessDelete, "ProxyAccessDelete" }, + { (long)ProxyLogin, "ProxyLogin" }, + { (long)SessionTimedOut, "SessionTimedOut" }, + { (long)TrustedApplicationLogin, "TrustedApplicationLogin" }, + { (long)ItemMarkUnprivate, "ItemMarkUnprivate" }, + { (long)ItemUnaccept, "ItemUnaccept" }, + { (long)ItemUncomplete, "ItemUncomplete" }, + { (long)PersonalGroupItemAdd, "PersonalGroupItemAdd" }, + { (long)PersonalGroupItemDelete, "PersonalGroupItemDelete" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__EventType2s(struct soap *soap, enum ngwe__EventType n) +{ const char *s = soap_str_code(soap_codes_ngwe__EventType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventType(struct soap *soap, const char *tag, int id, const enum ngwe__EventType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventType), type); + soap_send(soap, soap_ngwe__EventType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_get_ngwe__EventType(struct soap *soap, enum ngwe__EventType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__EventType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__EventType(struct soap *soap, const char *s, enum ngwe__EventType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwe__EventType, s); + if (map) + *a = (enum ngwe__EventType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwe__EventType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_in_ngwe__EventType(struct soap *soap, const char *tag, enum ngwe__EventType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwe__EventType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventType, sizeof(enum ngwe__EventType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwe__EventType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwe__EventType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventType, 0, sizeof(enum ngwe__EventType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekDay(struct soap *soap, enum ngwt__WeekDay *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__WeekDay + *a = SOAP_DEFAULT_ngwt__WeekDay; +#else + *a = (enum ngwt__WeekDay)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekDay(struct soap *soap, const enum ngwt__WeekDay *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__WeekDay); + if (soap_out_ngwt__WeekDay(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__WeekDay[] = +{ { (long)Sunday, "Sunday" }, + { (long)Monday, "Monday" }, + { (long)Tuesday, "Tuesday" }, + { (long)Wednesday, "Wednesday" }, + { (long)Thursday, "Thursday" }, + { (long)Friday, "Friday" }, + { (long)Saturday, "Saturday" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__WeekDay2s(struct soap *soap, enum ngwt__WeekDay n) +{ const char *s = soap_str_code(soap_codes_ngwt__WeekDay, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekDay(struct soap *soap, const char *tag, int id, const enum ngwt__WeekDay *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__WeekDay), type); + soap_send(soap, soap_ngwt__WeekDay2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_get_ngwt__WeekDay(struct soap *soap, enum ngwt__WeekDay *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__WeekDay(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__WeekDay(struct soap *soap, const char *s, enum ngwt__WeekDay *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__WeekDay, s); + if (map) + *a = (enum ngwt__WeekDay)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__WeekDay)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_in_ngwt__WeekDay(struct soap *soap, const char *tag, enum ngwt__WeekDay *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__WeekDay *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__WeekDay, sizeof(enum ngwt__WeekDay), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__WeekDay(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__WeekDay *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__WeekDay, 0, sizeof(enum ngwt__WeekDay), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__VersionStatus + *a = SOAP_DEFAULT_ngwt__VersionStatus; +#else + *a = (enum ngwt__VersionStatus)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionStatus(struct soap *soap, const enum ngwt__VersionStatus *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__VersionStatus); + if (soap_out_ngwt__VersionStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__VersionStatus[] = +{ { (long)available, "available" }, + { (long)checkedOut, "checkedOut" }, + { (long)inUse, "inUse" }, + { (long)deleted_, "deleted" }, + { (long)archived, "archived" }, + { (long)massInUse, "massInUse" }, + { (long)unavailable, "unavailable" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionStatus2s(struct soap *soap, enum ngwt__VersionStatus n) +{ const char *s = soap_str_code(soap_codes_ngwt__VersionStatus, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionStatus(struct soap *soap, const char *tag, int id, const enum ngwt__VersionStatus *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__VersionStatus), type); + soap_send(soap, soap_ngwt__VersionStatus2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_get_ngwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__VersionStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionStatus(struct soap *soap, const char *s, enum ngwt__VersionStatus *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__VersionStatus, s); + if (map) + *a = (enum ngwt__VersionStatus)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__VersionStatus)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_in_ngwt__VersionStatus(struct soap *soap, const char *tag, enum ngwt__VersionStatus *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__VersionStatus *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__VersionStatus, sizeof(enum ngwt__VersionStatus), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__VersionStatus(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__VersionStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionStatus, 0, sizeof(enum ngwt__VersionStatus), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionEventType(struct soap *soap, enum ngwt__VersionEventType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__VersionEventType + *a = SOAP_DEFAULT_ngwt__VersionEventType; +#else + *a = (enum ngwt__VersionEventType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionEventType(struct soap *soap, const enum ngwt__VersionEventType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__VersionEventType); + if (soap_out_ngwt__VersionEventType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__VersionEventType[] = +{ { (long)archive_, "archive" }, + { (long)checkIn, "checkIn" }, + { (long)checkOut, "checkOut" }, + { (long)copyIn, "copyIn" }, + { (long)copyOut, "copyOut" }, + { (long)copyVersion, "copyVersion" }, + { (long)created, "created" }, + { (long)deleteVersion, "deleteVersion" }, + { (long)endAccess, "endAccess" }, + { (long)resetStatus, "resetStatus" }, + { (long)restore, "restore" }, + { (long)retrieve, "retrieve" }, + { (long)securityModified, "securityModified" }, + { (long)versionDownloaded, "versionDownloaded" }, + { (long)viewed, "viewed" }, + { (long)unknown, "unknown" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionEventType2s(struct soap *soap, enum ngwt__VersionEventType n) +{ const char *s = soap_str_code(soap_codes_ngwt__VersionEventType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEventType(struct soap *soap, const char *tag, int id, const enum ngwt__VersionEventType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__VersionEventType), type); + soap_send(soap, soap_ngwt__VersionEventType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_get_ngwt__VersionEventType(struct soap *soap, enum ngwt__VersionEventType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__VersionEventType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionEventType(struct soap *soap, const char *s, enum ngwt__VersionEventType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__VersionEventType, s); + if (map) + *a = (enum ngwt__VersionEventType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__VersionEventType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_in_ngwt__VersionEventType(struct soap *soap, const char *tag, enum ngwt__VersionEventType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__VersionEventType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__VersionEventType, sizeof(enum ngwt__VersionEventType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__VersionEventType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__VersionEventType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionEventType, 0, sizeof(enum ngwt__VersionEventType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__StatusTrackingOptions(struct soap *soap, enum ngwt__StatusTrackingOptions *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__StatusTrackingOptions + *a = SOAP_DEFAULT_ngwt__StatusTrackingOptions; +#else + *a = (enum ngwt__StatusTrackingOptions)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__StatusTrackingOptions(struct soap *soap, const enum ngwt__StatusTrackingOptions *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__StatusTrackingOptions); + if (soap_out_ngwt__StatusTrackingOptions(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__StatusTrackingOptions[] = +{ { (long)None, "None" }, + { (long)Delivered, "Delivered" }, + { (long)DeliveredAndOpened, "DeliveredAndOpened" }, + { (long)All_, "All" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__StatusTrackingOptions2s(struct soap *soap, enum ngwt__StatusTrackingOptions n) +{ const char *s = soap_str_code(soap_codes_ngwt__StatusTrackingOptions, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTrackingOptions(struct soap *soap, const char *tag, int id, const enum ngwt__StatusTrackingOptions *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__StatusTrackingOptions), type); + soap_send(soap, soap_ngwt__StatusTrackingOptions2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_get_ngwt__StatusTrackingOptions(struct soap *soap, enum ngwt__StatusTrackingOptions *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__StatusTrackingOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__StatusTrackingOptions(struct soap *soap, const char *s, enum ngwt__StatusTrackingOptions *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__StatusTrackingOptions, s); + if (map) + *a = (enum ngwt__StatusTrackingOptions)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__StatusTrackingOptions)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_in_ngwt__StatusTrackingOptions(struct soap *soap, const char *tag, enum ngwt__StatusTrackingOptions *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__StatusTrackingOptions *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__StatusTrackingOptions, sizeof(enum ngwt__StatusTrackingOptions), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__StatusTrackingOptions(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__StatusTrackingOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__StatusTrackingOptions, 0, sizeof(enum ngwt__StatusTrackingOptions), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RuleActionType(struct soap *soap, enum ngwt__RuleActionType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__RuleActionType + *a = SOAP_DEFAULT_ngwt__RuleActionType; +#else + *a = (enum ngwt__RuleActionType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RuleActionType(struct soap *soap, const enum ngwt__RuleActionType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__RuleActionType); + if (soap_out_ngwt__RuleActionType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__RuleActionType[] = +{ { (long)Accept, "Accept" }, + { (long)Archive, "Archive" }, + { (long)Category_, "Category" }, + { (long)Delegate, "Delegate" }, + { (long)Delete, "Delete" }, + { (long)Forward, "Forward" }, + { (long)Link, "Link" }, + { (long)MarkPrivate, "MarkPrivate" }, + { (long)MarkRead, "MarkRead" }, + { (long)MarkUnread, "MarkUnread" }, + { (long)Move, "Move" }, + { (long)Purge, "Purge" }, + { (long)Reply, "Reply" }, + { (long)Send, "Send" }, + { (long)StopRules, "StopRules" }, + { (long)Unknown, "Unknown" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RuleActionType2s(struct soap *soap, enum ngwt__RuleActionType n) +{ const char *s = soap_str_code(soap_codes_ngwt__RuleActionType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionType(struct soap *soap, const char *tag, int id, const enum ngwt__RuleActionType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleActionType), type); + soap_send(soap, soap_ngwt__RuleActionType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_get_ngwt__RuleActionType(struct soap *soap, enum ngwt__RuleActionType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RuleActionType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RuleActionType(struct soap *soap, const char *s, enum ngwt__RuleActionType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__RuleActionType, s); + if (map) + *a = (enum ngwt__RuleActionType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__RuleActionType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_in_ngwt__RuleActionType(struct soap *soap, const char *tag, enum ngwt__RuleActionType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__RuleActionType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleActionType, sizeof(enum ngwt__RuleActionType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__RuleActionType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__RuleActionType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleActionType, 0, sizeof(enum ngwt__RuleActionType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RetractType(struct soap *soap, enum ngwt__RetractType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__RetractType + *a = SOAP_DEFAULT_ngwt__RetractType; +#else + *a = (enum ngwt__RetractType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RetractType(struct soap *soap, const enum ngwt__RetractType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__RetractType); + if (soap_out_ngwt__RetractType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__RetractType[] = +{ { (long)myMailbox, "myMailbox" }, + { (long)recipientMailboxes, "recipientMailboxes" }, + { (long)allMailboxes, "allMailboxes" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RetractType2s(struct soap *soap, enum ngwt__RetractType n) +{ const char *s = soap_str_code(soap_codes_ngwt__RetractType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RetractType(struct soap *soap, const char *tag, int id, const enum ngwt__RetractType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RetractType), type); + soap_send(soap, soap_ngwt__RetractType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_get_ngwt__RetractType(struct soap *soap, enum ngwt__RetractType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RetractType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RetractType(struct soap *soap, const char *s, enum ngwt__RetractType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__RetractType, s); + if (map) + *a = (enum ngwt__RetractType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__RetractType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_in_ngwt__RetractType(struct soap *soap, const char *tag, enum ngwt__RetractType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__RetractType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RetractType, sizeof(enum ngwt__RetractType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__RetractType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__RetractType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RetractType, 0, sizeof(enum ngwt__RetractType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__RecipientType + *a = SOAP_DEFAULT_ngwt__RecipientType; +#else + *a = (enum ngwt__RecipientType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RecipientType(struct soap *soap, const enum ngwt__RecipientType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__RecipientType); + if (soap_out_ngwt__RecipientType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__RecipientType[] = +{ { (long)User_, "User" }, + { (long)Resource__, "Resource" }, + { (long)PersonalGroup, "PersonalGroup" }, + { (long)SystemGroup, "SystemGroup" }, + { (long)PersonalGroupMember, "PersonalGroupMember" }, + { (long)SystemGroupMember, "SystemGroupMember" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RecipientType2s(struct soap *soap, enum ngwt__RecipientType n) +{ const char *s = soap_str_code(soap_codes_ngwt__RecipientType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientType(struct soap *soap, const char *tag, int id, const enum ngwt__RecipientType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecipientType), type); + soap_send(soap, soap_ngwt__RecipientType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_get_ngwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RecipientType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RecipientType(struct soap *soap, const char *s, enum ngwt__RecipientType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__RecipientType, s); + if (map) + *a = (enum ngwt__RecipientType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__RecipientType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_in_ngwt__RecipientType(struct soap *soap, const char *tag, enum ngwt__RecipientType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__RecipientType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecipientType, sizeof(enum ngwt__RecipientType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__RecipientType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__RecipientType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientType, 0, sizeof(enum ngwt__RecipientType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PostalAddressType(struct soap *soap, enum ngwt__PostalAddressType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__PostalAddressType + *a = SOAP_DEFAULT_ngwt__PostalAddressType; +#else + *a = (enum ngwt__PostalAddressType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PostalAddressType(struct soap *soap, const enum ngwt__PostalAddressType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__PostalAddressType); + if (soap_out_ngwt__PostalAddressType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__PostalAddressType[] = +{ { (long)Home_, "Home" }, + { (long)Office_, "Office" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PostalAddressType2s(struct soap *soap, enum ngwt__PostalAddressType n) +{ const char *s = soap_str_code(soap_codes_ngwt__PostalAddressType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressType(struct soap *soap, const char *tag, int id, const enum ngwt__PostalAddressType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PostalAddressType), type); + soap_send(soap, soap_ngwt__PostalAddressType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_get_ngwt__PostalAddressType(struct soap *soap, enum ngwt__PostalAddressType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PostalAddressType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PostalAddressType(struct soap *soap, const char *s, enum ngwt__PostalAddressType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__PostalAddressType, s); + if (map) + *a = (enum ngwt__PostalAddressType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__PostalAddressType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_in_ngwt__PostalAddressType(struct soap *soap, const char *tag, enum ngwt__PostalAddressType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__PostalAddressType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PostalAddressType, sizeof(enum ngwt__PostalAddressType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__PostalAddressType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__PostalAddressType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddressType, 0, sizeof(enum ngwt__PostalAddressType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PhoneNumberType(struct soap *soap, enum ngwt__PhoneNumberType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__PhoneNumberType + *a = SOAP_DEFAULT_ngwt__PhoneNumberType; +#else + *a = (enum ngwt__PhoneNumberType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PhoneNumberType(struct soap *soap, const enum ngwt__PhoneNumberType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneNumberType); + if (soap_out_ngwt__PhoneNumberType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__PhoneNumberType[] = +{ { (long)Fax, "Fax" }, + { (long)Home, "Home" }, + { (long)Mobile, "Mobile" }, + { (long)Office, "Office" }, + { (long)Pager, "Pager" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PhoneNumberType2s(struct soap *soap, enum ngwt__PhoneNumberType n) +{ const char *s = soap_str_code(soap_codes_ngwt__PhoneNumberType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumberType(struct soap *soap, const char *tag, int id, const enum ngwt__PhoneNumberType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneNumberType), type); + soap_send(soap, soap_ngwt__PhoneNumberType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_get_ngwt__PhoneNumberType(struct soap *soap, enum ngwt__PhoneNumberType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PhoneNumberType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PhoneNumberType(struct soap *soap, const char *s, enum ngwt__PhoneNumberType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__PhoneNumberType, s); + if (map) + *a = (enum ngwt__PhoneNumberType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__PhoneNumberType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_in_ngwt__PhoneNumberType(struct soap *soap, const char *tag, enum ngwt__PhoneNumberType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__PhoneNumberType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneNumberType, sizeof(enum ngwt__PhoneNumberType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__PhoneNumberType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__PhoneNumberType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneNumberType, 0, sizeof(enum ngwt__PhoneNumberType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__OccurrenceType + *a = SOAP_DEFAULT_ngwt__OccurrenceType; +#else + *a = (enum ngwt__OccurrenceType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__OccurrenceType(struct soap *soap, const enum ngwt__OccurrenceType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__OccurrenceType); + if (soap_out_ngwt__OccurrenceType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__OccurrenceType[] = +{ { (long)First, "First" }, + { (long)Second, "Second" }, + { (long)Third, "Third" }, + { (long)Fourth, "Fourth" }, + { (long)Fifth, "Fifth" }, + { (long)Last, "Last" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__OccurrenceType2s(struct soap *soap, enum ngwt__OccurrenceType n) +{ const char *s = soap_str_code(soap_codes_ngwt__OccurrenceType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OccurrenceType(struct soap *soap, const char *tag, int id, const enum ngwt__OccurrenceType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__OccurrenceType), type); + soap_send(soap, soap_ngwt__OccurrenceType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_get_ngwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__OccurrenceType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__OccurrenceType(struct soap *soap, const char *s, enum ngwt__OccurrenceType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__OccurrenceType, s); + if (map) + *a = (enum ngwt__OccurrenceType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__OccurrenceType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_in_ngwt__OccurrenceType(struct soap *soap, const char *tag, enum ngwt__OccurrenceType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__OccurrenceType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__OccurrenceType, sizeof(enum ngwt__OccurrenceType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__OccurrenceType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__OccurrenceType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OccurrenceType, 0, sizeof(enum ngwt__OccurrenceType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__NotificationType(struct soap *soap, enum ngwt__NotificationType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__NotificationType + *a = SOAP_DEFAULT_ngwt__NotificationType; +#else + *a = (enum ngwt__NotificationType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__NotificationType(struct soap *soap, const enum ngwt__NotificationType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__NotificationType); + if (soap_out_ngwt__NotificationType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__NotificationType[] = +{ { (long)SharedAddressBook, "SharedAddressBook" }, + { (long)SharedFolder, "SharedFolder" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__NotificationType2s(struct soap *soap, enum ngwt__NotificationType n) +{ const char *s = soap_str_code(soap_codes_ngwt__NotificationType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NotificationType(struct soap *soap, const char *tag, int id, const enum ngwt__NotificationType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__NotificationType), type); + soap_send(soap, soap_ngwt__NotificationType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_get_ngwt__NotificationType(struct soap *soap, enum ngwt__NotificationType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__NotificationType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__NotificationType(struct soap *soap, const char *s, enum ngwt__NotificationType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__NotificationType, s); + if (map) + *a = (enum ngwt__NotificationType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__NotificationType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_in_ngwt__NotificationType(struct soap *soap, const char *tag, enum ngwt__NotificationType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__NotificationType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__NotificationType, sizeof(enum ngwt__NotificationType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__NotificationType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__NotificationType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__NotificationType, 0, sizeof(enum ngwt__NotificationType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageType(struct soap *soap, enum ngwt__MessageType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__MessageType + *a = SOAP_DEFAULT_ngwt__MessageType; +#else + *a = (enum ngwt__MessageType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageType(struct soap *soap, const enum ngwt__MessageType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__MessageType); + if (soap_out_ngwt__MessageType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__MessageType[] = +{ { (long)Appointment__, "Appointment" }, + { (long)CalendarItem__, "CalendarItem" }, + { (long)DocumentReference_, "DocumentReference" }, + { (long)Mail__, "Mail" }, + { (long)Note__, "Note" }, + { (long)PhoneMessage__, "PhoneMessage" }, + { (long)Task__, "Task" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageType2s(struct soap *soap, enum ngwt__MessageType n) +{ const char *s = soap_str_code(soap_codes_ngwt__MessageType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageType(struct soap *soap, const char *tag, int id, const enum ngwt__MessageType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageType), type); + soap_send(soap, soap_ngwt__MessageType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_get_ngwt__MessageType(struct soap *soap, enum ngwt__MessageType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__MessageType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageType(struct soap *soap, const char *s, enum ngwt__MessageType *a) +{ + const struct soap_code_map *map; + char *t; + if (!s) + return SOAP_OK; + soap_s2QName(soap, s, &t); + map = soap_code(soap_codes_ngwt__MessageType, t); + if (map) + *a = (enum ngwt__MessageType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__MessageType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_in_ngwt__MessageType(struct soap *soap, const char *tag, enum ngwt__MessageType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__MessageType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageType, sizeof(enum ngwt__MessageType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__MessageType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__MessageType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageType, 0, sizeof(enum ngwt__MessageType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageList(struct soap *soap, enum ngwt__MessageList *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__MessageList + *a = SOAP_DEFAULT_ngwt__MessageList; +#else + *a = (enum ngwt__MessageList)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageList(struct soap *soap, const enum ngwt__MessageList *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__MessageList); + if (soap_out_ngwt__MessageList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__MessageList[] = +{ { (long)All, "All" }, + { (long)Modified, "Modified" }, + { (long)New_, "New" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageList2s(struct soap *soap, enum ngwt__MessageList n) +{ const char *s = soap_str_code(soap_codes_ngwt__MessageList, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageList(struct soap *soap, const char *tag, int id, const enum ngwt__MessageList *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageList), type); + soap_send(soap, soap_ngwt__MessageList2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_get_ngwt__MessageList(struct soap *soap, enum ngwt__MessageList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__MessageList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageList(struct soap *soap, const char *s, enum ngwt__MessageList *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__MessageList, s); + if (map) + *a = (enum ngwt__MessageList)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__MessageList)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_in_ngwt__MessageList(struct soap *soap, const char *tag, enum ngwt__MessageList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__MessageList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageList, sizeof(enum ngwt__MessageList), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__MessageList(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__MessageList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageList, 0, sizeof(enum ngwt__MessageList), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__LinkType(struct soap *soap, enum ngwt__LinkType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__LinkType + *a = SOAP_DEFAULT_ngwt__LinkType; +#else + *a = (enum ngwt__LinkType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__LinkType(struct soap *soap, const enum ngwt__LinkType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__LinkType); + if (soap_out_ngwt__LinkType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__LinkType[] = +{ { (long)forward, "forward" }, + { (long)reply, "reply" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__LinkType2s(struct soap *soap, enum ngwt__LinkType n) +{ const char *s = soap_str_code(soap_codes_ngwt__LinkType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkType(struct soap *soap, const char *tag, int id, const enum ngwt__LinkType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__LinkType), type); + soap_send(soap, soap_ngwt__LinkType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_get_ngwt__LinkType(struct soap *soap, enum ngwt__LinkType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__LinkType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__LinkType(struct soap *soap, const char *s, enum ngwt__LinkType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__LinkType, s); + if (map) + *a = (enum ngwt__LinkType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__LinkType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_in_ngwt__LinkType(struct soap *soap, const char *tag, enum ngwt__LinkType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__LinkType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__LinkType, sizeof(enum ngwt__LinkType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__LinkType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__LinkType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LinkType, 0, sizeof(enum ngwt__LinkType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkMatchType(struct soap *soap, enum ngwt__JunkMatchType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__JunkMatchType + *a = SOAP_DEFAULT_ngwt__JunkMatchType; +#else + *a = (enum ngwt__JunkMatchType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkMatchType(struct soap *soap, const enum ngwt__JunkMatchType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__JunkMatchType); + if (soap_out_ngwt__JunkMatchType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__JunkMatchType[] = +{ { (long)email, "email" }, + { (long)domain, "domain" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkMatchType2s(struct soap *soap, enum ngwt__JunkMatchType n) +{ const char *s = soap_str_code(soap_codes_ngwt__JunkMatchType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkMatchType(struct soap *soap, const char *tag, int id, const enum ngwt__JunkMatchType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkMatchType), type); + soap_send(soap, soap_ngwt__JunkMatchType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_get_ngwt__JunkMatchType(struct soap *soap, enum ngwt__JunkMatchType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__JunkMatchType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkMatchType(struct soap *soap, const char *s, enum ngwt__JunkMatchType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__JunkMatchType, s); + if (map) + *a = (enum ngwt__JunkMatchType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__JunkMatchType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_in_ngwt__JunkMatchType(struct soap *soap, const char *tag, enum ngwt__JunkMatchType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__JunkMatchType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkMatchType, sizeof(enum ngwt__JunkMatchType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__JunkMatchType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__JunkMatchType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkMatchType, 0, sizeof(enum ngwt__JunkMatchType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__JunkHandlingListType + *a = SOAP_DEFAULT_ngwt__JunkHandlingListType; +#else + *a = (enum ngwt__JunkHandlingListType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkHandlingListType(struct soap *soap, const enum ngwt__JunkHandlingListType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__JunkHandlingListType); + if (soap_out_ngwt__JunkHandlingListType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__JunkHandlingListType[] = +{ { (long)junk, "junk" }, + { (long)block, "block" }, + { (long)trust, "trust" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkHandlingListType2s(struct soap *soap, enum ngwt__JunkHandlingListType n) +{ const char *s = soap_str_code(soap_codes_ngwt__JunkHandlingListType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingListType(struct soap *soap, const char *tag, int id, const enum ngwt__JunkHandlingListType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkHandlingListType), type); + soap_send(soap, soap_ngwt__JunkHandlingListType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_get_ngwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__JunkHandlingListType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkHandlingListType(struct soap *soap, const char *s, enum ngwt__JunkHandlingListType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__JunkHandlingListType, s); + if (map) + *a = (enum ngwt__JunkHandlingListType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__JunkHandlingListType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_in_ngwt__JunkHandlingListType(struct soap *soap, const char *tag, enum ngwt__JunkHandlingListType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__JunkHandlingListType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkHandlingListType, sizeof(enum ngwt__JunkHandlingListType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__JunkHandlingListType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__JunkHandlingListType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingListType, 0, sizeof(enum ngwt__JunkHandlingListType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__ItemSource + *a = SOAP_DEFAULT_ngwt__ItemSource; +#else + *a = (enum ngwt__ItemSource)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSource(struct soap *soap, const enum ngwt__ItemSource *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemSource); + if (soap_out_ngwt__ItemSource(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__ItemSource[] = +{ { (long)received_, "received" }, + { (long)sent_, "sent" }, + { (long)draft_, "draft" }, + { (long)personal_, "personal" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSource2s(struct soap *soap, enum ngwt__ItemSource n) +{ const char *s = soap_str_code(soap_codes_ngwt__ItemSource, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSource(struct soap *soap, const char *tag, int id, const enum ngwt__ItemSource *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemSource), type); + soap_send(soap, soap_ngwt__ItemSource2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_get_ngwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemSource(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSource(struct soap *soap, const char *s, enum ngwt__ItemSource *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__ItemSource, s); + if (map) + *a = (enum ngwt__ItemSource)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__ItemSource)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_in_ngwt__ItemSource(struct soap *soap, const char *tag, enum ngwt__ItemSource *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__ItemSource *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemSource, sizeof(enum ngwt__ItemSource), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__ItemSource(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__ItemSource *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSource, 0, sizeof(enum ngwt__ItemSource), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__ItemSecurity + *a = SOAP_DEFAULT_ngwt__ItemSecurity; +#else + *a = (enum ngwt__ItemSecurity)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSecurity(struct soap *soap, const enum ngwt__ItemSecurity *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemSecurity); + if (soap_out_ngwt__ItemSecurity(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__ItemSecurity[] = +{ { (long)Normal__, "Normal" }, + { (long)Proprietary, "Proprietary" }, + { (long)Confidential, "Confidential" }, + { (long)Secret, "Secret" }, + { (long)TopSecret, "TopSecret" }, + { (long)ForYourEyesOnly, "ForYourEyesOnly" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSecurity2s(struct soap *soap, enum ngwt__ItemSecurity n) +{ const char *s = soap_str_code(soap_codes_ngwt__ItemSecurity, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSecurity(struct soap *soap, const char *tag, int id, const enum ngwt__ItemSecurity *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemSecurity), type); + soap_send(soap, soap_ngwt__ItemSecurity2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_get_ngwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemSecurity(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSecurity(struct soap *soap, const char *s, enum ngwt__ItemSecurity *a) +{ + const struct soap_code_map *map; + char *t; + if (!s) + return SOAP_OK; + //soap_s2QName(soap, s, &t); + map = soap_code(soap_codes_ngwt__ItemSecurity, s); + if (map) + *a = (enum ngwt__ItemSecurity)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__ItemSecurity)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_in_ngwt__ItemSecurity(struct soap *soap, const char *tag, enum ngwt__ItemSecurity *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__ItemSecurity *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemSecurity, sizeof(enum ngwt__ItemSecurity), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__ItemSecurity(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__ItemSecurity *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSecurity, 0, sizeof(enum ngwt__ItemSecurity), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemOptionsPriority(struct soap *soap, enum ngwt__ItemOptionsPriority *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__ItemOptionsPriority + *a = SOAP_DEFAULT_ngwt__ItemOptionsPriority; +#else + *a = (enum ngwt__ItemOptionsPriority)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemOptionsPriority(struct soap *soap, const enum ngwt__ItemOptionsPriority *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemOptionsPriority); + if (soap_out_ngwt__ItemOptionsPriority(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__ItemOptionsPriority[] = +{ { (long)High, "High" }, + { (long)Standard, "Standard" }, + { (long)Low, "Low" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemOptionsPriority2s(struct soap *soap, enum ngwt__ItemOptionsPriority n) +{ const char *s = soap_str_code(soap_codes_ngwt__ItemOptionsPriority, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptionsPriority(struct soap *soap, const char *tag, int id, const enum ngwt__ItemOptionsPriority *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemOptionsPriority), type); + soap_send(soap, soap_ngwt__ItemOptionsPriority2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_get_ngwt__ItemOptionsPriority(struct soap *soap, enum ngwt__ItemOptionsPriority *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemOptionsPriority(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemOptionsPriority(struct soap *soap, const char *s, enum ngwt__ItemOptionsPriority *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__ItemOptionsPriority, s); + if (map) + *a = (enum ngwt__ItemOptionsPriority)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__ItemOptionsPriority)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_in_ngwt__ItemOptionsPriority(struct soap *soap, const char *tag, enum ngwt__ItemOptionsPriority *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__ItemOptionsPriority *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemOptionsPriority, sizeof(enum ngwt__ItemOptionsPriority), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__ItemOptionsPriority(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__ItemOptionsPriority *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemOptionsPriority, 0, sizeof(enum ngwt__ItemOptionsPriority), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__ItemClass + *a = SOAP_DEFAULT_ngwt__ItemClass; +#else + *a = (enum ngwt__ItemClass)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemClass(struct soap *soap, const enum ngwt__ItemClass *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemClass); + if (soap_out_ngwt__ItemClass(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__ItemClass[] = +{ { (long)Public, "Public" }, + { (long)Private, "Private" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemClass2s(struct soap *soap, enum ngwt__ItemClass n) +{ const char *s = soap_str_code(soap_codes_ngwt__ItemClass, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemClass(struct soap *soap, const char *tag, int id, const enum ngwt__ItemClass *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemClass), type); + soap_send(soap, soap_ngwt__ItemClass2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_get_ngwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemClass(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemClass(struct soap *soap, const char *s, enum ngwt__ItemClass *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__ItemClass, s); + if (map) + *a = (enum ngwt__ItemClass)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__ItemClass)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_in_ngwt__ItemClass(struct soap *soap, const char *tag, enum ngwt__ItemClass *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__ItemClass *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemClass, sizeof(enum ngwt__ItemClass), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__ItemClass(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__ItemClass *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemClass, 0, sizeof(enum ngwt__ItemClass), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Frequency(struct soap *soap, enum ngwt__Frequency *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__Frequency + *a = SOAP_DEFAULT_ngwt__Frequency; +#else + *a = (enum ngwt__Frequency)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Frequency(struct soap *soap, const enum ngwt__Frequency *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Frequency); + if (soap_out_ngwt__Frequency(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__Frequency[] = +{ { (long)Daily, "Daily" }, + { (long)Weekly, "Weekly" }, + { (long)Monthly, "Monthly" }, + { (long)Yearly, "Yearly" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Frequency2s(struct soap *soap, enum ngwt__Frequency n) +{ const char *s = soap_str_code(soap_codes_ngwt__Frequency, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Frequency(struct soap *soap, const char *tag, int id, const enum ngwt__Frequency *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Frequency), type); + soap_send(soap, soap_ngwt__Frequency2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_get_ngwt__Frequency(struct soap *soap, enum ngwt__Frequency *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Frequency(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Frequency(struct soap *soap, const char *s, enum ngwt__Frequency *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__Frequency, s); + if (map) + *a = (enum ngwt__Frequency)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__Frequency)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_in_ngwt__Frequency(struct soap *soap, const char *tag, enum ngwt__Frequency *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__Frequency *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Frequency, sizeof(enum ngwt__Frequency), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__Frequency(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__Frequency *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Frequency, 0, sizeof(enum ngwt__Frequency), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderType(struct soap *soap, enum ngwt__FolderType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__FolderType + *a = SOAP_DEFAULT_ngwt__FolderType; +#else + *a = (enum ngwt__FolderType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderType(struct soap *soap, const enum ngwt__FolderType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FolderType); + if (soap_out_ngwt__FolderType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__FolderType[] = +{ { (long)Mailbox, "Mailbox" }, + { (long)SentItems, "SentItems" }, + { (long)Draft, "Draft" }, + { (long)Trash, "Trash" }, + { (long)Calendar, "Calendar" }, + { (long)Contacts, "Contacts" }, + { (long)Documents, "Documents" }, + { (long)Checklist, "Checklist" }, + { (long)Cabinet, "Cabinet" }, + { (long)Normal_, "Normal" }, + { (long)NNTPServer, "NNTPServer" }, + { (long)NNTPNewsGroup, "NNTPNewsGroup" }, + { (long)IMAP, "IMAP" }, + { (long)Query, "Query" }, + { (long)Root, "Root" }, + { (long)JunkMail, "JunkMail" }, + { (long)Notes, "Notes" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderType2s(struct soap *soap, enum ngwt__FolderType n) +{ const char *s = soap_str_code(soap_codes_ngwt__FolderType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderType(struct soap *soap, const char *tag, int id, const enum ngwt__FolderType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderType), type); + soap_send(soap, soap_ngwt__FolderType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_get_ngwt__FolderType(struct soap *soap, enum ngwt__FolderType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FolderType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderType(struct soap *soap, const char *s, enum ngwt__FolderType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__FolderType, s); + if (map) + *a = (enum ngwt__FolderType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__FolderType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_in_ngwt__FolderType(struct soap *soap, const char *tag, enum ngwt__FolderType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__FolderType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderType, sizeof(enum ngwt__FolderType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__FolderType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__FolderType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderType, 0, sizeof(enum ngwt__FolderType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__FolderACLStatus + *a = SOAP_DEFAULT_ngwt__FolderACLStatus; +#else + *a = (enum ngwt__FolderACLStatus)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderACLStatus(struct soap *soap, const enum ngwt__FolderACLStatus *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FolderACLStatus); + if (soap_out_ngwt__FolderACLStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__FolderACLStatus[] = +{ { (long)pending, "pending" }, + { (long)accepted, "accepted" }, + { (long)deleted, "deleted" }, + { (long)opened, "opened" }, + { (long)owner, "owner" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderACLStatus2s(struct soap *soap, enum ngwt__FolderACLStatus n) +{ const char *s = soap_str_code(soap_codes_ngwt__FolderACLStatus, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLStatus(struct soap *soap, const char *tag, int id, const enum ngwt__FolderACLStatus *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderACLStatus), type); + soap_send(soap, soap_ngwt__FolderACLStatus2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_get_ngwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FolderACLStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderACLStatus(struct soap *soap, const char *s, enum ngwt__FolderACLStatus *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__FolderACLStatus, s); + if (map) + *a = (enum ngwt__FolderACLStatus)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__FolderACLStatus)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_in_ngwt__FolderACLStatus(struct soap *soap, const char *tag, enum ngwt__FolderACLStatus *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__FolderACLStatus *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderACLStatus, sizeof(enum ngwt__FolderACLStatus), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__FolderACLStatus(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__FolderACLStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLStatus, 0, sizeof(enum ngwt__FolderACLStatus), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterOp(struct soap *soap, enum ngwt__FilterOp *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__FilterOp + *a = SOAP_DEFAULT_ngwt__FilterOp; +#else + *a = (enum ngwt__FilterOp)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterOp(struct soap *soap, const enum ngwt__FilterOp *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FilterOp); + if (soap_out_ngwt__FilterOp(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__FilterOp[] = +{ { (long)and_, "and" }, + { (long)or_, "or" }, + { (long)not_, "not" }, + { (long)eq, "eq" }, + { (long)ne, "ne" }, + { (long)gt, "gt" }, + { (long)lt, "lt" }, + { (long)gte, "gte" }, + { (long)lte, "lte" }, + { (long)contains, "contains" }, + { (long)containsWord, "containsWord" }, + { (long)begins, "begins" }, + { (long)exists, "exists" }, + { (long)notExist, "notExist" }, + { (long)isOf, "isOf" }, + { (long)isNotOf, "isNotOf" }, + { (long)fieldEqual, "fieldEqual" }, + { (long)fieldGTE, "fieldGTE" }, + { (long)fieldGT, "fieldGT" }, + { (long)fieldLTE, "fieldLTE" }, + { (long)fieldLT, "fieldLT" }, + { (long)fieldNE, "fieldNE" }, + { (long)fieldDateEqual, "fieldDateEqual" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterOp2s(struct soap *soap, enum ngwt__FilterOp n) +{ const char *s = soap_str_code(soap_codes_ngwt__FilterOp, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterOp(struct soap *soap, const char *tag, int id, const enum ngwt__FilterOp *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterOp), type); + soap_send(soap, soap_ngwt__FilterOp2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_get_ngwt__FilterOp(struct soap *soap, enum ngwt__FilterOp *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FilterOp(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterOp(struct soap *soap, const char *s, enum ngwt__FilterOp *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__FilterOp, s); + if (map) + *a = (enum ngwt__FilterOp)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__FilterOp)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_in_ngwt__FilterOp(struct soap *soap, const char *tag, enum ngwt__FilterOp *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__FilterOp *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterOp, sizeof(enum ngwt__FilterOp), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__FilterOp(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__FilterOp *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterOp, 0, sizeof(enum ngwt__FilterOp), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__FilterDate + *a = SOAP_DEFAULT_ngwt__FilterDate; +#else + *a = (enum ngwt__FilterDate)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterDate(struct soap *soap, const enum ngwt__FilterDate *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__FilterDate); + if (soap_out_ngwt__FilterDate(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__FilterDate[] = +{ { (long)Today, "Today" }, + { (long)Tomorrow, "Tomorrow" }, + { (long)ThisMonth, "ThisMonth" }, + { (long)ThisWeek, "ThisWeek" }, + { (long)ThisYear, "ThisYear" }, + { (long)Yesterday, "Yesterday" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterDate2s(struct soap *soap, enum ngwt__FilterDate n) +{ const char *s = soap_str_code(soap_codes_ngwt__FilterDate, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterDate(struct soap *soap, const char *tag, int id, const enum ngwt__FilterDate *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterDate), type); + soap_send(soap, soap_ngwt__FilterDate2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_get_ngwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FilterDate(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterDate(struct soap *soap, const char *s, enum ngwt__FilterDate *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__FilterDate, s); + if (map) + *a = (enum ngwt__FilterDate)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__FilterDate)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_in_ngwt__FilterDate(struct soap *soap, const char *tag, enum ngwt__FilterDate *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__FilterDate *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterDate, sizeof(enum ngwt__FilterDate), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__FilterDate(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__FilterDate *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterDate, 0, sizeof(enum ngwt__FilterDate), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Execution(struct soap *soap, enum ngwt__Execution *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__Execution + *a = SOAP_DEFAULT_ngwt__Execution; +#else + *a = (enum ngwt__Execution)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Execution(struct soap *soap, const enum ngwt__Execution *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__Execution); + if (soap_out_ngwt__Execution(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__Execution[] = +{ { (long)Startup, "Startup" }, + { (long)Exit, "Exit" }, + { (long)New, "New" }, + { (long)FolderOpen, "FolderOpen" }, + { (long)FolderClose, "FolderClose" }, + { (long)FolderNew, "FolderNew" }, + { (long)User, "User" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Execution2s(struct soap *soap, enum ngwt__Execution n) +{ const char *s = soap_str_code(soap_codes_ngwt__Execution, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Execution(struct soap *soap, const char *tag, int id, const enum ngwt__Execution *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Execution), type); + soap_send(soap, soap_ngwt__Execution2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_get_ngwt__Execution(struct soap *soap, enum ngwt__Execution *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Execution(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Execution(struct soap *soap, const char *s, enum ngwt__Execution *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__Execution, s); + if (map) + *a = (enum ngwt__Execution)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__Execution)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_in_ngwt__Execution(struct soap *soap, const char *tag, enum ngwt__Execution *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__Execution *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Execution, sizeof(enum ngwt__Execution), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__Execution(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__Execution *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Execution, 0, sizeof(enum ngwt__Execution), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DistributionType(struct soap *soap, enum ngwt__DistributionType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__DistributionType + *a = SOAP_DEFAULT_ngwt__DistributionType; +#else + *a = (enum ngwt__DistributionType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DistributionType(struct soap *soap, const enum ngwt__DistributionType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DistributionType); + if (soap_out_ngwt__DistributionType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__DistributionType[] = +{ { (long)TO, "TO" }, + { (long)CC, "CC" }, + { (long)BC, "BC" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DistributionType2s(struct soap *soap, enum ngwt__DistributionType n) +{ const char *s = soap_str_code(soap_codes_ngwt__DistributionType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DistributionType(struct soap *soap, const char *tag, int id, const enum ngwt__DistributionType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DistributionType), type); + soap_send(soap, soap_ngwt__DistributionType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_get_ngwt__DistributionType(struct soap *soap, enum ngwt__DistributionType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DistributionType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DistributionType(struct soap *soap, const char *s, enum ngwt__DistributionType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__DistributionType, s); + if (map) + *a = (enum ngwt__DistributionType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__DistributionType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_in_ngwt__DistributionType(struct soap *soap, const char *tag, enum ngwt__DistributionType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__DistributionType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DistributionType, sizeof(enum ngwt__DistributionType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__DistributionType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__DistributionType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DistributionType, 0, sizeof(enum ngwt__DistributionType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__DeltaSyncType + *a = SOAP_DEFAULT_ngwt__DeltaSyncType; +#else + *a = (enum ngwt__DeltaSyncType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DeltaSyncType(struct soap *soap, const enum ngwt__DeltaSyncType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__DeltaSyncType); + if (soap_out_ngwt__DeltaSyncType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__DeltaSyncType[] = +{ { (long)add, "add" }, + { (long)delete_, "delete" }, + { (long)update, "update" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DeltaSyncType2s(struct soap *soap, enum ngwt__DeltaSyncType n) +{ const char *s = soap_str_code(soap_codes_ngwt__DeltaSyncType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaSyncType(struct soap *soap, const char *tag, int id, const enum ngwt__DeltaSyncType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DeltaSyncType), type); + soap_send(soap, soap_ngwt__DeltaSyncType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_get_ngwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DeltaSyncType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DeltaSyncType(struct soap *soap, const char *s, enum ngwt__DeltaSyncType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__DeltaSyncType, s); + if (map) + *a = (enum ngwt__DeltaSyncType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__DeltaSyncType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_in_ngwt__DeltaSyncType(struct soap *soap, const char *tag, enum ngwt__DeltaSyncType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__DeltaSyncType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DeltaSyncType, sizeof(enum ngwt__DeltaSyncType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__DeltaSyncType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__DeltaSyncType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaSyncType, 0, sizeof(enum ngwt__DeltaSyncType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CustomType(struct soap *soap, enum ngwt__CustomType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__CustomType + *a = SOAP_DEFAULT_ngwt__CustomType; +#else + *a = (enum ngwt__CustomType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CustomType(struct soap *soap, const enum ngwt__CustomType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CustomType); + if (soap_out_ngwt__CustomType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__CustomType[] = +{ { (long)String, "String" }, + { (long)Numeric, "Numeric" }, + { (long)Date, "Date" }, + { (long)Binary, "Binary" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CustomType2s(struct soap *soap, enum ngwt__CustomType n) +{ const char *s = soap_str_code(soap_codes_ngwt__CustomType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomType(struct soap *soap, const char *tag, int id, const enum ngwt__CustomType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CustomType), type); + soap_send(soap, soap_ngwt__CustomType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_get_ngwt__CustomType(struct soap *soap, enum ngwt__CustomType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CustomType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CustomType(struct soap *soap, const char *s, enum ngwt__CustomType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__CustomType, s); + if (map) + *a = (enum ngwt__CustomType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__CustomType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_in_ngwt__CustomType(struct soap *soap, const char *tag, enum ngwt__CustomType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__CustomType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CustomType, sizeof(enum ngwt__CustomType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__CustomType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__CustomType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomType, 0, sizeof(enum ngwt__CustomType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__CursorSeek + *a = SOAP_DEFAULT_ngwt__CursorSeek; +#else + *a = (enum ngwt__CursorSeek)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CursorSeek(struct soap *soap, const enum ngwt__CursorSeek *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CursorSeek); + if (soap_out_ngwt__CursorSeek(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__CursorSeek[] = +{ { (long)current, "current" }, + { (long)start, "start" }, + { (long)end, "end" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CursorSeek2s(struct soap *soap, enum ngwt__CursorSeek n) +{ const char *s = soap_str_code(soap_codes_ngwt__CursorSeek, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CursorSeek(struct soap *soap, const char *tag, int id, const enum ngwt__CursorSeek *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CursorSeek), type); + soap_send(soap, soap_ngwt__CursorSeek2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_get_ngwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CursorSeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CursorSeek(struct soap *soap, const char *s, enum ngwt__CursorSeek *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__CursorSeek, s); + if (map) + *a = (enum ngwt__CursorSeek)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__CursorSeek)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_in_ngwt__CursorSeek(struct soap *soap, const char *tag, enum ngwt__CursorSeek *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__CursorSeek *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CursorSeek, sizeof(enum ngwt__CursorSeek), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__CursorSeek(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__CursorSeek *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CursorSeek, 0, sizeof(enum ngwt__CursorSeek), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ContactType(struct soap *soap, enum ngwt__ContactType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__ContactType + *a = SOAP_DEFAULT_ngwt__ContactType; +#else + *a = (enum ngwt__ContactType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ContactType(struct soap *soap, const enum ngwt__ContactType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ContactType); + if (soap_out_ngwt__ContactType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__ContactType[] = +{ { (long)Contact__, "Contact" }, + { (long)Group_, "Group" }, + { (long)Resource_, "Resource" }, + { (long)Organization__, "Organization" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ContactType2s(struct soap *soap, enum ngwt__ContactType n) +{ const char *s = soap_str_code(soap_codes_ngwt__ContactType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactType(struct soap *soap, const char *tag, int id, const enum ngwt__ContactType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ContactType), type); + soap_send(soap, soap_ngwt__ContactType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_get_ngwt__ContactType(struct soap *soap, enum ngwt__ContactType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ContactType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ContactType(struct soap *soap, const char *s, enum ngwt__ContactType *a) +{ + const struct soap_code_map *map; + char *t; + if (!s) + return SOAP_OK; + soap_s2QName(soap, s, &t); + map = soap_code(soap_codes_ngwt__ContactType, t); + if (map) + *a = (enum ngwt__ContactType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__ContactType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_in_ngwt__ContactType(struct soap *soap, const char *tag, enum ngwt__ContactType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__ContactType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContactType, sizeof(enum ngwt__ContactType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__ContactType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__ContactType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContactType, 0, sizeof(enum ngwt__ContactType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__CategoryType + *a = SOAP_DEFAULT_ngwt__CategoryType; +#else + *a = (enum ngwt__CategoryType)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CategoryType(struct soap *soap, const enum ngwt__CategoryType *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CategoryType); + if (soap_out_ngwt__CategoryType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__CategoryType[] = +{ { (long)Normal, "Normal" }, + { (long)Personal, "Personal" }, + { (long)FollowUp, "FollowUp" }, + { (long)Urgent, "Urgent" }, + { (long)LowPriority, "LowPriority" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CategoryType2s(struct soap *soap, enum ngwt__CategoryType n) +{ const char *s = soap_str_code(soap_codes_ngwt__CategoryType, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryType(struct soap *soap, const char *tag, int id, const enum ngwt__CategoryType *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CategoryType), type); + soap_send(soap, soap_ngwt__CategoryType2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_get_ngwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CategoryType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CategoryType(struct soap *soap, const char *s, enum ngwt__CategoryType *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__CategoryType, s); + if (map) + *a = (enum ngwt__CategoryType)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__CategoryType)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_in_ngwt__CategoryType(struct soap *soap, const char *tag, enum ngwt__CategoryType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__CategoryType *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CategoryType, sizeof(enum ngwt__CategoryType), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__CategoryType(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__CategoryType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryType, 0, sizeof(enum ngwt__CategoryType), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CalendarFolderFlags(struct soap *soap, enum ngwt__CalendarFolderFlags *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__CalendarFolderFlags + *a = SOAP_DEFAULT_ngwt__CalendarFolderFlags; +#else + *a = (enum ngwt__CalendarFolderFlags)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CalendarFolderFlags(struct soap *soap, const enum ngwt__CalendarFolderFlags *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__CalendarFolderFlags); + if (soap_out_ngwt__CalendarFolderFlags(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__CalendarFolderFlags[] = +{ { (long)ShowInList, "ShowInList" }, + { (long)DontIncludeContent, "DontIncludeContent" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CalendarFolderFlags2s(struct soap *soap, enum ngwt__CalendarFolderFlags n) +{ const char *s = soap_str_code(soap_codes_ngwt__CalendarFolderFlags, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderFlags(struct soap *soap, const char *tag, int id, const enum ngwt__CalendarFolderFlags *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CalendarFolderFlags), type); + soap_send(soap, soap_ngwt__CalendarFolderFlags2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_get_ngwt__CalendarFolderFlags(struct soap *soap, enum ngwt__CalendarFolderFlags *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CalendarFolderFlags(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CalendarFolderFlags(struct soap *soap, const char *s, enum ngwt__CalendarFolderFlags *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__CalendarFolderFlags, s); + if (map) + *a = (enum ngwt__CalendarFolderFlags)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__CalendarFolderFlags)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_in_ngwt__CalendarFolderFlags(struct soap *soap, const char *tag, enum ngwt__CalendarFolderFlags *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__CalendarFolderFlags *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CalendarFolderFlags, sizeof(enum ngwt__CalendarFolderFlags), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__CalendarFolderFlags(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__CalendarFolderFlags *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarFolderFlags, 0, sizeof(enum ngwt__CalendarFolderFlags), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AppointmentConflict(struct soap *soap, enum ngwt__AppointmentConflict *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__AppointmentConflict + *a = SOAP_DEFAULT_ngwt__AppointmentConflict; +#else + *a = (enum ngwt__AppointmentConflict)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AppointmentConflict(struct soap *soap, const enum ngwt__AppointmentConflict *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__AppointmentConflict); + if (soap_out_ngwt__AppointmentConflict(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__AppointmentConflict[] = +{ { (long)Yes, "Yes" }, + { (long)No, "No" }, + { (long)Ignore, "Ignore" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AppointmentConflict2s(struct soap *soap, enum ngwt__AppointmentConflict n) +{ const char *s = soap_str_code(soap_codes_ngwt__AppointmentConflict, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AppointmentConflict(struct soap *soap, const char *tag, int id, const enum ngwt__AppointmentConflict *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AppointmentConflict), type); + soap_send(soap, soap_ngwt__AppointmentConflict2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_get_ngwt__AppointmentConflict(struct soap *soap, enum ngwt__AppointmentConflict *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AppointmentConflict(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AppointmentConflict(struct soap *soap, const char *s, enum ngwt__AppointmentConflict *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__AppointmentConflict, s); + if (map) + *a = (enum ngwt__AppointmentConflict)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__AppointmentConflict)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_in_ngwt__AppointmentConflict(struct soap *soap, const char *tag, enum ngwt__AppointmentConflict *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__AppointmentConflict *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AppointmentConflict, sizeof(enum ngwt__AppointmentConflict), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__AppointmentConflict(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__AppointmentConflict *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AppointmentConflict, 0, sizeof(enum ngwt__AppointmentConflict), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__AgeAction + *a = SOAP_DEFAULT_ngwt__AgeAction; +#else + *a = (enum ngwt__AgeAction)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AgeAction(struct soap *soap, const enum ngwt__AgeAction *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__AgeAction); + if (soap_out_ngwt__AgeAction(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__AgeAction[] = +{ { (long)archive, "archive" }, + { (long)delete__, "delete" }, + { (long)retain, "retain" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AgeAction2s(struct soap *soap, enum ngwt__AgeAction n) +{ const char *s = soap_str_code(soap_codes_ngwt__AgeAction, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AgeAction(struct soap *soap, const char *tag, int id, const enum ngwt__AgeAction *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AgeAction), type); + soap_send(soap, soap_ngwt__AgeAction2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_get_ngwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AgeAction(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AgeAction(struct soap *soap, const char *s, enum ngwt__AgeAction *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__AgeAction, s); + if (map) + *a = (enum ngwt__AgeAction)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__AgeAction)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_in_ngwt__AgeAction(struct soap *soap, const char *tag, enum ngwt__AgeAction *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__AgeAction *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AgeAction, sizeof(enum ngwt__AgeAction), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__AgeAction(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__AgeAction *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AgeAction, 0, sizeof(enum ngwt__AgeAction), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__AcceptLevel + *a = SOAP_DEFAULT_ngwt__AcceptLevel; +#else + *a = (enum ngwt__AcceptLevel)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AcceptLevel(struct soap *soap, const enum ngwt__AcceptLevel *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__AcceptLevel); + if (soap_out_ngwt__AcceptLevel(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__AcceptLevel[] = +{ { (long)Free, "Free" }, + { (long)Tentative, "Tentative" }, + { (long)Busy, "Busy" }, + { (long)OutOfOffice, "OutOfOffice" }, + { 0, NULL } +}; + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AcceptLevel2s(struct soap *soap, enum ngwt__AcceptLevel n) +{ const char *s = soap_str_code(soap_codes_ngwt__AcceptLevel, (long)n); + if (s) + return s; + return soap_long2s(soap, (long)n); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AcceptLevel(struct soap *soap, const char *tag, int id, const enum ngwt__AcceptLevel *a, const char *type) +{ soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AcceptLevel), type); + soap_send(soap, soap_ngwt__AcceptLevel2s(soap, *a)); + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_get_ngwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AcceptLevel(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AcceptLevel(struct soap *soap, const char *s, enum ngwt__AcceptLevel *a) +{ + const struct soap_code_map *map; + if (!s) + return SOAP_OK; + map = soap_code(soap_codes_ngwt__AcceptLevel, s); + if (map) + *a = (enum ngwt__AcceptLevel)map->code; + else + { long n; + if (soap_s2long(soap, s, &n)) + return soap->error; + *a = (enum ngwt__AcceptLevel)n; + } + return SOAP_OK; +} + +SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_in_ngwt__AcceptLevel(struct soap *soap, const char *tag, enum ngwt__AcceptLevel *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__AcceptLevel *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AcceptLevel, sizeof(enum ngwt__AcceptLevel), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { if (!a || soap_s2ngwt__AcceptLevel(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__AcceptLevel *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AcceptLevel, 0, sizeof(enum ngwt__AcceptLevel), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwe__ItemTypeList + *a = SOAP_DEFAULT_ngwe__ItemTypeList; +#else + *a = (enum ngwe__ItemTypeList)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemTypeList(struct soap *soap, const enum ngwe__ItemTypeList *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__ItemTypeList); + if (soap_out_ngwe__ItemTypeList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwe__ItemTypeList[] = +{ { (long)AddressBookItem, "AddressBookItem" }, + { (long)Appointment_, "Appointment" }, + { (long)CalendarItem_, "CalendarItem" }, + { (long)Contact_, "Contact" }, + { (long)Group, "Group" }, + { (long)Mail_, "Mail" }, + { (long)Note_, "Note" }, + { (long)Organization_, "Organization" }, + { (long)PhoneMessage_, "PhoneMessage" }, + { (long)Resource, "Resource" }, + { (long)Task_, "Task" }, + { (long)DocumentRef, "DocumentRef" }, + { 0, NULL } +}; + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemTypeList(struct soap *soap, const char *tag, int id, const enum ngwe__ItemTypeList *a, const char *type) +{ long i; + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__ItemTypeList), type); + for (i = 1; i; i <<= 1) + switch ((long)*a & i) + { + case 1: soap_send(soap, "AddressBookItem "); break; + case 2: soap_send(soap, "Appointment "); break; + case 4: soap_send(soap, "CalendarItem "); break; + case 8: soap_send(soap, "Contact "); break; + case 16: soap_send(soap, "Group "); break; + case 32: soap_send(soap, "Mail "); break; + case 64: soap_send(soap, "Note "); break; + case 128: soap_send(soap, "Organization "); break; + case 256: soap_send(soap, "PhoneMessage "); break; + case 512: soap_send(soap, "Resource "); break; + case 1024: soap_send(soap, "Task "); break; + case 2048: soap_send(soap, "DocumentRef "); break; + } + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_get_ngwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__ItemTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_in_ngwe__ItemTypeList(struct soap *soap, const char *tag, enum ngwe__ItemTypeList *a, const char *type) +{ + const char *s; + LONG64 i; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwe__ItemTypeList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__ItemTypeList, sizeof(enum ngwe__ItemTypeList), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { i = 0; + while (*(s = soap_token(soap))) + if (!strcmp(s, "AddressBookItem")) + i |= (LONG64)AddressBookItem; + else if (!strcmp(s, "Appointment")) + i |= (LONG64)Appointment_; + else if (!strcmp(s, "CalendarItem")) + i |= (LONG64)CalendarItem_; + else if (!strcmp(s, "Contact")) + i |= (LONG64)Contact_; + else if (!strcmp(s, "Group")) + i |= (LONG64)Group; + else if (!strcmp(s, "Mail")) + i |= (LONG64)Mail_; + else if (!strcmp(s, "Note")) + i |= (LONG64)Note_; + else if (!strcmp(s, "Organization")) + i |= (LONG64)Organization_; + else if (!strcmp(s, "PhoneMessage")) + i |= (LONG64)PhoneMessage_; + else if (!strcmp(s, "Resource")) + i |= (LONG64)Resource; + else if (!strcmp(s, "Task")) + i |= (LONG64)Task_; + else if (!strcmp(s, "DocumentRef")) + i |= (LONG64)DocumentRef; + else + { soap->error = SOAP_TYPE; + return NULL; + } + *a = (enum ngwe__ItemTypeList)i; + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwe__ItemTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemTypeList, 0, sizeof(enum ngwe__ItemTypeList), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__FieldList(struct soap *soap, enum ngwe__FieldList *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwe__FieldList + *a = SOAP_DEFAULT_ngwe__FieldList; +#else + *a = (enum ngwe__FieldList)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__FieldList(struct soap *soap, const enum ngwe__FieldList *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwe__FieldList); + if (soap_out_ngwe__FieldList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwe__FieldList[] = +{ { (long)AcceptLevel, "AcceptLevel" }, + { (long)Alarm, "Alarm" }, + { (long)AllDayEvent, "AllDayEvent" }, + { (long)Attachment, "Attachment" }, + { (long)Category, "Category" }, + { (long)Classification, "Classification" }, + { (long)Contact, "Contact" }, + { (long)DueDate, "DueDate" }, + { (long)Duration, "Duration" }, + { (long)EmailAddress, "EmailAddress" }, + { (long)ExpirationDate, "ExpirationDate" }, + { (long)Hidden, "Hidden" }, + { (long)IMAddress, "IMAddress" }, + { (long)MessageBody, "MessageBody" }, + { (long)Name, "Name" }, + { (long)Organization, "Organization" }, + { (long)Owner, "Owner" }, + { (long)PersonalSubject, "PersonalSubject" }, + { (long)PhoneNumber, "PhoneNumber" }, + { (long)Place, "Place" }, + { (long)PostalAddress, "PostalAddress" }, + { (long)RecipientStatus, "RecipientStatus" }, + { (long)Rights, "Rights" }, + { (long)Security, "Security" }, + { (long)SendPriority, "SendPriority" }, + { (long)StartDate, "StartDate" }, + { (long)Subject, "Subject" }, + { (long)TaskCategory, "TaskCategory" }, + { (long)TaskPriority, "TaskPriority" }, + { 0, NULL } +}; + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__FieldList(struct soap *soap, const char *tag, int id, const enum ngwe__FieldList *a, const char *type) +{ long i; + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__FieldList), type); + for (i = 1; i; i <<= 1) + switch ((long)*a & i) + { + case 1: soap_send(soap, "AcceptLevel "); break; + case 2: soap_send(soap, "Alarm "); break; + case 4: soap_send(soap, "AllDayEvent "); break; + case 8: soap_send(soap, "Attachment "); break; + case 16: soap_send(soap, "Category "); break; + case 32: soap_send(soap, "Classification "); break; + case 64: soap_send(soap, "Contact "); break; + case 128: soap_send(soap, "DueDate "); break; + case 256: soap_send(soap, "Duration "); break; + case 512: soap_send(soap, "EmailAddress "); break; + case 1024: soap_send(soap, "ExpirationDate "); break; + case 2048: soap_send(soap, "Hidden "); break; + case 4096: soap_send(soap, "IMAddress "); break; + case 8192: soap_send(soap, "MessageBody "); break; + case 16384: soap_send(soap, "Name "); break; + case 32768: soap_send(soap, "Organization "); break; + case 65536: soap_send(soap, "Owner "); break; + case 131072: soap_send(soap, "PersonalSubject "); break; + case 262144: soap_send(soap, "PhoneNumber "); break; + case 524288: soap_send(soap, "Place "); break; + case 1048576: soap_send(soap, "PostalAddress "); break; + case 2097152: soap_send(soap, "RecipientStatus "); break; + case 4194304: soap_send(soap, "Rights "); break; + case 8388608: soap_send(soap, "Security "); break; + case 16777216: soap_send(soap, "SendPriority "); break; + case 33554432: soap_send(soap, "StartDate "); break; + case 67108864: soap_send(soap, "Subject "); break; + case 134217728: soap_send(soap, "TaskCategory "); break; + case 268435456: soap_send(soap, "TaskPriority "); break; + } + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_get_ngwe__FieldList(struct soap *soap, enum ngwe__FieldList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__FieldList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_in_ngwe__FieldList(struct soap *soap, const char *tag, enum ngwe__FieldList *a, const char *type) +{ + const char *s; + LONG64 i; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwe__FieldList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__FieldList, sizeof(enum ngwe__FieldList), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { i = 0; + while (*(s = soap_token(soap))) + if (!strcmp(s, "AcceptLevel")) + i |= (LONG64)AcceptLevel; + else if (!strcmp(s, "Alarm")) + i |= (LONG64)Alarm; + else if (!strcmp(s, "AllDayEvent")) + i |= (LONG64)AllDayEvent; + else if (!strcmp(s, "Attachment")) + i |= (LONG64)Attachment; + else if (!strcmp(s, "Category")) + i |= (LONG64)Category; + else if (!strcmp(s, "Classification")) + i |= (LONG64)Classification; + else if (!strcmp(s, "Contact")) + i |= (LONG64)Contact; + else if (!strcmp(s, "DueDate")) + i |= (LONG64)DueDate; + else if (!strcmp(s, "Duration")) + i |= (LONG64)Duration; + else if (!strcmp(s, "EmailAddress")) + i |= (LONG64)EmailAddress; + else if (!strcmp(s, "ExpirationDate")) + i |= (LONG64)ExpirationDate; + else if (!strcmp(s, "Hidden")) + i |= (LONG64)Hidden; + else if (!strcmp(s, "IMAddress")) + i |= (LONG64)IMAddress; + else if (!strcmp(s, "MessageBody")) + i |= (LONG64)MessageBody; + else if (!strcmp(s, "Name")) + i |= (LONG64)Name; + else if (!strcmp(s, "Organization")) + i |= (LONG64)Organization; + else if (!strcmp(s, "Owner")) + i |= (LONG64)Owner; + else if (!strcmp(s, "PersonalSubject")) + i |= (LONG64)PersonalSubject; + else if (!strcmp(s, "PhoneNumber")) + i |= (LONG64)PhoneNumber; + else if (!strcmp(s, "Place")) + i |= (LONG64)Place; + else if (!strcmp(s, "PostalAddress")) + i |= (LONG64)PostalAddress; + else if (!strcmp(s, "RecipientStatus")) + i |= (LONG64)RecipientStatus; + else if (!strcmp(s, "Rights")) + i |= (LONG64)Rights; + else if (!strcmp(s, "Security")) + i |= (LONG64)Security; + else if (!strcmp(s, "SendPriority")) + i |= (LONG64)SendPriority; + else if (!strcmp(s, "StartDate")) + i |= (LONG64)StartDate; + else if (!strcmp(s, "Subject")) + i |= (LONG64)Subject; + else if (!strcmp(s, "TaskCategory")) + i |= (LONG64)TaskCategory; + else if (!strcmp(s, "TaskPriority")) + i |= (LONG64)TaskPriority; + else + { soap->error = SOAP_TYPE; + return NULL; + } + *a = (enum ngwe__FieldList)i; + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwe__FieldList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__FieldList, 0, sizeof(enum ngwe__FieldList), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__MessageTypeList + *a = SOAP_DEFAULT_ngwt__MessageTypeList; +#else + *a = (enum ngwt__MessageTypeList)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageTypeList(struct soap *soap, const enum ngwt__MessageTypeList *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__MessageTypeList); + if (soap_out_ngwt__MessageTypeList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__MessageTypeList[] = +{ { (long)Appointment, "Appointment" }, + { (long)CalendarItem, "CalendarItem" }, + { (long)DocumentReference, "DocumentReference" }, + { (long)Mail, "Mail" }, + { (long)Note, "Note" }, + { (long)PhoneMessage, "PhoneMessage" }, + { (long)Task, "Task" }, + { 0, NULL } +}; + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageTypeList(struct soap *soap, const char *tag, int id, const enum ngwt__MessageTypeList *a, const char *type) +{ long i; + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageTypeList), type); + for (i = 1; i; i <<= 1) + switch ((long)*a & i) + { + case 1: soap_send(soap, "Appointment "); break; + case 2: soap_send(soap, "CalendarItem "); break; + case 4: soap_send(soap, "DocumentReference "); break; + case 8: soap_send(soap, "Mail "); break; + case 16: soap_send(soap, "Note "); break; + case 32: soap_send(soap, "PhoneMessage "); break; + case 64: soap_send(soap, "Task "); break; + } + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_get_ngwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__MessageTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_in_ngwt__MessageTypeList(struct soap *soap, const char *tag, enum ngwt__MessageTypeList *a, const char *type) +{ + const char *s; + LONG64 i; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__MessageTypeList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageTypeList, sizeof(enum ngwt__MessageTypeList), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { i = 0; + while (*(s = soap_token(soap))) + if (!strcmp(s, "Appointment")) + i |= (LONG64)Appointment; + else if (!strcmp(s, "CalendarItem")) + i |= (LONG64)CalendarItem; + else if (!strcmp(s, "DocumentReference")) + i |= (LONG64)DocumentReference; + else if (!strcmp(s, "Mail")) + i |= (LONG64)Mail; + else if (!strcmp(s, "Note")) + i |= (LONG64)Note; + else if (!strcmp(s, "PhoneMessage")) + i |= (LONG64)PhoneMessage; + else if (!strcmp(s, "Task")) + i |= (LONG64)Task; + else + { soap->error = SOAP_TYPE; + return NULL; + } + *a = (enum ngwt__MessageTypeList)i; + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__MessageTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageTypeList, 0, sizeof(enum ngwt__MessageTypeList), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_ngwt__ItemSourceList + *a = SOAP_DEFAULT_ngwt__ItemSourceList; +#else + *a = (enum ngwt__ItemSourceList)0; +#endif +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSourceList(struct soap *soap, const enum ngwt__ItemSourceList *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__ItemSourceList); + if (soap_out_ngwt__ItemSourceList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +static const struct soap_code_map soap_codes_ngwt__ItemSourceList[] = +{ { (long)received, "received" }, + { (long)sent, "sent" }, + { (long)draft, "draft" }, + { (long)personal, "personal" }, + { 0, NULL } +}; + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSourceList(struct soap *soap, const char *tag, int id, const enum ngwt__ItemSourceList *a, const char *type) +{ long i; + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemSourceList), type); + for (i = 1; i; i <<= 1) + switch ((long)*a & i) + { + case 1: soap_send(soap, "received "); break; + case 2: soap_send(soap, "sent "); break; + case 4: soap_send(soap, "draft "); break; + case 8: soap_send(soap, "personal "); break; + } + return soap_element_end_out(soap, tag); +} + +SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_get_ngwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemSourceList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_in_ngwt__ItemSourceList(struct soap *soap, const char *tag, enum ngwt__ItemSourceList *a, const char *type) +{ + const char *s; + LONG64 i; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (enum ngwt__ItemSourceList *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemSourceList, sizeof(enum ngwt__ItemSourceList), 0, NULL, NULL, NULL); + if (!a) + return NULL; + if (soap->body && !*soap->href) + { i = 0; + while (*(s = soap_token(soap))) + if (!strcmp(s, "received")) + i |= (LONG64)received; + else if (!strcmp(s, "sent")) + i |= (LONG64)sent; + else if (!strcmp(s, "draft")) + i |= (LONG64)draft; + else if (!strcmp(s, "personal")) + i |= (LONG64)personal; + else + { soap->error = SOAP_TYPE; + return NULL; + } + *a = (enum ngwt__ItemSourceList)i; + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (enum ngwt__ItemSourceList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSourceList, 0, sizeof(enum ngwt__ItemSourceList), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__UUID(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__UUID(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__UUID(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__UUID); + if (soap_out_ngwt__UUID(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UUID(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_ngwt__UUID), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__UUID(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__UUID(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_ngwt__UUID(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__UUID, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__UUID, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_ngwt__UUID, 0, sizeof(std::string), 0, soap_copy_ngwt__UUID); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__UUID(struct soap *soap, int n) +{ return soap_instantiate_ngwt__UUID(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UUID(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__UUID(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__UUID(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__UUID, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UUID(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__uid(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__uid(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__uid(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__uid); + if (soap_out_ngwt__uid(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__uid(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_ngwt__uid), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__uid(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__uid(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_ngwt__uid(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__uid, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__uid, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_ngwt__uid, 0, sizeof(std::string), 0, soap_copy_ngwt__uid); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__uid(struct soap *soap, int n) +{ return soap_instantiate_ngwt__uid(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__uid(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__uid(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__uid(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__uid, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__uid(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__View(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__View(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__View(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ngwt__View); + if (soap_out_ngwt__View(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__View(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_ngwt__View), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__View(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__View(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_ngwt__View(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__View, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ngwt__View, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_ngwt__View, 0, sizeof(std::string), 0, soap_copy_ngwt__View); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__View(struct soap *soap, int n) +{ return soap_instantiate_ngwt__View(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__View(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__View(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__View(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__View, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__View(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +void _ngwe__removeEventsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__removeEventsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwe__removeEventsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwe__removeEventsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__removeEventsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwe__removeEventsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__removeEventsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__removeEventsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsResponse(struct soap *soap, const char *tag, int id, const _ngwe__removeEventsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__removeEventsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__removeEventsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__removeEventsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_get__ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__removeEventsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__removeEventsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__removeEventsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_in__ngwe__removeEventsResponse(struct soap *soap, const char *tag, _ngwe__removeEventsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__removeEventsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventsResponse, sizeof(_ngwe__removeEventsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__removeEventsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__removeEventsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__removeEventsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__removeEventsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsResponse, 0, sizeof(_ngwe__removeEventsResponse), 0, soap_copy__ngwe__removeEventsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_new__ngwe__removeEventsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwe__removeEventsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__removeEventsResponse; + if (size) + *size = sizeof(_ngwe__removeEventsResponse); + ((_ngwe__removeEventsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__removeEventsResponse[n]; + if (size) + *size = n * sizeof(_ngwe__removeEventsResponse); + for (int i = 0; i < n; i++) + ((_ngwe__removeEventsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__removeEventsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventsResponse %p -> %p\n", q, p)); + *(_ngwe__removeEventsResponse*)p = *(_ngwe__removeEventsResponse*)q; +} + +void _ngwe__removeEventsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__removeEventsRequest*)this)->key, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((_ngwe__removeEventsRequest*)this)->key); + soap_embedded(soap, &((_ngwe__removeEventsRequest*)this)->from, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwe__removeEventsRequest*)this)->from); + soap_embedded(soap, &((_ngwe__removeEventsRequest*)this)->until, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwe__removeEventsRequest*)this)->until); + /* transient soap skipped */ +} + +void _ngwe__removeEventsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((_ngwe__removeEventsRequest*)this)->key); + soap_default_string(soap, &((_ngwe__removeEventsRequest*)this)->from); + soap_default_string(soap, &((_ngwe__removeEventsRequest*)this)->until); + /* transient soap skipped */ +} + +int _ngwe__removeEventsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__removeEventsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__removeEventsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsRequest(struct soap *soap, const char *tag, int id, const _ngwe__removeEventsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventsRequest), type); + soap_out_std__string(soap, "ngwe:key", -1, &(((_ngwe__removeEventsRequest*)a)->key), ""); + soap_out_string(soap, "ngwe:from", -1, &(((_ngwe__removeEventsRequest*)a)->from), ""); + soap_out_string(soap, "ngwe:until", -1, &(((_ngwe__removeEventsRequest*)a)->until), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__removeEventsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__removeEventsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_get__ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__removeEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__removeEventsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__removeEventsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_in__ngwe__removeEventsRequest(struct soap *soap, const char *tag, _ngwe__removeEventsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__removeEventsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventsRequest, sizeof(_ngwe__removeEventsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__removeEventsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__removeEventsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_key1 = 1, soap_flag_from1 = 1, soap_flag_until1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwe:key", &(((_ngwe__removeEventsRequest*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwe:from", &(((_ngwe__removeEventsRequest*)a)->from), "")) + { soap_flag_from1 = 0; + continue; + } + if (soap_flag_until1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwe:until", &(((_ngwe__removeEventsRequest*)a)->until), "")) + { soap_flag_until1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__removeEventsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsRequest, 0, sizeof(_ngwe__removeEventsRequest), 0, soap_copy__ngwe__removeEventsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_new__ngwe__removeEventsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwe__removeEventsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__removeEventsRequest; + if (size) + *size = sizeof(_ngwe__removeEventsRequest); + ((_ngwe__removeEventsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__removeEventsRequest[n]; + if (size) + *size = n * sizeof(_ngwe__removeEventsRequest); + for (int i = 0; i < n; i++) + ((_ngwe__removeEventsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__removeEventsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventsRequest %p -> %p\n", q, p)); + *(_ngwe__removeEventsRequest*)p = *(_ngwe__removeEventsRequest*)q; +} + +void _ngwe__removeEventConfigurationResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__removeEventConfigurationResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwe__removeEventConfigurationResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwe__removeEventConfigurationResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__removeEventConfigurationResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwe__removeEventConfigurationResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventConfigurationResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__removeEventConfigurationResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__removeEventConfigurationResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, int id, const _ngwe__removeEventConfigurationResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventConfigurationResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__removeEventConfigurationResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__removeEventConfigurationResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__removeEventConfigurationResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__removeEventConfigurationResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__removeEventConfigurationResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__removeEventConfigurationResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__removeEventConfigurationResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventConfigurationResponse, sizeof(_ngwe__removeEventConfigurationResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__removeEventConfigurationResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__removeEventConfigurationResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__removeEventConfigurationResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__removeEventConfigurationResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationResponse, 0, sizeof(_ngwe__removeEventConfigurationResponse), 0, soap_copy__ngwe__removeEventConfigurationResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwe__removeEventConfigurationResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventConfigurationResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventConfigurationResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__removeEventConfigurationResponse; + if (size) + *size = sizeof(_ngwe__removeEventConfigurationResponse); + ((_ngwe__removeEventConfigurationResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__removeEventConfigurationResponse[n]; + if (size) + *size = n * sizeof(_ngwe__removeEventConfigurationResponse); + for (int i = 0; i < n; i++) + ((_ngwe__removeEventConfigurationResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__removeEventConfigurationResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventConfigurationResponse %p -> %p\n", q, p)); + *(_ngwe__removeEventConfigurationResponse*)p = *(_ngwe__removeEventConfigurationResponse*)q; +} + +void _ngwe__removeEventConfigurationRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__removeEventConfigurationRequest*)this)->key, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((_ngwe__removeEventConfigurationRequest*)this)->key); + /* transient soap skipped */ +} + +void _ngwe__removeEventConfigurationRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((_ngwe__removeEventConfigurationRequest*)this)->key); + /* transient soap skipped */ +} + +int _ngwe__removeEventConfigurationRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__removeEventConfigurationRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__removeEventConfigurationRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__removeEventConfigurationRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, int id, const _ngwe__removeEventConfigurationRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__removeEventConfigurationRequest), type); + soap_out_std__string(soap, "ngwe:key", -1, &(((_ngwe__removeEventConfigurationRequest*)a)->key), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__removeEventConfigurationRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__removeEventConfigurationRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__removeEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__removeEventConfigurationRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__removeEventConfigurationRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__removeEventConfigurationRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__removeEventConfigurationRequest, sizeof(_ngwe__removeEventConfigurationRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__removeEventConfigurationRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__removeEventConfigurationRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_key1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwe:key", &(((_ngwe__removeEventConfigurationRequest*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__removeEventConfigurationRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationRequest, 0, sizeof(_ngwe__removeEventConfigurationRequest), 0, soap_copy__ngwe__removeEventConfigurationRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwe__removeEventConfigurationRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__removeEventConfigurationRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__removeEventConfigurationRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__removeEventConfigurationRequest; + if (size) + *size = sizeof(_ngwe__removeEventConfigurationRequest); + ((_ngwe__removeEventConfigurationRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__removeEventConfigurationRequest[n]; + if (size) + *size = n * sizeof(_ngwe__removeEventConfigurationRequest); + for (int i = 0; i < n; i++) + ((_ngwe__removeEventConfigurationRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__removeEventConfigurationRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__removeEventConfigurationRequest %p -> %p\n", q, p)); + *(_ngwe__removeEventConfigurationRequest*)p = *(_ngwe__removeEventConfigurationRequest*)q; +} + +void _ngwe__getEventsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__getEventsResponse*)this)->events, SOAP_TYPE_PointerTongwe__EventList); + soap_serialize_PointerTongwe__EventList(soap, &((_ngwe__getEventsResponse*)this)->events); + soap_embedded(soap, &((_ngwe__getEventsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwe__getEventsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwe__getEventsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__getEventsResponse*)this)->events = NULL; + ((_ngwe__getEventsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwe__getEventsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__getEventsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__getEventsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsResponse(struct soap *soap, const char *tag, int id, const _ngwe__getEventsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventsResponse), type); + soap_out_PointerTongwe__EventList(soap, "ngwe:events", -1, &(((_ngwe__getEventsResponse*)a)->events), ""); + soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__getEventsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__getEventsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__getEventsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_get__ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__getEventsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__getEventsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__getEventsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_in__ngwe__getEventsResponse(struct soap *soap, const char *tag, _ngwe__getEventsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__getEventsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventsResponse, sizeof(_ngwe__getEventsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__getEventsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__getEventsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_events1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__EventList(soap, "ngwe:events", &(((_ngwe__getEventsResponse*)a)->events), "ngwe:EventList")) + { soap_flag_events1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__getEventsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__getEventsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsResponse, 0, sizeof(_ngwe__getEventsResponse), 0, soap_copy__ngwe__getEventsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_new__ngwe__getEventsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwe__getEventsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__getEventsResponse; + if (size) + *size = sizeof(_ngwe__getEventsResponse); + ((_ngwe__getEventsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__getEventsResponse[n]; + if (size) + *size = n * sizeof(_ngwe__getEventsResponse); + for (int i = 0; i < n; i++) + ((_ngwe__getEventsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__getEventsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventsResponse %p -> %p\n", q, p)); + *(_ngwe__getEventsResponse*)p = *(_ngwe__getEventsResponse*)q; +} + +void _ngwe__getEventsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->key, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((_ngwe__getEventsRequest*)this)->key); + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->from, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwe__getEventsRequest*)this)->from); + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->until, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwe__getEventsRequest*)this)->until); + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->uid, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((_ngwe__getEventsRequest*)this)->uid); + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->count, SOAP_TYPE_int); + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->remove, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwe__getEventsRequest*)this)->notify, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwe__getEventsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((_ngwe__getEventsRequest*)this)->key); + soap_default_string(soap, &((_ngwe__getEventsRequest*)this)->from); + soap_default_string(soap, &((_ngwe__getEventsRequest*)this)->until); + ((_ngwe__getEventsRequest*)this)->uid = NULL; + ((_ngwe__getEventsRequest*)this)->count = -1; + ((_ngwe__getEventsRequest*)this)->remove = (bool)0; + ((_ngwe__getEventsRequest*)this)->notify = (bool)0; + /* transient soap skipped */ +} + +int _ngwe__getEventsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__getEventsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__getEventsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsRequest(struct soap *soap, const char *tag, int id, const _ngwe__getEventsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventsRequest), type); + soap_out_std__string(soap, "ngwe:key", -1, &(((_ngwe__getEventsRequest*)a)->key), ""); + soap_out_string(soap, "ngwe:from", -1, &(((_ngwe__getEventsRequest*)a)->from), ""); + soap_out_string(soap, "ngwe:until", -1, &(((_ngwe__getEventsRequest*)a)->until), ""); + soap_out_PointerTounsignedLong(soap, "ngwe:uid", -1, &(((_ngwe__getEventsRequest*)a)->uid), ""); + soap_out_int(soap, "ngwe:count", -1, &(((_ngwe__getEventsRequest*)a)->count), ""); + soap_out_bool(soap, "ngwe:remove", -1, &(((_ngwe__getEventsRequest*)a)->remove), ""); + soap_out_bool(soap, "ngwe:notify", -1, &(((_ngwe__getEventsRequest*)a)->notify), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__getEventsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__getEventsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_get__ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__getEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__getEventsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__getEventsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_in__ngwe__getEventsRequest(struct soap *soap, const char *tag, _ngwe__getEventsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__getEventsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventsRequest, sizeof(_ngwe__getEventsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__getEventsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__getEventsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_key1 = 1, soap_flag_from1 = 1, soap_flag_until1 = 1, soap_flag_uid1 = 1, soap_flag_count1 = 1, soap_flag_remove1 = 1, soap_flag_notify1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwe:key", &(((_ngwe__getEventsRequest*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwe:from", &(((_ngwe__getEventsRequest*)a)->from), "")) + { soap_flag_from1 = 0; + continue; + } + if (soap_flag_until1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwe:until", &(((_ngwe__getEventsRequest*)a)->until), "")) + { soap_flag_until1 = 0; + continue; + } + if (soap_flag_uid1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwe:uid", &(((_ngwe__getEventsRequest*)a)->uid), "")) + { soap_flag_uid1 = 0; + continue; + } + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwe:count", &(((_ngwe__getEventsRequest*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + if (soap_flag_remove1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwe:remove", &(((_ngwe__getEventsRequest*)a)->remove), "")) + { soap_flag_remove1 = 0; + continue; + } + if (soap_flag_notify1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwe:notify", &(((_ngwe__getEventsRequest*)a)->notify), "")) + { soap_flag_notify1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__getEventsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsRequest, 0, sizeof(_ngwe__getEventsRequest), 0, soap_copy__ngwe__getEventsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_new__ngwe__getEventsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwe__getEventsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__getEventsRequest; + if (size) + *size = sizeof(_ngwe__getEventsRequest); + ((_ngwe__getEventsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__getEventsRequest[n]; + if (size) + *size = n * sizeof(_ngwe__getEventsRequest); + for (int i = 0; i < n; i++) + ((_ngwe__getEventsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__getEventsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventsRequest %p -> %p\n", q, p)); + *(_ngwe__getEventsRequest*)p = *(_ngwe__getEventsRequest*)q; +} + +void _ngwe__getEventConfigurationResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__getEventConfigurationResponse*)this)->events, SOAP_TYPE_PointerTongwe__EventsList); + soap_serialize_PointerTongwe__EventsList(soap, &((_ngwe__getEventConfigurationResponse*)this)->events); + soap_embedded(soap, &((_ngwe__getEventConfigurationResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwe__getEventConfigurationResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwe__getEventConfigurationResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__getEventConfigurationResponse*)this)->events = NULL; + ((_ngwe__getEventConfigurationResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwe__getEventConfigurationResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventConfigurationResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__getEventConfigurationResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__getEventConfigurationResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, int id, const _ngwe__getEventConfigurationResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventConfigurationResponse), type); + soap_out_PointerTongwe__EventsList(soap, "ngwe:events", -1, &(((_ngwe__getEventConfigurationResponse*)a)->events), ""); + soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__getEventConfigurationResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__getEventConfigurationResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__getEventConfigurationResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__getEventConfigurationResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__getEventConfigurationResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__getEventConfigurationResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__getEventConfigurationResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__getEventConfigurationResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventConfigurationResponse, sizeof(_ngwe__getEventConfigurationResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__getEventConfigurationResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__getEventConfigurationResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_events1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__EventsList(soap, "ngwe:events", &(((_ngwe__getEventConfigurationResponse*)a)->events), "ngwe:EventsList")) + { soap_flag_events1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__getEventConfigurationResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__getEventConfigurationResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationResponse, 0, sizeof(_ngwe__getEventConfigurationResponse), 0, soap_copy__ngwe__getEventConfigurationResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwe__getEventConfigurationResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventConfigurationResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventConfigurationResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__getEventConfigurationResponse; + if (size) + *size = sizeof(_ngwe__getEventConfigurationResponse); + ((_ngwe__getEventConfigurationResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__getEventConfigurationResponse[n]; + if (size) + *size = n * sizeof(_ngwe__getEventConfigurationResponse); + for (int i = 0; i < n; i++) + ((_ngwe__getEventConfigurationResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__getEventConfigurationResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventConfigurationResponse %p -> %p\n", q, p)); + *(_ngwe__getEventConfigurationResponse*)p = *(_ngwe__getEventConfigurationResponse*)q; +} + +void _ngwe__getEventConfigurationRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__getEventConfigurationRequest*)this)->key, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwe__getEventConfigurationRequest*)this)->key); + /* transient soap skipped */ +} + +void _ngwe__getEventConfigurationRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__getEventConfigurationRequest*)this)->key = NULL; + /* transient soap skipped */ +} + +int _ngwe__getEventConfigurationRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__getEventConfigurationRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__getEventConfigurationRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__getEventConfigurationRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, int id, const _ngwe__getEventConfigurationRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__getEventConfigurationRequest), type); + soap_out_PointerTostd__string(soap, "ngwe:key", -1, &(((_ngwe__getEventConfigurationRequest*)a)->key), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__getEventConfigurationRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__getEventConfigurationRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__getEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__getEventConfigurationRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__getEventConfigurationRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__getEventConfigurationRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__getEventConfigurationRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__getEventConfigurationRequest, sizeof(_ngwe__getEventConfigurationRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__getEventConfigurationRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__getEventConfigurationRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_key1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwe:key", &(((_ngwe__getEventConfigurationRequest*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__getEventConfigurationRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationRequest, 0, sizeof(_ngwe__getEventConfigurationRequest), 0, soap_copy__ngwe__getEventConfigurationRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwe__getEventConfigurationRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__getEventConfigurationRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__getEventConfigurationRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__getEventConfigurationRequest; + if (size) + *size = sizeof(_ngwe__getEventConfigurationRequest); + ((_ngwe__getEventConfigurationRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__getEventConfigurationRequest[n]; + if (size) + *size = n * sizeof(_ngwe__getEventConfigurationRequest); + for (int i = 0; i < n; i++) + ((_ngwe__getEventConfigurationRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__getEventConfigurationRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__getEventConfigurationRequest %p -> %p\n", q, p)); + *(_ngwe__getEventConfigurationRequest*)p = *(_ngwe__getEventConfigurationRequest*)q; +} + +void _ngwe__configureEventsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__configureEventsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwe__configureEventsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwe__configureEventsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__configureEventsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwe__configureEventsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__configureEventsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__configureEventsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__configureEventsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsResponse(struct soap *soap, const char *tag, int id, const _ngwe__configureEventsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__configureEventsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__configureEventsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__configureEventsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__configureEventsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_get__ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__configureEventsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__configureEventsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__configureEventsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_in__ngwe__configureEventsResponse(struct soap *soap, const char *tag, _ngwe__configureEventsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__configureEventsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__configureEventsResponse, sizeof(_ngwe__configureEventsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__configureEventsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__configureEventsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__configureEventsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__configureEventsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsResponse, 0, sizeof(_ngwe__configureEventsResponse), 0, soap_copy__ngwe__configureEventsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_new__ngwe__configureEventsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwe__configureEventsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__configureEventsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__configureEventsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__configureEventsResponse; + if (size) + *size = sizeof(_ngwe__configureEventsResponse); + ((_ngwe__configureEventsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__configureEventsResponse[n]; + if (size) + *size = n * sizeof(_ngwe__configureEventsResponse); + for (int i = 0; i < n; i++) + ((_ngwe__configureEventsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__configureEventsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__configureEventsResponse %p -> %p\n", q, p)); + *(_ngwe__configureEventsResponse*)p = *(_ngwe__configureEventsResponse*)q; +} + +void _ngwe__configureEventsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__configureEventsRequest*)this)->events, SOAP_TYPE_PointerTongwe__Events); + soap_serialize_PointerTongwe__Events(soap, &((_ngwe__configureEventsRequest*)this)->events); + /* transient soap skipped */ +} + +void _ngwe__configureEventsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__configureEventsRequest*)this)->events = NULL; + /* transient soap skipped */ +} + +int _ngwe__configureEventsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__configureEventsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__configureEventsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__configureEventsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsRequest(struct soap *soap, const char *tag, int id, const _ngwe__configureEventsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__configureEventsRequest), type); + soap_out_PointerTongwe__Events(soap, "ngwe:events", -1, &(((_ngwe__configureEventsRequest*)a)->events), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__configureEventsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__configureEventsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_get__ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__configureEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__configureEventsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__configureEventsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_in__ngwe__configureEventsRequest(struct soap *soap, const char *tag, _ngwe__configureEventsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__configureEventsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__configureEventsRequest, sizeof(_ngwe__configureEventsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__configureEventsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__configureEventsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_events1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__Events(soap, "ngwe:events", &(((_ngwe__configureEventsRequest*)a)->events), "ngwe:Events")) + { soap_flag_events1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__configureEventsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsRequest, 0, sizeof(_ngwe__configureEventsRequest), 0, soap_copy__ngwe__configureEventsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_new__ngwe__configureEventsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwe__configureEventsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__configureEventsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__configureEventsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__configureEventsRequest; + if (size) + *size = sizeof(_ngwe__configureEventsRequest); + ((_ngwe__configureEventsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__configureEventsRequest[n]; + if (size) + *size = n * sizeof(_ngwe__configureEventsRequest); + for (int i = 0; i < n; i++) + ((_ngwe__configureEventsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__configureEventsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__configureEventsRequest %p -> %p\n", q, p)); + *(_ngwe__configureEventsRequest*)p = *(_ngwe__configureEventsRequest*)q; +} + +void _ngwe__cleanEventConfigurationResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__cleanEventConfigurationResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwe__cleanEventConfigurationResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwe__cleanEventConfigurationResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__cleanEventConfigurationResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwe__cleanEventConfigurationResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__cleanEventConfigurationResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__cleanEventConfigurationResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__cleanEventConfigurationResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, int id, const _ngwe__cleanEventConfigurationResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwe:status", -1, &(((_ngwe__cleanEventConfigurationResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__cleanEventConfigurationResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__cleanEventConfigurationResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__cleanEventConfigurationResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__cleanEventConfigurationResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__cleanEventConfigurationResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__cleanEventConfigurationResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, sizeof(_ngwe__cleanEventConfigurationResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__cleanEventConfigurationResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__cleanEventConfigurationResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwe:status", &(((_ngwe__cleanEventConfigurationResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__cleanEventConfigurationResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, 0, sizeof(_ngwe__cleanEventConfigurationResponse), 0, soap_copy__ngwe__cleanEventConfigurationResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwe__cleanEventConfigurationResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__cleanEventConfigurationResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__cleanEventConfigurationResponse; + if (size) + *size = sizeof(_ngwe__cleanEventConfigurationResponse); + ((_ngwe__cleanEventConfigurationResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__cleanEventConfigurationResponse[n]; + if (size) + *size = n * sizeof(_ngwe__cleanEventConfigurationResponse); + for (int i = 0; i < n; i++) + ((_ngwe__cleanEventConfigurationResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__cleanEventConfigurationResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__cleanEventConfigurationResponse %p -> %p\n", q, p)); + *(_ngwe__cleanEventConfigurationResponse*)p = *(_ngwe__cleanEventConfigurationResponse*)q; +} + +void _ngwe__cleanEventConfigurationRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwe__cleanEventConfigurationRequest*)this)->all, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwe__cleanEventConfigurationRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwe__cleanEventConfigurationRequest*)this)->all = (bool)0; + /* transient soap skipped */ +} + +int _ngwe__cleanEventConfigurationRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwe__cleanEventConfigurationRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwe__cleanEventConfigurationRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwe__cleanEventConfigurationRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, int id, const _ngwe__cleanEventConfigurationRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest), type); + soap_out_bool(soap, "ngwe:all", -1, &(((_ngwe__cleanEventConfigurationRequest*)a)->all), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwe__cleanEventConfigurationRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwe__cleanEventConfigurationRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwe__cleanEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwe__cleanEventConfigurationRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwe__cleanEventConfigurationRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwe__cleanEventConfigurationRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, sizeof(_ngwe__cleanEventConfigurationRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwe__cleanEventConfigurationRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwe__cleanEventConfigurationRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_all1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_all1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwe:all", &(((_ngwe__cleanEventConfigurationRequest*)a)->all), "")) + { soap_flag_all1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwe__cleanEventConfigurationRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, 0, sizeof(_ngwe__cleanEventConfigurationRequest), 0, soap_copy__ngwe__cleanEventConfigurationRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwe__cleanEventConfigurationRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwe__cleanEventConfigurationRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwe__cleanEventConfigurationRequest; + if (size) + *size = sizeof(_ngwe__cleanEventConfigurationRequest); + ((_ngwe__cleanEventConfigurationRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwe__cleanEventConfigurationRequest[n]; + if (size) + *size = n * sizeof(_ngwe__cleanEventConfigurationRequest); + for (int i = 0; i < n; i++) + ((_ngwe__cleanEventConfigurationRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwe__cleanEventConfigurationRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwe__cleanEventConfigurationRequest %p -> %p\n", q, p)); + *(_ngwe__cleanEventConfigurationRequest*)p = *(_ngwe__cleanEventConfigurationRequest*)q; +} + +void ngwe__Notify::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwe__Notify*)this)->userid, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwe__Notify*)this)->userid); + soap_embedded(soap, &((ngwe__Notify*)this)->key, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwe__Notify*)this)->key); + /* transient soap skipped */ +} + +void ngwe__Notify::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwe__Notify*)this)->userid); + soap_default_std__string(soap, &((ngwe__Notify*)this)->key); + /* transient soap skipped */ +} + +int ngwe__Notify::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__Notify); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__Notify::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__Notify(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Notify(struct soap *soap, const char *tag, int id, const ngwe__Notify *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Notify), type); + soap_out_std__string(soap, "ngwe:userid", -1, &(((ngwe__Notify*)a)->userid), ""); + soap_out_std__string(soap, "ngwe:key", -1, &(((ngwe__Notify*)a)->key), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__Notify::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__Notify(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_get_ngwe__Notify(struct soap *soap, ngwe__Notify *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__Notify(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__Notify::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__Notify(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_in_ngwe__Notify(struct soap *soap, const char *tag, ngwe__Notify *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__Notify *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Notify, sizeof(ngwe__Notify), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__Notify) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__Notify *)a->soap_in(soap, tag, type); + } + } + short soap_flag_userid1 = 1, soap_flag_key1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_userid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwe:userid", &(((ngwe__Notify*)a)->userid), "")) + { soap_flag_userid1 = 0; + continue; + } + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwe:key", &(((ngwe__Notify*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_userid1 || soap_flag_key1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__Notify *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Notify, 0, sizeof(ngwe__Notify), 0, soap_copy_ngwe__Notify); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_new_ngwe__Notify(struct soap *soap, int n) +{ return soap_instantiate_ngwe__Notify(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Notify(struct soap *soap, ngwe__Notify *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_instantiate_ngwe__Notify(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__Notify(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__Notify, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__Notify; + if (size) + *size = sizeof(ngwe__Notify); + ((ngwe__Notify*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__Notify[n]; + if (size) + *size = n * sizeof(ngwe__Notify); + for (int i = 0; i < n; i++) + ((ngwe__Notify*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__Notify*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Notify(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__Notify %p -> %p\n", q, p)); + *(ngwe__Notify*)p = *(ngwe__Notify*)q; +} + +void ngwe__EventTypeList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwe__EventType(soap, &((ngwe__EventTypeList*)this)->event); + /* transient soap skipped */ +} + +void ngwe__EventTypeList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwe__EventType(soap, &((ngwe__EventTypeList*)this)->event); + /* transient soap skipped */ +} + +int ngwe__EventTypeList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventTypeList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__EventTypeList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__EventTypeList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventTypeList(struct soap *soap, const char *tag, int id, const ngwe__EventTypeList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventTypeList), type); + soap_out_std__vectorTemplateOfngwe__EventType(soap, "ngwe:event", -1, &(((ngwe__EventTypeList*)a)->event), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__EventTypeList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__EventTypeList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_get_ngwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__EventTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__EventTypeList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__EventTypeList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_in_ngwe__EventTypeList(struct soap *soap, const char *tag, ngwe__EventTypeList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__EventTypeList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventTypeList, sizeof(ngwe__EventTypeList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__EventTypeList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__EventTypeList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwe__EventType(soap, "ngwe:event", &(((ngwe__EventTypeList*)a)->event), "")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (((ngwe__EventTypeList*)a)->event.size() > 36)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__EventTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventTypeList, 0, sizeof(ngwe__EventTypeList), 0, soap_copy_ngwe__EventTypeList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_new_ngwe__EventTypeList(struct soap *soap, int n) +{ return soap_instantiate_ngwe__EventTypeList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_instantiate_ngwe__EventTypeList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventTypeList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventTypeList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__EventTypeList; + if (size) + *size = sizeof(ngwe__EventTypeList); + ((ngwe__EventTypeList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__EventTypeList[n]; + if (size) + *size = n * sizeof(ngwe__EventTypeList); + for (int i = 0; i < n; i++) + ((ngwe__EventTypeList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__EventTypeList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventTypeList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventTypeList %p -> %p\n", q, p)); + *(ngwe__EventTypeList*)p = *(ngwe__EventTypeList*)q; +} + +void ngwe__EventsList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwe__Events(soap, &((ngwe__EventsList*)this)->event); + /* transient soap skipped */ +} + +void ngwe__EventsList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwe__Events(soap, &((ngwe__EventsList*)this)->event); + /* transient soap skipped */ +} + +int ngwe__EventsList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventsList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__EventsList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__EventsList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventsList(struct soap *soap, const char *tag, int id, const ngwe__EventsList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventsList), type); + soap_out_std__vectorTemplateOfPointerTongwe__Events(soap, "ngwe:event", -1, &(((ngwe__EventsList*)a)->event), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__EventsList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__EventsList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_get_ngwe__EventsList(struct soap *soap, ngwe__EventsList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__EventsList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__EventsList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__EventsList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_in_ngwe__EventsList(struct soap *soap, const char *tag, ngwe__EventsList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__EventsList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventsList, sizeof(ngwe__EventsList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__EventsList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__EventsList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwe__Events(soap, "ngwe:event", &(((ngwe__EventsList*)a)->event), "ngwe:Events")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__EventsList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventsList, 0, sizeof(ngwe__EventsList), 0, soap_copy_ngwe__EventsList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_new_ngwe__EventsList(struct soap *soap, int n) +{ return soap_instantiate_ngwe__EventsList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventsList(struct soap *soap, ngwe__EventsList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_instantiate_ngwe__EventsList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventsList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventsList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__EventsList; + if (size) + *size = sizeof(ngwe__EventsList); + ((ngwe__EventsList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__EventsList[n]; + if (size) + *size = n * sizeof(ngwe__EventsList); + for (int i = 0; i < n; i++) + ((ngwe__EventsList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__EventsList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventsList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventsList %p -> %p\n", q, p)); + *(ngwe__EventsList*)p = *(ngwe__EventsList*)q; +} + +void ngwe__Events::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwe__Events*)this)->key, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwe__Events*)this)->key); + soap_embedded(soap, &((ngwe__Events*)this)->persistence, SOAP_TYPE_PointerToxsd__duration); + soap_serialize_PointerToxsd__duration(soap, &((ngwe__Events*)this)->persistence); + soap_embedded(soap, &((ngwe__Events*)this)->ipAddress, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwe__Events*)this)->ipAddress); + soap_embedded(soap, &((ngwe__Events*)this)->port, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwe__Events*)this)->port); + soap_embedded(soap, &((ngwe__Events*)this)->http, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwe__Events*)this)->definition, SOAP_TYPE_PointerTongwe__EventDefinition); + soap_serialize_PointerTongwe__EventDefinition(soap, &((ngwe__Events*)this)->definition); + /* transient soap skipped */ +} + +void ngwe__Events::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwe__Events*)this)->key); + ((ngwe__Events*)this)->persistence = NULL; + ((ngwe__Events*)this)->ipAddress = NULL; + ((ngwe__Events*)this)->port = NULL; + ((ngwe__Events*)this)->http = (bool)0; + ((ngwe__Events*)this)->definition = NULL; + ((ngwe__Events*)this)->enabled = NULL; + /* transient soap skipped */ +} + +int ngwe__Events::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__Events); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__Events::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__Events(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Events(struct soap *soap, const char *tag, int id, const ngwe__Events *a, const char *type) +{ + if (((ngwe__Events *)a)->enabled) + soap_set_attr(soap, "enabled", soap_bool2s(soap, *((ngwe__Events *)a)->enabled)); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Events), type); + soap_out_std__string(soap, "ngwe:key", -1, &(((ngwe__Events*)a)->key), ""); + soap_out_PointerToxsd__duration(soap, "ngwe:persistence", -1, &(((ngwe__Events*)a)->persistence), ""); + soap_out_PointerTostd__string(soap, "ngwe:ipAddress", -1, &(((ngwe__Events*)a)->ipAddress), ""); + soap_out_PointerToint(soap, "ngwe:port", -1, &(((ngwe__Events*)a)->port), ""); + soap_out_bool(soap, "ngwe:http", -1, &(((ngwe__Events*)a)->http), ""); + soap_out_PointerTongwe__EventDefinition(soap, "ngwe:definition", -1, &(((ngwe__Events*)a)->definition), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__Events::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__Events(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_get_ngwe__Events(struct soap *soap, ngwe__Events *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__Events(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__Events::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__Events(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_in_ngwe__Events(struct soap *soap, const char *tag, ngwe__Events *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__Events *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Events, sizeof(ngwe__Events), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__Events) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__Events *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "enabled", 0); + if (t) + { if (!(((ngwe__Events *)a)->enabled = (bool *)soap_malloc(soap, sizeof(bool)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2bool(soap, t, ((ngwe__Events *)a)->enabled)) + return NULL; + } + } + short soap_flag_key1 = 1, soap_flag_persistence1 = 1, soap_flag_ipAddress1 = 1, soap_flag_port1 = 1, soap_flag_http1 = 1, soap_flag_definition1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwe:key", &(((ngwe__Events*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + if (soap_flag_persistence1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__duration(soap, "ngwe:persistence", &(((ngwe__Events*)a)->persistence), "xsd:duration")) + { soap_flag_persistence1 = 0; + continue; + } + if (soap_flag_ipAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwe:ipAddress", &(((ngwe__Events*)a)->ipAddress), "")) + { soap_flag_ipAddress1 = 0; + continue; + } + if (soap_flag_port1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwe:port", &(((ngwe__Events*)a)->port), "")) + { soap_flag_port1 = 0; + continue; + } + if (soap_flag_http1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwe:http", &(((ngwe__Events*)a)->http), "")) + { soap_flag_http1 = 0; + continue; + } + if (soap_flag_definition1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__EventDefinition(soap, "ngwe:definition", &(((ngwe__Events*)a)->definition), "ngwe:EventDefinition")) + { soap_flag_definition1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_key1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__Events *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Events, 0, sizeof(ngwe__Events), 0, soap_copy_ngwe__Events); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_new_ngwe__Events(struct soap *soap, int n) +{ return soap_instantiate_ngwe__Events(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Events(struct soap *soap, ngwe__Events *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_instantiate_ngwe__Events(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__Events(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__Events, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__Events; + if (size) + *size = sizeof(ngwe__Events); + ((ngwe__Events*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__Events[n]; + if (size) + *size = n * sizeof(ngwe__Events); + for (int i = 0; i < n; i++) + ((ngwe__Events*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__Events*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Events(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__Events %p -> %p\n", q, p)); + *(ngwe__Events*)p = *(ngwe__Events*)q; +} + +void ngwe__EventList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwe__Event(soap, &((ngwe__EventList*)this)->event); + /* transient soap skipped */ +} + +void ngwe__EventList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwe__Event(soap, &((ngwe__EventList*)this)->event); + /* transient soap skipped */ +} + +int ngwe__EventList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__EventList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__EventList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventList(struct soap *soap, const char *tag, int id, const ngwe__EventList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventList), type); + soap_out_std__vectorTemplateOfPointerTongwe__Event(soap, "ngwe:event", -1, &(((ngwe__EventList*)a)->event), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__EventList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__EventList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_get_ngwe__EventList(struct soap *soap, ngwe__EventList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__EventList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__EventList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__EventList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_in_ngwe__EventList(struct soap *soap, const char *tag, ngwe__EventList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__EventList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventList, sizeof(ngwe__EventList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__EventList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__EventList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwe__Event(soap, "ngwe:event", &(((ngwe__EventList*)a)->event), "ngwe:Event")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__EventList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventList, 0, sizeof(ngwe__EventList), 0, soap_copy_ngwe__EventList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_new_ngwe__EventList(struct soap *soap, int n) +{ return soap_instantiate_ngwe__EventList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventList(struct soap *soap, ngwe__EventList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_instantiate_ngwe__EventList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__EventList; + if (size) + *size = sizeof(ngwe__EventList); + ((ngwe__EventList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__EventList[n]; + if (size) + *size = n * sizeof(ngwe__EventList); + for (int i = 0; i < n; i++) + ((ngwe__EventList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__EventList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventList %p -> %p\n", q, p)); + *(ngwe__EventList*)p = *(ngwe__EventList*)q; +} + +void ngwe__EventDefinition::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwe__EventDefinition*)this)->events, SOAP_TYPE_PointerTongwe__EventTypeList); + soap_serialize_PointerTongwe__EventTypeList(soap, &((ngwe__EventDefinition*)this)->events); + soap_embedded(soap, &((ngwe__EventDefinition*)this)->type, SOAP_TYPE_PointerTongwe__ItemTypeList); + soap_serialize_PointerTongwe__ItemTypeList(soap, &((ngwe__EventDefinition*)this)->type); + soap_embedded(soap, &((ngwe__EventDefinition*)this)->field, SOAP_TYPE_PointerTongwe__FieldList); + soap_serialize_PointerTongwe__FieldList(soap, &((ngwe__EventDefinition*)this)->field); + soap_embedded(soap, &((ngwe__EventDefinition*)this)->containers, SOAP_TYPE_PointerTongwe__ContainerList); + soap_serialize_PointerTongwe__ContainerList(soap, &((ngwe__EventDefinition*)this)->containers); + soap_embedded(soap, &((ngwe__EventDefinition*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwe__EventDefinition*)this)->subType); + /* transient soap skipped */ +} + +void ngwe__EventDefinition::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwe__EventDefinition*)this)->events = NULL; + ((ngwe__EventDefinition*)this)->type = NULL; + ((ngwe__EventDefinition*)this)->field = NULL; + ((ngwe__EventDefinition*)this)->containers = NULL; + ((ngwe__EventDefinition*)this)->subType = NULL; + /* transient soap skipped */ +} + +int ngwe__EventDefinition::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__EventDefinition); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__EventDefinition::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__EventDefinition(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventDefinition(struct soap *soap, const char *tag, int id, const ngwe__EventDefinition *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__EventDefinition), type); + soap_out_PointerTongwe__EventTypeList(soap, "ngwe:events", -1, &(((ngwe__EventDefinition*)a)->events), ""); + soap_out_PointerTongwe__ItemTypeList(soap, "ngwe:type", -1, &(((ngwe__EventDefinition*)a)->type), ""); + soap_out_PointerTongwe__FieldList(soap, "ngwe:field", -1, &(((ngwe__EventDefinition*)a)->field), ""); + soap_out_PointerTongwe__ContainerList(soap, "ngwe:containers", -1, &(((ngwe__EventDefinition*)a)->containers), ""); + soap_out_PointerTostd__string(soap, "ngwe:subType", -1, &(((ngwe__EventDefinition*)a)->subType), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__EventDefinition::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__EventDefinition(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_get_ngwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__EventDefinition(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__EventDefinition::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__EventDefinition(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_in_ngwe__EventDefinition(struct soap *soap, const char *tag, ngwe__EventDefinition *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__EventDefinition *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__EventDefinition, sizeof(ngwe__EventDefinition), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__EventDefinition) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__EventDefinition *)a->soap_in(soap, tag, type); + } + } + short soap_flag_events1 = 1, soap_flag_type1 = 1, soap_flag_field1 = 1, soap_flag_containers1 = 1, soap_flag_subType1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_events1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__EventTypeList(soap, "ngwe:events", &(((ngwe__EventDefinition*)a)->events), "ngwe:EventTypeList")) + { soap_flag_events1 = 0; + continue; + } + if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__ItemTypeList(soap, "ngwe:type", &(((ngwe__EventDefinition*)a)->type), "")) + { soap_flag_type1 = 0; + continue; + } + if (soap_flag_field1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__FieldList(soap, "ngwe:field", &(((ngwe__EventDefinition*)a)->field), "")) + { soap_flag_field1 = 0; + continue; + } + if (soap_flag_containers1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__ContainerList(soap, "ngwe:containers", &(((ngwe__EventDefinition*)a)->containers), "ngwe:ContainerList")) + { soap_flag_containers1 = 0; + continue; + } + if (soap_flag_subType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwe:subType", &(((ngwe__EventDefinition*)a)->subType), "")) + { soap_flag_subType1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_events1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__EventDefinition *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventDefinition, 0, sizeof(ngwe__EventDefinition), 0, soap_copy_ngwe__EventDefinition); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_new_ngwe__EventDefinition(struct soap *soap, int n) +{ return soap_instantiate_ngwe__EventDefinition(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_instantiate_ngwe__EventDefinition(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__EventDefinition(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__EventDefinition, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__EventDefinition; + if (size) + *size = sizeof(ngwe__EventDefinition); + ((ngwe__EventDefinition*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__EventDefinition[n]; + if (size) + *size = n * sizeof(ngwe__EventDefinition); + for (int i = 0; i < n; i++) + ((ngwe__EventDefinition*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__EventDefinition*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventDefinition(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__EventDefinition %p -> %p\n", q, p)); + *(ngwe__EventDefinition*)p = *(ngwe__EventDefinition*)q; +} + +void ngwe__Event::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwe__Event*)this)->event, SOAP_TYPE_ngwe__EventType); + soap_embedded(soap, &((ngwe__Event*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwe__Event*)this)->id); + soap_embedded(soap, &((ngwe__Event*)this)->timeStamp, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwe__Event*)this)->timeStamp); + soap_embedded(soap, &((ngwe__Event*)this)->field, SOAP_TYPE_PointerTongwe__FieldList); + soap_serialize_PointerTongwe__FieldList(soap, &((ngwe__Event*)this)->field); + soap_embedded(soap, &((ngwe__Event*)this)->container, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwe__Event*)this)->container); + soap_embedded(soap, &((ngwe__Event*)this)->from, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwe__Event*)this)->from); + soap_embedded(soap, &((ngwe__Event*)this)->key, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwe__Event*)this)->key); + soap_embedded(soap, &((ngwe__Event*)this)->uid, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwe__Event*)this)->uid); + soap_embedded(soap, &((ngwe__Event*)this)->type, SOAP_TYPE_PointerTongwe__ItemType); + soap_serialize_PointerTongwe__ItemType(soap, &((ngwe__Event*)this)->type); + /* transient soap skipped */ +} + +void ngwe__Event::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwe__EventType(soap, &((ngwe__Event*)this)->event); + ((ngwe__Event*)this)->id = NULL; + soap_default_string(soap, &((ngwe__Event*)this)->timeStamp); + ((ngwe__Event*)this)->field = NULL; + ((ngwe__Event*)this)->container = NULL; + ((ngwe__Event*)this)->from = NULL; + ((ngwe__Event*)this)->key = NULL; + ((ngwe__Event*)this)->uid = NULL; + ((ngwe__Event*)this)->type = NULL; + /* transient soap skipped */ +} + +int ngwe__Event::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__Event); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__Event::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__Event(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Event(struct soap *soap, const char *tag, int id, const ngwe__Event *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__Event), type); + soap_out_ngwe__EventType(soap, "ngwe:event", -1, &(((ngwe__Event*)a)->event), ""); + soap_out_PointerTongwt__uid(soap, "ngwe:id", -1, &(((ngwe__Event*)a)->id), ""); + soap_out_string(soap, "ngwe:timeStamp", -1, &(((ngwe__Event*)a)->timeStamp), ""); + soap_out_PointerTongwe__FieldList(soap, "ngwe:field", -1, &(((ngwe__Event*)a)->field), ""); + soap_out_PointerTongwt__uid(soap, "ngwe:container", -1, &(((ngwe__Event*)a)->container), ""); + soap_out_PointerTongwt__uid(soap, "ngwe:from", -1, &(((ngwe__Event*)a)->from), ""); + soap_out_PointerTostd__string(soap, "ngwe:key", -1, &(((ngwe__Event*)a)->key), ""); + soap_out_PointerTounsignedLong(soap, "ngwe:uid", -1, &(((ngwe__Event*)a)->uid), ""); + soap_out_PointerTongwe__ItemType(soap, "ngwe:type", -1, &(((ngwe__Event*)a)->type), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__Event::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__Event(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_get_ngwe__Event(struct soap *soap, ngwe__Event *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__Event(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__Event::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__Event(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_in_ngwe__Event(struct soap *soap, const char *tag, ngwe__Event *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__Event *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__Event, sizeof(ngwe__Event), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__Event) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__Event *)a->soap_in(soap, tag, type); + } + } + short soap_flag_event1 = 1, soap_flag_id1 = 1, soap_flag_timeStamp1 = 1, soap_flag_field1 = 1, soap_flag_container1 = 1, soap_flag_from1 = 1, soap_flag_key1 = 1, soap_flag_uid1 = 1, soap_flag_type1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_event1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwe__EventType(soap, "ngwe:event", &(((ngwe__Event*)a)->event), "")) + { soap_flag_event1 = 0; + continue; + } + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwe:id", &(((ngwe__Event*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_timeStamp1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwe:timeStamp", &(((ngwe__Event*)a)->timeStamp), "")) + { soap_flag_timeStamp1 = 0; + continue; + } + if (soap_flag_field1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__FieldList(soap, "ngwe:field", &(((ngwe__Event*)a)->field), "")) + { soap_flag_field1 = 0; + continue; + } + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwe:container", &(((ngwe__Event*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwe:from", &(((ngwe__Event*)a)->from), "ngwt:uid")) + { soap_flag_from1 = 0; + continue; + } + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwe:key", &(((ngwe__Event*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + if (soap_flag_uid1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwe:uid", &(((ngwe__Event*)a)->uid), "")) + { soap_flag_uid1 = 0; + continue; + } + if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwe__ItemType(soap, "ngwe:type", &(((ngwe__Event*)a)->type), "")) + { soap_flag_type1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_event1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__Event *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Event, 0, sizeof(ngwe__Event), 0, soap_copy_ngwe__Event); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_new_ngwe__Event(struct soap *soap, int n) +{ return soap_instantiate_ngwe__Event(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Event(struct soap *soap, ngwe__Event *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_instantiate_ngwe__Event(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__Event(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__Event, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__Event; + if (size) + *size = sizeof(ngwe__Event); + ((ngwe__Event*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__Event[n]; + if (size) + *size = n * sizeof(ngwe__Event); + for (int i = 0; i < n; i++) + ((ngwe__Event*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__Event*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Event(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__Event %p -> %p\n", q, p)); + *(ngwe__Event*)p = *(ngwe__Event*)q; +} + +void ngwe__ContainerList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwe__ContainerList*)this)->container); + /* transient soap skipped */ +} + +void ngwe__ContainerList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwe__ContainerList*)this)->container); + ((ngwe__ContainerList*)this)->not_ = NULL; + /* transient soap skipped */ +} + +int ngwe__ContainerList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwe__ContainerList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwe__ContainerList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwe__ContainerList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ContainerList(struct soap *soap, const char *tag, int id, const ngwe__ContainerList *a, const char *type) +{ + if (((ngwe__ContainerList *)a)->not_) + soap_set_attr(soap, "not", soap_bool2s(soap, *((ngwe__ContainerList *)a)->not_)); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwe__ContainerList), type); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwe:container", -1, &(((ngwe__ContainerList*)a)->container), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwe__ContainerList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwe__ContainerList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_get_ngwe__ContainerList(struct soap *soap, ngwe__ContainerList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwe__ContainerList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwe__ContainerList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwe__ContainerList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_in_ngwe__ContainerList(struct soap *soap, const char *tag, ngwe__ContainerList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwe__ContainerList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwe__ContainerList, sizeof(ngwe__ContainerList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwe__ContainerList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwe__ContainerList *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "not", 0); + if (t) + { if (!(((ngwe__ContainerList *)a)->not_ = (bool *)soap_malloc(soap, sizeof(bool)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2bool(soap, t, ((ngwe__ContainerList *)a)->not_)) + return NULL; + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwe:container", &(((ngwe__ContainerList*)a)->container), "ngwt:uid")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwe__ContainerList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ContainerList, 0, sizeof(ngwe__ContainerList), 0, soap_copy_ngwe__ContainerList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_new_ngwe__ContainerList(struct soap *soap, int n) +{ return soap_instantiate_ngwe__ContainerList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__ContainerList(struct soap *soap, ngwe__ContainerList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_instantiate_ngwe__ContainerList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwe__ContainerList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwe__ContainerList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwe__ContainerList; + if (size) + *size = sizeof(ngwe__ContainerList); + ((ngwe__ContainerList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwe__ContainerList[n]; + if (size) + *size = n * sizeof(ngwe__ContainerList); + for (int i = 0; i < n; i++) + ((ngwe__ContainerList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwe__ContainerList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__ContainerList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwe__ContainerList %p -> %p\n", q, p)); + *(ngwe__ContainerList*)p = *(ngwe__ContainerList*)q; +} + +void _ngwm__updateVersionStatusResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__updateVersionStatusResponse*)this)->part, SOAP_TYPE_PointerTongwt__SignatureData); + soap_serialize_PointerTongwt__SignatureData(soap, &((_ngwm__updateVersionStatusResponse*)this)->part); + soap_embedded(soap, &((_ngwm__updateVersionStatusResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__updateVersionStatusResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__updateVersionStatusResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__updateVersionStatusResponse*)this)->part = NULL; + ((_ngwm__updateVersionStatusResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__updateVersionStatusResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__updateVersionStatusResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__updateVersionStatusResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__updateVersionStatusResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, int id, const _ngwm__updateVersionStatusResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__updateVersionStatusResponse), type); + soap_out_PointerTongwt__SignatureData(soap, "ngwm:part", -1, &(((_ngwm__updateVersionStatusResponse*)a)->part), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__updateVersionStatusResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__updateVersionStatusResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__updateVersionStatusResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__updateVersionStatusResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__updateVersionStatusResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__updateVersionStatusResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, _ngwm__updateVersionStatusResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__updateVersionStatusResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__updateVersionStatusResponse, sizeof(_ngwm__updateVersionStatusResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__updateVersionStatusResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__updateVersionStatusResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_part1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SignatureData(soap, "ngwm:part", &(((_ngwm__updateVersionStatusResponse*)a)->part), "ngwt:SignatureData")) + { soap_flag_part1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__updateVersionStatusResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__updateVersionStatusResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusResponse, 0, sizeof(_ngwm__updateVersionStatusResponse), 0, soap_copy__ngwm__updateVersionStatusResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__updateVersionStatusResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__updateVersionStatusResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__updateVersionStatusResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__updateVersionStatusResponse; + if (size) + *size = sizeof(_ngwm__updateVersionStatusResponse); + ((_ngwm__updateVersionStatusResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__updateVersionStatusResponse[n]; + if (size) + *size = n * sizeof(_ngwm__updateVersionStatusResponse); + for (int i = 0; i < n; i++) + ((_ngwm__updateVersionStatusResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__updateVersionStatusResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__updateVersionStatusResponse %p -> %p\n", q, p)); + *(_ngwm__updateVersionStatusResponse*)p = *(_ngwm__updateVersionStatusResponse*)q; +} + +void _ngwm__updateVersionStatusRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__updateVersionStatusRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__updateVersionStatusRequest*)this)->id); + soap_embedded(soap, &((_ngwm__updateVersionStatusRequest*)this)->event, SOAP_TYPE_ngwt__VersionEventType); + soap_embedded(soap, &((_ngwm__updateVersionStatusRequest*)this)->part, SOAP_TYPE_PointerTongwt__SignatureData); + soap_serialize_PointerTongwt__SignatureData(soap, &((_ngwm__updateVersionStatusRequest*)this)->part); + /* transient soap skipped */ +} + +void _ngwm__updateVersionStatusRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__updateVersionStatusRequest*)this)->id); + soap_default_ngwt__VersionEventType(soap, &((_ngwm__updateVersionStatusRequest*)this)->event); + ((_ngwm__updateVersionStatusRequest*)this)->part = NULL; + /* transient soap skipped */ +} + +int _ngwm__updateVersionStatusRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__updateVersionStatusRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__updateVersionStatusRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__updateVersionStatusRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, int id, const _ngwm__updateVersionStatusRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__updateVersionStatusRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__updateVersionStatusRequest*)a)->id), ""); + soap_out_ngwt__VersionEventType(soap, "ngwm:event", -1, &(((_ngwm__updateVersionStatusRequest*)a)->event), ""); + soap_out_PointerTongwt__SignatureData(soap, "ngwm:part", -1, &(((_ngwm__updateVersionStatusRequest*)a)->part), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__updateVersionStatusRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__updateVersionStatusRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__updateVersionStatusRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__updateVersionStatusRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__updateVersionStatusRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, _ngwm__updateVersionStatusRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__updateVersionStatusRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__updateVersionStatusRequest, sizeof(_ngwm__updateVersionStatusRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__updateVersionStatusRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__updateVersionStatusRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_event1 = 1, soap_flag_part1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__updateVersionStatusRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_event1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__VersionEventType(soap, "ngwm:event", &(((_ngwm__updateVersionStatusRequest*)a)->event), "")) + { soap_flag_event1 = 0; + continue; + } + if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SignatureData(soap, "ngwm:part", &(((_ngwm__updateVersionStatusRequest*)a)->part), "ngwt:SignatureData")) + { soap_flag_part1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_event1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__updateVersionStatusRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusRequest, 0, sizeof(_ngwm__updateVersionStatusRequest), 0, soap_copy__ngwm__updateVersionStatusRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__updateVersionStatusRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__updateVersionStatusRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__updateVersionStatusRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__updateVersionStatusRequest; + if (size) + *size = sizeof(_ngwm__updateVersionStatusRequest); + ((_ngwm__updateVersionStatusRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__updateVersionStatusRequest[n]; + if (size) + *size = n * sizeof(_ngwm__updateVersionStatusRequest); + for (int i = 0; i < n; i++) + ((_ngwm__updateVersionStatusRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__updateVersionStatusRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__updateVersionStatusRequest %p -> %p\n", q, p)); + *(_ngwm__updateVersionStatusRequest*)p = *(_ngwm__updateVersionStatusRequest*)q; +} + +void _ngwm__uncompleteResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__uncompleteResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__uncompleteResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__uncompleteResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__uncompleteResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__uncompleteResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__uncompleteResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__uncompleteResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__uncompleteResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteResponse(struct soap *soap, const char *tag, int id, const _ngwm__uncompleteResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__uncompleteResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__uncompleteResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__uncompleteResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__uncompleteResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_get__ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__uncompleteResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__uncompleteResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__uncompleteResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_in__ngwm__uncompleteResponse(struct soap *soap, const char *tag, _ngwm__uncompleteResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__uncompleteResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__uncompleteResponse, sizeof(_ngwm__uncompleteResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__uncompleteResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__uncompleteResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__uncompleteResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__uncompleteResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteResponse, 0, sizeof(_ngwm__uncompleteResponse), 0, soap_copy__ngwm__uncompleteResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_new__ngwm__uncompleteResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__uncompleteResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__uncompleteResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__uncompleteResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__uncompleteResponse; + if (size) + *size = sizeof(_ngwm__uncompleteResponse); + ((_ngwm__uncompleteResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__uncompleteResponse[n]; + if (size) + *size = n * sizeof(_ngwm__uncompleteResponse); + for (int i = 0; i < n; i++) + ((_ngwm__uncompleteResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__uncompleteResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__uncompleteResponse %p -> %p\n", q, p)); + *(_ngwm__uncompleteResponse*)p = *(_ngwm__uncompleteResponse*)q; +} + +void _ngwm__uncompleteRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__uncompleteRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__uncompleteRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__uncompleteRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__uncompleteRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__uncompleteRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__uncompleteRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__uncompleteRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__uncompleteRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteRequest(struct soap *soap, const char *tag, int id, const _ngwm__uncompleteRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__uncompleteRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__uncompleteRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__uncompleteRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__uncompleteRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_get__ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__uncompleteRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__uncompleteRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__uncompleteRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_in__ngwm__uncompleteRequest(struct soap *soap, const char *tag, _ngwm__uncompleteRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__uncompleteRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__uncompleteRequest, sizeof(_ngwm__uncompleteRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__uncompleteRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__uncompleteRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__uncompleteRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__uncompleteRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteRequest, 0, sizeof(_ngwm__uncompleteRequest), 0, soap_copy__ngwm__uncompleteRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_new__ngwm__uncompleteRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__uncompleteRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__uncompleteRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__uncompleteRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__uncompleteRequest; + if (size) + *size = sizeof(_ngwm__uncompleteRequest); + ((_ngwm__uncompleteRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__uncompleteRequest[n]; + if (size) + *size = n * sizeof(_ngwm__uncompleteRequest); + for (int i = 0; i < n; i++) + ((_ngwm__uncompleteRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__uncompleteRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__uncompleteRequest %p -> %p\n", q, p)); + *(_ngwm__uncompleteRequest*)p = *(_ngwm__uncompleteRequest*)q; +} + +void _ngwm__unacceptResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__unacceptResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__unacceptResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__unacceptResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__unacceptResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__unacceptResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__unacceptResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__unacceptResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__unacceptResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptResponse(struct soap *soap, const char *tag, int id, const _ngwm__unacceptResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__unacceptResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__unacceptResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__unacceptResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__unacceptResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_get__ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__unacceptResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__unacceptResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__unacceptResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_in__ngwm__unacceptResponse(struct soap *soap, const char *tag, _ngwm__unacceptResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__unacceptResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__unacceptResponse, sizeof(_ngwm__unacceptResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__unacceptResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__unacceptResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__unacceptResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__unacceptResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptResponse, 0, sizeof(_ngwm__unacceptResponse), 0, soap_copy__ngwm__unacceptResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_new__ngwm__unacceptResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__unacceptResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__unacceptResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__unacceptResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__unacceptResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__unacceptResponse; + if (size) + *size = sizeof(_ngwm__unacceptResponse); + ((_ngwm__unacceptResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__unacceptResponse[n]; + if (size) + *size = n * sizeof(_ngwm__unacceptResponse); + for (int i = 0; i < n; i++) + ((_ngwm__unacceptResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__unacceptResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__unacceptResponse %p -> %p\n", q, p)); + *(_ngwm__unacceptResponse*)p = *(_ngwm__unacceptResponse*)q; +} + +void _ngwm__unacceptRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__unacceptRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__unacceptRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__unacceptRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__unacceptRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__unacceptRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__unacceptRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__unacceptRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__unacceptRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptRequest(struct soap *soap, const char *tag, int id, const _ngwm__unacceptRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__unacceptRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__unacceptRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__unacceptRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__unacceptRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_get__ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__unacceptRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__unacceptRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__unacceptRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_in__ngwm__unacceptRequest(struct soap *soap, const char *tag, _ngwm__unacceptRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__unacceptRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__unacceptRequest, sizeof(_ngwm__unacceptRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__unacceptRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__unacceptRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__unacceptRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__unacceptRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptRequest, 0, sizeof(_ngwm__unacceptRequest), 0, soap_copy__ngwm__unacceptRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_new__ngwm__unacceptRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__unacceptRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__unacceptRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__unacceptRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__unacceptRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__unacceptRequest; + if (size) + *size = sizeof(_ngwm__unacceptRequest); + ((_ngwm__unacceptRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__unacceptRequest[n]; + if (size) + *size = n * sizeof(_ngwm__unacceptRequest); + for (int i = 0; i < n; i++) + ((_ngwm__unacceptRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__unacceptRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__unacceptRequest %p -> %p\n", q, p)); + *(_ngwm__unacceptRequest*)p = *(_ngwm__unacceptRequest*)q; +} + +void _ngwm__startFreeBusySessionResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__startFreeBusySessionResponse*)this)->freeBusySessionId, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((_ngwm__startFreeBusySessionResponse*)this)->freeBusySessionId); + soap_embedded(soap, &((_ngwm__startFreeBusySessionResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__startFreeBusySessionResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__startFreeBusySessionResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__startFreeBusySessionResponse*)this)->freeBusySessionId = NULL; + ((_ngwm__startFreeBusySessionResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__startFreeBusySessionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__startFreeBusySessionResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__startFreeBusySessionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__startFreeBusySessionResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, int id, const _ngwm__startFreeBusySessionResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__startFreeBusySessionResponse), type); + soap_out_PointerToint(soap, "ngwm:freeBusySessionId", -1, &(((_ngwm__startFreeBusySessionResponse*)a)->freeBusySessionId), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__startFreeBusySessionResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__startFreeBusySessionResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__startFreeBusySessionResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__startFreeBusySessionResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__startFreeBusySessionResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__startFreeBusySessionResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__startFreeBusySessionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__startFreeBusySessionResponse, sizeof(_ngwm__startFreeBusySessionResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__startFreeBusySessionResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__startFreeBusySessionResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_freeBusySessionId1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_freeBusySessionId1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwm:freeBusySessionId", &(((_ngwm__startFreeBusySessionResponse*)a)->freeBusySessionId), "")) + { soap_flag_freeBusySessionId1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__startFreeBusySessionResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__startFreeBusySessionResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionResponse, 0, sizeof(_ngwm__startFreeBusySessionResponse), 0, soap_copy__ngwm__startFreeBusySessionResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__startFreeBusySessionResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__startFreeBusySessionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__startFreeBusySessionResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__startFreeBusySessionResponse; + if (size) + *size = sizeof(_ngwm__startFreeBusySessionResponse); + ((_ngwm__startFreeBusySessionResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__startFreeBusySessionResponse[n]; + if (size) + *size = n * sizeof(_ngwm__startFreeBusySessionResponse); + for (int i = 0; i < n; i++) + ((_ngwm__startFreeBusySessionResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__startFreeBusySessionResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__startFreeBusySessionResponse %p -> %p\n", q, p)); + *(_ngwm__startFreeBusySessionResponse*)p = *(_ngwm__startFreeBusySessionResponse*)q; +} + +void _ngwm__startFreeBusySessionRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__startFreeBusySessionRequest*)this)->users, SOAP_TYPE_PointerTongwt__FreeBusyUserList); + soap_serialize_PointerTongwt__FreeBusyUserList(soap, &((_ngwm__startFreeBusySessionRequest*)this)->users); + soap_embedded(soap, &((_ngwm__startFreeBusySessionRequest*)this)->startDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->startDate); + soap_embedded(soap, &((_ngwm__startFreeBusySessionRequest*)this)->endDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->endDate); + /* transient soap skipped */ +} + +void _ngwm__startFreeBusySessionRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__startFreeBusySessionRequest*)this)->users = NULL; + soap_default_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->startDate); + soap_default_string(soap, &((_ngwm__startFreeBusySessionRequest*)this)->endDate); + /* transient soap skipped */ +} + +int _ngwm__startFreeBusySessionRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__startFreeBusySessionRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__startFreeBusySessionRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__startFreeBusySessionRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const _ngwm__startFreeBusySessionRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__startFreeBusySessionRequest), type); + soap_out_PointerTongwt__FreeBusyUserList(soap, "ngwm:users", -1, &(((_ngwm__startFreeBusySessionRequest*)a)->users), ""); + soap_out_string(soap, "ngwm:startDate", -1, &(((_ngwm__startFreeBusySessionRequest*)a)->startDate), ""); + soap_out_string(soap, "ngwm:endDate", -1, &(((_ngwm__startFreeBusySessionRequest*)a)->endDate), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__startFreeBusySessionRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__startFreeBusySessionRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__startFreeBusySessionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__startFreeBusySessionRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__startFreeBusySessionRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__startFreeBusySessionRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__startFreeBusySessionRequest, sizeof(_ngwm__startFreeBusySessionRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__startFreeBusySessionRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__startFreeBusySessionRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_users1 = 1, soap_flag_startDate1 = 1, soap_flag_endDate1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_users1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FreeBusyUserList(soap, "ngwm:users", &(((_ngwm__startFreeBusySessionRequest*)a)->users), "ngwt:FreeBusyUserList")) + { soap_flag_users1 = 0; + continue; + } + if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:startDate", &(((_ngwm__startFreeBusySessionRequest*)a)->startDate), "")) + { soap_flag_startDate1 = 0; + continue; + } + if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:endDate", &(((_ngwm__startFreeBusySessionRequest*)a)->endDate), "")) + { soap_flag_endDate1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_users1 || soap_flag_startDate1 || soap_flag_endDate1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__startFreeBusySessionRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionRequest, 0, sizeof(_ngwm__startFreeBusySessionRequest), 0, soap_copy__ngwm__startFreeBusySessionRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__startFreeBusySessionRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__startFreeBusySessionRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__startFreeBusySessionRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__startFreeBusySessionRequest; + if (size) + *size = sizeof(_ngwm__startFreeBusySessionRequest); + ((_ngwm__startFreeBusySessionRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__startFreeBusySessionRequest[n]; + if (size) + *size = n * sizeof(_ngwm__startFreeBusySessionRequest); + for (int i = 0; i < n; i++) + ((_ngwm__startFreeBusySessionRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__startFreeBusySessionRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__startFreeBusySessionRequest %p -> %p\n", q, p)); + *(_ngwm__startFreeBusySessionRequest*)p = *(_ngwm__startFreeBusySessionRequest*)q; +} + +void _ngwm__setTimestampResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__setTimestampResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__setTimestampResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__setTimestampResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__setTimestampResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__setTimestampResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__setTimestampResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__setTimestampResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__setTimestampResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampResponse(struct soap *soap, const char *tag, int id, const _ngwm__setTimestampResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__setTimestampResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__setTimestampResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__setTimestampResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__setTimestampResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_get__ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__setTimestampResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__setTimestampResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__setTimestampResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_in__ngwm__setTimestampResponse(struct soap *soap, const char *tag, _ngwm__setTimestampResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__setTimestampResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__setTimestampResponse, sizeof(_ngwm__setTimestampResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__setTimestampResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__setTimestampResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__setTimestampResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__setTimestampResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampResponse, 0, sizeof(_ngwm__setTimestampResponse), 0, soap_copy__ngwm__setTimestampResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_new__ngwm__setTimestampResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__setTimestampResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__setTimestampResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__setTimestampResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__setTimestampResponse; + if (size) + *size = sizeof(_ngwm__setTimestampResponse); + ((_ngwm__setTimestampResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__setTimestampResponse[n]; + if (size) + *size = n * sizeof(_ngwm__setTimestampResponse); + for (int i = 0; i < n; i++) + ((_ngwm__setTimestampResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__setTimestampResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__setTimestampResponse %p -> %p\n", q, p)); + *(_ngwm__setTimestampResponse*)p = *(_ngwm__setTimestampResponse*)q; +} + +void _ngwm__setTimestampRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__setTimestampRequest*)this)->backup, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__setTimestampRequest*)this)->backup); + soap_embedded(soap, &((_ngwm__setTimestampRequest*)this)->retention, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__setTimestampRequest*)this)->retention); + /* transient soap skipped */ +} + +void _ngwm__setTimestampRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((_ngwm__setTimestampRequest*)this)->backup); + soap_default_string(soap, &((_ngwm__setTimestampRequest*)this)->retention); + /* transient soap skipped */ +} + +int _ngwm__setTimestampRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__setTimestampRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__setTimestampRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__setTimestampRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampRequest(struct soap *soap, const char *tag, int id, const _ngwm__setTimestampRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__setTimestampRequest), type); + soap_out_string(soap, "ngwm:backup", -1, &(((_ngwm__setTimestampRequest*)a)->backup), ""); + soap_out_string(soap, "ngwm:retention", -1, &(((_ngwm__setTimestampRequest*)a)->retention), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__setTimestampRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__setTimestampRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_get__ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__setTimestampRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__setTimestampRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__setTimestampRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_in__ngwm__setTimestampRequest(struct soap *soap, const char *tag, _ngwm__setTimestampRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__setTimestampRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__setTimestampRequest, sizeof(_ngwm__setTimestampRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__setTimestampRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__setTimestampRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_backup1 = 1, soap_flag_retention1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_backup1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:backup", &(((_ngwm__setTimestampRequest*)a)->backup), "")) + { soap_flag_backup1 = 0; + continue; + } + if (soap_flag_retention1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:retention", &(((_ngwm__setTimestampRequest*)a)->retention), "")) + { soap_flag_retention1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__setTimestampRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampRequest, 0, sizeof(_ngwm__setTimestampRequest), 0, soap_copy__ngwm__setTimestampRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_new__ngwm__setTimestampRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__setTimestampRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__setTimestampRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__setTimestampRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__setTimestampRequest; + if (size) + *size = sizeof(_ngwm__setTimestampRequest); + ((_ngwm__setTimestampRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__setTimestampRequest[n]; + if (size) + *size = n * sizeof(_ngwm__setTimestampRequest); + for (int i = 0; i < n; i++) + ((_ngwm__setTimestampRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__setTimestampRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__setTimestampRequest %p -> %p\n", q, p)); + *(_ngwm__setTimestampRequest*)p = *(_ngwm__setTimestampRequest*)q; +} + +void _ngwm__sendItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__sendItemResponse*)this)->id); + soap_embedded(soap, &((_ngwm__sendItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__sendItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__sendItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__sendItemResponse*)this)->id); + ((_ngwm__sendItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__sendItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__sendItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__sendItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__sendItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__sendItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__sendItemResponse), type); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__sendItemResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__sendItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__sendItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__sendItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_get__ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__sendItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__sendItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__sendItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_in__ngwm__sendItemResponse(struct soap *soap, const char *tag, _ngwm__sendItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__sendItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__sendItemResponse, sizeof(_ngwm__sendItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__sendItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__sendItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__sendItemResponse*)a)->id), "ngwt:uid")) + continue; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__sendItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__sendItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemResponse, 0, sizeof(_ngwm__sendItemResponse), 0, soap_copy__ngwm__sendItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_new__ngwm__sendItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__sendItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__sendItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__sendItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__sendItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__sendItemResponse; + if (size) + *size = sizeof(_ngwm__sendItemResponse); + ((_ngwm__sendItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__sendItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__sendItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__sendItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__sendItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__sendItemResponse %p -> %p\n", q, p)); + *(_ngwm__sendItemResponse*)p = *(_ngwm__sendItemResponse*)q; +} + +void _ngwm__sendItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__sendItemRequest*)this)->item, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((_ngwm__sendItemRequest*)this)->item); + /* transient soap skipped */ +} + +void _ngwm__sendItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__sendItemRequest*)this)->item = NULL; + /* transient soap skipped */ +} + +int _ngwm__sendItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__sendItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__sendItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__sendItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__sendItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__sendItemRequest), type); + soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__sendItemRequest*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__sendItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__sendItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_get__ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__sendItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__sendItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__sendItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_in__ngwm__sendItemRequest(struct soap *soap, const char *tag, _ngwm__sendItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__sendItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__sendItemRequest, sizeof(_ngwm__sendItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__sendItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__sendItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_item1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__sendItemRequest*)a)->item), "ngwt:Item")) + { soap_flag_item1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_item1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__sendItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemRequest, 0, sizeof(_ngwm__sendItemRequest), 0, soap_copy__ngwm__sendItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_new__ngwm__sendItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__sendItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__sendItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__sendItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__sendItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__sendItemRequest; + if (size) + *size = sizeof(_ngwm__sendItemRequest); + ((_ngwm__sendItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__sendItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__sendItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__sendItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__sendItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__sendItemRequest %p -> %p\n", q, p)); + *(_ngwm__sendItemRequest*)p = *(_ngwm__sendItemRequest*)q; +} + +void _ngwm__retractResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__retractResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__retractResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__retractResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__retractResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__retractResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__retractResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__retractResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__retractResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractResponse(struct soap *soap, const char *tag, int id, const _ngwm__retractResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__retractResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__retractResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__retractResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__retractResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_get__ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__retractResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__retractResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__retractResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_in__ngwm__retractResponse(struct soap *soap, const char *tag, _ngwm__retractResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__retractResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__retractResponse, sizeof(_ngwm__retractResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__retractResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__retractResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__retractResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__retractResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractResponse, 0, sizeof(_ngwm__retractResponse), 0, soap_copy__ngwm__retractResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_new__ngwm__retractResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__retractResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_instantiate__ngwm__retractResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__retractResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__retractResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__retractResponse; + if (size) + *size = sizeof(_ngwm__retractResponse); + ((_ngwm__retractResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__retractResponse[n]; + if (size) + *size = n * sizeof(_ngwm__retractResponse); + for (int i = 0; i < n; i++) + ((_ngwm__retractResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__retractResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__retractResponse %p -> %p\n", q, p)); + *(_ngwm__retractResponse*)p = *(_ngwm__retractResponse*)q; +} + +void _ngwm__retractRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__retractRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__retractRequest*)this)->items); + soap_embedded(soap, &((_ngwm__retractRequest*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__retractRequest*)this)->comment); + soap_embedded(soap, &((_ngwm__retractRequest*)this)->retractingAllInstances, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwm__retractRequest*)this)->retractCausedByResend, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwm__retractRequest*)this)->retractType, SOAP_TYPE_PointerTongwt__RetractType); + soap_serialize_PointerTongwt__RetractType(soap, &((_ngwm__retractRequest*)this)->retractType); + /* transient soap skipped */ +} + +void _ngwm__retractRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__retractRequest*)this)->items = NULL; + ((_ngwm__retractRequest*)this)->comment = NULL; + ((_ngwm__retractRequest*)this)->retractingAllInstances = (bool)0; + ((_ngwm__retractRequest*)this)->retractCausedByResend = (bool)0; + ((_ngwm__retractRequest*)this)->retractType = NULL; + /* transient soap skipped */ +} + +int _ngwm__retractRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__retractRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__retractRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__retractRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractRequest(struct soap *soap, const char *tag, int id, const _ngwm__retractRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__retractRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__retractRequest*)a)->items), ""); + soap_out_PointerTostd__string(soap, "ngwm:comment", -1, &(((_ngwm__retractRequest*)a)->comment), ""); + soap_out_bool(soap, "ngwm:retractingAllInstances", -1, &(((_ngwm__retractRequest*)a)->retractingAllInstances), ""); + soap_out_bool(soap, "ngwm:retractCausedByResend", -1, &(((_ngwm__retractRequest*)a)->retractCausedByResend), ""); + soap_out_PointerTongwt__RetractType(soap, "ngwm:retractType", -1, &(((_ngwm__retractRequest*)a)->retractType), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__retractRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__retractRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_get__ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__retractRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__retractRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__retractRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_in__ngwm__retractRequest(struct soap *soap, const char *tag, _ngwm__retractRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__retractRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__retractRequest, sizeof(_ngwm__retractRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__retractRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__retractRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_comment1 = 1, soap_flag_retractingAllInstances1 = 1, soap_flag_retractCausedByResend1 = 1, soap_flag_retractType1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__retractRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:comment", &(((_ngwm__retractRequest*)a)->comment), "")) + { soap_flag_comment1 = 0; + continue; + } + if (soap_flag_retractingAllInstances1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:retractingAllInstances", &(((_ngwm__retractRequest*)a)->retractingAllInstances), "")) + { soap_flag_retractingAllInstances1 = 0; + continue; + } + if (soap_flag_retractCausedByResend1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:retractCausedByResend", &(((_ngwm__retractRequest*)a)->retractCausedByResend), "")) + { soap_flag_retractCausedByResend1 = 0; + continue; + } + if (soap_flag_retractType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RetractType(soap, "ngwm:retractType", &(((_ngwm__retractRequest*)a)->retractType), "")) + { soap_flag_retractType1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__retractRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractRequest, 0, sizeof(_ngwm__retractRequest), 0, soap_copy__ngwm__retractRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_new__ngwm__retractRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__retractRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_instantiate__ngwm__retractRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__retractRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__retractRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__retractRequest; + if (size) + *size = sizeof(_ngwm__retractRequest); + ((_ngwm__retractRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__retractRequest[n]; + if (size) + *size = n * sizeof(_ngwm__retractRequest); + for (int i = 0; i < n; i++) + ((_ngwm__retractRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__retractRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__retractRequest %p -> %p\n", q, p)); + *(_ngwm__retractRequest*)p = *(_ngwm__retractRequest*)q; +} + +void _ngwm__replyResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__replyResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((_ngwm__replyResponse*)this)->item); + soap_embedded(soap, &((_ngwm__replyResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__replyResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__replyResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__replyResponse*)this)->item = NULL; + ((_ngwm__replyResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__replyResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__replyResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__replyResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__replyResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyResponse(struct soap *soap, const char *tag, int id, const _ngwm__replyResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__replyResponse), type); + soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__replyResponse*)a)->item), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__replyResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__replyResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__replyResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_get__ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__replyResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__replyResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__replyResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_in__ngwm__replyResponse(struct soap *soap, const char *tag, _ngwm__replyResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__replyResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__replyResponse, sizeof(_ngwm__replyResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__replyResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__replyResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_item1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__replyResponse*)a)->item), "ngwt:Item")) + { soap_flag_item1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__replyResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__replyResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyResponse, 0, sizeof(_ngwm__replyResponse), 0, soap_copy__ngwm__replyResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_new__ngwm__replyResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__replyResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_instantiate__ngwm__replyResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__replyResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__replyResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__replyResponse; + if (size) + *size = sizeof(_ngwm__replyResponse); + ((_ngwm__replyResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__replyResponse[n]; + if (size) + *size = n * sizeof(_ngwm__replyResponse); + for (int i = 0; i < n; i++) + ((_ngwm__replyResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__replyResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__replyResponse %p -> %p\n", q, p)); + *(_ngwm__replyResponse*)p = *(_ngwm__replyResponse*)q; +} + +void _ngwm__replyRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__replyRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__replyRequest*)this)->id); + soap_embedded(soap, &((_ngwm__replyRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__replyRequest*)this)->view); + /* transient soap skipped */ +} + +void _ngwm__replyRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__replyRequest*)this)->id); + ((_ngwm__replyRequest*)this)->view = NULL; + /* transient soap skipped */ +} + +int _ngwm__replyRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__replyRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__replyRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__replyRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyRequest(struct soap *soap, const char *tag, int id, const _ngwm__replyRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__replyRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__replyRequest*)a)->id), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__replyRequest*)a)->view), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__replyRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__replyRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_get__ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__replyRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__replyRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__replyRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_in__ngwm__replyRequest(struct soap *soap, const char *tag, _ngwm__replyRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__replyRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__replyRequest, sizeof(_ngwm__replyRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__replyRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__replyRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_view1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__replyRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__replyRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__replyRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyRequest, 0, sizeof(_ngwm__replyRequest), 0, soap_copy__ngwm__replyRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_new__ngwm__replyRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__replyRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_instantiate__ngwm__replyRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__replyRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__replyRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__replyRequest; + if (size) + *size = sizeof(_ngwm__replyRequest); + ((_ngwm__replyRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__replyRequest[n]; + if (size) + *size = n * sizeof(_ngwm__replyRequest); + for (int i = 0; i < n; i++) + ((_ngwm__replyRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__replyRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__replyRequest %p -> %p\n", q, p)); + *(_ngwm__replyRequest*)p = *(_ngwm__replyRequest*)q; +} + +void _ngwm__removeSignatureResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeSignatureResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeSignatureResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeSignatureResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeSignatureResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeSignatureResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeSignatureResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeSignatureResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeSignatureResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeSignatureResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeSignatureResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeSignatureResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeSignatureResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeSignatureResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_get__ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeSignatureResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeSignatureResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeSignatureResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_in__ngwm__removeSignatureResponse(struct soap *soap, const char *tag, _ngwm__removeSignatureResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeSignatureResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeSignatureResponse, sizeof(_ngwm__removeSignatureResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeSignatureResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeSignatureResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeSignatureResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeSignatureResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureResponse, 0, sizeof(_ngwm__removeSignatureResponse), 0, soap_copy__ngwm__removeSignatureResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_new__ngwm__removeSignatureResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeSignatureResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeSignatureResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeSignatureResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeSignatureResponse; + if (size) + *size = sizeof(_ngwm__removeSignatureResponse); + ((_ngwm__removeSignatureResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeSignatureResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeSignatureResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeSignatureResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeSignatureResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeSignatureResponse %p -> %p\n", q, p)); + *(_ngwm__removeSignatureResponse*)p = *(_ngwm__removeSignatureResponse*)q; +} + +void _ngwm__removeSignatureRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeSignatureRequest*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__removeSignatureRequest*)this)->id); + soap_embedded(soap, &((_ngwm__removeSignatureRequest*)this)->all, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((_ngwm__removeSignatureRequest*)this)->all); + soap_embedded(soap, &((_ngwm__removeSignatureRequest*)this)->global, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwm__removeSignatureRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeSignatureRequest*)this)->id = NULL; + ((_ngwm__removeSignatureRequest*)this)->all = NULL; + ((_ngwm__removeSignatureRequest*)this)->global = (bool)0; + /* transient soap skipped */ +} + +int _ngwm__removeSignatureRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeSignatureRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeSignatureRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeSignatureRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeSignatureRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeSignatureRequest), type); + soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeSignatureRequest*)a)->id), ""); + soap_out_PointerTobool(soap, "ngwm:all", -1, &(((_ngwm__removeSignatureRequest*)a)->all), ""); + soap_out_bool(soap, "ngwm:global", -1, &(((_ngwm__removeSignatureRequest*)a)->global), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeSignatureRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeSignatureRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_get__ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeSignatureRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeSignatureRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeSignatureRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_in__ngwm__removeSignatureRequest(struct soap *soap, const char *tag, _ngwm__removeSignatureRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeSignatureRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeSignatureRequest, sizeof(_ngwm__removeSignatureRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeSignatureRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeSignatureRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_all1 = 1, soap_flag_global1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__removeSignatureRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_all1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwm:all", &(((_ngwm__removeSignatureRequest*)a)->all), "")) + { soap_flag_all1 = 0; + continue; + } + if (soap_flag_global1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:global", &(((_ngwm__removeSignatureRequest*)a)->global), "")) + { soap_flag_global1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeSignatureRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureRequest, 0, sizeof(_ngwm__removeSignatureRequest), 0, soap_copy__ngwm__removeSignatureRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_new__ngwm__removeSignatureRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeSignatureRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeSignatureRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeSignatureRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeSignatureRequest; + if (size) + *size = sizeof(_ngwm__removeSignatureRequest); + ((_ngwm__removeSignatureRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeSignatureRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeSignatureRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeSignatureRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeSignatureRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeSignatureRequest %p -> %p\n", q, p)); + *(_ngwm__removeSignatureRequest*)p = *(_ngwm__removeSignatureRequest*)q; +} + +void _ngwm__removeProxyUserResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeProxyUserResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeProxyUserResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeProxyUserResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeProxyUserResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeProxyUserResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyUserResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeProxyUserResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeProxyUserResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyUserResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyUserResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeProxyUserResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeProxyUserResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeProxyUserResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeProxyUserResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeProxyUserResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeProxyUserResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, _ngwm__removeProxyUserResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeProxyUserResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyUserResponse, sizeof(_ngwm__removeProxyUserResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyUserResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeProxyUserResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeProxyUserResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeProxyUserResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserResponse, 0, sizeof(_ngwm__removeProxyUserResponse), 0, soap_copy__ngwm__removeProxyUserResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyUserResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeProxyUserResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyUserResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyUserResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeProxyUserResponse; + if (size) + *size = sizeof(_ngwm__removeProxyUserResponse); + ((_ngwm__removeProxyUserResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeProxyUserResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeProxyUserResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeProxyUserResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeProxyUserResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyUserResponse %p -> %p\n", q, p)); + *(_ngwm__removeProxyUserResponse*)p = *(_ngwm__removeProxyUserResponse*)q; +} + +void _ngwm__removeProxyUserRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeProxyUserRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__removeProxyUserRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__removeProxyUserRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__removeProxyUserRequest*)this)->id); + /* transient soap skipped */ +} + +int _ngwm__removeProxyUserRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyUserRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeProxyUserRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeProxyUserRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyUserRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyUserRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeProxyUserRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeProxyUserRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeProxyUserRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeProxyUserRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeProxyUserRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeProxyUserRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, _ngwm__removeProxyUserRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeProxyUserRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyUserRequest, sizeof(_ngwm__removeProxyUserRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyUserRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeProxyUserRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeProxyUserRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeProxyUserRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserRequest, 0, sizeof(_ngwm__removeProxyUserRequest), 0, soap_copy__ngwm__removeProxyUserRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyUserRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeProxyUserRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyUserRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyUserRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeProxyUserRequest; + if (size) + *size = sizeof(_ngwm__removeProxyUserRequest); + ((_ngwm__removeProxyUserRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeProxyUserRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeProxyUserRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeProxyUserRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeProxyUserRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyUserRequest %p -> %p\n", q, p)); + *(_ngwm__removeProxyUserRequest*)p = *(_ngwm__removeProxyUserRequest*)q; +} + +void _ngwm__removeProxyAccessResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeProxyAccessResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeProxyAccessResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeProxyAccessResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeProxyAccessResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeProxyAccessResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyAccessResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeProxyAccessResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeProxyAccessResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyAccessResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyAccessResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeProxyAccessResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeProxyAccessResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeProxyAccessResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeProxyAccessResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeProxyAccessResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeProxyAccessResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__removeProxyAccessResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeProxyAccessResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyAccessResponse, sizeof(_ngwm__removeProxyAccessResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyAccessResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeProxyAccessResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeProxyAccessResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeProxyAccessResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessResponse, 0, sizeof(_ngwm__removeProxyAccessResponse), 0, soap_copy__ngwm__removeProxyAccessResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeProxyAccessResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyAccessResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyAccessResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeProxyAccessResponse; + if (size) + *size = sizeof(_ngwm__removeProxyAccessResponse); + ((_ngwm__removeProxyAccessResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeProxyAccessResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeProxyAccessResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeProxyAccessResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeProxyAccessResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyAccessResponse %p -> %p\n", q, p)); + *(_ngwm__removeProxyAccessResponse*)p = *(_ngwm__removeProxyAccessResponse*)q; +} + +void _ngwm__removeProxyAccessRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeProxyAccessRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__removeProxyAccessRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__removeProxyAccessRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__removeProxyAccessRequest*)this)->id); + /* transient soap skipped */ +} + +int _ngwm__removeProxyAccessRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeProxyAccessRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeProxyAccessRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeProxyAccessRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeProxyAccessRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeProxyAccessRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeProxyAccessRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeProxyAccessRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeProxyAccessRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeProxyAccessRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeProxyAccessRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__removeProxyAccessRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeProxyAccessRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeProxyAccessRequest, sizeof(_ngwm__removeProxyAccessRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeProxyAccessRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeProxyAccessRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeProxyAccessRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeProxyAccessRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessRequest, 0, sizeof(_ngwm__removeProxyAccessRequest), 0, soap_copy__ngwm__removeProxyAccessRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeProxyAccessRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeProxyAccessRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeProxyAccessRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeProxyAccessRequest; + if (size) + *size = sizeof(_ngwm__removeProxyAccessRequest); + ((_ngwm__removeProxyAccessRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeProxyAccessRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeProxyAccessRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeProxyAccessRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeProxyAccessRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeProxyAccessRequest %p -> %p\n", q, p)); + *(_ngwm__removeProxyAccessRequest*)p = *(_ngwm__removeProxyAccessRequest*)q; +} + +void _ngwm__removeMembersResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeMembersResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeMembersResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeMembersResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeMembersResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeMembersResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeMembersResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeMembersResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeMembersResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeMembersResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeMembersResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeMembersResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeMembersResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeMembersResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_get__ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeMembersResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeMembersResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeMembersResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_in__ngwm__removeMembersResponse(struct soap *soap, const char *tag, _ngwm__removeMembersResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeMembersResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeMembersResponse, sizeof(_ngwm__removeMembersResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeMembersResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeMembersResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeMembersResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeMembersResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersResponse, 0, sizeof(_ngwm__removeMembersResponse), 0, soap_copy__ngwm__removeMembersResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_new__ngwm__removeMembersResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeMembersResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeMembersResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeMembersResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeMembersResponse; + if (size) + *size = sizeof(_ngwm__removeMembersResponse); + ((_ngwm__removeMembersResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeMembersResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeMembersResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeMembersResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeMembersResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeMembersResponse %p -> %p\n", q, p)); + *(_ngwm__removeMembersResponse*)p = *(_ngwm__removeMembersResponse*)q; +} + +void _ngwm__removeMembersRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeMembersRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__removeMembersRequest*)this)->container); + soap_embedded(soap, &((_ngwm__removeMembersRequest*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList); + soap_serialize_PointerTongwt__GroupMemberList(soap, &((_ngwm__removeMembersRequest*)this)->members); + /* transient soap skipped */ +} + +void _ngwm__removeMembersRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__removeMembersRequest*)this)->container); + ((_ngwm__removeMembersRequest*)this)->members = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeMembersRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeMembersRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeMembersRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeMembersRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeMembersRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeMembersRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__removeMembersRequest*)a)->container), ""); + soap_out_PointerTongwt__GroupMemberList(soap, "ngwm:members", -1, &(((_ngwm__removeMembersRequest*)a)->members), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeMembersRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeMembersRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_get__ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeMembersRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeMembersRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeMembersRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_in__ngwm__removeMembersRequest(struct soap *soap, const char *tag, _ngwm__removeMembersRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeMembersRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeMembersRequest, sizeof(_ngwm__removeMembersRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeMembersRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeMembersRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_members1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__removeMembersRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwm:members", &(((_ngwm__removeMembersRequest*)a)->members), "ngwt:GroupMemberList")) + { soap_flag_members1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_members1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeMembersRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersRequest, 0, sizeof(_ngwm__removeMembersRequest), 0, soap_copy__ngwm__removeMembersRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_new__ngwm__removeMembersRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeMembersRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeMembersRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeMembersRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeMembersRequest; + if (size) + *size = sizeof(_ngwm__removeMembersRequest); + ((_ngwm__removeMembersRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeMembersRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeMembersRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeMembersRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeMembersRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeMembersRequest %p -> %p\n", q, p)); + *(_ngwm__removeMembersRequest*)p = *(_ngwm__removeMembersRequest*)q; +} + +void _ngwm__removeJunkEntryResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeJunkEntryResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeJunkEntryResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeJunkEntryResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeJunkEntryResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeJunkEntryResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeJunkEntryResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeJunkEntryResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeJunkEntryResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeJunkEntryResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeJunkEntryResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeJunkEntryResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeJunkEntryResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeJunkEntryResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeJunkEntryResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeJunkEntryResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeJunkEntryResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__removeJunkEntryResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeJunkEntryResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeJunkEntryResponse, sizeof(_ngwm__removeJunkEntryResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeJunkEntryResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeJunkEntryResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeJunkEntryResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeJunkEntryResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryResponse, 0, sizeof(_ngwm__removeJunkEntryResponse), 0, soap_copy__ngwm__removeJunkEntryResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeJunkEntryResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeJunkEntryResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeJunkEntryResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeJunkEntryResponse; + if (size) + *size = sizeof(_ngwm__removeJunkEntryResponse); + ((_ngwm__removeJunkEntryResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeJunkEntryResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeJunkEntryResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeJunkEntryResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeJunkEntryResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeJunkEntryResponse %p -> %p\n", q, p)); + *(_ngwm__removeJunkEntryResponse*)p = *(_ngwm__removeJunkEntryResponse*)q; +} + +void _ngwm__removeJunkEntryRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeJunkEntryRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__removeJunkEntryRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__removeJunkEntryRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__removeJunkEntryRequest*)this)->id); + /* transient soap skipped */ +} + +int _ngwm__removeJunkEntryRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeJunkEntryRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeJunkEntryRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeJunkEntryRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeJunkEntryRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeJunkEntryRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeJunkEntryRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeJunkEntryRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeJunkEntryRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeJunkEntryRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeJunkEntryRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__removeJunkEntryRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeJunkEntryRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeJunkEntryRequest, sizeof(_ngwm__removeJunkEntryRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeJunkEntryRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeJunkEntryRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeJunkEntryRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeJunkEntryRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryRequest, 0, sizeof(_ngwm__removeJunkEntryRequest), 0, soap_copy__ngwm__removeJunkEntryRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeJunkEntryRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeJunkEntryRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeJunkEntryRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeJunkEntryRequest; + if (size) + *size = sizeof(_ngwm__removeJunkEntryRequest); + ((_ngwm__removeJunkEntryRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeJunkEntryRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeJunkEntryRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeJunkEntryRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeJunkEntryRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeJunkEntryRequest %p -> %p\n", q, p)); + *(_ngwm__removeJunkEntryRequest*)p = *(_ngwm__removeJunkEntryRequest*)q; +} + +void _ngwm__removeItemsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeItemsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeItemsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeItemsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeItemsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeItemsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeItemsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeItemsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_get__ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeItemsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_in__ngwm__removeItemsResponse(struct soap *soap, const char *tag, _ngwm__removeItemsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemsResponse, sizeof(_ngwm__removeItemsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeItemsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeItemsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeItemsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsResponse, 0, sizeof(_ngwm__removeItemsResponse), 0, soap_copy__ngwm__removeItemsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_new__ngwm__removeItemsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeItemsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeItemsResponse; + if (size) + *size = sizeof(_ngwm__removeItemsResponse); + ((_ngwm__removeItemsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeItemsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeItemsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeItemsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeItemsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemsResponse %p -> %p\n", q, p)); + *(_ngwm__removeItemsResponse*)p = *(_ngwm__removeItemsResponse*)q; +} + +void _ngwm__removeItemsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeItemsRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__removeItemsRequest*)this)->container); + soap_embedded(soap, &((_ngwm__removeItemsRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__removeItemsRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__removeItemsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__removeItemsRequest*)this)->container); + ((_ngwm__removeItemsRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeItemsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeItemsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemsRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__removeItemsRequest*)a)->container), ""); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__removeItemsRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeItemsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_get__ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeItemsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_in__ngwm__removeItemsRequest(struct soap *soap, const char *tag, _ngwm__removeItemsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemsRequest, sizeof(_ngwm__removeItemsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeItemsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeItemsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__removeItemsRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__removeItemsRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsRequest, 0, sizeof(_ngwm__removeItemsRequest), 0, soap_copy__ngwm__removeItemsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_new__ngwm__removeItemsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeItemsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeItemsRequest; + if (size) + *size = sizeof(_ngwm__removeItemsRequest); + ((_ngwm__removeItemsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeItemsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeItemsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeItemsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeItemsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemsRequest %p -> %p\n", q, p)); + *(_ngwm__removeItemsRequest*)p = *(_ngwm__removeItemsRequest*)q; +} + +void _ngwm__removeItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_get__ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_in__ngwm__removeItemResponse(struct soap *soap, const char *tag, _ngwm__removeItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemResponse, sizeof(_ngwm__removeItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemResponse, 0, sizeof(_ngwm__removeItemResponse), 0, soap_copy__ngwm__removeItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_new__ngwm__removeItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeItemResponse; + if (size) + *size = sizeof(_ngwm__removeItemResponse); + ((_ngwm__removeItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemResponse %p -> %p\n", q, p)); + *(_ngwm__removeItemResponse*)p = *(_ngwm__removeItemResponse*)q; +} + +void _ngwm__removeItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeItemRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__removeItemRequest*)this)->container); + soap_embedded(soap, &((_ngwm__removeItemRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__removeItemRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__removeItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeItemRequest*)this)->container = NULL; + soap_default_ngwt__uid(soap, &((_ngwm__removeItemRequest*)this)->id); + /* transient soap skipped */ +} + +int _ngwm__removeItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeItemRequest), type); + soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__removeItemRequest*)a)->container), ""); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__removeItemRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_get__ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_in__ngwm__removeItemRequest(struct soap *soap, const char *tag, _ngwm__removeItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeItemRequest, sizeof(_ngwm__removeItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__removeItemRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__removeItemRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemRequest, 0, sizeof(_ngwm__removeItemRequest), 0, soap_copy__ngwm__removeItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_new__ngwm__removeItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeItemRequest; + if (size) + *size = sizeof(_ngwm__removeItemRequest); + ((_ngwm__removeItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeItemRequest %p -> %p\n", q, p)); + *(_ngwm__removeItemRequest*)p = *(_ngwm__removeItemRequest*)q; +} + +void _ngwm__removeCustomDefinitionResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeCustomDefinitionResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__removeCustomDefinitionResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__removeCustomDefinitionResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeCustomDefinitionResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__removeCustomDefinitionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeCustomDefinitionResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeCustomDefinitionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeCustomDefinitionResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, int id, const _ngwm__removeCustomDefinitionResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__removeCustomDefinitionResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeCustomDefinitionResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeCustomDefinitionResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeCustomDefinitionResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeCustomDefinitionResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeCustomDefinitionResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeCustomDefinitionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, sizeof(_ngwm__removeCustomDefinitionResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeCustomDefinitionResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeCustomDefinitionResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__removeCustomDefinitionResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeCustomDefinitionResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, 0, sizeof(_ngwm__removeCustomDefinitionResponse), 0, soap_copy__ngwm__removeCustomDefinitionResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeCustomDefinitionResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeCustomDefinitionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeCustomDefinitionResponse; + if (size) + *size = sizeof(_ngwm__removeCustomDefinitionResponse); + ((_ngwm__removeCustomDefinitionResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeCustomDefinitionResponse[n]; + if (size) + *size = n * sizeof(_ngwm__removeCustomDefinitionResponse); + for (int i = 0; i < n; i++) + ((_ngwm__removeCustomDefinitionResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeCustomDefinitionResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeCustomDefinitionResponse %p -> %p\n", q, p)); + *(_ngwm__removeCustomDefinitionResponse*)p = *(_ngwm__removeCustomDefinitionResponse*)q; +} + +void _ngwm__removeCustomDefinitionRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->customs); + soap_embedded(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->books, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwm__removeCustomDefinitionRequest*)this)->doAsynchronous, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwm__removeCustomDefinitionRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__removeCustomDefinitionRequest*)this)->customs = NULL; + ((_ngwm__removeCustomDefinitionRequest*)this)->books = (bool)0; + ((_ngwm__removeCustomDefinitionRequest*)this)->doAsynchronous = (bool)0; + /* transient soap skipped */ +} + +int _ngwm__removeCustomDefinitionRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__removeCustomDefinitionRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__removeCustomDefinitionRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__removeCustomDefinitionRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, int id, const _ngwm__removeCustomDefinitionRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest), type); + soap_out_PointerTongwt__CustomList(soap, "ngwm:customs", -1, &(((_ngwm__removeCustomDefinitionRequest*)a)->customs), ""); + soap_out_bool(soap, "ngwm:books", -1, &(((_ngwm__removeCustomDefinitionRequest*)a)->books), ""); + soap_out_bool(soap, "ngwm:doAsynchronous", -1, &(((_ngwm__removeCustomDefinitionRequest*)a)->doAsynchronous), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__removeCustomDefinitionRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__removeCustomDefinitionRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__removeCustomDefinitionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__removeCustomDefinitionRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__removeCustomDefinitionRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__removeCustomDefinitionRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, sizeof(_ngwm__removeCustomDefinitionRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__removeCustomDefinitionRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__removeCustomDefinitionRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_customs1 = 1, soap_flag_books1 = 1, soap_flag_doAsynchronous1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_customs1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwm:customs", &(((_ngwm__removeCustomDefinitionRequest*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs1 = 0; + continue; + } + if (soap_flag_books1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:books", &(((_ngwm__removeCustomDefinitionRequest*)a)->books), "")) + { soap_flag_books1 = 0; + continue; + } + if (soap_flag_doAsynchronous1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:doAsynchronous", &(((_ngwm__removeCustomDefinitionRequest*)a)->doAsynchronous), "")) + { soap_flag_doAsynchronous1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__removeCustomDefinitionRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, 0, sizeof(_ngwm__removeCustomDefinitionRequest), 0, soap_copy__ngwm__removeCustomDefinitionRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__removeCustomDefinitionRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__removeCustomDefinitionRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__removeCustomDefinitionRequest; + if (size) + *size = sizeof(_ngwm__removeCustomDefinitionRequest); + ((_ngwm__removeCustomDefinitionRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__removeCustomDefinitionRequest[n]; + if (size) + *size = n * sizeof(_ngwm__removeCustomDefinitionRequest); + for (int i = 0; i < n; i++) + ((_ngwm__removeCustomDefinitionRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__removeCustomDefinitionRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__removeCustomDefinitionRequest %p -> %p\n", q, p)); + *(_ngwm__removeCustomDefinitionRequest*)p = *(_ngwm__removeCustomDefinitionRequest*)q; +} + +void _ngwm__readCursorResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__readCursorResponse*)this)->items, SOAP_TYPE_PointerTongwt__ItemList); + soap_serialize_PointerTongwt__ItemList(soap, &((_ngwm__readCursorResponse*)this)->items); + soap_embedded(soap, &((_ngwm__readCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__readCursorResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__readCursorResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__readCursorResponse*)this)->items = NULL; + ((_ngwm__readCursorResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__readCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__readCursorResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__readCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__readCursorResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__readCursorResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__readCursorResponse), type); + soap_out_PointerTongwt__ItemList(soap, "ngwm:items", -1, &(((_ngwm__readCursorResponse*)a)->items), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__readCursorResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__readCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__readCursorResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_get__ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__readCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__readCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__readCursorResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_in__ngwm__readCursorResponse(struct soap *soap, const char *tag, _ngwm__readCursorResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__readCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__readCursorResponse, sizeof(_ngwm__readCursorResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__readCursorResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__readCursorResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemList(soap, "ngwm:items", &(((_ngwm__readCursorResponse*)a)->items), "ngwt:ItemList")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__readCursorResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__readCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorResponse, 0, sizeof(_ngwm__readCursorResponse), 0, soap_copy__ngwm__readCursorResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_new__ngwm__readCursorResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__readCursorResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__readCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__readCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__readCursorResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__readCursorResponse; + if (size) + *size = sizeof(_ngwm__readCursorResponse); + ((_ngwm__readCursorResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__readCursorResponse[n]; + if (size) + *size = n * sizeof(_ngwm__readCursorResponse); + for (int i = 0; i < n; i++) + ((_ngwm__readCursorResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__readCursorResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__readCursorResponse %p -> %p\n", q, p)); + *(_ngwm__readCursorResponse*)p = *(_ngwm__readCursorResponse*)q; +} + +void _ngwm__readCursorRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__readCursorRequest*)this)->container); + soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->cursor, SOAP_TYPE_int); + soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->forward, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->position, SOAP_TYPE_PointerTongwt__CursorSeek); + soap_serialize_PointerTongwt__CursorSeek(soap, &((_ngwm__readCursorRequest*)this)->position); + soap_embedded(soap, &((_ngwm__readCursorRequest*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((_ngwm__readCursorRequest*)this)->count); + /* transient soap skipped */ +} + +void _ngwm__readCursorRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__readCursorRequest*)this)->container); + soap_default_int(soap, &((_ngwm__readCursorRequest*)this)->cursor); + ((_ngwm__readCursorRequest*)this)->forward = (bool)1; + ((_ngwm__readCursorRequest*)this)->position = NULL; + ((_ngwm__readCursorRequest*)this)->count = NULL; + /* transient soap skipped */ +} + +int _ngwm__readCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__readCursorRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__readCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__readCursorRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__readCursorRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__readCursorRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__readCursorRequest*)a)->container), ""); + soap_out_int(soap, "ngwm:cursor", -1, &(((_ngwm__readCursorRequest*)a)->cursor), ""); + soap_out_bool(soap, "ngwm:forward", -1, &(((_ngwm__readCursorRequest*)a)->forward), ""); + soap_out_PointerTongwt__CursorSeek(soap, "ngwm:position", -1, &(((_ngwm__readCursorRequest*)a)->position), ""); + soap_out_PointerToint(soap, "ngwm:count", -1, &(((_ngwm__readCursorRequest*)a)->count), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__readCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__readCursorRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_get__ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__readCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__readCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__readCursorRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_in__ngwm__readCursorRequest(struct soap *soap, const char *tag, _ngwm__readCursorRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__readCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__readCursorRequest, sizeof(_ngwm__readCursorRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__readCursorRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__readCursorRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_cursor1 = 1, soap_flag_forward1 = 1, soap_flag_position1 = 1, soap_flag_count1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__readCursorRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:cursor", &(((_ngwm__readCursorRequest*)a)->cursor), "")) + { soap_flag_cursor1 = 0; + continue; + } + if (soap_flag_forward1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:forward", &(((_ngwm__readCursorRequest*)a)->forward), "")) + { soap_flag_forward1 = 0; + continue; + } + if (soap_flag_position1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CursorSeek(soap, "ngwm:position", &(((_ngwm__readCursorRequest*)a)->position), "")) + { soap_flag_position1 = 0; + continue; + } + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwm:count", &(((_ngwm__readCursorRequest*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_cursor1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__readCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorRequest, 0, sizeof(_ngwm__readCursorRequest), 0, soap_copy__ngwm__readCursorRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_new__ngwm__readCursorRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__readCursorRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__readCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__readCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__readCursorRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__readCursorRequest; + if (size) + *size = sizeof(_ngwm__readCursorRequest); + ((_ngwm__readCursorRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__readCursorRequest[n]; + if (size) + *size = n * sizeof(_ngwm__readCursorRequest); + for (int i = 0; i < n; i++) + ((_ngwm__readCursorRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__readCursorRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__readCursorRequest %p -> %p\n", q, p)); + *(_ngwm__readCursorRequest*)p = *(_ngwm__readCursorRequest*)q; +} + +void _ngwm__purgeResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__purgeResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__purgeResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__purgeResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__purgeResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__purgeResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__purgeResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__purgeResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeResponse(struct soap *soap, const char *tag, int id, const _ngwm__purgeResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__purgeResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__purgeResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__purgeResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_get__ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__purgeResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__purgeResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__purgeResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_in__ngwm__purgeResponse(struct soap *soap, const char *tag, _ngwm__purgeResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__purgeResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeResponse, sizeof(_ngwm__purgeResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__purgeResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__purgeResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__purgeResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__purgeResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeResponse, 0, sizeof(_ngwm__purgeResponse), 0, soap_copy__ngwm__purgeResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_new__ngwm__purgeResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__purgeResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__purgeResponse; + if (size) + *size = sizeof(_ngwm__purgeResponse); + ((_ngwm__purgeResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__purgeResponse[n]; + if (size) + *size = n * sizeof(_ngwm__purgeResponse); + for (int i = 0; i < n; i++) + ((_ngwm__purgeResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__purgeResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeResponse %p -> %p\n", q, p)); + *(_ngwm__purgeResponse*)p = *(_ngwm__purgeResponse*)q; +} + +void _ngwm__purgeRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__purgeRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__purgeRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__purgeRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__purgeRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__purgeRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__purgeRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__purgeRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeRequest(struct soap *soap, const char *tag, int id, const _ngwm__purgeRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__purgeRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__purgeRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__purgeRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_get__ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__purgeRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__purgeRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__purgeRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_in__ngwm__purgeRequest(struct soap *soap, const char *tag, _ngwm__purgeRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__purgeRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeRequest, sizeof(_ngwm__purgeRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__purgeRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__purgeRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__purgeRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__purgeRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeRequest, 0, sizeof(_ngwm__purgeRequest), 0, soap_copy__ngwm__purgeRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_new__ngwm__purgeRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__purgeRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__purgeRequest; + if (size) + *size = sizeof(_ngwm__purgeRequest); + ((_ngwm__purgeRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__purgeRequest[n]; + if (size) + *size = n * sizeof(_ngwm__purgeRequest); + for (int i = 0; i < n; i++) + ((_ngwm__purgeRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__purgeRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeRequest %p -> %p\n", q, p)); + *(_ngwm__purgeRequest*)p = *(_ngwm__purgeRequest*)q; +} + +void _ngwm__purgeDeletedItemsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__purgeDeletedItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__purgeDeletedItemsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__purgeDeletedItemsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__purgeDeletedItemsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__purgeDeletedItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeDeletedItemsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__purgeDeletedItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__purgeDeletedItemsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__purgeDeletedItemsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__purgeDeletedItemsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__purgeDeletedItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__purgeDeletedItemsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__purgeDeletedItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__purgeDeletedItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__purgeDeletedItemsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__purgeDeletedItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, sizeof(_ngwm__purgeDeletedItemsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__purgeDeletedItemsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__purgeDeletedItemsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__purgeDeletedItemsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__purgeDeletedItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, 0, sizeof(_ngwm__purgeDeletedItemsResponse), 0, soap_copy__ngwm__purgeDeletedItemsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__purgeDeletedItemsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeDeletedItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__purgeDeletedItemsResponse; + if (size) + *size = sizeof(_ngwm__purgeDeletedItemsResponse); + ((_ngwm__purgeDeletedItemsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__purgeDeletedItemsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__purgeDeletedItemsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__purgeDeletedItemsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__purgeDeletedItemsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeDeletedItemsResponse %p -> %p\n", q, p)); + *(_ngwm__purgeDeletedItemsResponse*)p = *(_ngwm__purgeDeletedItemsResponse*)q; +} + +void _ngwm__purgeDeletedItemsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__purgeDeletedItemsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__purgeDeletedItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__purgeDeletedItemsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__purgeDeletedItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__purgeDeletedItemsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__purgeDeletedItemsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__purgeDeletedItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__purgeDeletedItemsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__purgeDeletedItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__purgeDeletedItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__purgeDeletedItemsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__purgeDeletedItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, sizeof(_ngwm__purgeDeletedItemsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__purgeDeletedItemsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__purgeDeletedItemsRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__purgeDeletedItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, 0, sizeof(_ngwm__purgeDeletedItemsRequest), 0, soap_copy__ngwm__purgeDeletedItemsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__purgeDeletedItemsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__purgeDeletedItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__purgeDeletedItemsRequest; + if (size) + *size = sizeof(_ngwm__purgeDeletedItemsRequest); + ((_ngwm__purgeDeletedItemsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__purgeDeletedItemsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__purgeDeletedItemsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__purgeDeletedItemsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__purgeDeletedItemsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__purgeDeletedItemsRequest %p -> %p\n", q, p)); + *(_ngwm__purgeDeletedItemsRequest*)p = *(_ngwm__purgeDeletedItemsRequest*)q; +} + +void _ngwm__positionCursorResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__positionCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__positionCursorResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__positionCursorResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__positionCursorResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__positionCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__positionCursorResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__positionCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__positionCursorResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__positionCursorResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__positionCursorResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__positionCursorResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__positionCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__positionCursorResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_get__ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__positionCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__positionCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__positionCursorResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_in__ngwm__positionCursorResponse(struct soap *soap, const char *tag, _ngwm__positionCursorResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__positionCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__positionCursorResponse, sizeof(_ngwm__positionCursorResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__positionCursorResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__positionCursorResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__positionCursorResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__positionCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorResponse, 0, sizeof(_ngwm__positionCursorResponse), 0, soap_copy__ngwm__positionCursorResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_new__ngwm__positionCursorResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__positionCursorResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__positionCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__positionCursorResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__positionCursorResponse; + if (size) + *size = sizeof(_ngwm__positionCursorResponse); + ((_ngwm__positionCursorResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__positionCursorResponse[n]; + if (size) + *size = n * sizeof(_ngwm__positionCursorResponse); + for (int i = 0; i < n; i++) + ((_ngwm__positionCursorResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__positionCursorResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__positionCursorResponse %p -> %p\n", q, p)); + *(_ngwm__positionCursorResponse*)p = *(_ngwm__positionCursorResponse*)q; +} + +void _ngwm__positionCursorRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__positionCursorRequest*)this)->container); + soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->cursor, SOAP_TYPE_int); + soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->seek, SOAP_TYPE_ngwt__CursorSeek); + soap_embedded(soap, &((_ngwm__positionCursorRequest*)this)->offset, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void _ngwm__positionCursorRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__positionCursorRequest*)this)->container); + soap_default_int(soap, &((_ngwm__positionCursorRequest*)this)->cursor); + soap_default_ngwt__CursorSeek(soap, &((_ngwm__positionCursorRequest*)this)->seek); + soap_default_int(soap, &((_ngwm__positionCursorRequest*)this)->offset); + /* transient soap skipped */ +} + +int _ngwm__positionCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__positionCursorRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__positionCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__positionCursorRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__positionCursorRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__positionCursorRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__positionCursorRequest*)a)->container), ""); + soap_out_int(soap, "ngwm:cursor", -1, &(((_ngwm__positionCursorRequest*)a)->cursor), ""); + soap_out_ngwt__CursorSeek(soap, "ngwm:seek", -1, &(((_ngwm__positionCursorRequest*)a)->seek), ""); + soap_out_int(soap, "ngwm:offset", -1, &(((_ngwm__positionCursorRequest*)a)->offset), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__positionCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__positionCursorRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_get__ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__positionCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__positionCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__positionCursorRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_in__ngwm__positionCursorRequest(struct soap *soap, const char *tag, _ngwm__positionCursorRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__positionCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__positionCursorRequest, sizeof(_ngwm__positionCursorRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__positionCursorRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__positionCursorRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_cursor1 = 1, soap_flag_seek1 = 1, soap_flag_offset1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__positionCursorRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:cursor", &(((_ngwm__positionCursorRequest*)a)->cursor), "")) + { soap_flag_cursor1 = 0; + continue; + } + if (soap_flag_seek1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__CursorSeek(soap, "ngwm:seek", &(((_ngwm__positionCursorRequest*)a)->seek), "")) + { soap_flag_seek1 = 0; + continue; + } + if (soap_flag_offset1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:offset", &(((_ngwm__positionCursorRequest*)a)->offset), "")) + { soap_flag_offset1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_cursor1 || soap_flag_seek1 || soap_flag_offset1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__positionCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorRequest, 0, sizeof(_ngwm__positionCursorRequest), 0, soap_copy__ngwm__positionCursorRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_new__ngwm__positionCursorRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__positionCursorRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__positionCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__positionCursorRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__positionCursorRequest; + if (size) + *size = sizeof(_ngwm__positionCursorRequest); + ((_ngwm__positionCursorRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__positionCursorRequest[n]; + if (size) + *size = n * sizeof(_ngwm__positionCursorRequest); + for (int i = 0; i < n; i++) + ((_ngwm__positionCursorRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__positionCursorRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__positionCursorRequest %p -> %p\n", q, p)); + *(_ngwm__positionCursorRequest*)p = *(_ngwm__positionCursorRequest*)q; +} + +void _ngwm__moveItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__moveItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__moveItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__moveItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__moveItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__moveItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__moveItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__moveItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__moveItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__moveItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__moveItemResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__moveItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__moveItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__moveItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_get__ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__moveItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__moveItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__moveItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_in__ngwm__moveItemResponse(struct soap *soap, const char *tag, _ngwm__moveItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__moveItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__moveItemResponse, sizeof(_ngwm__moveItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__moveItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__moveItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__moveItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__moveItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemResponse, 0, sizeof(_ngwm__moveItemResponse), 0, soap_copy__ngwm__moveItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_new__ngwm__moveItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__moveItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__moveItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__moveItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__moveItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__moveItemResponse; + if (size) + *size = sizeof(_ngwm__moveItemResponse); + ((_ngwm__moveItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__moveItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__moveItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__moveItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__moveItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__moveItemResponse %p -> %p\n", q, p)); + *(_ngwm__moveItemResponse*)p = *(_ngwm__moveItemResponse*)q; +} + +void _ngwm__moveItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__moveItemRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->id); + soap_embedded(soap, &((_ngwm__moveItemRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->container); + soap_embedded(soap, &((_ngwm__moveItemRequest*)this)->from, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__moveItemRequest*)this)->from); + /* transient soap skipped */ +} + +void _ngwm__moveItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->id); + soap_default_ngwt__uid(soap, &((_ngwm__moveItemRequest*)this)->container); + ((_ngwm__moveItemRequest*)this)->from = NULL; + /* transient soap skipped */ +} + +int _ngwm__moveItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__moveItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__moveItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__moveItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__moveItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__moveItemRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__moveItemRequest*)a)->id), ""); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__moveItemRequest*)a)->container), ""); + soap_out_PointerTongwt__uid(soap, "ngwm:from", -1, &(((_ngwm__moveItemRequest*)a)->from), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__moveItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__moveItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_get__ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__moveItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__moveItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__moveItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_in__ngwm__moveItemRequest(struct soap *soap, const char *tag, _ngwm__moveItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__moveItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__moveItemRequest, sizeof(_ngwm__moveItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__moveItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__moveItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_container1 = 1, soap_flag_from1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__moveItemRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__moveItemRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_from1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:from", &(((_ngwm__moveItemRequest*)a)->from), "ngwt:uid")) + { soap_flag_from1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_container1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__moveItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemRequest, 0, sizeof(_ngwm__moveItemRequest), 0, soap_copy__ngwm__moveItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_new__ngwm__moveItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__moveItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__moveItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__moveItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__moveItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__moveItemRequest; + if (size) + *size = sizeof(_ngwm__moveItemRequest); + ((_ngwm__moveItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__moveItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__moveItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__moveItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__moveItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__moveItemRequest %p -> %p\n", q, p)); + *(_ngwm__moveItemRequest*)p = *(_ngwm__moveItemRequest*)q; +} + +void _ngwm__modifySignaturesResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifySignaturesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifySignaturesResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifySignaturesResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifySignaturesResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifySignaturesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySignaturesResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifySignaturesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifySignaturesResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifySignaturesResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySignaturesResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifySignaturesResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifySignaturesResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifySignaturesResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_get__ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifySignaturesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifySignaturesResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifySignaturesResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_in__ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, _ngwm__modifySignaturesResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifySignaturesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySignaturesResponse, sizeof(_ngwm__modifySignaturesResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifySignaturesResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifySignaturesResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifySignaturesResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifySignaturesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesResponse, 0, sizeof(_ngwm__modifySignaturesResponse), 0, soap_copy__ngwm__modifySignaturesResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_new__ngwm__modifySignaturesResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifySignaturesResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySignaturesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySignaturesResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifySignaturesResponse; + if (size) + *size = sizeof(_ngwm__modifySignaturesResponse); + ((_ngwm__modifySignaturesResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifySignaturesResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifySignaturesResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifySignaturesResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifySignaturesResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySignaturesResponse %p -> %p\n", q, p)); + *(_ngwm__modifySignaturesResponse*)p = *(_ngwm__modifySignaturesResponse*)q; +} + +void _ngwm__modifySignaturesRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifySignaturesRequest*)this)->updates, SOAP_TYPE_PointerTongwt__Signatures); + soap_serialize_PointerTongwt__Signatures(soap, &((_ngwm__modifySignaturesRequest*)this)->updates); + /* transient soap skipped */ +} + +void _ngwm__modifySignaturesRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifySignaturesRequest*)this)->updates = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifySignaturesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySignaturesRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifySignaturesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifySignaturesRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifySignaturesRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySignaturesRequest), type); + soap_out_PointerTongwt__Signatures(soap, "ngwm:updates", -1, &(((_ngwm__modifySignaturesRequest*)a)->updates), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifySignaturesRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifySignaturesRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_get__ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifySignaturesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifySignaturesRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifySignaturesRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_in__ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, _ngwm__modifySignaturesRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifySignaturesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySignaturesRequest, sizeof(_ngwm__modifySignaturesRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifySignaturesRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifySignaturesRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_updates1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Signatures(soap, "ngwm:updates", &(((_ngwm__modifySignaturesRequest*)a)->updates), "ngwt:Signatures")) + { soap_flag_updates1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_updates1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifySignaturesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesRequest, 0, sizeof(_ngwm__modifySignaturesRequest), 0, soap_copy__ngwm__modifySignaturesRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_new__ngwm__modifySignaturesRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifySignaturesRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySignaturesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySignaturesRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifySignaturesRequest; + if (size) + *size = sizeof(_ngwm__modifySignaturesRequest); + ((_ngwm__modifySignaturesRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifySignaturesRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifySignaturesRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifySignaturesRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifySignaturesRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySignaturesRequest %p -> %p\n", q, p)); + *(_ngwm__modifySignaturesRequest*)p = *(_ngwm__modifySignaturesRequest*)q; +} + +void _ngwm__modifySettingsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifySettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifySettingsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifySettingsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifySettingsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifySettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySettingsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifySettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifySettingsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifySettingsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySettingsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifySettingsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifySettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifySettingsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifySettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifySettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifySettingsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifySettingsResponse(struct soap *soap, const char *tag, _ngwm__modifySettingsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifySettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySettingsResponse, sizeof(_ngwm__modifySettingsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifySettingsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifySettingsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifySettingsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifySettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsResponse, 0, sizeof(_ngwm__modifySettingsResponse), 0, soap_copy__ngwm__modifySettingsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifySettingsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifySettingsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySettingsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifySettingsResponse; + if (size) + *size = sizeof(_ngwm__modifySettingsResponse); + ((_ngwm__modifySettingsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifySettingsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifySettingsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifySettingsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifySettingsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySettingsResponse %p -> %p\n", q, p)); + *(_ngwm__modifySettingsResponse*)p = *(_ngwm__modifySettingsResponse*)q; +} + +void _ngwm__modifySettingsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifySettingsRequest*)this)->settings, SOAP_TYPE_PointerTongwt__SettingsList); + soap_serialize_PointerTongwt__SettingsList(soap, &((_ngwm__modifySettingsRequest*)this)->settings); + /* transient soap skipped */ +} + +void _ngwm__modifySettingsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifySettingsRequest*)this)->settings = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifySettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifySettingsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifySettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifySettingsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifySettingsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifySettingsRequest), type); + soap_out_PointerTongwt__SettingsList(soap, "ngwm:settings", -1, &(((_ngwm__modifySettingsRequest*)a)->settings), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifySettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifySettingsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifySettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifySettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifySettingsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifySettingsRequest(struct soap *soap, const char *tag, _ngwm__modifySettingsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifySettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifySettingsRequest, sizeof(_ngwm__modifySettingsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifySettingsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifySettingsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_settings1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SettingsList(soap, "ngwm:settings", &(((_ngwm__modifySettingsRequest*)a)->settings), "ngwt:SettingsList")) + { soap_flag_settings1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_settings1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifySettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsRequest, 0, sizeof(_ngwm__modifySettingsRequest), 0, soap_copy__ngwm__modifySettingsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifySettingsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifySettingsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifySettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifySettingsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifySettingsRequest; + if (size) + *size = sizeof(_ngwm__modifySettingsRequest); + ((_ngwm__modifySettingsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifySettingsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifySettingsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifySettingsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifySettingsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifySettingsRequest %p -> %p\n", q, p)); + *(_ngwm__modifySettingsRequest*)p = *(_ngwm__modifySettingsRequest*)q; +} + +void _ngwm__modifyProxyAccessResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyProxyAccessResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyProxyAccessResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifyProxyAccessResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyProxyAccessResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyProxyAccessResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyProxyAccessResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyProxyAccessResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyProxyAccessResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyProxyAccessResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyProxyAccessResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyProxyAccessResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyProxyAccessResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyProxyAccessResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyProxyAccessResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyProxyAccessResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyProxyAccessResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyProxyAccessResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyProxyAccessResponse, sizeof(_ngwm__modifyProxyAccessResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyProxyAccessResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyProxyAccessResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyProxyAccessResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyProxyAccessResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessResponse, 0, sizeof(_ngwm__modifyProxyAccessResponse), 0, soap_copy__ngwm__modifyProxyAccessResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyProxyAccessResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyProxyAccessResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyProxyAccessResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyProxyAccessResponse; + if (size) + *size = sizeof(_ngwm__modifyProxyAccessResponse); + ((_ngwm__modifyProxyAccessResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyProxyAccessResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifyProxyAccessResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifyProxyAccessResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyProxyAccessResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyProxyAccessResponse %p -> %p\n", q, p)); + *(_ngwm__modifyProxyAccessResponse*)p = *(_ngwm__modifyProxyAccessResponse*)q; +} + +void _ngwm__modifyProxyAccessRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyProxyAccessRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__modifyProxyAccessRequest*)this)->id); + soap_embedded(soap, &((_ngwm__modifyProxyAccessRequest*)this)->updates, SOAP_TYPE_PointerTongwt__AccessRightChanges); + soap_serialize_PointerTongwt__AccessRightChanges(soap, &((_ngwm__modifyProxyAccessRequest*)this)->updates); + /* transient soap skipped */ +} + +void _ngwm__modifyProxyAccessRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__modifyProxyAccessRequest*)this)->id); + ((_ngwm__modifyProxyAccessRequest*)this)->updates = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyProxyAccessRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyProxyAccessRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyProxyAccessRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyProxyAccessRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyProxyAccessRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyProxyAccessRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyProxyAccessRequest*)a)->id), ""); + soap_out_PointerTongwt__AccessRightChanges(soap, "ngwm:updates", -1, &(((_ngwm__modifyProxyAccessRequest*)a)->updates), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyProxyAccessRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyProxyAccessRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyProxyAccessRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyProxyAccessRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyProxyAccessRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyProxyAccessRequest, sizeof(_ngwm__modifyProxyAccessRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyProxyAccessRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyProxyAccessRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_updates1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyProxyAccessRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightChanges(soap, "ngwm:updates", &(((_ngwm__modifyProxyAccessRequest*)a)->updates), "ngwt:AccessRightChanges")) + { soap_flag_updates1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_updates1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyProxyAccessRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessRequest, 0, sizeof(_ngwm__modifyProxyAccessRequest), 0, soap_copy__ngwm__modifyProxyAccessRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyProxyAccessRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyProxyAccessRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyProxyAccessRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyProxyAccessRequest; + if (size) + *size = sizeof(_ngwm__modifyProxyAccessRequest); + ((_ngwm__modifyProxyAccessRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyProxyAccessRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifyProxyAccessRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifyProxyAccessRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyProxyAccessRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyProxyAccessRequest %p -> %p\n", q, p)); + *(_ngwm__modifyProxyAccessRequest*)p = *(_ngwm__modifyProxyAccessRequest*)q; +} + +void _ngwm__modifyPasswordResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyPasswordResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyPasswordResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifyPasswordResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyPasswordResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyPasswordResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyPasswordResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyPasswordResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyPasswordResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyPasswordResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyPasswordResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyPasswordResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyPasswordResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyPasswordResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_get__ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyPasswordResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyPasswordResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyPasswordResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_in__ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, _ngwm__modifyPasswordResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyPasswordResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyPasswordResponse, sizeof(_ngwm__modifyPasswordResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyPasswordResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyPasswordResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyPasswordResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyPasswordResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordResponse, 0, sizeof(_ngwm__modifyPasswordResponse), 0, soap_copy__ngwm__modifyPasswordResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_new__ngwm__modifyPasswordResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyPasswordResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyPasswordResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyPasswordResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyPasswordResponse; + if (size) + *size = sizeof(_ngwm__modifyPasswordResponse); + ((_ngwm__modifyPasswordResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyPasswordResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifyPasswordResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifyPasswordResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyPasswordResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyPasswordResponse %p -> %p\n", q, p)); + *(_ngwm__modifyPasswordResponse*)p = *(_ngwm__modifyPasswordResponse*)q; +} + +void _ngwm__modifyPasswordRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyPasswordRequest*)this)->old, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__modifyPasswordRequest*)this)->old); + soap_embedded(soap, &((_ngwm__modifyPasswordRequest*)this)->_new, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__modifyPasswordRequest*)this)->_new); + /* transient soap skipped */ +} + +void _ngwm__modifyPasswordRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyPasswordRequest*)this)->old = NULL; + ((_ngwm__modifyPasswordRequest*)this)->_new = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyPasswordRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyPasswordRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyPasswordRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyPasswordRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyPasswordRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyPasswordRequest), type); + soap_out_PointerTostd__string(soap, "ngwm:old", -1, &(((_ngwm__modifyPasswordRequest*)a)->old), ""); + soap_out_PointerTostd__string(soap, "ngwm:new", -1, &(((_ngwm__modifyPasswordRequest*)a)->_new), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyPasswordRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyPasswordRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_get__ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyPasswordRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyPasswordRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyPasswordRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_in__ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, _ngwm__modifyPasswordRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyPasswordRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyPasswordRequest, sizeof(_ngwm__modifyPasswordRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyPasswordRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyPasswordRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_old1 = 1, soap_flag_new1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_old1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:old", &(((_ngwm__modifyPasswordRequest*)a)->old), "")) + { soap_flag_old1 = 0; + continue; + } + if (soap_flag_new1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:new", &(((_ngwm__modifyPasswordRequest*)a)->_new), "")) + { soap_flag_new1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyPasswordRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordRequest, 0, sizeof(_ngwm__modifyPasswordRequest), 0, soap_copy__ngwm__modifyPasswordRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_new__ngwm__modifyPasswordRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyPasswordRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyPasswordRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyPasswordRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyPasswordRequest; + if (size) + *size = sizeof(_ngwm__modifyPasswordRequest); + ((_ngwm__modifyPasswordRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyPasswordRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifyPasswordRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifyPasswordRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyPasswordRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyPasswordRequest %p -> %p\n", q, p)); + *(_ngwm__modifyPasswordRequest*)p = *(_ngwm__modifyPasswordRequest*)q; +} + +void _ngwm__modifyJunkMailSettingsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyJunkMailSettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyJunkMailSettingsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifyJunkMailSettingsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyJunkMailSettingsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyJunkMailSettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyJunkMailSettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyJunkMailSettingsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkMailSettingsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyJunkMailSettingsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyJunkMailSettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyJunkMailSettingsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyJunkMailSettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyJunkMailSettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyJunkMailSettingsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyJunkMailSettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, sizeof(_ngwm__modifyJunkMailSettingsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyJunkMailSettingsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyJunkMailSettingsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyJunkMailSettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, 0, sizeof(_ngwm__modifyJunkMailSettingsResponse), 0, soap_copy__ngwm__modifyJunkMailSettingsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyJunkMailSettingsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkMailSettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsResponse; + if (size) + *size = sizeof(_ngwm__modifyJunkMailSettingsResponse); + ((_ngwm__modifyJunkMailSettingsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifyJunkMailSettingsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifyJunkMailSettingsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyJunkMailSettingsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkMailSettingsResponse %p -> %p\n", q, p)); + *(_ngwm__modifyJunkMailSettingsResponse*)p = *(_ngwm__modifyJunkMailSettingsResponse*)q; +} + +void _ngwm__modifyJunkMailSettingsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyJunkMailSettingsRequest*)this)->settings, SOAP_TYPE_PointerTongwt__SettingsList); + soap_serialize_PointerTongwt__SettingsList(soap, &((_ngwm__modifyJunkMailSettingsRequest*)this)->settings); + /* transient soap skipped */ +} + +void _ngwm__modifyJunkMailSettingsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyJunkMailSettingsRequest*)this)->settings = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyJunkMailSettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyJunkMailSettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyJunkMailSettingsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkMailSettingsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest), type); + soap_out_PointerTongwt__SettingsList(soap, "ngwm:settings", -1, &(((_ngwm__modifyJunkMailSettingsRequest*)a)->settings), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyJunkMailSettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyJunkMailSettingsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyJunkMailSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyJunkMailSettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyJunkMailSettingsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyJunkMailSettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, sizeof(_ngwm__modifyJunkMailSettingsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyJunkMailSettingsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_settings1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SettingsList(soap, "ngwm:settings", &(((_ngwm__modifyJunkMailSettingsRequest*)a)->settings), "ngwt:SettingsList")) + { soap_flag_settings1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_settings1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyJunkMailSettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, 0, sizeof(_ngwm__modifyJunkMailSettingsRequest), 0, soap_copy__ngwm__modifyJunkMailSettingsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyJunkMailSettingsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkMailSettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsRequest; + if (size) + *size = sizeof(_ngwm__modifyJunkMailSettingsRequest); + ((_ngwm__modifyJunkMailSettingsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyJunkMailSettingsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifyJunkMailSettingsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifyJunkMailSettingsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyJunkMailSettingsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkMailSettingsRequest %p -> %p\n", q, p)); + *(_ngwm__modifyJunkMailSettingsRequest*)p = *(_ngwm__modifyJunkMailSettingsRequest*)q; +} + +void _ngwm__modifyJunkEntryResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyJunkEntryResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyJunkEntryResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifyJunkEntryResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyJunkEntryResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyJunkEntryResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkEntryResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyJunkEntryResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyJunkEntryResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkEntryResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkEntryResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyJunkEntryResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyJunkEntryResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyJunkEntryResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyJunkEntryResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyJunkEntryResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyJunkEntryResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyJunkEntryResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkEntryResponse, sizeof(_ngwm__modifyJunkEntryResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkEntryResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyJunkEntryResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyJunkEntryResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyJunkEntryResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryResponse, 0, sizeof(_ngwm__modifyJunkEntryResponse), 0, soap_copy__ngwm__modifyJunkEntryResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyJunkEntryResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkEntryResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkEntryResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyJunkEntryResponse; + if (size) + *size = sizeof(_ngwm__modifyJunkEntryResponse); + ((_ngwm__modifyJunkEntryResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyJunkEntryResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifyJunkEntryResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifyJunkEntryResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyJunkEntryResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkEntryResponse %p -> %p\n", q, p)); + *(_ngwm__modifyJunkEntryResponse*)p = *(_ngwm__modifyJunkEntryResponse*)q; +} + +void _ngwm__modifyJunkEntryRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyJunkEntryRequest*)this)->entry, SOAP_TYPE_PointerTongwt__JunkEntry); + soap_serialize_PointerTongwt__JunkEntry(soap, &((_ngwm__modifyJunkEntryRequest*)this)->entry); + /* transient soap skipped */ +} + +void _ngwm__modifyJunkEntryRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__modifyJunkEntryRequest*)this)->entry = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyJunkEntryRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyJunkEntryRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyJunkEntryRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyJunkEntryRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyJunkEntryRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyJunkEntryRequest), type); + soap_out_PointerTongwt__JunkEntry(soap, "ngwm:entry", -1, &(((_ngwm__modifyJunkEntryRequest*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyJunkEntryRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyJunkEntryRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyJunkEntryRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyJunkEntryRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyJunkEntryRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyJunkEntryRequest, sizeof(_ngwm__modifyJunkEntryRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyJunkEntryRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyJunkEntryRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_entry1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkEntry(soap, "ngwm:entry", &(((_ngwm__modifyJunkEntryRequest*)a)->entry), "ngwt:JunkEntry")) + { soap_flag_entry1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_entry1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyJunkEntryRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryRequest, 0, sizeof(_ngwm__modifyJunkEntryRequest), 0, soap_copy__ngwm__modifyJunkEntryRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyJunkEntryRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyJunkEntryRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyJunkEntryRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyJunkEntryRequest; + if (size) + *size = sizeof(_ngwm__modifyJunkEntryRequest); + ((_ngwm__modifyJunkEntryRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyJunkEntryRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifyJunkEntryRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifyJunkEntryRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyJunkEntryRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyJunkEntryRequest %p -> %p\n", q, p)); + *(_ngwm__modifyJunkEntryRequest*)p = *(_ngwm__modifyJunkEntryRequest*)q; +} + +void _ngwm__modifyItemsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfstring(soap, &((_ngwm__modifyItemsResponse*)this)->ngwt__modified); + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemsResponse*)this)->id); + soap_embedded(soap, &((_ngwm__modifyItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyItemsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifyItemsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfstring(soap, &((_ngwm__modifyItemsResponse*)this)->ngwt__modified); + soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemsResponse*)this)->id); + ((_ngwm__modifyItemsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyItemsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemsResponse), type); + soap_out_std__vectorTemplateOfstring(soap, "ngwt:modified", -1, &(((_ngwm__modifyItemsResponse*)a)->ngwt__modified), ""); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyItemsResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyItemsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyItemsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemsResponse(struct soap *soap, _ngwm__modifyItemsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyItemsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemsResponse(struct soap *soap, const char *tag, _ngwm__modifyItemsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemsResponse, sizeof(_ngwm__modifyItemsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyItemsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfstring(soap, "ngwt:modified", &(((_ngwm__modifyItemsResponse*)a)->ngwt__modified), "")) + continue; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyItemsResponse*)a)->id), "ngwt:uid")) + continue; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyItemsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemsResponse, 0, sizeof(_ngwm__modifyItemsResponse), 0, soap_copy__ngwm__modifyItemsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyItemsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsResponse(struct soap *soap, _ngwm__modifyItemsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyItemsResponse; + if (size) + *size = sizeof(_ngwm__modifyItemsResponse); + ((_ngwm__modifyItemsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyItemsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifyItemsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifyItemsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyItemsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemsResponse %p -> %p\n", q, p)); + *(_ngwm__modifyItemsResponse*)p = *(_ngwm__modifyItemsResponse*)q; +} + +void _ngwm__modifyItemsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, &((_ngwm__modifyItemsRequest*)this)->item); + /* transient soap skipped */ +} + +void _ngwm__modifyItemsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, &((_ngwm__modifyItemsRequest*)this)->item); + /* transient soap skipped */ +} + +int _ngwm__modifyItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyItemsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemsRequest), type); + soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, "ngwm:item", -1, &(((_ngwm__modifyItemsRequest*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyItemsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemsRequest(struct soap *soap, _ngwm__modifyItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyItemsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemsRequest(struct soap *soap, const char *tag, _ngwm__modifyItemsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemsRequest, sizeof(_ngwm__modifyItemsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyItemsRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, "ngwm:item", &(((_ngwm__modifyItemsRequest*)a)->item), "ngwt:ModifyItem")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemsRequest, 0, sizeof(_ngwm__modifyItemsRequest), 0, soap_copy__ngwm__modifyItemsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyItemsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsRequest(struct soap *soap, _ngwm__modifyItemsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyItemsRequest; + if (size) + *size = sizeof(_ngwm__modifyItemsRequest); + ((_ngwm__modifyItemsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyItemsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifyItemsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifyItemsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyItemsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemsRequest %p -> %p\n", q, p)); + *(_ngwm__modifyItemsRequest*)p = *(_ngwm__modifyItemsRequest*)q; +} + +void _ngwm__modifyItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyItemResponse*)this)->ngwt__modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__modifyItemResponse*)this)->ngwt__modified); + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemResponse*)this)->id); + soap_embedded(soap, &((_ngwm__modifyItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__modifyItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__modifyItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((_ngwm__modifyItemResponse*)this)->ngwt__modified); + soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__modifyItemResponse*)this)->id); + ((_ngwm__modifyItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__modifyItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemResponse), type); + soap_out_string(soap, "ngwt:modified", -1, &(((_ngwm__modifyItemResponse*)a)->ngwt__modified), ""); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyItemResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__modifyItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemResponse(struct soap *soap, const char *tag, _ngwm__modifyItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemResponse, sizeof(_ngwm__modifyItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_ngwt__modified1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwt__modified1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((_ngwm__modifyItemResponse*)a)->ngwt__modified), "")) + { soap_flag_ngwt__modified1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyItemResponse*)a)->id), "ngwt:uid")) + continue; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__modifyItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemResponse, 0, sizeof(_ngwm__modifyItemResponse), 0, soap_copy__ngwm__modifyItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyItemResponse; + if (size) + *size = sizeof(_ngwm__modifyItemResponse); + ((_ngwm__modifyItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__modifyItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__modifyItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemResponse %p -> %p\n", q, p)); + *(_ngwm__modifyItemResponse*)p = *(_ngwm__modifyItemResponse*)q; +} + +void _ngwm__modifyItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__modifyItemRequest*)this)->id); + soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->notification, SOAP_TYPE_PointerTongwt__SharedFolderNotification); + soap_serialize_PointerTongwt__SharedFolderNotification(soap, &((_ngwm__modifyItemRequest*)this)->notification); + soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->updates, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((_ngwm__modifyItemRequest*)this)->updates); + soap_embedded(soap, &((_ngwm__modifyItemRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong); + /* transient soap skipped */ +} + +void _ngwm__modifyItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__modifyItemRequest*)this)->id); + ((_ngwm__modifyItemRequest*)this)->notification = NULL; + ((_ngwm__modifyItemRequest*)this)->updates = NULL; + ((_ngwm__modifyItemRequest*)this)->recurrenceAllInstances = 0; + /* transient soap skipped */ +} + +int _ngwm__modifyItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__modifyItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__modifyItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__modifyItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__modifyItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__modifyItemRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__modifyItemRequest*)a)->id), ""); + soap_out_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", -1, &(((_ngwm__modifyItemRequest*)a)->notification), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwm:updates", -1, &(((_ngwm__modifyItemRequest*)a)->updates), ""); + soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__modifyItemRequest*)a)->recurrenceAllInstances), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__modifyItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__modifyItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__modifyItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__modifyItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__modifyItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemRequest(struct soap *soap, const char *tag, _ngwm__modifyItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__modifyItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__modifyItemRequest, sizeof(_ngwm__modifyItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__modifyItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__modifyItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_notification1 = 1, soap_flag_updates1 = 1, soap_flag_recurrenceAllInstances1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__modifyItemRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", &(((_ngwm__modifyItemRequest*)a)->notification), "ngwt:SharedFolderNotification")) + { soap_flag_notification1 = 0; + continue; + } + if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwm:updates", &(((_ngwm__modifyItemRequest*)a)->updates), "ngwt:ItemChanges")) + { soap_flag_updates1 = 0; + continue; + } + if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__modifyItemRequest*)a)->recurrenceAllInstances), "")) + { soap_flag_recurrenceAllInstances1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_updates1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__modifyItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemRequest, 0, sizeof(_ngwm__modifyItemRequest), 0, soap_copy__ngwm__modifyItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__modifyItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__modifyItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__modifyItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__modifyItemRequest; + if (size) + *size = sizeof(_ngwm__modifyItemRequest); + ((_ngwm__modifyItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__modifyItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__modifyItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__modifyItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__modifyItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__modifyItemRequest %p -> %p\n", q, p)); + *(_ngwm__modifyItemRequest*)p = *(_ngwm__modifyItemRequest*)q; +} + +void _ngwm__markUnReadResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markUnReadResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markUnReadResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__markUnReadResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markUnReadResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__markUnReadResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnReadResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markUnReadResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markUnReadResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadResponse(struct soap *soap, const char *tag, int id, const _ngwm__markUnReadResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnReadResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markUnReadResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markUnReadResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markUnReadResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_get__ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markUnReadResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markUnReadResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markUnReadResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_in__ngwm__markUnReadResponse(struct soap *soap, const char *tag, _ngwm__markUnReadResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markUnReadResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnReadResponse, sizeof(_ngwm__markUnReadResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markUnReadResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markUnReadResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markUnReadResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markUnReadResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadResponse, 0, sizeof(_ngwm__markUnReadResponse), 0, soap_copy__ngwm__markUnReadResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_new__ngwm__markUnReadResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markUnReadResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnReadResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnReadResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markUnReadResponse; + if (size) + *size = sizeof(_ngwm__markUnReadResponse); + ((_ngwm__markUnReadResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markUnReadResponse[n]; + if (size) + *size = n * sizeof(_ngwm__markUnReadResponse); + for (int i = 0; i < n; i++) + ((_ngwm__markUnReadResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markUnReadResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnReadResponse %p -> %p\n", q, p)); + *(_ngwm__markUnReadResponse*)p = *(_ngwm__markUnReadResponse*)q; +} + +void _ngwm__markUnReadRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markUnReadRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markUnReadRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__markUnReadRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markUnReadRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__markUnReadRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnReadRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markUnReadRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markUnReadRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadRequest(struct soap *soap, const char *tag, int id, const _ngwm__markUnReadRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnReadRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markUnReadRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markUnReadRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markUnReadRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_get__ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markUnReadRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markUnReadRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markUnReadRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_in__ngwm__markUnReadRequest(struct soap *soap, const char *tag, _ngwm__markUnReadRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markUnReadRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnReadRequest, sizeof(_ngwm__markUnReadRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markUnReadRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markUnReadRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markUnReadRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markUnReadRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadRequest, 0, sizeof(_ngwm__markUnReadRequest), 0, soap_copy__ngwm__markUnReadRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_new__ngwm__markUnReadRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markUnReadRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnReadRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnReadRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markUnReadRequest; + if (size) + *size = sizeof(_ngwm__markUnReadRequest); + ((_ngwm__markUnReadRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markUnReadRequest[n]; + if (size) + *size = n * sizeof(_ngwm__markUnReadRequest); + for (int i = 0; i < n; i++) + ((_ngwm__markUnReadRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markUnReadRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnReadRequest %p -> %p\n", q, p)); + *(_ngwm__markUnReadRequest*)p = *(_ngwm__markUnReadRequest*)q; +} + +void _ngwm__markUnPrivateResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markUnPrivateResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markUnPrivateResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__markUnPrivateResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markUnPrivateResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__markUnPrivateResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnPrivateResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markUnPrivateResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markUnPrivateResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, int id, const _ngwm__markUnPrivateResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnPrivateResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markUnPrivateResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markUnPrivateResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markUnPrivateResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markUnPrivateResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markUnPrivateResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markUnPrivateResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, _ngwm__markUnPrivateResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markUnPrivateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnPrivateResponse, sizeof(_ngwm__markUnPrivateResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markUnPrivateResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markUnPrivateResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markUnPrivateResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markUnPrivateResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateResponse, 0, sizeof(_ngwm__markUnPrivateResponse), 0, soap_copy__ngwm__markUnPrivateResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markUnPrivateResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markUnPrivateResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnPrivateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnPrivateResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markUnPrivateResponse; + if (size) + *size = sizeof(_ngwm__markUnPrivateResponse); + ((_ngwm__markUnPrivateResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markUnPrivateResponse[n]; + if (size) + *size = n * sizeof(_ngwm__markUnPrivateResponse); + for (int i = 0; i < n; i++) + ((_ngwm__markUnPrivateResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markUnPrivateResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnPrivateResponse %p -> %p\n", q, p)); + *(_ngwm__markUnPrivateResponse*)p = *(_ngwm__markUnPrivateResponse*)q; +} + +void _ngwm__markUnPrivateRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markUnPrivateRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markUnPrivateRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__markUnPrivateRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markUnPrivateRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__markUnPrivateRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markUnPrivateRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markUnPrivateRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markUnPrivateRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, int id, const _ngwm__markUnPrivateRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markUnPrivateRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markUnPrivateRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markUnPrivateRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markUnPrivateRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markUnPrivateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markUnPrivateRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markUnPrivateRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, _ngwm__markUnPrivateRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markUnPrivateRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markUnPrivateRequest, sizeof(_ngwm__markUnPrivateRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markUnPrivateRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markUnPrivateRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markUnPrivateRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markUnPrivateRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateRequest, 0, sizeof(_ngwm__markUnPrivateRequest), 0, soap_copy__ngwm__markUnPrivateRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markUnPrivateRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markUnPrivateRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markUnPrivateRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markUnPrivateRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markUnPrivateRequest; + if (size) + *size = sizeof(_ngwm__markUnPrivateRequest); + ((_ngwm__markUnPrivateRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markUnPrivateRequest[n]; + if (size) + *size = n * sizeof(_ngwm__markUnPrivateRequest); + for (int i = 0; i < n; i++) + ((_ngwm__markUnPrivateRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markUnPrivateRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markUnPrivateRequest %p -> %p\n", q, p)); + *(_ngwm__markUnPrivateRequest*)p = *(_ngwm__markUnPrivateRequest*)q; +} + +void _ngwm__markReadResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markReadResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markReadResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__markReadResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markReadResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__markReadResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markReadResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markReadResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markReadResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadResponse(struct soap *soap, const char *tag, int id, const _ngwm__markReadResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markReadResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markReadResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markReadResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markReadResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_get__ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markReadResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markReadResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markReadResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_in__ngwm__markReadResponse(struct soap *soap, const char *tag, _ngwm__markReadResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markReadResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markReadResponse, sizeof(_ngwm__markReadResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markReadResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markReadResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markReadResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markReadResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadResponse, 0, sizeof(_ngwm__markReadResponse), 0, soap_copy__ngwm__markReadResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_new__ngwm__markReadResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markReadResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markReadResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markReadResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markReadResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markReadResponse; + if (size) + *size = sizeof(_ngwm__markReadResponse); + ((_ngwm__markReadResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markReadResponse[n]; + if (size) + *size = n * sizeof(_ngwm__markReadResponse); + for (int i = 0; i < n; i++) + ((_ngwm__markReadResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markReadResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markReadResponse %p -> %p\n", q, p)); + *(_ngwm__markReadResponse*)p = *(_ngwm__markReadResponse*)q; +} + +void _ngwm__markReadRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markReadRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markReadRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__markReadRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markReadRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__markReadRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markReadRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markReadRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markReadRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadRequest(struct soap *soap, const char *tag, int id, const _ngwm__markReadRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markReadRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markReadRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markReadRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markReadRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_get__ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markReadRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markReadRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markReadRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_in__ngwm__markReadRequest(struct soap *soap, const char *tag, _ngwm__markReadRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markReadRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markReadRequest, sizeof(_ngwm__markReadRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markReadRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markReadRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markReadRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markReadRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadRequest, 0, sizeof(_ngwm__markReadRequest), 0, soap_copy__ngwm__markReadRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_new__ngwm__markReadRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markReadRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markReadRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markReadRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markReadRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markReadRequest; + if (size) + *size = sizeof(_ngwm__markReadRequest); + ((_ngwm__markReadRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markReadRequest[n]; + if (size) + *size = n * sizeof(_ngwm__markReadRequest); + for (int i = 0; i < n; i++) + ((_ngwm__markReadRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markReadRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markReadRequest %p -> %p\n", q, p)); + *(_ngwm__markReadRequest*)p = *(_ngwm__markReadRequest*)q; +} + +void _ngwm__markPrivateResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markPrivateResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__markPrivateResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__markPrivateResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markPrivateResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__markPrivateResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markPrivateResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markPrivateResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markPrivateResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateResponse(struct soap *soap, const char *tag, int id, const _ngwm__markPrivateResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markPrivateResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__markPrivateResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markPrivateResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markPrivateResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markPrivateResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markPrivateResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markPrivateResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markPrivateResponse(struct soap *soap, const char *tag, _ngwm__markPrivateResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markPrivateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markPrivateResponse, sizeof(_ngwm__markPrivateResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markPrivateResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markPrivateResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__markPrivateResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markPrivateResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateResponse, 0, sizeof(_ngwm__markPrivateResponse), 0, soap_copy__ngwm__markPrivateResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markPrivateResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markPrivateResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markPrivateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markPrivateResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markPrivateResponse; + if (size) + *size = sizeof(_ngwm__markPrivateResponse); + ((_ngwm__markPrivateResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markPrivateResponse[n]; + if (size) + *size = n * sizeof(_ngwm__markPrivateResponse); + for (int i = 0; i < n; i++) + ((_ngwm__markPrivateResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markPrivateResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markPrivateResponse %p -> %p\n", q, p)); + *(_ngwm__markPrivateResponse*)p = *(_ngwm__markPrivateResponse*)q; +} + +void _ngwm__markPrivateRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__markPrivateRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__markPrivateRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__markPrivateRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__markPrivateRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__markPrivateRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__markPrivateRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__markPrivateRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__markPrivateRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateRequest(struct soap *soap, const char *tag, int id, const _ngwm__markPrivateRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__markPrivateRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__markPrivateRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__markPrivateRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__markPrivateRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__markPrivateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__markPrivateRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__markPrivateRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markPrivateRequest(struct soap *soap, const char *tag, _ngwm__markPrivateRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__markPrivateRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__markPrivateRequest, sizeof(_ngwm__markPrivateRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__markPrivateRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__markPrivateRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__markPrivateRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__markPrivateRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateRequest, 0, sizeof(_ngwm__markPrivateRequest), 0, soap_copy__ngwm__markPrivateRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markPrivateRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__markPrivateRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__markPrivateRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__markPrivateRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__markPrivateRequest; + if (size) + *size = sizeof(_ngwm__markPrivateRequest); + ((_ngwm__markPrivateRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__markPrivateRequest[n]; + if (size) + *size = n * sizeof(_ngwm__markPrivateRequest); + for (int i = 0; i < n; i++) + ((_ngwm__markPrivateRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__markPrivateRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__markPrivateRequest %p -> %p\n", q, p)); + *(_ngwm__markPrivateRequest*)p = *(_ngwm__markPrivateRequest*)q; +} + +void _ngwm__logoutResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__logoutResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__logoutResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__logoutResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__logoutResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__logoutResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__logoutResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__logoutResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__logoutResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutResponse(struct soap *soap, const char *tag, int id, const _ngwm__logoutResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__logoutResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__logoutResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__logoutResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__logoutResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_get__ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__logoutResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__logoutResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__logoutResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_in__ngwm__logoutResponse(struct soap *soap, const char *tag, _ngwm__logoutResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__logoutResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__logoutResponse, sizeof(_ngwm__logoutResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__logoutResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__logoutResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__logoutResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__logoutResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutResponse, 0, sizeof(_ngwm__logoutResponse), 0, soap_copy__ngwm__logoutResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_new__ngwm__logoutResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__logoutResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_instantiate__ngwm__logoutResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__logoutResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__logoutResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__logoutResponse; + if (size) + *size = sizeof(_ngwm__logoutResponse); + ((_ngwm__logoutResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__logoutResponse[n]; + if (size) + *size = n * sizeof(_ngwm__logoutResponse); + for (int i = 0; i < n; i++) + ((_ngwm__logoutResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__logoutResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__logoutResponse %p -> %p\n", q, p)); + *(_ngwm__logoutResponse*)p = *(_ngwm__logoutResponse*)q; +} + +void _ngwm__logoutRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__logoutRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__logoutRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__logoutRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__logoutRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__logoutRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutRequest(struct soap *soap, const char *tag, int id, const _ngwm__logoutRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__logoutRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__logoutRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__logoutRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_get__ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__logoutRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__logoutRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__logoutRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_in__ngwm__logoutRequest(struct soap *soap, const char *tag, _ngwm__logoutRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__logoutRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__logoutRequest, sizeof(_ngwm__logoutRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__logoutRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__logoutRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__logoutRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutRequest, 0, sizeof(_ngwm__logoutRequest), 0, soap_copy__ngwm__logoutRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_new__ngwm__logoutRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__logoutRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_instantiate__ngwm__logoutRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__logoutRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__logoutRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__logoutRequest; + if (size) + *size = sizeof(_ngwm__logoutRequest); + ((_ngwm__logoutRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__logoutRequest[n]; + if (size) + *size = n * sizeof(_ngwm__logoutRequest); + for (int i = 0; i < n; i++) + ((_ngwm__logoutRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__logoutRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__logoutRequest %p -> %p\n", q, p)); + *(_ngwm__logoutRequest*)p = *(_ngwm__logoutRequest*)q; +} + +void _ngwm__loginResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__loginResponse*)this)->session, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__loginResponse*)this)->session); + soap_embedded(soap, &((_ngwm__loginResponse*)this)->userinfo, SOAP_TYPE_PointerTongwt__UserInfo); + soap_serialize_PointerTongwt__UserInfo(soap, &((_ngwm__loginResponse*)this)->userinfo); + soap_embedded(soap, &((_ngwm__loginResponse*)this)->entry, SOAP_TYPE_PointerTongwt__AccessRightEntry); + soap_serialize_PointerTongwt__AccessRightEntry(soap, &((_ngwm__loginResponse*)this)->entry); + soap_embedded(soap, &((_ngwm__loginResponse*)this)->gwVersion, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__loginResponse*)this)->gwVersion); + soap_embedded(soap, &((_ngwm__loginResponse*)this)->build, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__loginResponse*)this)->build); + soap_serialize_std__vectorTemplateOfPointerTongwt__Host(soap, &((_ngwm__loginResponse*)this)->redirectToHost); + soap_embedded(soap, &((_ngwm__loginResponse*)this)->serverUTCTime, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__loginResponse*)this)->serverUTCTime); + soap_embedded(soap, &((_ngwm__loginResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__loginResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__loginResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__loginResponse*)this)->session = NULL; + ((_ngwm__loginResponse*)this)->userinfo = NULL; + ((_ngwm__loginResponse*)this)->entry = NULL; + ((_ngwm__loginResponse*)this)->gwVersion = NULL; + ((_ngwm__loginResponse*)this)->build = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__Host(soap, &((_ngwm__loginResponse*)this)->redirectToHost); + soap_default_string(soap, &((_ngwm__loginResponse*)this)->serverUTCTime); + ((_ngwm__loginResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__loginResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__loginResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__loginResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__loginResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginResponse(struct soap *soap, const char *tag, int id, const _ngwm__loginResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__loginResponse), type); + soap_out_PointerTostd__string(soap, "ngwm:session", -1, &(((_ngwm__loginResponse*)a)->session), ""); + soap_out_PointerTongwt__UserInfo(soap, "ngwm:userinfo", -1, &(((_ngwm__loginResponse*)a)->userinfo), ""); + soap_out_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", -1, &(((_ngwm__loginResponse*)a)->entry), ""); + soap_out_PointerTostd__string(soap, "ngwm:gwVersion", -1, &(((_ngwm__loginResponse*)a)->gwVersion), ""); + soap_out_PointerTostd__string(soap, "ngwm:build", -1, &(((_ngwm__loginResponse*)a)->build), ""); + soap_out_std__vectorTemplateOfPointerTongwt__Host(soap, "ngwm:redirectToHost", -1, &(((_ngwm__loginResponse*)a)->redirectToHost), ""); + soap_out_string(soap, "ngwm:serverUTCTime", -1, &(((_ngwm__loginResponse*)a)->serverUTCTime), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__loginResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__loginResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__loginResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_get__ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__loginResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__loginResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__loginResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_in__ngwm__loginResponse(struct soap *soap, const char *tag, _ngwm__loginResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__loginResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__loginResponse, sizeof(_ngwm__loginResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__loginResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__loginResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_session1 = 1, soap_flag_userinfo1 = 1, soap_flag_entry1 = 1, soap_flag_gwVersion1 = 1, soap_flag_build1 = 1, soap_flag_serverUTCTime1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_session1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:session", &(((_ngwm__loginResponse*)a)->session), "")) + { soap_flag_session1 = 0; + continue; + } + if (soap_flag_userinfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__UserInfo(soap, "ngwm:userinfo", &(((_ngwm__loginResponse*)a)->userinfo), "ngwt:UserInfo")) + { soap_flag_userinfo1 = 0; + continue; + } + if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", &(((_ngwm__loginResponse*)a)->entry), "ngwt:AccessRightEntry")) + { soap_flag_entry1 = 0; + continue; + } + if (soap_flag_gwVersion1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:gwVersion", &(((_ngwm__loginResponse*)a)->gwVersion), "")) + { soap_flag_gwVersion1 = 0; + continue; + } + if (soap_flag_build1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:build", &(((_ngwm__loginResponse*)a)->build), "")) + { soap_flag_build1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Host(soap, "ngwm:redirectToHost", &(((_ngwm__loginResponse*)a)->redirectToHost), "ngwt:Host")) + continue; + if (soap_flag_serverUTCTime1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:serverUTCTime", &(((_ngwm__loginResponse*)a)->serverUTCTime), "")) + { soap_flag_serverUTCTime1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__loginResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__loginResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginResponse, 0, sizeof(_ngwm__loginResponse), 0, soap_copy__ngwm__loginResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_new__ngwm__loginResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__loginResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_instantiate__ngwm__loginResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__loginResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__loginResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__loginResponse; + if (size) + *size = sizeof(_ngwm__loginResponse); + ((_ngwm__loginResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__loginResponse[n]; + if (size) + *size = n * sizeof(_ngwm__loginResponse); + for (int i = 0; i < n; i++) + ((_ngwm__loginResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__loginResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__loginResponse %p -> %p\n", q, p)); + *(_ngwm__loginResponse*)p = *(_ngwm__loginResponse*)q; +} + +void _ngwm__loginRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__loginRequest*)this)->auth, SOAP_TYPE_PointerTongwt__Authentication); + soap_serialize_PointerTongwt__Authentication(soap, &((_ngwm__loginRequest*)this)->auth); + soap_embedded(soap, &((_ngwm__loginRequest*)this)->language, SOAP_TYPE_xsd__language); + soap_serialize_xsd__language(soap, &((_ngwm__loginRequest*)this)->language); + soap_embedded(soap, &((_ngwm__loginRequest*)this)->version, SOAP_TYPE_xsd__decimal); + soap_serialize_xsd__decimal(soap, &((_ngwm__loginRequest*)this)->version); + soap_embedded(soap, &((_ngwm__loginRequest*)this)->application, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__loginRequest*)this)->application); + /* transient soap skipped */ +} + +void _ngwm__loginRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__loginRequest*)this)->auth = NULL; + soap_default_xsd__language(soap, &((_ngwm__loginRequest*)this)->language); + soap_default_xsd__decimal(soap, &((_ngwm__loginRequest*)this)->version); + ((_ngwm__loginRequest*)this)->application = NULL; + /* transient soap skipped */ +} + +int _ngwm__loginRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__loginRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__loginRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__loginRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginRequest(struct soap *soap, const char *tag, int id, const _ngwm__loginRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__loginRequest), type); + soap_out_PointerTongwt__Authentication(soap, "ngwm:auth", -1, &(((_ngwm__loginRequest*)a)->auth), ""); + soap_out_xsd__language(soap, "ngwm:language", -1, &(((_ngwm__loginRequest*)a)->language), ""); + soap_out_xsd__decimal(soap, "ngwm:version", -1, &(((_ngwm__loginRequest*)a)->version), ""); + soap_out_PointerTostd__string(soap, "ngwm:application", -1, &(((_ngwm__loginRequest*)a)->application), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__loginRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__loginRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_get__ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__loginRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__loginRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__loginRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_in__ngwm__loginRequest(struct soap *soap, const char *tag, _ngwm__loginRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__loginRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__loginRequest, sizeof(_ngwm__loginRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__loginRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__loginRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_auth1 = 1, soap_flag_language1 = 1, soap_flag_version1 = 1, soap_flag_application1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_auth1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Authentication(soap, "ngwm:auth", &(((_ngwm__loginRequest*)a)->auth), "ngwt:Authentication")) + { soap_flag_auth1 = 0; + continue; + } + if (soap_flag_language1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_xsd__language(soap, "ngwm:language", &(((_ngwm__loginRequest*)a)->language), "xsd:language")) + { soap_flag_language1 = 0; + continue; + } + if (soap_flag_version1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_xsd__decimal(soap, "ngwm:version", &(((_ngwm__loginRequest*)a)->version), "xsd:decimal")) + { soap_flag_version1 = 0; + continue; + } + if (soap_flag_application1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:application", &(((_ngwm__loginRequest*)a)->application), "")) + { soap_flag_application1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_auth1 || soap_flag_language1 || soap_flag_version1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__loginRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginRequest, 0, sizeof(_ngwm__loginRequest), 0, soap_copy__ngwm__loginRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_new__ngwm__loginRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__loginRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_instantiate__ngwm__loginRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__loginRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__loginRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__loginRequest; + if (size) + *size = sizeof(_ngwm__loginRequest); + ((_ngwm__loginRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__loginRequest[n]; + if (size) + *size = n * sizeof(_ngwm__loginRequest); + for (int i = 0; i < n; i++) + ((_ngwm__loginRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__loginRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__loginRequest %p -> %p\n", q, p)); + *(_ngwm__loginRequest*)p = *(_ngwm__loginRequest*)q; +} + +void _ngwm__getUserListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getUserListResponse*)this)->users, SOAP_TYPE_PointerTongwt__UserList); + soap_serialize_PointerTongwt__UserList(soap, &((_ngwm__getUserListResponse*)this)->users); + soap_embedded(soap, &((_ngwm__getUserListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getUserListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getUserListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getUserListResponse*)this)->users = NULL; + ((_ngwm__getUserListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getUserListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getUserListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getUserListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getUserListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getUserListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getUserListResponse), type); + soap_out_PointerTongwt__UserList(soap, "ngwm:users", -1, &(((_ngwm__getUserListResponse*)a)->users), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getUserListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getUserListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getUserListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_get__ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getUserListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getUserListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getUserListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_in__ngwm__getUserListResponse(struct soap *soap, const char *tag, _ngwm__getUserListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getUserListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getUserListResponse, sizeof(_ngwm__getUserListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getUserListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getUserListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_users1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_users1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__UserList(soap, "ngwm:users", &(((_ngwm__getUserListResponse*)a)->users), "ngwt:UserList")) + { soap_flag_users1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getUserListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getUserListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListResponse, 0, sizeof(_ngwm__getUserListResponse), 0, soap_copy__ngwm__getUserListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_new__ngwm__getUserListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getUserListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getUserListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getUserListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getUserListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getUserListResponse; + if (size) + *size = sizeof(_ngwm__getUserListResponse); + ((_ngwm__getUserListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getUserListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getUserListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getUserListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getUserListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getUserListResponse %p -> %p\n", q, p)); + *(_ngwm__getUserListResponse*)p = *(_ngwm__getUserListResponse*)q; +} + +void _ngwm__getUserListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getUserListRequest*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__getUserListRequest*)this)->name); + soap_embedded(soap, &((_ngwm__getUserListRequest*)this)->key, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__getUserListRequest*)this)->key); + /* transient soap skipped */ +} + +void _ngwm__getUserListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getUserListRequest*)this)->name = NULL; + ((_ngwm__getUserListRequest*)this)->key = NULL; + /* transient soap skipped */ +} + +int _ngwm__getUserListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getUserListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getUserListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getUserListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getUserListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getUserListRequest), type); + soap_out_PointerTostd__string(soap, "ngwm:name", -1, &(((_ngwm__getUserListRequest*)a)->name), ""); + soap_out_PointerTostd__string(soap, "ngwm:key", -1, &(((_ngwm__getUserListRequest*)a)->key), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getUserListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getUserListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_get__ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getUserListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getUserListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getUserListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_in__ngwm__getUserListRequest(struct soap *soap, const char *tag, _ngwm__getUserListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getUserListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getUserListRequest, sizeof(_ngwm__getUserListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getUserListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getUserListRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_name1 = 1, soap_flag_key1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:name", &(((_ngwm__getUserListRequest*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:key", &(((_ngwm__getUserListRequest*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getUserListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListRequest, 0, sizeof(_ngwm__getUserListRequest), 0, soap_copy__ngwm__getUserListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_new__ngwm__getUserListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getUserListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getUserListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getUserListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getUserListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getUserListRequest; + if (size) + *size = sizeof(_ngwm__getUserListRequest); + ((_ngwm__getUserListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getUserListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getUserListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getUserListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getUserListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getUserListRequest %p -> %p\n", q, p)); + *(_ngwm__getUserListRequest*)p = *(_ngwm__getUserListRequest*)q; +} + +void _ngwm__getTimezoneListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getTimezoneListResponse*)this)->timezones, SOAP_TYPE_PointerTongwt__TimezoneList); + soap_serialize_PointerTongwt__TimezoneList(soap, &((_ngwm__getTimezoneListResponse*)this)->timezones); + soap_embedded(soap, &((_ngwm__getTimezoneListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getTimezoneListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getTimezoneListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getTimezoneListResponse*)this)->timezones = NULL; + ((_ngwm__getTimezoneListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getTimezoneListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimezoneListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getTimezoneListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getTimezoneListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getTimezoneListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimezoneListResponse), type); + soap_out_PointerTongwt__TimezoneList(soap, "ngwm:timezones", -1, &(((_ngwm__getTimezoneListResponse*)a)->timezones), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getTimezoneListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getTimezoneListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getTimezoneListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_get__ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getTimezoneListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getTimezoneListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getTimezoneListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_in__ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, _ngwm__getTimezoneListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getTimezoneListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimezoneListResponse, sizeof(_ngwm__getTimezoneListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getTimezoneListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getTimezoneListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_timezones1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_timezones1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__TimezoneList(soap, "ngwm:timezones", &(((_ngwm__getTimezoneListResponse*)a)->timezones), "ngwt:TimezoneList")) + { soap_flag_timezones1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getTimezoneListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getTimezoneListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListResponse, 0, sizeof(_ngwm__getTimezoneListResponse), 0, soap_copy__ngwm__getTimezoneListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_new__ngwm__getTimezoneListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getTimezoneListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimezoneListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimezoneListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getTimezoneListResponse; + if (size) + *size = sizeof(_ngwm__getTimezoneListResponse); + ((_ngwm__getTimezoneListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getTimezoneListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getTimezoneListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getTimezoneListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getTimezoneListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimezoneListResponse %p -> %p\n", q, p)); + *(_ngwm__getTimezoneListResponse*)p = *(_ngwm__getTimezoneListResponse*)q; +} + +void _ngwm__getTimezoneListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getTimezoneListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getTimezoneListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimezoneListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getTimezoneListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getTimezoneListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getTimezoneListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimezoneListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getTimezoneListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getTimezoneListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_get__ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getTimezoneListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getTimezoneListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getTimezoneListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_in__ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, _ngwm__getTimezoneListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getTimezoneListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimezoneListRequest, sizeof(_ngwm__getTimezoneListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getTimezoneListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getTimezoneListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getTimezoneListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListRequest, 0, sizeof(_ngwm__getTimezoneListRequest), 0, soap_copy__ngwm__getTimezoneListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_new__ngwm__getTimezoneListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getTimezoneListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimezoneListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimezoneListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getTimezoneListRequest; + if (size) + *size = sizeof(_ngwm__getTimezoneListRequest); + ((_ngwm__getTimezoneListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getTimezoneListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getTimezoneListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getTimezoneListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getTimezoneListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimezoneListRequest %p -> %p\n", q, p)); + *(_ngwm__getTimezoneListRequest*)p = *(_ngwm__getTimezoneListRequest*)q; +} + +void _ngwm__getTimestampResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getTimestampResponse*)this)->backup, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__getTimestampResponse*)this)->backup); + soap_embedded(soap, &((_ngwm__getTimestampResponse*)this)->retention, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__getTimestampResponse*)this)->retention); + soap_embedded(soap, &((_ngwm__getTimestampResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getTimestampResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getTimestampResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((_ngwm__getTimestampResponse*)this)->backup); + soap_default_string(soap, &((_ngwm__getTimestampResponse*)this)->retention); + ((_ngwm__getTimestampResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getTimestampResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimestampResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getTimestampResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getTimestampResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampResponse(struct soap *soap, const char *tag, int id, const _ngwm__getTimestampResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimestampResponse), type); + soap_out_string(soap, "ngwm:backup", -1, &(((_ngwm__getTimestampResponse*)a)->backup), ""); + soap_out_string(soap, "ngwm:retention", -1, &(((_ngwm__getTimestampResponse*)a)->retention), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getTimestampResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getTimestampResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getTimestampResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_get__ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getTimestampResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getTimestampResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getTimestampResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_in__ngwm__getTimestampResponse(struct soap *soap, const char *tag, _ngwm__getTimestampResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getTimestampResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimestampResponse, sizeof(_ngwm__getTimestampResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getTimestampResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getTimestampResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_backup1 = 1, soap_flag_retention1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_backup1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:backup", &(((_ngwm__getTimestampResponse*)a)->backup), "")) + { soap_flag_backup1 = 0; + continue; + } + if (soap_flag_retention1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwm:retention", &(((_ngwm__getTimestampResponse*)a)->retention), "")) + { soap_flag_retention1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getTimestampResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getTimestampResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampResponse, 0, sizeof(_ngwm__getTimestampResponse), 0, soap_copy__ngwm__getTimestampResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_new__ngwm__getTimestampResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getTimestampResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimestampResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimestampResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getTimestampResponse; + if (size) + *size = sizeof(_ngwm__getTimestampResponse); + ((_ngwm__getTimestampResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getTimestampResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getTimestampResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getTimestampResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getTimestampResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimestampResponse %p -> %p\n", q, p)); + *(_ngwm__getTimestampResponse*)p = *(_ngwm__getTimestampResponse*)q; +} + +void _ngwm__getTimestampRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getTimestampRequest*)this)->backup, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((_ngwm__getTimestampRequest*)this)->backup); + soap_embedded(soap, &((_ngwm__getTimestampRequest*)this)->retention, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((_ngwm__getTimestampRequest*)this)->retention); + soap_embedded(soap, &((_ngwm__getTimestampRequest*)this)->noop, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((_ngwm__getTimestampRequest*)this)->noop); + /* transient soap skipped */ +} + +void _ngwm__getTimestampRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getTimestampRequest*)this)->backup = NULL; + ((_ngwm__getTimestampRequest*)this)->retention = NULL; + ((_ngwm__getTimestampRequest*)this)->noop = NULL; + /* transient soap skipped */ +} + +int _ngwm__getTimestampRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getTimestampRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getTimestampRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getTimestampRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampRequest(struct soap *soap, const char *tag, int id, const _ngwm__getTimestampRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getTimestampRequest), type); + soap_out_PointerTobool(soap, "ngwm:backup", -1, &(((_ngwm__getTimestampRequest*)a)->backup), ""); + soap_out_PointerTobool(soap, "ngwm:retention", -1, &(((_ngwm__getTimestampRequest*)a)->retention), ""); + soap_out_PointerTobool(soap, "ngwm:noop", -1, &(((_ngwm__getTimestampRequest*)a)->noop), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getTimestampRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getTimestampRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_get__ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getTimestampRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getTimestampRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getTimestampRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_in__ngwm__getTimestampRequest(struct soap *soap, const char *tag, _ngwm__getTimestampRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getTimestampRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getTimestampRequest, sizeof(_ngwm__getTimestampRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getTimestampRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getTimestampRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_backup1 = 1, soap_flag_retention1 = 1, soap_flag_noop1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_backup1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwm:backup", &(((_ngwm__getTimestampRequest*)a)->backup), "")) + { soap_flag_backup1 = 0; + continue; + } + if (soap_flag_retention1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwm:retention", &(((_ngwm__getTimestampRequest*)a)->retention), "")) + { soap_flag_retention1 = 0; + continue; + } + if (soap_flag_noop1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwm:noop", &(((_ngwm__getTimestampRequest*)a)->noop), "")) + { soap_flag_noop1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getTimestampRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampRequest, 0, sizeof(_ngwm__getTimestampRequest), 0, soap_copy__ngwm__getTimestampRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_new__ngwm__getTimestampRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getTimestampRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getTimestampRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getTimestampRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getTimestampRequest; + if (size) + *size = sizeof(_ngwm__getTimestampRequest); + ((_ngwm__getTimestampRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getTimestampRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getTimestampRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getTimestampRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getTimestampRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getTimestampRequest %p -> %p\n", q, p)); + *(_ngwm__getTimestampRequest*)p = *(_ngwm__getTimestampRequest*)q; +} + +void _ngwm__getSignaturesResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getSignaturesResponse*)this)->signatures, SOAP_TYPE_PointerTongwt__Signatures); + soap_serialize_PointerTongwt__Signatures(soap, &((_ngwm__getSignaturesResponse*)this)->signatures); + soap_embedded(soap, &((_ngwm__getSignaturesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getSignaturesResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getSignaturesResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getSignaturesResponse*)this)->signatures = NULL; + ((_ngwm__getSignaturesResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getSignaturesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSignaturesResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getSignaturesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getSignaturesResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesResponse(struct soap *soap, const char *tag, int id, const _ngwm__getSignaturesResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSignaturesResponse), type); + soap_out_PointerTongwt__Signatures(soap, "ngwm:signatures", -1, &(((_ngwm__getSignaturesResponse*)a)->signatures), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getSignaturesResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getSignaturesResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getSignaturesResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_get__ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getSignaturesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getSignaturesResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getSignaturesResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_in__ngwm__getSignaturesResponse(struct soap *soap, const char *tag, _ngwm__getSignaturesResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getSignaturesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSignaturesResponse, sizeof(_ngwm__getSignaturesResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getSignaturesResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getSignaturesResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_signatures1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_signatures1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Signatures(soap, "ngwm:signatures", &(((_ngwm__getSignaturesResponse*)a)->signatures), "ngwt:Signatures")) + { soap_flag_signatures1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getSignaturesResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getSignaturesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesResponse, 0, sizeof(_ngwm__getSignaturesResponse), 0, soap_copy__ngwm__getSignaturesResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_new__ngwm__getSignaturesResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getSignaturesResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSignaturesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSignaturesResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getSignaturesResponse; + if (size) + *size = sizeof(_ngwm__getSignaturesResponse); + ((_ngwm__getSignaturesResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getSignaturesResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getSignaturesResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getSignaturesResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getSignaturesResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSignaturesResponse %p -> %p\n", q, p)); + *(_ngwm__getSignaturesResponse*)p = *(_ngwm__getSignaturesResponse*)q; +} + +void _ngwm__getSignaturesRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getSignaturesRequest*)this)->global, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwm__getSignaturesRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getSignaturesRequest*)this)->global = (bool)0; + /* transient soap skipped */ +} + +int _ngwm__getSignaturesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSignaturesRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getSignaturesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getSignaturesRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesRequest(struct soap *soap, const char *tag, int id, const _ngwm__getSignaturesRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSignaturesRequest), type); + soap_out_bool(soap, "ngwm:global", -1, &(((_ngwm__getSignaturesRequest*)a)->global), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getSignaturesRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getSignaturesRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_get__ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getSignaturesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getSignaturesRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getSignaturesRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_in__ngwm__getSignaturesRequest(struct soap *soap, const char *tag, _ngwm__getSignaturesRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getSignaturesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSignaturesRequest, sizeof(_ngwm__getSignaturesRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getSignaturesRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getSignaturesRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_global1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_global1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:global", &(((_ngwm__getSignaturesRequest*)a)->global), "")) + { soap_flag_global1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getSignaturesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesRequest, 0, sizeof(_ngwm__getSignaturesRequest), 0, soap_copy__ngwm__getSignaturesRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_new__ngwm__getSignaturesRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getSignaturesRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSignaturesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSignaturesRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getSignaturesRequest; + if (size) + *size = sizeof(_ngwm__getSignaturesRequest); + ((_ngwm__getSignaturesRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getSignaturesRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getSignaturesRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getSignaturesRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getSignaturesRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSignaturesRequest %p -> %p\n", q, p)); + *(_ngwm__getSignaturesRequest*)p = *(_ngwm__getSignaturesRequest*)q; +} + +void _ngwm__getSettingsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getSettingsResponse*)this)->settings, SOAP_TYPE_PointerTongwt__Settings); + soap_serialize_PointerTongwt__Settings(soap, &((_ngwm__getSettingsResponse*)this)->settings); + soap_embedded(soap, &((_ngwm__getSettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getSettingsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getSettingsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getSettingsResponse*)this)->settings = NULL; + ((_ngwm__getSettingsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getSettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSettingsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getSettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getSettingsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__getSettingsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSettingsResponse), type); + soap_out_PointerTongwt__Settings(soap, "ngwm:settings", -1, &(((_ngwm__getSettingsResponse*)a)->settings), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getSettingsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getSettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getSettingsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getSettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getSettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getSettingsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getSettingsResponse(struct soap *soap, const char *tag, _ngwm__getSettingsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getSettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSettingsResponse, sizeof(_ngwm__getSettingsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getSettingsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getSettingsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_settings1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Settings(soap, "ngwm:settings", &(((_ngwm__getSettingsResponse*)a)->settings), "ngwt:Settings")) + { soap_flag_settings1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getSettingsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getSettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsResponse, 0, sizeof(_ngwm__getSettingsResponse), 0, soap_copy__ngwm__getSettingsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getSettingsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getSettingsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSettingsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getSettingsResponse; + if (size) + *size = sizeof(_ngwm__getSettingsResponse); + ((_ngwm__getSettingsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getSettingsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getSettingsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getSettingsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getSettingsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSettingsResponse %p -> %p\n", q, p)); + *(_ngwm__getSettingsResponse*)p = *(_ngwm__getSettingsResponse*)q; +} + +void _ngwm__getSettingsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getSettingsRequest*)this)->id, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__getSettingsRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__getSettingsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getSettingsRequest*)this)->id = NULL; + /* transient soap skipped */ +} + +int _ngwm__getSettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getSettingsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getSettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getSettingsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__getSettingsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getSettingsRequest), type); + soap_out_PointerTostd__string(soap, "ngwm:id", -1, &(((_ngwm__getSettingsRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getSettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getSettingsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getSettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getSettingsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getSettingsRequest(struct soap *soap, const char *tag, _ngwm__getSettingsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getSettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getSettingsRequest, sizeof(_ngwm__getSettingsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getSettingsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getSettingsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:id", &(((_ngwm__getSettingsRequest*)a)->id), "")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getSettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsRequest, 0, sizeof(_ngwm__getSettingsRequest), 0, soap_copy__ngwm__getSettingsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getSettingsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getSettingsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getSettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getSettingsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getSettingsRequest; + if (size) + *size = sizeof(_ngwm__getSettingsRequest); + ((_ngwm__getSettingsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getSettingsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getSettingsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getSettingsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getSettingsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getSettingsRequest %p -> %p\n", q, p)); + *(_ngwm__getSettingsRequest*)p = *(_ngwm__getSettingsRequest*)q; +} + +void _ngwm__getRuleListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getRuleListResponse*)this)->rules, SOAP_TYPE_PointerTongwt__RuleList); + soap_serialize_PointerTongwt__RuleList(soap, &((_ngwm__getRuleListResponse*)this)->rules); + soap_embedded(soap, &((_ngwm__getRuleListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getRuleListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getRuleListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getRuleListResponse*)this)->rules = NULL; + ((_ngwm__getRuleListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getRuleListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getRuleListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getRuleListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getRuleListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getRuleListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getRuleListResponse), type); + soap_out_PointerTongwt__RuleList(soap, "ngwm:rules", -1, &(((_ngwm__getRuleListResponse*)a)->rules), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getRuleListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getRuleListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getRuleListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_get__ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getRuleListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getRuleListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getRuleListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_in__ngwm__getRuleListResponse(struct soap *soap, const char *tag, _ngwm__getRuleListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getRuleListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getRuleListResponse, sizeof(_ngwm__getRuleListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getRuleListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getRuleListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_rules1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_rules1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RuleList(soap, "ngwm:rules", &(((_ngwm__getRuleListResponse*)a)->rules), "ngwt:RuleList")) + { soap_flag_rules1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getRuleListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getRuleListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListResponse, 0, sizeof(_ngwm__getRuleListResponse), 0, soap_copy__ngwm__getRuleListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_new__ngwm__getRuleListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getRuleListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getRuleListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getRuleListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getRuleListResponse; + if (size) + *size = sizeof(_ngwm__getRuleListResponse); + ((_ngwm__getRuleListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getRuleListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getRuleListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getRuleListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getRuleListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getRuleListResponse %p -> %p\n", q, p)); + *(_ngwm__getRuleListResponse*)p = *(_ngwm__getRuleListResponse*)q; +} + +void _ngwm__getRuleListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getRuleListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getRuleListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getRuleListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getRuleListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getRuleListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getRuleListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getRuleListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getRuleListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getRuleListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_get__ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getRuleListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getRuleListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getRuleListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_in__ngwm__getRuleListRequest(struct soap *soap, const char *tag, _ngwm__getRuleListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getRuleListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getRuleListRequest, sizeof(_ngwm__getRuleListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getRuleListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getRuleListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getRuleListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListRequest, 0, sizeof(_ngwm__getRuleListRequest), 0, soap_copy__ngwm__getRuleListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_new__ngwm__getRuleListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getRuleListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getRuleListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getRuleListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getRuleListRequest; + if (size) + *size = sizeof(_ngwm__getRuleListRequest); + ((_ngwm__getRuleListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getRuleListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getRuleListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getRuleListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getRuleListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getRuleListRequest %p -> %p\n", q, p)); + *(_ngwm__getRuleListRequest*)p = *(_ngwm__getRuleListRequest*)q; +} + +void _ngwm__getProxyListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getProxyListResponse*)this)->proxies, SOAP_TYPE_PointerTongwt__ProxyList); + soap_serialize_PointerTongwt__ProxyList(soap, &((_ngwm__getProxyListResponse*)this)->proxies); + soap_embedded(soap, &((_ngwm__getProxyListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getProxyListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getProxyListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getProxyListResponse*)this)->proxies = NULL; + ((_ngwm__getProxyListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getProxyListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getProxyListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getProxyListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getProxyListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyListResponse), type); + soap_out_PointerTongwt__ProxyList(soap, "ngwm:proxies", -1, &(((_ngwm__getProxyListResponse*)a)->proxies), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getProxyListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getProxyListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getProxyListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getProxyListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getProxyListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getProxyListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyListResponse(struct soap *soap, const char *tag, _ngwm__getProxyListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getProxyListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyListResponse, sizeof(_ngwm__getProxyListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getProxyListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getProxyListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_proxies1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_proxies1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ProxyList(soap, "ngwm:proxies", &(((_ngwm__getProxyListResponse*)a)->proxies), "ngwt:ProxyList")) + { soap_flag_proxies1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getProxyListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getProxyListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListResponse, 0, sizeof(_ngwm__getProxyListResponse), 0, soap_copy__ngwm__getProxyListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getProxyListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getProxyListResponse; + if (size) + *size = sizeof(_ngwm__getProxyListResponse); + ((_ngwm__getProxyListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getProxyListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getProxyListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getProxyListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getProxyListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyListResponse %p -> %p\n", q, p)); + *(_ngwm__getProxyListResponse*)p = *(_ngwm__getProxyListResponse*)q; +} + +void _ngwm__getProxyListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getProxyListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getProxyListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getProxyListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getProxyListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getProxyListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getProxyListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getProxyListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getProxyListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getProxyListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getProxyListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyListRequest(struct soap *soap, const char *tag, _ngwm__getProxyListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getProxyListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyListRequest, sizeof(_ngwm__getProxyListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getProxyListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getProxyListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getProxyListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListRequest, 0, sizeof(_ngwm__getProxyListRequest), 0, soap_copy__ngwm__getProxyListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getProxyListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getProxyListRequest; + if (size) + *size = sizeof(_ngwm__getProxyListRequest); + ((_ngwm__getProxyListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getProxyListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getProxyListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getProxyListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getProxyListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyListRequest %p -> %p\n", q, p)); + *(_ngwm__getProxyListRequest*)p = *(_ngwm__getProxyListRequest*)q; +} + +void _ngwm__getProxyAccessListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getProxyAccessListResponse*)this)->accessRights, SOAP_TYPE_PointerTongwt__AccessRightList); + soap_serialize_PointerTongwt__AccessRightList(soap, &((_ngwm__getProxyAccessListResponse*)this)->accessRights); + soap_embedded(soap, &((_ngwm__getProxyAccessListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getProxyAccessListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getProxyAccessListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getProxyAccessListResponse*)this)->accessRights = NULL; + ((_ngwm__getProxyAccessListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getProxyAccessListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyAccessListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getProxyAccessListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getProxyAccessListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getProxyAccessListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyAccessListResponse), type); + soap_out_PointerTongwt__AccessRightList(soap, "ngwm:accessRights", -1, &(((_ngwm__getProxyAccessListResponse*)a)->accessRights), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getProxyAccessListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getProxyAccessListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getProxyAccessListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getProxyAccessListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getProxyAccessListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getProxyAccessListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, _ngwm__getProxyAccessListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getProxyAccessListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyAccessListResponse, sizeof(_ngwm__getProxyAccessListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getProxyAccessListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getProxyAccessListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_accessRights1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_accessRights1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightList(soap, "ngwm:accessRights", &(((_ngwm__getProxyAccessListResponse*)a)->accessRights), "ngwt:AccessRightList")) + { soap_flag_accessRights1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getProxyAccessListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getProxyAccessListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListResponse, 0, sizeof(_ngwm__getProxyAccessListResponse), 0, soap_copy__ngwm__getProxyAccessListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getProxyAccessListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyAccessListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyAccessListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getProxyAccessListResponse; + if (size) + *size = sizeof(_ngwm__getProxyAccessListResponse); + ((_ngwm__getProxyAccessListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getProxyAccessListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getProxyAccessListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getProxyAccessListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getProxyAccessListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyAccessListResponse %p -> %p\n", q, p)); + *(_ngwm__getProxyAccessListResponse*)p = *(_ngwm__getProxyAccessListResponse*)q; +} + +void _ngwm__getProxyAccessListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getProxyAccessListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getProxyAccessListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getProxyAccessListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getProxyAccessListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getProxyAccessListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getProxyAccessListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getProxyAccessListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getProxyAccessListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getProxyAccessListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getProxyAccessListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getProxyAccessListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getProxyAccessListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, _ngwm__getProxyAccessListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getProxyAccessListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getProxyAccessListRequest, sizeof(_ngwm__getProxyAccessListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getProxyAccessListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getProxyAccessListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getProxyAccessListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListRequest, 0, sizeof(_ngwm__getProxyAccessListRequest), 0, soap_copy__ngwm__getProxyAccessListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getProxyAccessListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getProxyAccessListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getProxyAccessListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getProxyAccessListRequest; + if (size) + *size = sizeof(_ngwm__getProxyAccessListRequest); + ((_ngwm__getProxyAccessListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getProxyAccessListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getProxyAccessListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getProxyAccessListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getProxyAccessListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getProxyAccessListRequest %p -> %p\n", q, p)); + *(_ngwm__getProxyAccessListRequest*)p = *(_ngwm__getProxyAccessListRequest*)q; +} + +void _ngwm__getQuickMessagesResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getQuickMessagesResponse*)this)->ngwt__startDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__getQuickMessagesResponse*)this)->ngwt__startDate); + soap_embedded(soap, &((_ngwm__getQuickMessagesResponse*)this)->items, SOAP_TYPE_PointerTongwt__Items); + soap_serialize_PointerTongwt__Items(soap, &((_ngwm__getQuickMessagesResponse*)this)->items); + soap_embedded(soap, &((_ngwm__getQuickMessagesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getQuickMessagesResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getQuickMessagesResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((_ngwm__getQuickMessagesResponse*)this)->ngwt__startDate); + ((_ngwm__getQuickMessagesResponse*)this)->items = NULL; + ((_ngwm__getQuickMessagesResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getQuickMessagesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getQuickMessagesResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getQuickMessagesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getQuickMessagesResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, int id, const _ngwm__getQuickMessagesResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getQuickMessagesResponse), type); + soap_out_string(soap, "ngwt:startDate", -1, &(((_ngwm__getQuickMessagesResponse*)a)->ngwt__startDate), ""); + soap_out_PointerTongwt__Items(soap, "ngwm:items", -1, &(((_ngwm__getQuickMessagesResponse*)a)->items), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getQuickMessagesResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getQuickMessagesResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getQuickMessagesResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getQuickMessagesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getQuickMessagesResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getQuickMessagesResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, _ngwm__getQuickMessagesResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getQuickMessagesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getQuickMessagesResponse, sizeof(_ngwm__getQuickMessagesResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getQuickMessagesResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getQuickMessagesResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_ngwt__startDate1 = 1, soap_flag_items1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwt__startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:startDate", &(((_ngwm__getQuickMessagesResponse*)a)->ngwt__startDate), "")) + { soap_flag_ngwt__startDate1 = 0; + continue; + } + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Items(soap, "ngwm:items", &(((_ngwm__getQuickMessagesResponse*)a)->items), "ngwt:Items")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getQuickMessagesResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getQuickMessagesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesResponse, 0, sizeof(_ngwm__getQuickMessagesResponse), 0, soap_copy__ngwm__getQuickMessagesResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getQuickMessagesResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getQuickMessagesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getQuickMessagesResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getQuickMessagesResponse; + if (size) + *size = sizeof(_ngwm__getQuickMessagesResponse); + ((_ngwm__getQuickMessagesResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getQuickMessagesResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getQuickMessagesResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getQuickMessagesResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getQuickMessagesResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getQuickMessagesResponse %p -> %p\n", q, p)); + *(_ngwm__getQuickMessagesResponse*)p = *(_ngwm__getQuickMessagesResponse*)q; +} + +void _ngwm__getQuickMessagesRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->list, SOAP_TYPE_ngwt__MessageList); + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->ngwt__startDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((_ngwm__getQuickMessagesRequest*)this)->ngwt__startDate); + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__getQuickMessagesRequest*)this)->container); + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->types, SOAP_TYPE_PointerTongwt__MessageTypeList); + soap_serialize_PointerTongwt__MessageTypeList(soap, &((_ngwm__getQuickMessagesRequest*)this)->types); + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->source, SOAP_TYPE_PointerTongwt__ItemSourceList); + soap_serialize_PointerTongwt__ItemSourceList(soap, &((_ngwm__getQuickMessagesRequest*)this)->source); + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__getQuickMessagesRequest*)this)->view); + soap_embedded(soap, &((_ngwm__getQuickMessagesRequest*)this)->count, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void _ngwm__getQuickMessagesRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__MessageList(soap, &((_ngwm__getQuickMessagesRequest*)this)->list); + soap_default_string(soap, &((_ngwm__getQuickMessagesRequest*)this)->ngwt__startDate); + ((_ngwm__getQuickMessagesRequest*)this)->container = NULL; + ((_ngwm__getQuickMessagesRequest*)this)->types = NULL; + ((_ngwm__getQuickMessagesRequest*)this)->source = NULL; + ((_ngwm__getQuickMessagesRequest*)this)->view = NULL; + ((_ngwm__getQuickMessagesRequest*)this)->count = -1; + /* transient soap skipped */ +} + +int _ngwm__getQuickMessagesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getQuickMessagesRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getQuickMessagesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getQuickMessagesRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, int id, const _ngwm__getQuickMessagesRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getQuickMessagesRequest), type); + soap_out_ngwt__MessageList(soap, "ngwm:list", -1, &(((_ngwm__getQuickMessagesRequest*)a)->list), ""); + soap_out_string(soap, "ngwt:startDate", -1, &(((_ngwm__getQuickMessagesRequest*)a)->ngwt__startDate), ""); + soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getQuickMessagesRequest*)a)->container), ""); + soap_out_PointerTongwt__MessageTypeList(soap, "ngwm:types", -1, &(((_ngwm__getQuickMessagesRequest*)a)->types), ""); + soap_out_PointerTongwt__ItemSourceList(soap, "ngwm:source", -1, &(((_ngwm__getQuickMessagesRequest*)a)->source), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getQuickMessagesRequest*)a)->view), ""); + soap_out_int(soap, "ngwm:count", -1, &(((_ngwm__getQuickMessagesRequest*)a)->count), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getQuickMessagesRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getQuickMessagesRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getQuickMessagesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getQuickMessagesRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getQuickMessagesRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, _ngwm__getQuickMessagesRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getQuickMessagesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getQuickMessagesRequest, sizeof(_ngwm__getQuickMessagesRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getQuickMessagesRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getQuickMessagesRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_list1 = 1, soap_flag_ngwt__startDate1 = 1, soap_flag_container1 = 1, soap_flag_types1 = 1, soap_flag_source1 = 1, soap_flag_view1 = 1, soap_flag_count1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_list1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__MessageList(soap, "ngwm:list", &(((_ngwm__getQuickMessagesRequest*)a)->list), "")) + { soap_flag_list1 = 0; + continue; + } + if (soap_flag_ngwt__startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:startDate", &(((_ngwm__getQuickMessagesRequest*)a)->ngwt__startDate), "")) + { soap_flag_ngwt__startDate1 = 0; + continue; + } + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__getQuickMessagesRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_types1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageTypeList(soap, "ngwm:types", &(((_ngwm__getQuickMessagesRequest*)a)->types), "")) + { soap_flag_types1 = 0; + continue; + } + if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSourceList(soap, "ngwm:source", &(((_ngwm__getQuickMessagesRequest*)a)->source), "")) + { soap_flag_source1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getQuickMessagesRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:count", &(((_ngwm__getQuickMessagesRequest*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_list1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getQuickMessagesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesRequest, 0, sizeof(_ngwm__getQuickMessagesRequest), 0, soap_copy__ngwm__getQuickMessagesRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getQuickMessagesRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getQuickMessagesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getQuickMessagesRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getQuickMessagesRequest; + if (size) + *size = sizeof(_ngwm__getQuickMessagesRequest); + ((_ngwm__getQuickMessagesRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getQuickMessagesRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getQuickMessagesRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getQuickMessagesRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getQuickMessagesRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getQuickMessagesRequest %p -> %p\n", q, p)); + *(_ngwm__getQuickMessagesRequest*)p = *(_ngwm__getQuickMessagesRequest*)q; +} + +void _ngwm__getLibraryListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getLibraryListResponse*)this)->libraries, SOAP_TYPE_PointerTongwt__LibraryList); + soap_serialize_PointerTongwt__LibraryList(soap, &((_ngwm__getLibraryListResponse*)this)->libraries); + soap_embedded(soap, &((_ngwm__getLibraryListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getLibraryListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getLibraryListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getLibraryListResponse*)this)->libraries = NULL; + ((_ngwm__getLibraryListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getLibraryListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getLibraryListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getLibraryListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryListResponse), type); + soap_out_PointerTongwt__LibraryList(soap, "ngwm:libraries", -1, &(((_ngwm__getLibraryListResponse*)a)->libraries), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getLibraryListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getLibraryListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getLibraryListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getLibraryListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getLibraryListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getLibraryListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryListResponse(struct soap *soap, const char *tag, _ngwm__getLibraryListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getLibraryListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryListResponse, sizeof(_ngwm__getLibraryListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getLibraryListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_libraries1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_libraries1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LibraryList(soap, "ngwm:libraries", &(((_ngwm__getLibraryListResponse*)a)->libraries), "ngwt:LibraryList")) + { soap_flag_libraries1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getLibraryListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getLibraryListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListResponse, 0, sizeof(_ngwm__getLibraryListResponse), 0, soap_copy__ngwm__getLibraryListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getLibraryListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getLibraryListResponse; + if (size) + *size = sizeof(_ngwm__getLibraryListResponse); + ((_ngwm__getLibraryListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getLibraryListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getLibraryListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getLibraryListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getLibraryListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryListResponse %p -> %p\n", q, p)); + *(_ngwm__getLibraryListResponse*)p = *(_ngwm__getLibraryListResponse*)q; +} + +void _ngwm__getLibraryListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getLibraryListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getLibraryListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getLibraryListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getLibraryListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getLibraryListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getLibraryListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getLibraryListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getLibraryListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getLibraryListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryListRequest(struct soap *soap, const char *tag, _ngwm__getLibraryListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getLibraryListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryListRequest, sizeof(_ngwm__getLibraryListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getLibraryListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getLibraryListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListRequest, 0, sizeof(_ngwm__getLibraryListRequest), 0, soap_copy__ngwm__getLibraryListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getLibraryListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getLibraryListRequest; + if (size) + *size = sizeof(_ngwm__getLibraryListRequest); + ((_ngwm__getLibraryListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getLibraryListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getLibraryListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getLibraryListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getLibraryListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryListRequest %p -> %p\n", q, p)); + *(_ngwm__getLibraryListRequest*)p = *(_ngwm__getLibraryListRequest*)q; +} + +void _ngwm__getLibraryItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getLibraryItemResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((_ngwm__getLibraryItemResponse*)this)->item); + soap_embedded(soap, &((_ngwm__getLibraryItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getLibraryItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getLibraryItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getLibraryItemResponse*)this)->item = NULL; + ((_ngwm__getLibraryItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getLibraryItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getLibraryItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getLibraryItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryItemResponse), type); + soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__getLibraryItemResponse*)a)->item), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getLibraryItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getLibraryItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getLibraryItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getLibraryItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getLibraryItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getLibraryItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, _ngwm__getLibraryItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getLibraryItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryItemResponse, sizeof(_ngwm__getLibraryItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getLibraryItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_item1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__getLibraryItemResponse*)a)->item), "ngwt:Item")) + { soap_flag_item1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getLibraryItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getLibraryItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemResponse, 0, sizeof(_ngwm__getLibraryItemResponse), 0, soap_copy__ngwm__getLibraryItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getLibraryItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getLibraryItemResponse; + if (size) + *size = sizeof(_ngwm__getLibraryItemResponse); + ((_ngwm__getLibraryItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getLibraryItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getLibraryItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getLibraryItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getLibraryItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryItemResponse %p -> %p\n", q, p)); + *(_ngwm__getLibraryItemResponse*)p = *(_ngwm__getLibraryItemResponse*)q; +} + +void _ngwm__getLibraryItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getLibraryItemRequest*)this)->library, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getLibraryItemRequest*)this)->library); + soap_embedded(soap, &((_ngwm__getLibraryItemRequest*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((_ngwm__getLibraryItemRequest*)this)->documentNumber); + soap_embedded(soap, &((_ngwm__getLibraryItemRequest*)this)->versionNumber, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__getLibraryItemRequest*)this)->versionNumber); + /* transient soap skipped */ +} + +void _ngwm__getLibraryItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getLibraryItemRequest*)this)->library); + ((_ngwm__getLibraryItemRequest*)this)->documentNumber = NULL; + ((_ngwm__getLibraryItemRequest*)this)->versionNumber = NULL; + /* transient soap skipped */ +} + +int _ngwm__getLibraryItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getLibraryItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getLibraryItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getLibraryItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__getLibraryItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getLibraryItemRequest), type); + soap_out_ngwt__uid(soap, "ngwm:library", -1, &(((_ngwm__getLibraryItemRequest*)a)->library), ""); + soap_out_PointerTounsignedLong(soap, "ngwm:documentNumber", -1, &(((_ngwm__getLibraryItemRequest*)a)->documentNumber), ""); + soap_out_PointerTostd__string(soap, "ngwm:versionNumber", -1, &(((_ngwm__getLibraryItemRequest*)a)->versionNumber), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getLibraryItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getLibraryItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getLibraryItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getLibraryItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getLibraryItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, _ngwm__getLibraryItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getLibraryItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getLibraryItemRequest, sizeof(_ngwm__getLibraryItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getLibraryItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getLibraryItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_versionNumber1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_library1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:library", &(((_ngwm__getLibraryItemRequest*)a)->library), "ngwt:uid")) + { soap_flag_library1 = 0; + continue; + } + if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwm:documentNumber", &(((_ngwm__getLibraryItemRequest*)a)->documentNumber), "")) + { soap_flag_documentNumber1 = 0; + continue; + } + if (soap_flag_versionNumber1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:versionNumber", &(((_ngwm__getLibraryItemRequest*)a)->versionNumber), "")) + { soap_flag_versionNumber1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_library1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getLibraryItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemRequest, 0, sizeof(_ngwm__getLibraryItemRequest), 0, soap_copy__ngwm__getLibraryItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getLibraryItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getLibraryItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getLibraryItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getLibraryItemRequest; + if (size) + *size = sizeof(_ngwm__getLibraryItemRequest); + ((_ngwm__getLibraryItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getLibraryItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getLibraryItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getLibraryItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getLibraryItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getLibraryItemRequest %p -> %p\n", q, p)); + *(_ngwm__getLibraryItemRequest*)p = *(_ngwm__getLibraryItemRequest*)q; +} + +void _ngwm__getJunkMailSettingsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->settings, SOAP_TYPE_PointerTongwt__SettingsList); + soap_serialize_PointerTongwt__SettingsList(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->settings); + soap_embedded(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getJunkMailSettingsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getJunkMailSettingsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getJunkMailSettingsResponse*)this)->settings = NULL; + ((_ngwm__getJunkMailSettingsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getJunkMailSettingsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkMailSettingsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getJunkMailSettingsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getJunkMailSettingsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, const _ngwm__getJunkMailSettingsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse), type); + soap_out_PointerTongwt__SettingsList(soap, "ngwm:settings", -1, &(((_ngwm__getJunkMailSettingsResponse*)a)->settings), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getJunkMailSettingsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getJunkMailSettingsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getJunkMailSettingsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getJunkMailSettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getJunkMailSettingsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getJunkMailSettingsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getJunkMailSettingsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, sizeof(_ngwm__getJunkMailSettingsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getJunkMailSettingsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getJunkMailSettingsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_settings1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_settings1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SettingsList(soap, "ngwm:settings", &(((_ngwm__getJunkMailSettingsResponse*)a)->settings), "ngwt:SettingsList")) + { soap_flag_settings1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getJunkMailSettingsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getJunkMailSettingsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, 0, sizeof(_ngwm__getJunkMailSettingsResponse), 0, soap_copy__ngwm__getJunkMailSettingsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getJunkMailSettingsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkMailSettingsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getJunkMailSettingsResponse; + if (size) + *size = sizeof(_ngwm__getJunkMailSettingsResponse); + ((_ngwm__getJunkMailSettingsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getJunkMailSettingsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getJunkMailSettingsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getJunkMailSettingsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getJunkMailSettingsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkMailSettingsResponse %p -> %p\n", q, p)); + *(_ngwm__getJunkMailSettingsResponse*)p = *(_ngwm__getJunkMailSettingsResponse*)q; +} + +void _ngwm__getJunkMailSettingsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getJunkMailSettingsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getJunkMailSettingsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkMailSettingsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getJunkMailSettingsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getJunkMailSettingsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const _ngwm__getJunkMailSettingsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getJunkMailSettingsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getJunkMailSettingsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getJunkMailSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getJunkMailSettingsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getJunkMailSettingsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getJunkMailSettingsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, sizeof(_ngwm__getJunkMailSettingsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getJunkMailSettingsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getJunkMailSettingsRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getJunkMailSettingsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, 0, sizeof(_ngwm__getJunkMailSettingsRequest), 0, soap_copy__ngwm__getJunkMailSettingsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getJunkMailSettingsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkMailSettingsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getJunkMailSettingsRequest; + if (size) + *size = sizeof(_ngwm__getJunkMailSettingsRequest); + ((_ngwm__getJunkMailSettingsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getJunkMailSettingsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getJunkMailSettingsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getJunkMailSettingsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getJunkMailSettingsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkMailSettingsRequest %p -> %p\n", q, p)); + *(_ngwm__getJunkMailSettingsRequest*)p = *(_ngwm__getJunkMailSettingsRequest*)q; +} + +void _ngwm__getJunkEntriesResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->junk, SOAP_TYPE_PointerTongwt__JunkHandlingList); + soap_serialize_PointerTongwt__JunkHandlingList(soap, &((_ngwm__getJunkEntriesResponse*)this)->junk); + soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->block, SOAP_TYPE_PointerTongwt__JunkHandlingList); + soap_serialize_PointerTongwt__JunkHandlingList(soap, &((_ngwm__getJunkEntriesResponse*)this)->block); + soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->trust, SOAP_TYPE_PointerTongwt__JunkHandlingList); + soap_serialize_PointerTongwt__JunkHandlingList(soap, &((_ngwm__getJunkEntriesResponse*)this)->trust); + soap_embedded(soap, &((_ngwm__getJunkEntriesResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getJunkEntriesResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getJunkEntriesResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getJunkEntriesResponse*)this)->junk = NULL; + ((_ngwm__getJunkEntriesResponse*)this)->block = NULL; + ((_ngwm__getJunkEntriesResponse*)this)->trust = NULL; + ((_ngwm__getJunkEntriesResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getJunkEntriesResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkEntriesResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getJunkEntriesResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getJunkEntriesResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, int id, const _ngwm__getJunkEntriesResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkEntriesResponse), type); + soap_out_PointerTongwt__JunkHandlingList(soap, "ngwm:junk", -1, &(((_ngwm__getJunkEntriesResponse*)a)->junk), ""); + soap_out_PointerTongwt__JunkHandlingList(soap, "ngwm:block", -1, &(((_ngwm__getJunkEntriesResponse*)a)->block), ""); + soap_out_PointerTongwt__JunkHandlingList(soap, "ngwm:trust", -1, &(((_ngwm__getJunkEntriesResponse*)a)->trust), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getJunkEntriesResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getJunkEntriesResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getJunkEntriesResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getJunkEntriesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getJunkEntriesResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getJunkEntriesResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, _ngwm__getJunkEntriesResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getJunkEntriesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkEntriesResponse, sizeof(_ngwm__getJunkEntriesResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getJunkEntriesResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getJunkEntriesResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_junk1 = 1, soap_flag_block1 = 1, soap_flag_trust1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_junk1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkHandlingList(soap, "ngwm:junk", &(((_ngwm__getJunkEntriesResponse*)a)->junk), "ngwt:JunkHandlingList")) + { soap_flag_junk1 = 0; + continue; + } + if (soap_flag_block1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkHandlingList(soap, "ngwm:block", &(((_ngwm__getJunkEntriesResponse*)a)->block), "ngwt:JunkHandlingList")) + { soap_flag_block1 = 0; + continue; + } + if (soap_flag_trust1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkHandlingList(soap, "ngwm:trust", &(((_ngwm__getJunkEntriesResponse*)a)->trust), "ngwt:JunkHandlingList")) + { soap_flag_trust1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getJunkEntriesResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getJunkEntriesResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesResponse, 0, sizeof(_ngwm__getJunkEntriesResponse), 0, soap_copy__ngwm__getJunkEntriesResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getJunkEntriesResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkEntriesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkEntriesResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getJunkEntriesResponse; + if (size) + *size = sizeof(_ngwm__getJunkEntriesResponse); + ((_ngwm__getJunkEntriesResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getJunkEntriesResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getJunkEntriesResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getJunkEntriesResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getJunkEntriesResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkEntriesResponse %p -> %p\n", q, p)); + *(_ngwm__getJunkEntriesResponse*)p = *(_ngwm__getJunkEntriesResponse*)q; +} + +void _ngwm__getJunkEntriesRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getJunkEntriesRequest*)this)->container, SOAP_TYPE_PointerTongwt__JunkHandlingListType); + soap_serialize_PointerTongwt__JunkHandlingListType(soap, &((_ngwm__getJunkEntriesRequest*)this)->container); + /* transient soap skipped */ +} + +void _ngwm__getJunkEntriesRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getJunkEntriesRequest*)this)->container = NULL; + /* transient soap skipped */ +} + +int _ngwm__getJunkEntriesRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getJunkEntriesRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getJunkEntriesRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getJunkEntriesRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, int id, const _ngwm__getJunkEntriesRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getJunkEntriesRequest), type); + soap_out_PointerTongwt__JunkHandlingListType(soap, "ngwm:container", -1, &(((_ngwm__getJunkEntriesRequest*)a)->container), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getJunkEntriesRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getJunkEntriesRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getJunkEntriesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getJunkEntriesRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getJunkEntriesRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, _ngwm__getJunkEntriesRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getJunkEntriesRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getJunkEntriesRequest, sizeof(_ngwm__getJunkEntriesRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getJunkEntriesRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getJunkEntriesRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkHandlingListType(soap, "ngwm:container", &(((_ngwm__getJunkEntriesRequest*)a)->container), "")) + { soap_flag_container1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getJunkEntriesRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesRequest, 0, sizeof(_ngwm__getJunkEntriesRequest), 0, soap_copy__ngwm__getJunkEntriesRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getJunkEntriesRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getJunkEntriesRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getJunkEntriesRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getJunkEntriesRequest; + if (size) + *size = sizeof(_ngwm__getJunkEntriesRequest); + ((_ngwm__getJunkEntriesRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getJunkEntriesRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getJunkEntriesRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getJunkEntriesRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getJunkEntriesRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getJunkEntriesRequest %p -> %p\n", q, p)); + *(_ngwm__getJunkEntriesRequest*)p = *(_ngwm__getJunkEntriesRequest*)q; +} + +void _ngwm__getItemsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getItemsResponse*)this)->items, SOAP_TYPE_PointerTongwt__Items); + soap_serialize_PointerTongwt__Items(soap, &((_ngwm__getItemsResponse*)this)->items); + soap_embedded(soap, &((_ngwm__getItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getItemsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getItemsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getItemsResponse*)this)->items = NULL; + ((_ngwm__getItemsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getItemsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__getItemsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemsResponse), type); + soap_out_PointerTongwt__Items(soap, "ngwm:items", -1, &(((_ngwm__getItemsResponse*)a)->items), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getItemsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getItemsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_get__ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getItemsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_in__ngwm__getItemsResponse(struct soap *soap, const char *tag, _ngwm__getItemsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemsResponse, sizeof(_ngwm__getItemsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getItemsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getItemsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Items(soap, "ngwm:items", &(((_ngwm__getItemsResponse*)a)->items), "ngwt:Items")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getItemsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsResponse, 0, sizeof(_ngwm__getItemsResponse), 0, soap_copy__ngwm__getItemsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_new__ngwm__getItemsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getItemsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getItemsResponse; + if (size) + *size = sizeof(_ngwm__getItemsResponse); + ((_ngwm__getItemsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getItemsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getItemsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getItemsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getItemsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemsResponse %p -> %p\n", q, p)); + *(_ngwm__getItemsResponse*)p = *(_ngwm__getItemsResponse*)q; +} + +void _ngwm__getItemsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__getItemsRequest*)this)->container); + soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__getItemsRequest*)this)->view); + soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->filter, SOAP_TYPE_PointerTongwt__Filter); + soap_serialize_PointerTongwt__Filter(soap, &((_ngwm__getItemsRequest*)this)->filter); + soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__getItemsRequest*)this)->items); + soap_embedded(soap, &((_ngwm__getItemsRequest*)this)->count, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void _ngwm__getItemsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getItemsRequest*)this)->container = NULL; + ((_ngwm__getItemsRequest*)this)->view = NULL; + ((_ngwm__getItemsRequest*)this)->filter = NULL; + ((_ngwm__getItemsRequest*)this)->items = NULL; + ((_ngwm__getItemsRequest*)this)->count = -1; + /* transient soap skipped */ +} + +int _ngwm__getItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getItemsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__getItemsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemsRequest), type); + soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getItemsRequest*)a)->container), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getItemsRequest*)a)->view), ""); + soap_out_PointerTongwt__Filter(soap, "ngwm:filter", -1, &(((_ngwm__getItemsRequest*)a)->filter), ""); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__getItemsRequest*)a)->items), ""); + soap_out_int(soap, "ngwm:count", -1, &(((_ngwm__getItemsRequest*)a)->count), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getItemsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_get__ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getItemsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_in__ngwm__getItemsRequest(struct soap *soap, const char *tag, _ngwm__getItemsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemsRequest, sizeof(_ngwm__getItemsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getItemsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getItemsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_view1 = 1, soap_flag_filter1 = 1, soap_flag_items1 = 1, soap_flag_count1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__getItemsRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getItemsRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Filter(soap, "ngwm:filter", &(((_ngwm__getItemsRequest*)a)->filter), "ngwt:Filter")) + { soap_flag_filter1 = 0; + continue; + } + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__getItemsRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:count", &(((_ngwm__getItemsRequest*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsRequest, 0, sizeof(_ngwm__getItemsRequest), 0, soap_copy__ngwm__getItemsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_new__ngwm__getItemsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getItemsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getItemsRequest; + if (size) + *size = sizeof(_ngwm__getItemsRequest); + ((_ngwm__getItemsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getItemsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getItemsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getItemsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getItemsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemsRequest %p -> %p\n", q, p)); + *(_ngwm__getItemsRequest*)p = *(_ngwm__getItemsRequest*)q; +} + +void _ngwm__getItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getItemResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((_ngwm__getItemResponse*)this)->item); + soap_embedded(soap, &((_ngwm__getItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getItemResponse*)this)->item = NULL; + ((_ngwm__getItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__getItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemResponse), type); + soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__getItemResponse*)a)->item), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_get__ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_in__ngwm__getItemResponse(struct soap *soap, const char *tag, _ngwm__getItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemResponse, sizeof(_ngwm__getItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_item1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__getItemResponse*)a)->item), "ngwt:Item")) + { soap_flag_item1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemResponse, 0, sizeof(_ngwm__getItemResponse), 0, soap_copy__ngwm__getItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_new__ngwm__getItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getItemResponse; + if (size) + *size = sizeof(_ngwm__getItemResponse); + ((_ngwm__getItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemResponse %p -> %p\n", q, p)); + *(_ngwm__getItemResponse*)p = *(_ngwm__getItemResponse*)q; +} + +void _ngwm__getItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getItemRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getItemRequest*)this)->id); + soap_embedded(soap, &((_ngwm__getItemRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__getItemRequest*)this)->view); + /* transient soap skipped */ +} + +void _ngwm__getItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getItemRequest*)this)->id); + ((_ngwm__getItemRequest*)this)->view = NULL; + /* transient soap skipped */ +} + +int _ngwm__getItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__getItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getItemRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__getItemRequest*)a)->id), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getItemRequest*)a)->view), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_get__ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_in__ngwm__getItemRequest(struct soap *soap, const char *tag, _ngwm__getItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getItemRequest, sizeof(_ngwm__getItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_view1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__getItemRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getItemRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemRequest, 0, sizeof(_ngwm__getItemRequest), 0, soap_copy__ngwm__getItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_new__ngwm__getItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getItemRequest; + if (size) + *size = sizeof(_ngwm__getItemRequest); + ((_ngwm__getItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getItemRequest %p -> %p\n", q, p)); + *(_ngwm__getItemRequest*)p = *(_ngwm__getItemRequest*)q; +} + +void _ngwm__getFreeBusyResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyStats, SOAP_TYPE_PointerTongwt__FreeBusyStats); + soap_serialize_PointerTongwt__FreeBusyStats(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyStats); + soap_embedded(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyInfo, SOAP_TYPE_PointerTongwt__FreeBusyInfoList); + soap_serialize_PointerTongwt__FreeBusyInfoList(soap, &((_ngwm__getFreeBusyResponse*)this)->freeBusyInfo); + soap_embedded(soap, &((_ngwm__getFreeBusyResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getFreeBusyResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getFreeBusyResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getFreeBusyResponse*)this)->freeBusyStats = NULL; + ((_ngwm__getFreeBusyResponse*)this)->freeBusyInfo = NULL; + ((_ngwm__getFreeBusyResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getFreeBusyResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFreeBusyResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getFreeBusyResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getFreeBusyResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, int id, const _ngwm__getFreeBusyResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFreeBusyResponse), type); + soap_out_PointerTongwt__FreeBusyStats(soap, "ngwm:freeBusyStats", -1, &(((_ngwm__getFreeBusyResponse*)a)->freeBusyStats), ""); + soap_out_PointerTongwt__FreeBusyInfoList(soap, "ngwm:freeBusyInfo", -1, &(((_ngwm__getFreeBusyResponse*)a)->freeBusyInfo), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getFreeBusyResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getFreeBusyResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getFreeBusyResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_get__ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getFreeBusyResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getFreeBusyResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getFreeBusyResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_in__ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, _ngwm__getFreeBusyResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getFreeBusyResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFreeBusyResponse, sizeof(_ngwm__getFreeBusyResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getFreeBusyResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getFreeBusyResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_freeBusyStats1 = 1, soap_flag_freeBusyInfo1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_freeBusyStats1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FreeBusyStats(soap, "ngwm:freeBusyStats", &(((_ngwm__getFreeBusyResponse*)a)->freeBusyStats), "ngwt:FreeBusyStats")) + { soap_flag_freeBusyStats1 = 0; + continue; + } + if (soap_flag_freeBusyInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FreeBusyInfoList(soap, "ngwm:freeBusyInfo", &(((_ngwm__getFreeBusyResponse*)a)->freeBusyInfo), "ngwt:FreeBusyInfoList")) + { soap_flag_freeBusyInfo1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getFreeBusyResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getFreeBusyResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyResponse, 0, sizeof(_ngwm__getFreeBusyResponse), 0, soap_copy__ngwm__getFreeBusyResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_new__ngwm__getFreeBusyResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getFreeBusyResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFreeBusyResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFreeBusyResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getFreeBusyResponse; + if (size) + *size = sizeof(_ngwm__getFreeBusyResponse); + ((_ngwm__getFreeBusyResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getFreeBusyResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getFreeBusyResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getFreeBusyResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getFreeBusyResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFreeBusyResponse %p -> %p\n", q, p)); + *(_ngwm__getFreeBusyResponse*)p = *(_ngwm__getFreeBusyResponse*)q; +} + +void _ngwm__getFreeBusyRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getFreeBusyRequest*)this)->freeBusySessionId, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((_ngwm__getFreeBusyRequest*)this)->freeBusySessionId); + /* transient soap skipped */ +} + +void _ngwm__getFreeBusyRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((_ngwm__getFreeBusyRequest*)this)->freeBusySessionId); + /* transient soap skipped */ +} + +int _ngwm__getFreeBusyRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFreeBusyRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getFreeBusyRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getFreeBusyRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, int id, const _ngwm__getFreeBusyRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFreeBusyRequest), type); + soap_out_std__string(soap, "ngwm:freeBusySessionId", -1, &(((_ngwm__getFreeBusyRequest*)a)->freeBusySessionId), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getFreeBusyRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getFreeBusyRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_get__ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getFreeBusyRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getFreeBusyRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getFreeBusyRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_in__ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, _ngwm__getFreeBusyRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getFreeBusyRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFreeBusyRequest, sizeof(_ngwm__getFreeBusyRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getFreeBusyRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getFreeBusyRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_freeBusySessionId1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_freeBusySessionId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwm:freeBusySessionId", &(((_ngwm__getFreeBusyRequest*)a)->freeBusySessionId), "")) + { soap_flag_freeBusySessionId1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_freeBusySessionId1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getFreeBusyRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyRequest, 0, sizeof(_ngwm__getFreeBusyRequest), 0, soap_copy__ngwm__getFreeBusyRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_new__ngwm__getFreeBusyRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getFreeBusyRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFreeBusyRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFreeBusyRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getFreeBusyRequest; + if (size) + *size = sizeof(_ngwm__getFreeBusyRequest); + ((_ngwm__getFreeBusyRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getFreeBusyRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getFreeBusyRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getFreeBusyRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getFreeBusyRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFreeBusyRequest %p -> %p\n", q, p)); + *(_ngwm__getFreeBusyRequest*)p = *(_ngwm__getFreeBusyRequest*)q; +} + +void _ngwm__getFolderListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getFolderListResponse*)this)->folders, SOAP_TYPE_PointerTongwt__FolderList); + soap_serialize_PointerTongwt__FolderList(soap, &((_ngwm__getFolderListResponse*)this)->folders); + soap_embedded(soap, &((_ngwm__getFolderListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getFolderListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getFolderListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getFolderListResponse*)this)->folders = NULL; + ((_ngwm__getFolderListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getFolderListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getFolderListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getFolderListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getFolderListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderListResponse), type); + soap_out_PointerTongwt__FolderList(soap, "ngwm:folders", -1, &(((_ngwm__getFolderListResponse*)a)->folders), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getFolderListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getFolderListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getFolderListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_get__ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getFolderListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getFolderListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getFolderListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_in__ngwm__getFolderListResponse(struct soap *soap, const char *tag, _ngwm__getFolderListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getFolderListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderListResponse, sizeof(_ngwm__getFolderListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getFolderListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getFolderListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_folders1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_folders1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderList(soap, "ngwm:folders", &(((_ngwm__getFolderListResponse*)a)->folders), "ngwt:FolderList")) + { soap_flag_folders1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getFolderListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getFolderListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListResponse, 0, sizeof(_ngwm__getFolderListResponse), 0, soap_copy__ngwm__getFolderListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_new__ngwm__getFolderListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getFolderListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getFolderListResponse; + if (size) + *size = sizeof(_ngwm__getFolderListResponse); + ((_ngwm__getFolderListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getFolderListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getFolderListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getFolderListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getFolderListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderListResponse %p -> %p\n", q, p)); + *(_ngwm__getFolderListResponse*)p = *(_ngwm__getFolderListResponse*)q; +} + +void _ngwm__getFolderListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->parent, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getFolderListRequest*)this)->parent); + soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__getFolderListRequest*)this)->view); + soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->recurse, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->imap, SOAP_TYPE_bool); + soap_embedded(soap, &((_ngwm__getFolderListRequest*)this)->nntp, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwm__getFolderListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getFolderListRequest*)this)->parent); + ((_ngwm__getFolderListRequest*)this)->view = NULL; + soap_default_bool(soap, &((_ngwm__getFolderListRequest*)this)->recurse); + ((_ngwm__getFolderListRequest*)this)->imap = (bool)0; + ((_ngwm__getFolderListRequest*)this)->nntp = (bool)0; + /* transient soap skipped */ +} + +int _ngwm__getFolderListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getFolderListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getFolderListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getFolderListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderListRequest), type); + soap_out_ngwt__uid(soap, "ngwm:parent", -1, &(((_ngwm__getFolderListRequest*)a)->parent), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getFolderListRequest*)a)->view), ""); + soap_out_bool(soap, "ngwm:recurse", -1, &(((_ngwm__getFolderListRequest*)a)->recurse), ""); + soap_out_bool(soap, "ngwm:imap", -1, &(((_ngwm__getFolderListRequest*)a)->imap), ""); + soap_out_bool(soap, "ngwm:nntp", -1, &(((_ngwm__getFolderListRequest*)a)->nntp), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getFolderListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getFolderListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_get__ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getFolderListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getFolderListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getFolderListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_in__ngwm__getFolderListRequest(struct soap *soap, const char *tag, _ngwm__getFolderListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getFolderListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderListRequest, sizeof(_ngwm__getFolderListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getFolderListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getFolderListRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_parent1 = 1, soap_flag_view1 = 1, soap_flag_recurse1 = 1, soap_flag_imap1 = 1, soap_flag_nntp1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_parent1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:parent", &(((_ngwm__getFolderListRequest*)a)->parent), "ngwt:uid")) + { soap_flag_parent1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getFolderListRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + if (soap_flag_recurse1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:recurse", &(((_ngwm__getFolderListRequest*)a)->recurse), "")) + { soap_flag_recurse1 = 0; + continue; + } + if (soap_flag_imap1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:imap", &(((_ngwm__getFolderListRequest*)a)->imap), "")) + { soap_flag_imap1 = 0; + continue; + } + if (soap_flag_nntp1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:nntp", &(((_ngwm__getFolderListRequest*)a)->nntp), "")) + { soap_flag_nntp1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent1 || soap_flag_recurse1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getFolderListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListRequest, 0, sizeof(_ngwm__getFolderListRequest), 0, soap_copy__ngwm__getFolderListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_new__ngwm__getFolderListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getFolderListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getFolderListRequest; + if (size) + *size = sizeof(_ngwm__getFolderListRequest); + ((_ngwm__getFolderListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getFolderListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getFolderListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getFolderListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getFolderListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderListRequest %p -> %p\n", q, p)); + *(_ngwm__getFolderListRequest*)p = *(_ngwm__getFolderListRequest*)q; +} + +void _ngwm__getFolderResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getFolderResponse*)this)->folder, SOAP_TYPE_PointerTongwt__Folder); + soap_serialize_PointerTongwt__Folder(soap, &((_ngwm__getFolderResponse*)this)->folder); + soap_embedded(soap, &((_ngwm__getFolderResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getFolderResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getFolderResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getFolderResponse*)this)->folder = NULL; + ((_ngwm__getFolderResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getFolderResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getFolderResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getFolderResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderResponse(struct soap *soap, const char *tag, int id, const _ngwm__getFolderResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderResponse), type); + soap_out_PointerTongwt__Folder(soap, "ngwm:folder", -1, &(((_ngwm__getFolderResponse*)a)->folder), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getFolderResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getFolderResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getFolderResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_get__ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getFolderResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getFolderResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getFolderResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_in__ngwm__getFolderResponse(struct soap *soap, const char *tag, _ngwm__getFolderResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getFolderResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderResponse, sizeof(_ngwm__getFolderResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getFolderResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getFolderResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_folder1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_folder1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Folder(soap, "ngwm:folder", &(((_ngwm__getFolderResponse*)a)->folder), "ngwt:Folder")) + { soap_flag_folder1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getFolderResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getFolderResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderResponse, 0, sizeof(_ngwm__getFolderResponse), 0, soap_copy__ngwm__getFolderResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_new__ngwm__getFolderResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getFolderResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getFolderResponse; + if (size) + *size = sizeof(_ngwm__getFolderResponse); + ((_ngwm__getFolderResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getFolderResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getFolderResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getFolderResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getFolderResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderResponse %p -> %p\n", q, p)); + *(_ngwm__getFolderResponse*)p = *(_ngwm__getFolderResponse*)q; +} + +void _ngwm__getFolderRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__getFolderRequest*)this)->id); + soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType); + soap_serialize_PointerTongwt__FolderType(soap, &((_ngwm__getFolderRequest*)this)->folderType); + soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->types, SOAP_TYPE_PointerTongwt__MessageTypeList); + soap_serialize_PointerTongwt__MessageTypeList(soap, &((_ngwm__getFolderRequest*)this)->types); + soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->source, SOAP_TYPE_PointerTongwt__ItemSourceList); + soap_serialize_PointerTongwt__ItemSourceList(soap, &((_ngwm__getFolderRequest*)this)->source); + soap_embedded(soap, &((_ngwm__getFolderRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__getFolderRequest*)this)->view); + /* transient soap skipped */ +} + +void _ngwm__getFolderRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getFolderRequest*)this)->id = NULL; + ((_ngwm__getFolderRequest*)this)->folderType = NULL; + ((_ngwm__getFolderRequest*)this)->types = NULL; + ((_ngwm__getFolderRequest*)this)->source = NULL; + ((_ngwm__getFolderRequest*)this)->view = NULL; + /* transient soap skipped */ +} + +int _ngwm__getFolderRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getFolderRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getFolderRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getFolderRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderRequest(struct soap *soap, const char *tag, int id, const _ngwm__getFolderRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getFolderRequest), type); + soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__getFolderRequest*)a)->id), ""); + soap_out_PointerTongwt__FolderType(soap, "ngwm:folderType", -1, &(((_ngwm__getFolderRequest*)a)->folderType), ""); + soap_out_PointerTongwt__MessageTypeList(soap, "ngwm:types", -1, &(((_ngwm__getFolderRequest*)a)->types), ""); + soap_out_PointerTongwt__ItemSourceList(soap, "ngwm:source", -1, &(((_ngwm__getFolderRequest*)a)->source), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getFolderRequest*)a)->view), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getFolderRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getFolderRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_get__ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getFolderRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getFolderRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getFolderRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_in__ngwm__getFolderRequest(struct soap *soap, const char *tag, _ngwm__getFolderRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getFolderRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getFolderRequest, sizeof(_ngwm__getFolderRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getFolderRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getFolderRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_folderType1 = 1, soap_flag_types1 = 1, soap_flag_source1 = 1, soap_flag_view1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__getFolderRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_folderType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderType(soap, "ngwm:folderType", &(((_ngwm__getFolderRequest*)a)->folderType), "")) + { soap_flag_folderType1 = 0; + continue; + } + if (soap_flag_types1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageTypeList(soap, "ngwm:types", &(((_ngwm__getFolderRequest*)a)->types), "")) + { soap_flag_types1 = 0; + continue; + } + if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSourceList(soap, "ngwm:source", &(((_ngwm__getFolderRequest*)a)->source), "")) + { soap_flag_source1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getFolderRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getFolderRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderRequest, 0, sizeof(_ngwm__getFolderRequest), 0, soap_copy__ngwm__getFolderRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_new__ngwm__getFolderRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getFolderRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getFolderRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getFolderRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getFolderRequest; + if (size) + *size = sizeof(_ngwm__getFolderRequest); + ((_ngwm__getFolderRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getFolderRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getFolderRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getFolderRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getFolderRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getFolderRequest %p -> %p\n", q, p)); + *(_ngwm__getFolderRequest*)p = *(_ngwm__getFolderRequest*)q; +} + +void _ngwm__getDocumentTypeListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getDocumentTypeListResponse*)this)->items, SOAP_TYPE_PointerTongwt__DocumentTypeList); + soap_serialize_PointerTongwt__DocumentTypeList(soap, &((_ngwm__getDocumentTypeListResponse*)this)->items); + soap_embedded(soap, &((_ngwm__getDocumentTypeListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getDocumentTypeListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getDocumentTypeListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getDocumentTypeListResponse*)this)->items = NULL; + ((_ngwm__getDocumentTypeListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getDocumentTypeListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDocumentTypeListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getDocumentTypeListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getDocumentTypeListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getDocumentTypeListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDocumentTypeListResponse), type); + soap_out_PointerTongwt__DocumentTypeList(soap, "ngwm:items", -1, &(((_ngwm__getDocumentTypeListResponse*)a)->items), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getDocumentTypeListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getDocumentTypeListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getDocumentTypeListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getDocumentTypeListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getDocumentTypeListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getDocumentTypeListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getDocumentTypeListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDocumentTypeListResponse, sizeof(_ngwm__getDocumentTypeListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getDocumentTypeListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getDocumentTypeListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DocumentTypeList(soap, "ngwm:items", &(((_ngwm__getDocumentTypeListResponse*)a)->items), "ngwt:DocumentTypeList")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getDocumentTypeListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getDocumentTypeListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListResponse, 0, sizeof(_ngwm__getDocumentTypeListResponse), 0, soap_copy__ngwm__getDocumentTypeListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getDocumentTypeListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDocumentTypeListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDocumentTypeListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getDocumentTypeListResponse; + if (size) + *size = sizeof(_ngwm__getDocumentTypeListResponse); + ((_ngwm__getDocumentTypeListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getDocumentTypeListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getDocumentTypeListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getDocumentTypeListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getDocumentTypeListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDocumentTypeListResponse %p -> %p\n", q, p)); + *(_ngwm__getDocumentTypeListResponse*)p = *(_ngwm__getDocumentTypeListResponse*)q; +} + +void _ngwm__getDocumentTypeListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getDocumentTypeListRequest*)this)->library, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getDocumentTypeListRequest*)this)->library); + /* transient soap skipped */ +} + +void _ngwm__getDocumentTypeListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getDocumentTypeListRequest*)this)->library); + /* transient soap skipped */ +} + +int _ngwm__getDocumentTypeListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDocumentTypeListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getDocumentTypeListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getDocumentTypeListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getDocumentTypeListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDocumentTypeListRequest), type); + soap_out_ngwt__uid(soap, "ngwm:library", -1, &(((_ngwm__getDocumentTypeListRequest*)a)->library), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getDocumentTypeListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getDocumentTypeListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getDocumentTypeListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getDocumentTypeListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getDocumentTypeListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getDocumentTypeListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDocumentTypeListRequest, sizeof(_ngwm__getDocumentTypeListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getDocumentTypeListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getDocumentTypeListRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_library1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_library1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:library", &(((_ngwm__getDocumentTypeListRequest*)a)->library), "ngwt:uid")) + { soap_flag_library1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_library1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getDocumentTypeListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListRequest, 0, sizeof(_ngwm__getDocumentTypeListRequest), 0, soap_copy__ngwm__getDocumentTypeListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getDocumentTypeListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDocumentTypeListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDocumentTypeListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getDocumentTypeListRequest; + if (size) + *size = sizeof(_ngwm__getDocumentTypeListRequest); + ((_ngwm__getDocumentTypeListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getDocumentTypeListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getDocumentTypeListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getDocumentTypeListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getDocumentTypeListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDocumentTypeListRequest %p -> %p\n", q, p)); + *(_ngwm__getDocumentTypeListRequest*)p = *(_ngwm__getDocumentTypeListRequest*)q; +} + +void _ngwm__getDeltaInfoResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getDeltaInfoResponse*)this)->deltaInfo, SOAP_TYPE_PointerTongwt__DeltaInfo); + soap_serialize_PointerTongwt__DeltaInfo(soap, &((_ngwm__getDeltaInfoResponse*)this)->deltaInfo); + soap_embedded(soap, &((_ngwm__getDeltaInfoResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getDeltaInfoResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getDeltaInfoResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getDeltaInfoResponse*)this)->deltaInfo = NULL; + ((_ngwm__getDeltaInfoResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getDeltaInfoResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltaInfoResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getDeltaInfoResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getDeltaInfoResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, int id, const _ngwm__getDeltaInfoResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltaInfoResponse), type); + soap_out_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", -1, &(((_ngwm__getDeltaInfoResponse*)a)->deltaInfo), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getDeltaInfoResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getDeltaInfoResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getDeltaInfoResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getDeltaInfoResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getDeltaInfoResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getDeltaInfoResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, _ngwm__getDeltaInfoResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getDeltaInfoResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltaInfoResponse, sizeof(_ngwm__getDeltaInfoResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getDeltaInfoResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getDeltaInfoResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_deltaInfo1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_deltaInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", &(((_ngwm__getDeltaInfoResponse*)a)->deltaInfo), "ngwt:DeltaInfo")) + { soap_flag_deltaInfo1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getDeltaInfoResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_deltaInfo1 || soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getDeltaInfoResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoResponse, 0, sizeof(_ngwm__getDeltaInfoResponse), 0, soap_copy__ngwm__getDeltaInfoResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getDeltaInfoResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltaInfoResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltaInfoResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getDeltaInfoResponse; + if (size) + *size = sizeof(_ngwm__getDeltaInfoResponse); + ((_ngwm__getDeltaInfoResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getDeltaInfoResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getDeltaInfoResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getDeltaInfoResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getDeltaInfoResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltaInfoResponse %p -> %p\n", q, p)); + *(_ngwm__getDeltaInfoResponse*)p = *(_ngwm__getDeltaInfoResponse*)q; +} + +void _ngwm__getDeltaInfoRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getDeltaInfoRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getDeltaInfoRequest*)this)->container); + /* transient soap skipped */ +} + +void _ngwm__getDeltaInfoRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getDeltaInfoRequest*)this)->container); + /* transient soap skipped */ +} + +int _ngwm__getDeltaInfoRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltaInfoRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getDeltaInfoRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getDeltaInfoRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, int id, const _ngwm__getDeltaInfoRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltaInfoRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getDeltaInfoRequest*)a)->container), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getDeltaInfoRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getDeltaInfoRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getDeltaInfoRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getDeltaInfoRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getDeltaInfoRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, _ngwm__getDeltaInfoRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getDeltaInfoRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltaInfoRequest, sizeof(_ngwm__getDeltaInfoRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getDeltaInfoRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getDeltaInfoRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__getDeltaInfoRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getDeltaInfoRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoRequest, 0, sizeof(_ngwm__getDeltaInfoRequest), 0, soap_copy__ngwm__getDeltaInfoRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getDeltaInfoRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltaInfoRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltaInfoRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getDeltaInfoRequest; + if (size) + *size = sizeof(_ngwm__getDeltaInfoRequest); + ((_ngwm__getDeltaInfoRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getDeltaInfoRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getDeltaInfoRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getDeltaInfoRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getDeltaInfoRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltaInfoRequest %p -> %p\n", q, p)); + *(_ngwm__getDeltaInfoRequest*)p = *(_ngwm__getDeltaInfoRequest*)q; +} + +void _ngwm__getDeltasResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getDeltasResponse*)this)->items, SOAP_TYPE_PointerTongwt__Items); + soap_serialize_PointerTongwt__Items(soap, &((_ngwm__getDeltasResponse*)this)->items); + soap_embedded(soap, &((_ngwm__getDeltasResponse*)this)->deltaInfo, SOAP_TYPE_PointerTongwt__DeltaInfo); + soap_serialize_PointerTongwt__DeltaInfo(soap, &((_ngwm__getDeltasResponse*)this)->deltaInfo); + soap_embedded(soap, &((_ngwm__getDeltasResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getDeltasResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getDeltasResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getDeltasResponse*)this)->items = NULL; + ((_ngwm__getDeltasResponse*)this)->deltaInfo = NULL; + ((_ngwm__getDeltasResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getDeltasResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltasResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getDeltasResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getDeltasResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasResponse(struct soap *soap, const char *tag, int id, const _ngwm__getDeltasResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltasResponse), type); + soap_out_PointerTongwt__Items(soap, "ngwm:items", -1, &(((_ngwm__getDeltasResponse*)a)->items), ""); + soap_out_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", -1, &(((_ngwm__getDeltasResponse*)a)->deltaInfo), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getDeltasResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getDeltasResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getDeltasResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_get__ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getDeltasResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getDeltasResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getDeltasResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_in__ngwm__getDeltasResponse(struct soap *soap, const char *tag, _ngwm__getDeltasResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getDeltasResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltasResponse, sizeof(_ngwm__getDeltasResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getDeltasResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getDeltasResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_deltaInfo1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Items(soap, "ngwm:items", &(((_ngwm__getDeltasResponse*)a)->items), "ngwt:Items")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_deltaInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", &(((_ngwm__getDeltasResponse*)a)->deltaInfo), "ngwt:DeltaInfo")) + { soap_flag_deltaInfo1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getDeltasResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_deltaInfo1 || soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getDeltasResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasResponse, 0, sizeof(_ngwm__getDeltasResponse), 0, soap_copy__ngwm__getDeltasResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_new__ngwm__getDeltasResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getDeltasResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltasResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltasResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getDeltasResponse; + if (size) + *size = sizeof(_ngwm__getDeltasResponse); + ((_ngwm__getDeltasResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getDeltasResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getDeltasResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getDeltasResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getDeltasResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltasResponse %p -> %p\n", q, p)); + *(_ngwm__getDeltasResponse*)p = *(_ngwm__getDeltasResponse*)q; +} + +void _ngwm__getDeltasRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getDeltasRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getDeltasRequest*)this)->container); + soap_embedded(soap, &((_ngwm__getDeltasRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__getDeltasRequest*)this)->view); + soap_embedded(soap, &((_ngwm__getDeltasRequest*)this)->deltaInfo, SOAP_TYPE_PointerTongwt__DeltaInfo); + soap_serialize_PointerTongwt__DeltaInfo(soap, &((_ngwm__getDeltasRequest*)this)->deltaInfo); + /* transient soap skipped */ +} + +void _ngwm__getDeltasRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getDeltasRequest*)this)->container); + ((_ngwm__getDeltasRequest*)this)->view = NULL; + ((_ngwm__getDeltasRequest*)this)->deltaInfo = NULL; + /* transient soap skipped */ +} + +int _ngwm__getDeltasRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getDeltasRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getDeltasRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getDeltasRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasRequest(struct soap *soap, const char *tag, int id, const _ngwm__getDeltasRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getDeltasRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__getDeltasRequest*)a)->container), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__getDeltasRequest*)a)->view), ""); + soap_out_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", -1, &(((_ngwm__getDeltasRequest*)a)->deltaInfo), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getDeltasRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getDeltasRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_get__ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getDeltasRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getDeltasRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getDeltasRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_in__ngwm__getDeltasRequest(struct soap *soap, const char *tag, _ngwm__getDeltasRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getDeltasRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getDeltasRequest, sizeof(_ngwm__getDeltasRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getDeltasRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getDeltasRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_view1 = 1, soap_flag_deltaInfo1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__getDeltasRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__getDeltasRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + if (soap_flag_deltaInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaInfo(soap, "ngwm:deltaInfo", &(((_ngwm__getDeltasRequest*)a)->deltaInfo), "ngwt:DeltaInfo")) + { soap_flag_deltaInfo1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_deltaInfo1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getDeltasRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasRequest, 0, sizeof(_ngwm__getDeltasRequest), 0, soap_copy__ngwm__getDeltasRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_new__ngwm__getDeltasRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getDeltasRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getDeltasRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getDeltasRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getDeltasRequest; + if (size) + *size = sizeof(_ngwm__getDeltasRequest); + ((_ngwm__getDeltasRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getDeltasRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getDeltasRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getDeltasRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getDeltasRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getDeltasRequest %p -> %p\n", q, p)); + *(_ngwm__getDeltasRequest*)p = *(_ngwm__getDeltasRequest*)q; +} + +void _ngwm__getCustomListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getCustomListResponse*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((_ngwm__getCustomListResponse*)this)->customs); + soap_embedded(soap, &((_ngwm__getCustomListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getCustomListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getCustomListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getCustomListResponse*)this)->customs = NULL; + ((_ngwm__getCustomListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getCustomListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCustomListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getCustomListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getCustomListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getCustomListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCustomListResponse), type); + soap_out_PointerTongwt__CustomList(soap, "ngwm:customs", -1, &(((_ngwm__getCustomListResponse*)a)->customs), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getCustomListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getCustomListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getCustomListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_get__ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getCustomListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getCustomListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getCustomListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_in__ngwm__getCustomListResponse(struct soap *soap, const char *tag, _ngwm__getCustomListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getCustomListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCustomListResponse, sizeof(_ngwm__getCustomListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getCustomListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getCustomListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_customs1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_customs1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwm:customs", &(((_ngwm__getCustomListResponse*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getCustomListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getCustomListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListResponse, 0, sizeof(_ngwm__getCustomListResponse), 0, soap_copy__ngwm__getCustomListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_new__ngwm__getCustomListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getCustomListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCustomListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCustomListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getCustomListResponse; + if (size) + *size = sizeof(_ngwm__getCustomListResponse); + ((_ngwm__getCustomListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getCustomListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getCustomListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getCustomListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getCustomListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCustomListResponse %p -> %p\n", q, p)); + *(_ngwm__getCustomListResponse*)p = *(_ngwm__getCustomListResponse*)q; +} + +void _ngwm__getCustomListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getCustomListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getCustomListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCustomListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getCustomListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getCustomListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getCustomListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCustomListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getCustomListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getCustomListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_get__ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getCustomListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getCustomListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getCustomListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_in__ngwm__getCustomListRequest(struct soap *soap, const char *tag, _ngwm__getCustomListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getCustomListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCustomListRequest, sizeof(_ngwm__getCustomListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getCustomListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getCustomListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getCustomListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListRequest, 0, sizeof(_ngwm__getCustomListRequest), 0, soap_copy__ngwm__getCustomListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_new__ngwm__getCustomListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getCustomListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCustomListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCustomListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getCustomListRequest; + if (size) + *size = sizeof(_ngwm__getCustomListRequest); + ((_ngwm__getCustomListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getCustomListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getCustomListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getCustomListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getCustomListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCustomListRequest %p -> %p\n", q, p)); + *(_ngwm__getCustomListRequest*)p = *(_ngwm__getCustomListRequest*)q; +} + +void _ngwm__getCategoryListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getCategoryListResponse*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryList); + soap_serialize_PointerTongwt__CategoryList(soap, &((_ngwm__getCategoryListResponse*)this)->categories); + soap_embedded(soap, &((_ngwm__getCategoryListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getCategoryListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getCategoryListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getCategoryListResponse*)this)->categories = NULL; + ((_ngwm__getCategoryListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getCategoryListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCategoryListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getCategoryListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getCategoryListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getCategoryListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCategoryListResponse), type); + soap_out_PointerTongwt__CategoryList(soap, "ngwm:categories", -1, &(((_ngwm__getCategoryListResponse*)a)->categories), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getCategoryListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getCategoryListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getCategoryListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_get__ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getCategoryListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getCategoryListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getCategoryListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_in__ngwm__getCategoryListResponse(struct soap *soap, const char *tag, _ngwm__getCategoryListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getCategoryListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCategoryListResponse, sizeof(_ngwm__getCategoryListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getCategoryListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getCategoryListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_categories1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_categories1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryList(soap, "ngwm:categories", &(((_ngwm__getCategoryListResponse*)a)->categories), "ngwt:CategoryList")) + { soap_flag_categories1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getCategoryListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getCategoryListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListResponse, 0, sizeof(_ngwm__getCategoryListResponse), 0, soap_copy__ngwm__getCategoryListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_new__ngwm__getCategoryListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getCategoryListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCategoryListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCategoryListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getCategoryListResponse; + if (size) + *size = sizeof(_ngwm__getCategoryListResponse); + ((_ngwm__getCategoryListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getCategoryListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getCategoryListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getCategoryListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getCategoryListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCategoryListResponse %p -> %p\n", q, p)); + *(_ngwm__getCategoryListResponse*)p = *(_ngwm__getCategoryListResponse*)q; +} + +void _ngwm__getCategoryListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getCategoryListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getCategoryListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getCategoryListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getCategoryListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getCategoryListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getCategoryListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getCategoryListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getCategoryListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getCategoryListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_get__ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getCategoryListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getCategoryListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getCategoryListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_in__ngwm__getCategoryListRequest(struct soap *soap, const char *tag, _ngwm__getCategoryListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getCategoryListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getCategoryListRequest, sizeof(_ngwm__getCategoryListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getCategoryListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getCategoryListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getCategoryListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListRequest, 0, sizeof(_ngwm__getCategoryListRequest), 0, soap_copy__ngwm__getCategoryListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_new__ngwm__getCategoryListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getCategoryListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getCategoryListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getCategoryListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getCategoryListRequest; + if (size) + *size = sizeof(_ngwm__getCategoryListRequest); + ((_ngwm__getCategoryListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getCategoryListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getCategoryListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getCategoryListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getCategoryListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getCategoryListRequest %p -> %p\n", q, p)); + *(_ngwm__getCategoryListRequest*)p = *(_ngwm__getCategoryListRequest*)q; +} + +void _ngwm__getAttachmentResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getAttachmentResponse*)this)->part, SOAP_TYPE_PointerTongwt__MessagePart); + soap_serialize_PointerTongwt__MessagePart(soap, &((_ngwm__getAttachmentResponse*)this)->part); + soap_embedded(soap, &((_ngwm__getAttachmentResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getAttachmentResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getAttachmentResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getAttachmentResponse*)this)->part = NULL; + ((_ngwm__getAttachmentResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getAttachmentResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAttachmentResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getAttachmentResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getAttachmentResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentResponse(struct soap *soap, const char *tag, int id, const _ngwm__getAttachmentResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAttachmentResponse), type); + soap_out_PointerTongwt__MessagePart(soap, "ngwm:part", -1, &(((_ngwm__getAttachmentResponse*)a)->part), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getAttachmentResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getAttachmentResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getAttachmentResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_get__ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getAttachmentResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getAttachmentResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getAttachmentResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_in__ngwm__getAttachmentResponse(struct soap *soap, const char *tag, _ngwm__getAttachmentResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getAttachmentResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAttachmentResponse, sizeof(_ngwm__getAttachmentResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getAttachmentResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getAttachmentResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_part1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessagePart(soap, "ngwm:part", &(((_ngwm__getAttachmentResponse*)a)->part), "ngwt:MessagePart")) + { soap_flag_part1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getAttachmentResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getAttachmentResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentResponse, 0, sizeof(_ngwm__getAttachmentResponse), 0, soap_copy__ngwm__getAttachmentResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_new__ngwm__getAttachmentResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getAttachmentResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAttachmentResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAttachmentResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getAttachmentResponse; + if (size) + *size = sizeof(_ngwm__getAttachmentResponse); + ((_ngwm__getAttachmentResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getAttachmentResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getAttachmentResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getAttachmentResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getAttachmentResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAttachmentResponse %p -> %p\n", q, p)); + *(_ngwm__getAttachmentResponse*)p = *(_ngwm__getAttachmentResponse*)q; +} + +void _ngwm__getAttachmentRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getAttachmentRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__getAttachmentRequest*)this)->id); + soap_embedded(soap, &((_ngwm__getAttachmentRequest*)this)->offset, SOAP_TYPE_int); + soap_embedded(soap, &((_ngwm__getAttachmentRequest*)this)->length, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void _ngwm__getAttachmentRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__getAttachmentRequest*)this)->id); + soap_default_int(soap, &((_ngwm__getAttachmentRequest*)this)->offset); + soap_default_int(soap, &((_ngwm__getAttachmentRequest*)this)->length); + /* transient soap skipped */ +} + +int _ngwm__getAttachmentRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAttachmentRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getAttachmentRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getAttachmentRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentRequest(struct soap *soap, const char *tag, int id, const _ngwm__getAttachmentRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAttachmentRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__getAttachmentRequest*)a)->id), ""); + soap_out_int(soap, "ngwm:offset", -1, &(((_ngwm__getAttachmentRequest*)a)->offset), ""); + soap_out_int(soap, "ngwm:length", -1, &(((_ngwm__getAttachmentRequest*)a)->length), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getAttachmentRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getAttachmentRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_get__ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getAttachmentRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getAttachmentRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getAttachmentRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_in__ngwm__getAttachmentRequest(struct soap *soap, const char *tag, _ngwm__getAttachmentRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getAttachmentRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAttachmentRequest, sizeof(_ngwm__getAttachmentRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getAttachmentRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getAttachmentRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_offset1 = 1, soap_flag_length1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__getAttachmentRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_offset1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:offset", &(((_ngwm__getAttachmentRequest*)a)->offset), "")) + { soap_flag_offset1 = 0; + continue; + } + if (soap_flag_length1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:length", &(((_ngwm__getAttachmentRequest*)a)->length), "")) + { soap_flag_length1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_offset1 || soap_flag_length1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getAttachmentRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentRequest, 0, sizeof(_ngwm__getAttachmentRequest), 0, soap_copy__ngwm__getAttachmentRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_new__ngwm__getAttachmentRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getAttachmentRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAttachmentRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAttachmentRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getAttachmentRequest; + if (size) + *size = sizeof(_ngwm__getAttachmentRequest); + ((_ngwm__getAttachmentRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getAttachmentRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getAttachmentRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getAttachmentRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getAttachmentRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAttachmentRequest %p -> %p\n", q, p)); + *(_ngwm__getAttachmentRequest*)p = *(_ngwm__getAttachmentRequest*)q; +} + +void _ngwm__getAddressBookListResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__getAddressBookListResponse*)this)->books, SOAP_TYPE_PointerTongwt__AddressBookList); + soap_serialize_PointerTongwt__AddressBookList(soap, &((_ngwm__getAddressBookListResponse*)this)->books); + soap_embedded(soap, &((_ngwm__getAddressBookListResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__getAddressBookListResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__getAddressBookListResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__getAddressBookListResponse*)this)->books = NULL; + ((_ngwm__getAddressBookListResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__getAddressBookListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAddressBookListResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getAddressBookListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getAddressBookListResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, int id, const _ngwm__getAddressBookListResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAddressBookListResponse), type); + soap_out_PointerTongwt__AddressBookList(soap, "ngwm:books", -1, &(((_ngwm__getAddressBookListResponse*)a)->books), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__getAddressBookListResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getAddressBookListResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getAddressBookListResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_get__ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getAddressBookListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getAddressBookListResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getAddressBookListResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_in__ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, _ngwm__getAddressBookListResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getAddressBookListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAddressBookListResponse, sizeof(_ngwm__getAddressBookListResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getAddressBookListResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getAddressBookListResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_books1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_books1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AddressBookList(soap, "ngwm:books", &(((_ngwm__getAddressBookListResponse*)a)->books), "ngwt:AddressBookList")) + { soap_flag_books1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__getAddressBookListResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getAddressBookListResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListResponse, 0, sizeof(_ngwm__getAddressBookListResponse), 0, soap_copy__ngwm__getAddressBookListResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_new__ngwm__getAddressBookListResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getAddressBookListResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAddressBookListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAddressBookListResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getAddressBookListResponse; + if (size) + *size = sizeof(_ngwm__getAddressBookListResponse); + ((_ngwm__getAddressBookListResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getAddressBookListResponse[n]; + if (size) + *size = n * sizeof(_ngwm__getAddressBookListResponse); + for (int i = 0; i < n; i++) + ((_ngwm__getAddressBookListResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getAddressBookListResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAddressBookListResponse %p -> %p\n", q, p)); + *(_ngwm__getAddressBookListResponse*)p = *(_ngwm__getAddressBookListResponse*)q; +} + +void _ngwm__getAddressBookListRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void _ngwm__getAddressBookListRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int _ngwm__getAddressBookListRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__getAddressBookListRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__getAddressBookListRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__getAddressBookListRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, int id, const _ngwm__getAddressBookListRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__getAddressBookListRequest), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__getAddressBookListRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__getAddressBookListRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_get__ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__getAddressBookListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__getAddressBookListRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__getAddressBookListRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_in__ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, _ngwm__getAddressBookListRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__getAddressBookListRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__getAddressBookListRequest, sizeof(_ngwm__getAddressBookListRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__getAddressBookListRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__getAddressBookListRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__getAddressBookListRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListRequest, 0, sizeof(_ngwm__getAddressBookListRequest), 0, soap_copy__ngwm__getAddressBookListRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_new__ngwm__getAddressBookListRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__getAddressBookListRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__getAddressBookListRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__getAddressBookListRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__getAddressBookListRequest; + if (size) + *size = sizeof(_ngwm__getAddressBookListRequest); + ((_ngwm__getAddressBookListRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__getAddressBookListRequest[n]; + if (size) + *size = n * sizeof(_ngwm__getAddressBookListRequest); + for (int i = 0; i < n; i++) + ((_ngwm__getAddressBookListRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__getAddressBookListRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__getAddressBookListRequest %p -> %p\n", q, p)); + *(_ngwm__getAddressBookListRequest*)p = *(_ngwm__getAddressBookListRequest*)q; +} + +void _ngwm__forwardResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__forwardResponse*)this)->item, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((_ngwm__forwardResponse*)this)->item); + soap_embedded(soap, &((_ngwm__forwardResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__forwardResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__forwardResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__forwardResponse*)this)->item = NULL; + ((_ngwm__forwardResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__forwardResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__forwardResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__forwardResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__forwardResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardResponse(struct soap *soap, const char *tag, int id, const _ngwm__forwardResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__forwardResponse), type); + soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__forwardResponse*)a)->item), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__forwardResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__forwardResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__forwardResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_get__ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__forwardResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__forwardResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__forwardResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_in__ngwm__forwardResponse(struct soap *soap, const char *tag, _ngwm__forwardResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__forwardResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__forwardResponse, sizeof(_ngwm__forwardResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__forwardResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__forwardResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_item1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__forwardResponse*)a)->item), "ngwt:Item")) + { soap_flag_item1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__forwardResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__forwardResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardResponse, 0, sizeof(_ngwm__forwardResponse), 0, soap_copy__ngwm__forwardResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_new__ngwm__forwardResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__forwardResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_instantiate__ngwm__forwardResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__forwardResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__forwardResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__forwardResponse; + if (size) + *size = sizeof(_ngwm__forwardResponse); + ((_ngwm__forwardResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__forwardResponse[n]; + if (size) + *size = n * sizeof(_ngwm__forwardResponse); + for (int i = 0; i < n; i++) + ((_ngwm__forwardResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__forwardResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__forwardResponse %p -> %p\n", q, p)); + *(_ngwm__forwardResponse*)p = *(_ngwm__forwardResponse*)q; +} + +void _ngwm__forwardRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__forwardRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__forwardRequest*)this)->id); + soap_embedded(soap, &((_ngwm__forwardRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__forwardRequest*)this)->view); + soap_embedded(soap, &((_ngwm__forwardRequest*)this)->embed, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void _ngwm__forwardRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__forwardRequest*)this)->id); + ((_ngwm__forwardRequest*)this)->view = NULL; + ((_ngwm__forwardRequest*)this)->embed = (bool)0; + /* transient soap skipped */ +} + +int _ngwm__forwardRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__forwardRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__forwardRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__forwardRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardRequest(struct soap *soap, const char *tag, int id, const _ngwm__forwardRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__forwardRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__forwardRequest*)a)->id), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__forwardRequest*)a)->view), ""); + soap_out_bool(soap, "ngwm:embed", -1, &(((_ngwm__forwardRequest*)a)->embed), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__forwardRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__forwardRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_get__ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__forwardRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__forwardRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__forwardRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_in__ngwm__forwardRequest(struct soap *soap, const char *tag, _ngwm__forwardRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__forwardRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__forwardRequest, sizeof(_ngwm__forwardRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__forwardRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__forwardRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_view1 = 1, soap_flag_embed1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__forwardRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__forwardRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + if (soap_flag_embed1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwm:embed", &(((_ngwm__forwardRequest*)a)->embed), "")) + { soap_flag_embed1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__forwardRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardRequest, 0, sizeof(_ngwm__forwardRequest), 0, soap_copy__ngwm__forwardRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_new__ngwm__forwardRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__forwardRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_instantiate__ngwm__forwardRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__forwardRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__forwardRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__forwardRequest; + if (size) + *size = sizeof(_ngwm__forwardRequest); + ((_ngwm__forwardRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__forwardRequest[n]; + if (size) + *size = n * sizeof(_ngwm__forwardRequest); + for (int i = 0; i < n; i++) + ((_ngwm__forwardRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__forwardRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__forwardRequest %p -> %p\n", q, p)); + *(_ngwm__forwardRequest*)p = *(_ngwm__forwardRequest*)q; +} + +void _ngwm__executeRuleResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__executeRuleResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__executeRuleResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__executeRuleResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__executeRuleResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__executeRuleResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__executeRuleResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__executeRuleResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__executeRuleResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleResponse(struct soap *soap, const char *tag, int id, const _ngwm__executeRuleResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__executeRuleResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__executeRuleResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__executeRuleResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__executeRuleResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_get__ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__executeRuleResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__executeRuleResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__executeRuleResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_in__ngwm__executeRuleResponse(struct soap *soap, const char *tag, _ngwm__executeRuleResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__executeRuleResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__executeRuleResponse, sizeof(_ngwm__executeRuleResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__executeRuleResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__executeRuleResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__executeRuleResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__executeRuleResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleResponse, 0, sizeof(_ngwm__executeRuleResponse), 0, soap_copy__ngwm__executeRuleResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_new__ngwm__executeRuleResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__executeRuleResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__executeRuleResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__executeRuleResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__executeRuleResponse; + if (size) + *size = sizeof(_ngwm__executeRuleResponse); + ((_ngwm__executeRuleResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__executeRuleResponse[n]; + if (size) + *size = n * sizeof(_ngwm__executeRuleResponse); + for (int i = 0; i < n; i++) + ((_ngwm__executeRuleResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__executeRuleResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__executeRuleResponse %p -> %p\n", q, p)); + *(_ngwm__executeRuleResponse*)p = *(_ngwm__executeRuleResponse*)q; +} + +void _ngwm__executeRuleRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__executeRuleRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__executeRuleRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__executeRuleRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__executeRuleRequest*)this)->id); + /* transient soap skipped */ +} + +int _ngwm__executeRuleRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__executeRuleRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__executeRuleRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__executeRuleRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleRequest(struct soap *soap, const char *tag, int id, const _ngwm__executeRuleRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__executeRuleRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__executeRuleRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__executeRuleRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__executeRuleRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_get__ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__executeRuleRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__executeRuleRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__executeRuleRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_in__ngwm__executeRuleRequest(struct soap *soap, const char *tag, _ngwm__executeRuleRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__executeRuleRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__executeRuleRequest, sizeof(_ngwm__executeRuleRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__executeRuleRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__executeRuleRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__executeRuleRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__executeRuleRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleRequest, 0, sizeof(_ngwm__executeRuleRequest), 0, soap_copy__ngwm__executeRuleRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_new__ngwm__executeRuleRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__executeRuleRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__executeRuleRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__executeRuleRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__executeRuleRequest; + if (size) + *size = sizeof(_ngwm__executeRuleRequest); + ((_ngwm__executeRuleRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__executeRuleRequest[n]; + if (size) + *size = n * sizeof(_ngwm__executeRuleRequest); + for (int i = 0; i < n; i++) + ((_ngwm__executeRuleRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__executeRuleRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__executeRuleRequest %p -> %p\n", q, p)); + *(_ngwm__executeRuleRequest*)p = *(_ngwm__executeRuleRequest*)q; +} + +void _ngwm__destroyCursorResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__destroyCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__destroyCursorResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__destroyCursorResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__destroyCursorResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__destroyCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__destroyCursorResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__destroyCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__destroyCursorResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__destroyCursorResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__destroyCursorResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__destroyCursorResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__destroyCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__destroyCursorResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_get__ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__destroyCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__destroyCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__destroyCursorResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_in__ngwm__destroyCursorResponse(struct soap *soap, const char *tag, _ngwm__destroyCursorResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__destroyCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__destroyCursorResponse, sizeof(_ngwm__destroyCursorResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__destroyCursorResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__destroyCursorResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__destroyCursorResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__destroyCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorResponse, 0, sizeof(_ngwm__destroyCursorResponse), 0, soap_copy__ngwm__destroyCursorResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_new__ngwm__destroyCursorResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__destroyCursorResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__destroyCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__destroyCursorResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__destroyCursorResponse; + if (size) + *size = sizeof(_ngwm__destroyCursorResponse); + ((_ngwm__destroyCursorResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__destroyCursorResponse[n]; + if (size) + *size = n * sizeof(_ngwm__destroyCursorResponse); + for (int i = 0; i < n; i++) + ((_ngwm__destroyCursorResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__destroyCursorResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__destroyCursorResponse %p -> %p\n", q, p)); + *(_ngwm__destroyCursorResponse*)p = *(_ngwm__destroyCursorResponse*)q; +} + +void _ngwm__destroyCursorRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__destroyCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__destroyCursorRequest*)this)->container); + soap_embedded(soap, &((_ngwm__destroyCursorRequest*)this)->cursor, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void _ngwm__destroyCursorRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__destroyCursorRequest*)this)->container); + soap_default_int(soap, &((_ngwm__destroyCursorRequest*)this)->cursor); + /* transient soap skipped */ +} + +int _ngwm__destroyCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__destroyCursorRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__destroyCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__destroyCursorRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__destroyCursorRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__destroyCursorRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__destroyCursorRequest*)a)->container), ""); + soap_out_int(soap, "ngwm:cursor", -1, &(((_ngwm__destroyCursorRequest*)a)->cursor), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__destroyCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__destroyCursorRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_get__ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__destroyCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__destroyCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__destroyCursorRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_in__ngwm__destroyCursorRequest(struct soap *soap, const char *tag, _ngwm__destroyCursorRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__destroyCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__destroyCursorRequest, sizeof(_ngwm__destroyCursorRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__destroyCursorRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__destroyCursorRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_cursor1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__destroyCursorRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:cursor", &(((_ngwm__destroyCursorRequest*)a)->cursor), "")) + { soap_flag_cursor1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_cursor1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__destroyCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorRequest, 0, sizeof(_ngwm__destroyCursorRequest), 0, soap_copy__ngwm__destroyCursorRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_new__ngwm__destroyCursorRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__destroyCursorRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__destroyCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__destroyCursorRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__destroyCursorRequest; + if (size) + *size = sizeof(_ngwm__destroyCursorRequest); + ((_ngwm__destroyCursorRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__destroyCursorRequest[n]; + if (size) + *size = n * sizeof(_ngwm__destroyCursorRequest); + for (int i = 0; i < n; i++) + ((_ngwm__destroyCursorRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__destroyCursorRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__destroyCursorRequest %p -> %p\n", q, p)); + *(_ngwm__destroyCursorRequest*)p = *(_ngwm__destroyCursorRequest*)q; +} + +void _ngwm__delegateResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__delegateResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__delegateResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__delegateResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__delegateResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__delegateResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__delegateResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__delegateResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__delegateResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateResponse(struct soap *soap, const char *tag, int id, const _ngwm__delegateResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__delegateResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__delegateResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__delegateResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__delegateResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_get__ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__delegateResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__delegateResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__delegateResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_in__ngwm__delegateResponse(struct soap *soap, const char *tag, _ngwm__delegateResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__delegateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__delegateResponse, sizeof(_ngwm__delegateResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__delegateResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__delegateResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__delegateResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__delegateResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateResponse, 0, sizeof(_ngwm__delegateResponse), 0, soap_copy__ngwm__delegateResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_new__ngwm__delegateResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__delegateResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_instantiate__ngwm__delegateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__delegateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__delegateResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__delegateResponse; + if (size) + *size = sizeof(_ngwm__delegateResponse); + ((_ngwm__delegateResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__delegateResponse[n]; + if (size) + *size = n * sizeof(_ngwm__delegateResponse); + for (int i = 0; i < n; i++) + ((_ngwm__delegateResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__delegateResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__delegateResponse %p -> %p\n", q, p)); + *(_ngwm__delegateResponse*)p = *(_ngwm__delegateResponse*)q; +} + +void _ngwm__delegateRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__delegateRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__delegateRequest*)this)->id); + soap_embedded(soap, &((_ngwm__delegateRequest*)this)->commentToOrganizer, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__delegateRequest*)this)->commentToOrganizer); + soap_embedded(soap, &((_ngwm__delegateRequest*)this)->commentToDelegatee, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__delegateRequest*)this)->commentToDelegatee); + soap_embedded(soap, &((_ngwm__delegateRequest*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((_ngwm__delegateRequest*)this)->distribution); + soap_embedded(soap, &((_ngwm__delegateRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong); + /* transient soap skipped */ +} + +void _ngwm__delegateRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__delegateRequest*)this)->id); + ((_ngwm__delegateRequest*)this)->commentToOrganizer = NULL; + ((_ngwm__delegateRequest*)this)->commentToDelegatee = NULL; + ((_ngwm__delegateRequest*)this)->distribution = NULL; + ((_ngwm__delegateRequest*)this)->recurrenceAllInstances = 0; + /* transient soap skipped */ +} + +int _ngwm__delegateRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__delegateRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__delegateRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__delegateRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateRequest(struct soap *soap, const char *tag, int id, const _ngwm__delegateRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__delegateRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__delegateRequest*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwm:commentToOrganizer", -1, &(((_ngwm__delegateRequest*)a)->commentToOrganizer), ""); + soap_out_PointerTostd__string(soap, "ngwm:commentToDelegatee", -1, &(((_ngwm__delegateRequest*)a)->commentToDelegatee), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwm:distribution", -1, &(((_ngwm__delegateRequest*)a)->distribution), ""); + soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__delegateRequest*)a)->recurrenceAllInstances), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__delegateRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__delegateRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_get__ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__delegateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__delegateRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__delegateRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_in__ngwm__delegateRequest(struct soap *soap, const char *tag, _ngwm__delegateRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__delegateRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__delegateRequest, sizeof(_ngwm__delegateRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__delegateRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__delegateRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_commentToOrganizer1 = 1, soap_flag_commentToDelegatee1 = 1, soap_flag_distribution1 = 1, soap_flag_recurrenceAllInstances1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__delegateRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_commentToOrganizer1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:commentToOrganizer", &(((_ngwm__delegateRequest*)a)->commentToOrganizer), "")) + { soap_flag_commentToOrganizer1 = 0; + continue; + } + if (soap_flag_commentToDelegatee1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:commentToDelegatee", &(((_ngwm__delegateRequest*)a)->commentToDelegatee), "")) + { soap_flag_commentToDelegatee1 = 0; + continue; + } + if (soap_flag_distribution1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwm:distribution", &(((_ngwm__delegateRequest*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution1 = 0; + continue; + } + if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__delegateRequest*)a)->recurrenceAllInstances), "")) + { soap_flag_recurrenceAllInstances1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_distribution1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__delegateRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateRequest, 0, sizeof(_ngwm__delegateRequest), 0, soap_copy__ngwm__delegateRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_new__ngwm__delegateRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__delegateRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_instantiate__ngwm__delegateRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__delegateRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__delegateRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__delegateRequest; + if (size) + *size = sizeof(_ngwm__delegateRequest); + ((_ngwm__delegateRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__delegateRequest[n]; + if (size) + *size = n * sizeof(_ngwm__delegateRequest); + for (int i = 0; i < n; i++) + ((_ngwm__delegateRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__delegateRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__delegateRequest %p -> %p\n", q, p)); + *(_ngwm__delegateRequest*)p = *(_ngwm__delegateRequest*)q; +} + +void _ngwm__declineResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__declineResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__declineResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__declineResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__declineResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__declineResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__declineResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__declineResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__declineResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineResponse(struct soap *soap, const char *tag, int id, const _ngwm__declineResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__declineResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__declineResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__declineResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__declineResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_get__ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__declineResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__declineResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__declineResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_in__ngwm__declineResponse(struct soap *soap, const char *tag, _ngwm__declineResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__declineResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__declineResponse, sizeof(_ngwm__declineResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__declineResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__declineResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__declineResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__declineResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineResponse, 0, sizeof(_ngwm__declineResponse), 0, soap_copy__ngwm__declineResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_new__ngwm__declineResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__declineResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_instantiate__ngwm__declineResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__declineResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__declineResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__declineResponse; + if (size) + *size = sizeof(_ngwm__declineResponse); + ((_ngwm__declineResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__declineResponse[n]; + if (size) + *size = n * sizeof(_ngwm__declineResponse); + for (int i = 0; i < n; i++) + ((_ngwm__declineResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__declineResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__declineResponse %p -> %p\n", q, p)); + *(_ngwm__declineResponse*)p = *(_ngwm__declineResponse*)q; +} + +void _ngwm__declineRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__declineRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__declineRequest*)this)->items); + soap_embedded(soap, &((_ngwm__declineRequest*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__declineRequest*)this)->comment); + soap_embedded(soap, &((_ngwm__declineRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong); + /* transient soap skipped */ +} + +void _ngwm__declineRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__declineRequest*)this)->items = NULL; + ((_ngwm__declineRequest*)this)->comment = NULL; + ((_ngwm__declineRequest*)this)->recurrenceAllInstances = 0; + /* transient soap skipped */ +} + +int _ngwm__declineRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__declineRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__declineRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__declineRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineRequest(struct soap *soap, const char *tag, int id, const _ngwm__declineRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__declineRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__declineRequest*)a)->items), ""); + soap_out_PointerTostd__string(soap, "ngwm:comment", -1, &(((_ngwm__declineRequest*)a)->comment), ""); + soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__declineRequest*)a)->recurrenceAllInstances), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__declineRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__declineRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_get__ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__declineRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__declineRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__declineRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_in__ngwm__declineRequest(struct soap *soap, const char *tag, _ngwm__declineRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__declineRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__declineRequest, sizeof(_ngwm__declineRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__declineRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__declineRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_comment1 = 1, soap_flag_recurrenceAllInstances1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__declineRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:comment", &(((_ngwm__declineRequest*)a)->comment), "")) + { soap_flag_comment1 = 0; + continue; + } + if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__declineRequest*)a)->recurrenceAllInstances), "")) + { soap_flag_recurrenceAllInstances1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__declineRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineRequest, 0, sizeof(_ngwm__declineRequest), 0, soap_copy__ngwm__declineRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_new__ngwm__declineRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__declineRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_instantiate__ngwm__declineRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__declineRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__declineRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__declineRequest; + if (size) + *size = sizeof(_ngwm__declineRequest); + ((_ngwm__declineRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__declineRequest[n]; + if (size) + *size = n * sizeof(_ngwm__declineRequest); + for (int i = 0; i < n; i++) + ((_ngwm__declineRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__declineRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__declineRequest %p -> %p\n", q, p)); + *(_ngwm__declineRequest*)p = *(_ngwm__declineRequest*)q; +} + +void _ngwm__createSignatureResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createSignatureResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createSignatureResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__createSignatureResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createSignatureResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__createSignatureResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createSignatureResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createSignatureResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createSignatureResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureResponse(struct soap *soap, const char *tag, int id, const _ngwm__createSignatureResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createSignatureResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createSignatureResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createSignatureResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createSignatureResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_get__ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createSignatureResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createSignatureResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createSignatureResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_in__ngwm__createSignatureResponse(struct soap *soap, const char *tag, _ngwm__createSignatureResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createSignatureResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createSignatureResponse, sizeof(_ngwm__createSignatureResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createSignatureResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createSignatureResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createSignatureResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createSignatureResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureResponse, 0, sizeof(_ngwm__createSignatureResponse), 0, soap_copy__ngwm__createSignatureResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_new__ngwm__createSignatureResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createSignatureResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createSignatureResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createSignatureResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createSignatureResponse; + if (size) + *size = sizeof(_ngwm__createSignatureResponse); + ((_ngwm__createSignatureResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createSignatureResponse[n]; + if (size) + *size = n * sizeof(_ngwm__createSignatureResponse); + for (int i = 0; i < n; i++) + ((_ngwm__createSignatureResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createSignatureResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createSignatureResponse %p -> %p\n", q, p)); + *(_ngwm__createSignatureResponse*)p = *(_ngwm__createSignatureResponse*)q; +} + +void _ngwm__createSignatureRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createSignatureRequest*)this)->signature, SOAP_TYPE_PointerTongwt__Signature); + soap_serialize_PointerTongwt__Signature(soap, &((_ngwm__createSignatureRequest*)this)->signature); + /* transient soap skipped */ +} + +void _ngwm__createSignatureRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createSignatureRequest*)this)->signature = NULL; + /* transient soap skipped */ +} + +int _ngwm__createSignatureRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createSignatureRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createSignatureRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createSignatureRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureRequest(struct soap *soap, const char *tag, int id, const _ngwm__createSignatureRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createSignatureRequest), type); + soap_out_PointerTongwt__Signature(soap, "ngwm:signature", -1, &(((_ngwm__createSignatureRequest*)a)->signature), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createSignatureRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createSignatureRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_get__ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createSignatureRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createSignatureRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createSignatureRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_in__ngwm__createSignatureRequest(struct soap *soap, const char *tag, _ngwm__createSignatureRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createSignatureRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createSignatureRequest, sizeof(_ngwm__createSignatureRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createSignatureRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createSignatureRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_signature1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_signature1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Signature(soap, "ngwm:signature", &(((_ngwm__createSignatureRequest*)a)->signature), "ngwt:Signature")) + { soap_flag_signature1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_signature1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createSignatureRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureRequest, 0, sizeof(_ngwm__createSignatureRequest), 0, soap_copy__ngwm__createSignatureRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_new__ngwm__createSignatureRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createSignatureRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createSignatureRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createSignatureRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createSignatureRequest; + if (size) + *size = sizeof(_ngwm__createSignatureRequest); + ((_ngwm__createSignatureRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createSignatureRequest[n]; + if (size) + *size = n * sizeof(_ngwm__createSignatureRequest); + for (int i = 0; i < n; i++) + ((_ngwm__createSignatureRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createSignatureRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createSignatureRequest %p -> %p\n", q, p)); + *(_ngwm__createSignatureRequest*)p = *(_ngwm__createSignatureRequest*)q; +} + +void _ngwm__createProxyAccessResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createProxyAccessResponse*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__createProxyAccessResponse*)this)->id); + soap_embedded(soap, &((_ngwm__createProxyAccessResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createProxyAccessResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__createProxyAccessResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createProxyAccessResponse*)this)->id = NULL; + ((_ngwm__createProxyAccessResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__createProxyAccessResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createProxyAccessResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createProxyAccessResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createProxyAccessResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, int id, const _ngwm__createProxyAccessResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createProxyAccessResponse), type); + soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createProxyAccessResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createProxyAccessResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createProxyAccessResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createProxyAccessResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createProxyAccessResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createProxyAccessResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createProxyAccessResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__createProxyAccessResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createProxyAccessResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createProxyAccessResponse, sizeof(_ngwm__createProxyAccessResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createProxyAccessResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createProxyAccessResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__createProxyAccessResponse*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createProxyAccessResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createProxyAccessResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessResponse, 0, sizeof(_ngwm__createProxyAccessResponse), 0, soap_copy__ngwm__createProxyAccessResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__createProxyAccessResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createProxyAccessResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createProxyAccessResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createProxyAccessResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createProxyAccessResponse; + if (size) + *size = sizeof(_ngwm__createProxyAccessResponse); + ((_ngwm__createProxyAccessResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createProxyAccessResponse[n]; + if (size) + *size = n * sizeof(_ngwm__createProxyAccessResponse); + for (int i = 0; i < n; i++) + ((_ngwm__createProxyAccessResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createProxyAccessResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createProxyAccessResponse %p -> %p\n", q, p)); + *(_ngwm__createProxyAccessResponse*)p = *(_ngwm__createProxyAccessResponse*)q; +} + +void _ngwm__createProxyAccessRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createProxyAccessRequest*)this)->entry, SOAP_TYPE_PointerTongwt__AccessRightEntry); + soap_serialize_PointerTongwt__AccessRightEntry(soap, &((_ngwm__createProxyAccessRequest*)this)->entry); + /* transient soap skipped */ +} + +void _ngwm__createProxyAccessRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createProxyAccessRequest*)this)->entry = NULL; + /* transient soap skipped */ +} + +int _ngwm__createProxyAccessRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createProxyAccessRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createProxyAccessRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createProxyAccessRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, int id, const _ngwm__createProxyAccessRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createProxyAccessRequest), type); + soap_out_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", -1, &(((_ngwm__createProxyAccessRequest*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createProxyAccessRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createProxyAccessRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createProxyAccessRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createProxyAccessRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__createProxyAccessRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createProxyAccessRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createProxyAccessRequest, sizeof(_ngwm__createProxyAccessRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createProxyAccessRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createProxyAccessRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_entry1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwm:entry", &(((_ngwm__createProxyAccessRequest*)a)->entry), "ngwt:AccessRightEntry")) + { soap_flag_entry1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_entry1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createProxyAccessRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessRequest, 0, sizeof(_ngwm__createProxyAccessRequest), 0, soap_copy__ngwm__createProxyAccessRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__createProxyAccessRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createProxyAccessRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createProxyAccessRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createProxyAccessRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createProxyAccessRequest; + if (size) + *size = sizeof(_ngwm__createProxyAccessRequest); + ((_ngwm__createProxyAccessRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createProxyAccessRequest[n]; + if (size) + *size = n * sizeof(_ngwm__createProxyAccessRequest); + for (int i = 0; i < n; i++) + ((_ngwm__createProxyAccessRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createProxyAccessRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createProxyAccessRequest %p -> %p\n", q, p)); + *(_ngwm__createProxyAccessRequest*)p = *(_ngwm__createProxyAccessRequest*)q; +} + +void _ngwm__createJunkEntryResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createJunkEntryResponse*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__createJunkEntryResponse*)this)->id); + soap_embedded(soap, &((_ngwm__createJunkEntryResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createJunkEntryResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__createJunkEntryResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createJunkEntryResponse*)this)->id = NULL; + ((_ngwm__createJunkEntryResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__createJunkEntryResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createJunkEntryResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createJunkEntryResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createJunkEntryResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, int id, const _ngwm__createJunkEntryResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createJunkEntryResponse), type); + soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createJunkEntryResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createJunkEntryResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createJunkEntryResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createJunkEntryResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createJunkEntryResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createJunkEntryResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createJunkEntryResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__createJunkEntryResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createJunkEntryResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createJunkEntryResponse, sizeof(_ngwm__createJunkEntryResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createJunkEntryResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createJunkEntryResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__createJunkEntryResponse*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createJunkEntryResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createJunkEntryResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryResponse, 0, sizeof(_ngwm__createJunkEntryResponse), 0, soap_copy__ngwm__createJunkEntryResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__createJunkEntryResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createJunkEntryResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createJunkEntryResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createJunkEntryResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createJunkEntryResponse; + if (size) + *size = sizeof(_ngwm__createJunkEntryResponse); + ((_ngwm__createJunkEntryResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createJunkEntryResponse[n]; + if (size) + *size = n * sizeof(_ngwm__createJunkEntryResponse); + for (int i = 0; i < n; i++) + ((_ngwm__createJunkEntryResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createJunkEntryResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createJunkEntryResponse %p -> %p\n", q, p)); + *(_ngwm__createJunkEntryResponse*)p = *(_ngwm__createJunkEntryResponse*)q; +} + +void _ngwm__createJunkEntryRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createJunkEntryRequest*)this)->entry, SOAP_TYPE_PointerTongwt__JunkEntry); + soap_serialize_PointerTongwt__JunkEntry(soap, &((_ngwm__createJunkEntryRequest*)this)->entry); + /* transient soap skipped */ +} + +void _ngwm__createJunkEntryRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createJunkEntryRequest*)this)->entry = NULL; + /* transient soap skipped */ +} + +int _ngwm__createJunkEntryRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createJunkEntryRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createJunkEntryRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createJunkEntryRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, int id, const _ngwm__createJunkEntryRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createJunkEntryRequest), type); + soap_out_PointerTongwt__JunkEntry(soap, "ngwm:entry", -1, &(((_ngwm__createJunkEntryRequest*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createJunkEntryRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createJunkEntryRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createJunkEntryRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createJunkEntryRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__createJunkEntryRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createJunkEntryRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createJunkEntryRequest, sizeof(_ngwm__createJunkEntryRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createJunkEntryRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createJunkEntryRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_entry1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_entry1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkEntry(soap, "ngwm:entry", &(((_ngwm__createJunkEntryRequest*)a)->entry), "ngwt:JunkEntry")) + { soap_flag_entry1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_entry1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createJunkEntryRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryRequest, 0, sizeof(_ngwm__createJunkEntryRequest), 0, soap_copy__ngwm__createJunkEntryRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__createJunkEntryRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createJunkEntryRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createJunkEntryRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createJunkEntryRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createJunkEntryRequest; + if (size) + *size = sizeof(_ngwm__createJunkEntryRequest); + ((_ngwm__createJunkEntryRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createJunkEntryRequest[n]; + if (size) + *size = n * sizeof(_ngwm__createJunkEntryRequest); + for (int i = 0; i < n; i++) + ((_ngwm__createJunkEntryRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createJunkEntryRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createJunkEntryRequest %p -> %p\n", q, p)); + *(_ngwm__createJunkEntryRequest*)p = *(_ngwm__createJunkEntryRequest*)q; +} + +void _ngwm__createItemsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemsResponse*)this)->id); + soap_embedded(soap, &((_ngwm__createItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createItemsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__createItemsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemsResponse*)this)->id); + ((_ngwm__createItemsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__createItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createItemsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__createItemsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemsResponse), type); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createItemsResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createItemsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createItemsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_get__ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createItemsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_in__ngwm__createItemsResponse(struct soap *soap, const char *tag, _ngwm__createItemsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemsResponse, sizeof(_ngwm__createItemsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createItemsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createItemsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__createItemsResponse*)a)->id), "ngwt:uid")) + continue; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createItemsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsResponse, 0, sizeof(_ngwm__createItemsResponse), 0, soap_copy__ngwm__createItemsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_new__ngwm__createItemsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createItemsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createItemsResponse; + if (size) + *size = sizeof(_ngwm__createItemsResponse); + ((_ngwm__createItemsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createItemsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__createItemsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__createItemsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createItemsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemsResponse %p -> %p\n", q, p)); + *(_ngwm__createItemsResponse*)p = *(_ngwm__createItemsResponse*)q; +} + +void _ngwm__createItemsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Item(soap, &((_ngwm__createItemsRequest*)this)->item); + /* transient soap skipped */ +} + +void _ngwm__createItemsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Item(soap, &((_ngwm__createItemsRequest*)this)->item); + /* transient soap skipped */ +} + +int _ngwm__createItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createItemsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__createItemsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemsRequest), type); + soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__createItemsRequest*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createItemsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_get__ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createItemsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_in__ngwm__createItemsRequest(struct soap *soap, const char *tag, _ngwm__createItemsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemsRequest, sizeof(_ngwm__createItemsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createItemsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createItemsRequest *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__createItemsRequest*)a)->item), "ngwt:Item")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsRequest, 0, sizeof(_ngwm__createItemsRequest), 0, soap_copy__ngwm__createItemsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_new__ngwm__createItemsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createItemsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createItemsRequest; + if (size) + *size = sizeof(_ngwm__createItemsRequest); + ((_ngwm__createItemsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createItemsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__createItemsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__createItemsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createItemsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemsRequest %p -> %p\n", q, p)); + *(_ngwm__createItemsRequest*)p = *(_ngwm__createItemsRequest*)q; +} + +void _ngwm__createItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemResponse*)this)->id); + soap_embedded(soap, &((_ngwm__createItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__createItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((_ngwm__createItemResponse*)this)->id); + ((_ngwm__createItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__createItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__createItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemResponse), type); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__createItemResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_get__ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_in__ngwm__createItemResponse(struct soap *soap, const char *tag, _ngwm__createItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemResponse, sizeof(_ngwm__createItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwm:id", &(((_ngwm__createItemResponse*)a)->id), "ngwt:uid")) + continue; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemResponse, 0, sizeof(_ngwm__createItemResponse), 0, soap_copy__ngwm__createItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_new__ngwm__createItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createItemResponse; + if (size) + *size = sizeof(_ngwm__createItemResponse); + ((_ngwm__createItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__createItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__createItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemResponse %p -> %p\n", q, p)); + *(_ngwm__createItemResponse*)p = *(_ngwm__createItemResponse*)q; +} + +void _ngwm__createItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createItemRequest*)this)->item, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((_ngwm__createItemRequest*)this)->item); + soap_embedded(soap, &((_ngwm__createItemRequest*)this)->notification, SOAP_TYPE_PointerTongwt__SharedFolderNotification); + soap_serialize_PointerTongwt__SharedFolderNotification(soap, &((_ngwm__createItemRequest*)this)->notification); + /* transient soap skipped */ +} + +void _ngwm__createItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createItemRequest*)this)->item = NULL; + ((_ngwm__createItemRequest*)this)->notification = NULL; + /* transient soap skipped */ +} + +int _ngwm__createItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__createItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createItemRequest), type); + soap_out_PointerTongwt__Item(soap, "ngwm:item", -1, &(((_ngwm__createItemRequest*)a)->item), ""); + soap_out_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", -1, &(((_ngwm__createItemRequest*)a)->notification), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_get__ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_in__ngwm__createItemRequest(struct soap *soap, const char *tag, _ngwm__createItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createItemRequest, sizeof(_ngwm__createItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_item1 = 1, soap_flag_notification1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwm:item", &(((_ngwm__createItemRequest*)a)->item), "ngwt:Item")) + { soap_flag_item1 = 0; + continue; + } + if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SharedFolderNotification(soap, "ngwm:notification", &(((_ngwm__createItemRequest*)a)->notification), "ngwt:SharedFolderNotification")) + { soap_flag_notification1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_item1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemRequest, 0, sizeof(_ngwm__createItemRequest), 0, soap_copy__ngwm__createItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_new__ngwm__createItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createItemRequest; + if (size) + *size = sizeof(_ngwm__createItemRequest); + ((_ngwm__createItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__createItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__createItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createItemRequest %p -> %p\n", q, p)); + *(_ngwm__createItemRequest*)p = *(_ngwm__createItemRequest*)q; +} + +void _ngwm__createCursorResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createCursorResponse*)this)->cursor, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((_ngwm__createCursorResponse*)this)->cursor); + soap_embedded(soap, &((_ngwm__createCursorResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__createCursorResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__createCursorResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__createCursorResponse*)this)->cursor = NULL; + ((_ngwm__createCursorResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__createCursorResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createCursorResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createCursorResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createCursorResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorResponse(struct soap *soap, const char *tag, int id, const _ngwm__createCursorResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createCursorResponse), type); + soap_out_PointerToint(soap, "ngwm:cursor", -1, &(((_ngwm__createCursorResponse*)a)->cursor), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__createCursorResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createCursorResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createCursorResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_get__ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createCursorResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createCursorResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_in__ngwm__createCursorResponse(struct soap *soap, const char *tag, _ngwm__createCursorResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createCursorResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createCursorResponse, sizeof(_ngwm__createCursorResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createCursorResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createCursorResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_cursor1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_cursor1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwm:cursor", &(((_ngwm__createCursorResponse*)a)->cursor), "")) + { soap_flag_cursor1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__createCursorResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createCursorResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorResponse, 0, sizeof(_ngwm__createCursorResponse), 0, soap_copy__ngwm__createCursorResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_new__ngwm__createCursorResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createCursorResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__createCursorResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createCursorResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createCursorResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createCursorResponse; + if (size) + *size = sizeof(_ngwm__createCursorResponse); + ((_ngwm__createCursorResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createCursorResponse[n]; + if (size) + *size = n * sizeof(_ngwm__createCursorResponse); + for (int i = 0; i < n; i++) + ((_ngwm__createCursorResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createCursorResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createCursorResponse %p -> %p\n", q, p)); + *(_ngwm__createCursorResponse*)p = *(_ngwm__createCursorResponse*)q; +} + +void _ngwm__createCursorRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__createCursorRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__createCursorRequest*)this)->container); + soap_embedded(soap, &((_ngwm__createCursorRequest*)this)->view, SOAP_TYPE_PointerTongwt__View); + soap_serialize_PointerTongwt__View(soap, &((_ngwm__createCursorRequest*)this)->view); + soap_embedded(soap, &((_ngwm__createCursorRequest*)this)->filter, SOAP_TYPE_PointerTongwt__Filter); + soap_serialize_PointerTongwt__Filter(soap, &((_ngwm__createCursorRequest*)this)->filter); + /* transient soap skipped */ +} + +void _ngwm__createCursorRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__createCursorRequest*)this)->container); + ((_ngwm__createCursorRequest*)this)->view = NULL; + ((_ngwm__createCursorRequest*)this)->filter = NULL; + /* transient soap skipped */ +} + +int _ngwm__createCursorRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__createCursorRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__createCursorRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__createCursorRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorRequest(struct soap *soap, const char *tag, int id, const _ngwm__createCursorRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__createCursorRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__createCursorRequest*)a)->container), ""); + soap_out_PointerTongwt__View(soap, "ngwm:view", -1, &(((_ngwm__createCursorRequest*)a)->view), ""); + soap_out_PointerTongwt__Filter(soap, "ngwm:filter", -1, &(((_ngwm__createCursorRequest*)a)->filter), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__createCursorRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__createCursorRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_get__ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__createCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__createCursorRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__createCursorRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_in__ngwm__createCursorRequest(struct soap *soap, const char *tag, _ngwm__createCursorRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__createCursorRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__createCursorRequest, sizeof(_ngwm__createCursorRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__createCursorRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__createCursorRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_view1 = 1, soap_flag_filter1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__createCursorRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_view1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__View(soap, "ngwm:view", &(((_ngwm__createCursorRequest*)a)->view), "ngwt:View")) + { soap_flag_view1 = 0; + continue; + } + if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Filter(soap, "ngwm:filter", &(((_ngwm__createCursorRequest*)a)->filter), "ngwt:Filter")) + { soap_flag_filter1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__createCursorRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorRequest, 0, sizeof(_ngwm__createCursorRequest), 0, soap_copy__ngwm__createCursorRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_new__ngwm__createCursorRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__createCursorRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__createCursorRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__createCursorRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__createCursorRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__createCursorRequest; + if (size) + *size = sizeof(_ngwm__createCursorRequest); + ((_ngwm__createCursorRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__createCursorRequest[n]; + if (size) + *size = n * sizeof(_ngwm__createCursorRequest); + for (int i = 0; i < n; i++) + ((_ngwm__createCursorRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__createCursorRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__createCursorRequest %p -> %p\n", q, p)); + *(_ngwm__createCursorRequest*)p = *(_ngwm__createCursorRequest*)q; +} + +void _ngwm__completeResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__completeResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__completeResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__completeResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__completeResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__completeResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__completeResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__completeResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__completeResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeResponse(struct soap *soap, const char *tag, int id, const _ngwm__completeResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__completeResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__completeResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__completeResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__completeResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_get__ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__completeResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__completeResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__completeResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_in__ngwm__completeResponse(struct soap *soap, const char *tag, _ngwm__completeResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__completeResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__completeResponse, sizeof(_ngwm__completeResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__completeResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__completeResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__completeResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__completeResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeResponse, 0, sizeof(_ngwm__completeResponse), 0, soap_copy__ngwm__completeResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_new__ngwm__completeResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__completeResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_instantiate__ngwm__completeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__completeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__completeResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__completeResponse; + if (size) + *size = sizeof(_ngwm__completeResponse); + ((_ngwm__completeResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__completeResponse[n]; + if (size) + *size = n * sizeof(_ngwm__completeResponse); + for (int i = 0; i < n; i++) + ((_ngwm__completeResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__completeResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__completeResponse %p -> %p\n", q, p)); + *(_ngwm__completeResponse*)p = *(_ngwm__completeResponse*)q; +} + +void _ngwm__completeRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__completeRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__completeRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__completeRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__completeRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__completeRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__completeRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__completeRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__completeRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeRequest(struct soap *soap, const char *tag, int id, const _ngwm__completeRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__completeRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__completeRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__completeRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__completeRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_get__ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__completeRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__completeRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__completeRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_in__ngwm__completeRequest(struct soap *soap, const char *tag, _ngwm__completeRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__completeRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__completeRequest, sizeof(_ngwm__completeRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__completeRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__completeRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__completeRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__completeRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeRequest, 0, sizeof(_ngwm__completeRequest), 0, soap_copy__ngwm__completeRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_new__ngwm__completeRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__completeRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_instantiate__ngwm__completeRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__completeRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__completeRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__completeRequest; + if (size) + *size = sizeof(_ngwm__completeRequest); + ((_ngwm__completeRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__completeRequest[n]; + if (size) + *size = n * sizeof(_ngwm__completeRequest); + for (int i = 0; i < n; i++) + ((_ngwm__completeRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__completeRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__completeRequest %p -> %p\n", q, p)); + *(_ngwm__completeRequest*)p = *(_ngwm__completeRequest*)q; +} + +void _ngwm__closeFreeBusySessionResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__closeFreeBusySessionResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__closeFreeBusySessionResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__closeFreeBusySessionResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__closeFreeBusySessionResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__closeFreeBusySessionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__closeFreeBusySessionResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__closeFreeBusySessionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__closeFreeBusySessionResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, int id, const _ngwm__closeFreeBusySessionResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__closeFreeBusySessionResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__closeFreeBusySessionResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__closeFreeBusySessionResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__closeFreeBusySessionResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__closeFreeBusySessionResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__closeFreeBusySessionResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__closeFreeBusySessionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, sizeof(_ngwm__closeFreeBusySessionResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__closeFreeBusySessionResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__closeFreeBusySessionResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__closeFreeBusySessionResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__closeFreeBusySessionResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, 0, sizeof(_ngwm__closeFreeBusySessionResponse), 0, soap_copy__ngwm__closeFreeBusySessionResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__closeFreeBusySessionResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__closeFreeBusySessionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__closeFreeBusySessionResponse; + if (size) + *size = sizeof(_ngwm__closeFreeBusySessionResponse); + ((_ngwm__closeFreeBusySessionResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__closeFreeBusySessionResponse[n]; + if (size) + *size = n * sizeof(_ngwm__closeFreeBusySessionResponse); + for (int i = 0; i < n; i++) + ((_ngwm__closeFreeBusySessionResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__closeFreeBusySessionResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__closeFreeBusySessionResponse %p -> %p\n", q, p)); + *(_ngwm__closeFreeBusySessionResponse*)p = *(_ngwm__closeFreeBusySessionResponse*)q; +} + +void _ngwm__closeFreeBusySessionRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__closeFreeBusySessionRequest*)this)->freeBusySessionId, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void _ngwm__closeFreeBusySessionRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_int(soap, &((_ngwm__closeFreeBusySessionRequest*)this)->freeBusySessionId); + /* transient soap skipped */ +} + +int _ngwm__closeFreeBusySessionRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__closeFreeBusySessionRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__closeFreeBusySessionRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__closeFreeBusySessionRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const _ngwm__closeFreeBusySessionRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest), type); + soap_out_int(soap, "ngwm:freeBusySessionId", -1, &(((_ngwm__closeFreeBusySessionRequest*)a)->freeBusySessionId), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__closeFreeBusySessionRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__closeFreeBusySessionRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__closeFreeBusySessionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__closeFreeBusySessionRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__closeFreeBusySessionRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__closeFreeBusySessionRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, sizeof(_ngwm__closeFreeBusySessionRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__closeFreeBusySessionRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__closeFreeBusySessionRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_freeBusySessionId1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_freeBusySessionId1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwm:freeBusySessionId", &(((_ngwm__closeFreeBusySessionRequest*)a)->freeBusySessionId), "")) + { soap_flag_freeBusySessionId1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_freeBusySessionId1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__closeFreeBusySessionRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, 0, sizeof(_ngwm__closeFreeBusySessionRequest), 0, soap_copy__ngwm__closeFreeBusySessionRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__closeFreeBusySessionRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__closeFreeBusySessionRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__closeFreeBusySessionRequest; + if (size) + *size = sizeof(_ngwm__closeFreeBusySessionRequest); + ((_ngwm__closeFreeBusySessionRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__closeFreeBusySessionRequest[n]; + if (size) + *size = n * sizeof(_ngwm__closeFreeBusySessionRequest); + for (int i = 0; i < n; i++) + ((_ngwm__closeFreeBusySessionRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__closeFreeBusySessionRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__closeFreeBusySessionRequest %p -> %p\n", q, p)); + *(_ngwm__closeFreeBusySessionRequest*)p = *(_ngwm__closeFreeBusySessionRequest*)q; +} + +void _ngwm__addMembersResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__addMembersResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__addMembersResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__addMembersResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__addMembersResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__addMembersResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addMembersResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__addMembersResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__addMembersResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersResponse(struct soap *soap, const char *tag, int id, const _ngwm__addMembersResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addMembersResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__addMembersResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__addMembersResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__addMembersResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_get__ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__addMembersResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__addMembersResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__addMembersResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_in__ngwm__addMembersResponse(struct soap *soap, const char *tag, _ngwm__addMembersResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__addMembersResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addMembersResponse, sizeof(_ngwm__addMembersResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__addMembersResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__addMembersResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__addMembersResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__addMembersResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersResponse, 0, sizeof(_ngwm__addMembersResponse), 0, soap_copy__ngwm__addMembersResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_new__ngwm__addMembersResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__addMembersResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__addMembersResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addMembersResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addMembersResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__addMembersResponse; + if (size) + *size = sizeof(_ngwm__addMembersResponse); + ((_ngwm__addMembersResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__addMembersResponse[n]; + if (size) + *size = n * sizeof(_ngwm__addMembersResponse); + for (int i = 0; i < n; i++) + ((_ngwm__addMembersResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__addMembersResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addMembersResponse %p -> %p\n", q, p)); + *(_ngwm__addMembersResponse*)p = *(_ngwm__addMembersResponse*)q; +} + +void _ngwm__addMembersRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__addMembersRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__addMembersRequest*)this)->container); + soap_embedded(soap, &((_ngwm__addMembersRequest*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList); + soap_serialize_PointerTongwt__GroupMemberList(soap, &((_ngwm__addMembersRequest*)this)->members); + /* transient soap skipped */ +} + +void _ngwm__addMembersRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__addMembersRequest*)this)->container); + ((_ngwm__addMembersRequest*)this)->members = NULL; + /* transient soap skipped */ +} + +int _ngwm__addMembersRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addMembersRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__addMembersRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__addMembersRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersRequest(struct soap *soap, const char *tag, int id, const _ngwm__addMembersRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addMembersRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__addMembersRequest*)a)->container), ""); + soap_out_PointerTongwt__GroupMemberList(soap, "ngwm:members", -1, &(((_ngwm__addMembersRequest*)a)->members), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__addMembersRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__addMembersRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_get__ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__addMembersRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__addMembersRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__addMembersRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_in__ngwm__addMembersRequest(struct soap *soap, const char *tag, _ngwm__addMembersRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__addMembersRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addMembersRequest, sizeof(_ngwm__addMembersRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__addMembersRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__addMembersRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_members1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__addMembersRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwm:members", &(((_ngwm__addMembersRequest*)a)->members), "ngwt:GroupMemberList")) + { soap_flag_members1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_members1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__addMembersRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersRequest, 0, sizeof(_ngwm__addMembersRequest), 0, soap_copy__ngwm__addMembersRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_new__ngwm__addMembersRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__addMembersRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__addMembersRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addMembersRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addMembersRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__addMembersRequest; + if (size) + *size = sizeof(_ngwm__addMembersRequest); + ((_ngwm__addMembersRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__addMembersRequest[n]; + if (size) + *size = n * sizeof(_ngwm__addMembersRequest); + for (int i = 0; i < n; i++) + ((_ngwm__addMembersRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__addMembersRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addMembersRequest %p -> %p\n", q, p)); + *(_ngwm__addMembersRequest*)p = *(_ngwm__addMembersRequest*)q; +} + +void _ngwm__addItemsResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__addItemsResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__addItemsResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__addItemsResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__addItemsResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__addItemsResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemsResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__addItemsResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__addItemsResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsResponse(struct soap *soap, const char *tag, int id, const _ngwm__addItemsResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemsResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__addItemsResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__addItemsResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__addItemsResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_get__ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__addItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__addItemsResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__addItemsResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_in__ngwm__addItemsResponse(struct soap *soap, const char *tag, _ngwm__addItemsResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__addItemsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemsResponse, sizeof(_ngwm__addItemsResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__addItemsResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__addItemsResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__addItemsResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__addItemsResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsResponse, 0, sizeof(_ngwm__addItemsResponse), 0, soap_copy__ngwm__addItemsResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_new__ngwm__addItemsResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__addItemsResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemsResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__addItemsResponse; + if (size) + *size = sizeof(_ngwm__addItemsResponse); + ((_ngwm__addItemsResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__addItemsResponse[n]; + if (size) + *size = n * sizeof(_ngwm__addItemsResponse); + for (int i = 0; i < n; i++) + ((_ngwm__addItemsResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__addItemsResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemsResponse %p -> %p\n", q, p)); + *(_ngwm__addItemsResponse*)p = *(_ngwm__addItemsResponse*)q; +} + +void _ngwm__addItemsRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__addItemsRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__addItemsRequest*)this)->container); + soap_embedded(soap, &((_ngwm__addItemsRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__addItemsRequest*)this)->items); + /* transient soap skipped */ +} + +void _ngwm__addItemsRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__addItemsRequest*)this)->container); + ((_ngwm__addItemsRequest*)this)->items = NULL; + /* transient soap skipped */ +} + +int _ngwm__addItemsRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemsRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__addItemsRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__addItemsRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsRequest(struct soap *soap, const char *tag, int id, const _ngwm__addItemsRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemsRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__addItemsRequest*)a)->container), ""); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__addItemsRequest*)a)->items), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__addItemsRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__addItemsRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_get__ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__addItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__addItemsRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__addItemsRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_in__ngwm__addItemsRequest(struct soap *soap, const char *tag, _ngwm__addItemsRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__addItemsRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemsRequest, sizeof(_ngwm__addItemsRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__addItemsRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__addItemsRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_items1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__addItemsRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__addItemsRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__addItemsRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsRequest, 0, sizeof(_ngwm__addItemsRequest), 0, soap_copy__ngwm__addItemsRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_new__ngwm__addItemsRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__addItemsRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemsRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemsRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemsRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__addItemsRequest; + if (size) + *size = sizeof(_ngwm__addItemsRequest); + ((_ngwm__addItemsRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__addItemsRequest[n]; + if (size) + *size = n * sizeof(_ngwm__addItemsRequest); + for (int i = 0; i < n; i++) + ((_ngwm__addItemsRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__addItemsRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemsRequest %p -> %p\n", q, p)); + *(_ngwm__addItemsRequest*)p = *(_ngwm__addItemsRequest*)q; +} + +void _ngwm__addItemResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__addItemResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__addItemResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__addItemResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__addItemResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__addItemResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__addItemResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__addItemResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemResponse(struct soap *soap, const char *tag, int id, const _ngwm__addItemResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__addItemResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__addItemResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__addItemResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_get__ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__addItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__addItemResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__addItemResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_in__ngwm__addItemResponse(struct soap *soap, const char *tag, _ngwm__addItemResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__addItemResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemResponse, sizeof(_ngwm__addItemResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__addItemResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__addItemResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__addItemResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__addItemResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemResponse, 0, sizeof(_ngwm__addItemResponse), 0, soap_copy__ngwm__addItemResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_new__ngwm__addItemResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__addItemResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__addItemResponse; + if (size) + *size = sizeof(_ngwm__addItemResponse); + ((_ngwm__addItemResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__addItemResponse[n]; + if (size) + *size = n * sizeof(_ngwm__addItemResponse); + for (int i = 0; i < n; i++) + ((_ngwm__addItemResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__addItemResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemResponse %p -> %p\n", q, p)); + *(_ngwm__addItemResponse*)p = *(_ngwm__addItemResponse*)q; +} + +void _ngwm__addItemRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__addItemRequest*)this)->container, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->container); + soap_embedded(soap, &((_ngwm__addItemRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->id); + /* transient soap skipped */ +} + +void _ngwm__addItemRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->container); + soap_default_ngwt__uid(soap, &((_ngwm__addItemRequest*)this)->id); + /* transient soap skipped */ +} + +int _ngwm__addItemRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__addItemRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__addItemRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__addItemRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemRequest(struct soap *soap, const char *tag, int id, const _ngwm__addItemRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__addItemRequest), type); + soap_out_ngwt__uid(soap, "ngwm:container", -1, &(((_ngwm__addItemRequest*)a)->container), ""); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__addItemRequest*)a)->id), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__addItemRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__addItemRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_get__ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__addItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__addItemRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__addItemRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_in__ngwm__addItemRequest(struct soap *soap, const char *tag, _ngwm__addItemRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__addItemRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__addItemRequest, sizeof(_ngwm__addItemRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__addItemRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__addItemRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_container1 = 1, soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:container", &(((_ngwm__addItemRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__addItemRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_container1 || soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__addItemRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemRequest, 0, sizeof(_ngwm__addItemRequest), 0, soap_copy__ngwm__addItemRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_new__ngwm__addItemRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__addItemRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__addItemRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__addItemRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__addItemRequest; + if (size) + *size = sizeof(_ngwm__addItemRequest); + ((_ngwm__addItemRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__addItemRequest[n]; + if (size) + *size = n * sizeof(_ngwm__addItemRequest); + for (int i = 0; i < n; i++) + ((_ngwm__addItemRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__addItemRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__addItemRequest %p -> %p\n", q, p)); + *(_ngwm__addItemRequest*)p = *(_ngwm__addItemRequest*)q; +} + +void _ngwm__acceptShareResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__acceptShareResponse*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__acceptShareResponse*)this)->id); + soap_embedded(soap, &((_ngwm__acceptShareResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__acceptShareResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__acceptShareResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__acceptShareResponse*)this)->id = NULL; + ((_ngwm__acceptShareResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__acceptShareResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptShareResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__acceptShareResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__acceptShareResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareResponse(struct soap *soap, const char *tag, int id, const _ngwm__acceptShareResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptShareResponse), type); + soap_out_PointerTongwt__uid(soap, "ngwm:id", -1, &(((_ngwm__acceptShareResponse*)a)->id), ""); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__acceptShareResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__acceptShareResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__acceptShareResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_get__ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__acceptShareResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__acceptShareResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__acceptShareResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_in__ngwm__acceptShareResponse(struct soap *soap, const char *tag, _ngwm__acceptShareResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__acceptShareResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptShareResponse, sizeof(_ngwm__acceptShareResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__acceptShareResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__acceptShareResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:id", &(((_ngwm__acceptShareResponse*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__acceptShareResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__acceptShareResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareResponse, 0, sizeof(_ngwm__acceptShareResponse), 0, soap_copy__ngwm__acceptShareResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_new__ngwm__acceptShareResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__acceptShareResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptShareResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptShareResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__acceptShareResponse; + if (size) + *size = sizeof(_ngwm__acceptShareResponse); + ((_ngwm__acceptShareResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__acceptShareResponse[n]; + if (size) + *size = n * sizeof(_ngwm__acceptShareResponse); + for (int i = 0; i < n; i++) + ((_ngwm__acceptShareResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__acceptShareResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptShareResponse %p -> %p\n", q, p)); + *(_ngwm__acceptShareResponse*)p = *(_ngwm__acceptShareResponse*)q; +} + +void _ngwm__acceptShareRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((_ngwm__acceptShareRequest*)this)->id); + soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__acceptShareRequest*)this)->name); + soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->container, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((_ngwm__acceptShareRequest*)this)->container); + soap_embedded(soap, &((_ngwm__acceptShareRequest*)this)->ngwt__description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__acceptShareRequest*)this)->ngwt__description); + /* transient soap skipped */ +} + +void _ngwm__acceptShareRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((_ngwm__acceptShareRequest*)this)->id); + ((_ngwm__acceptShareRequest*)this)->name = NULL; + ((_ngwm__acceptShareRequest*)this)->container = NULL; + ((_ngwm__acceptShareRequest*)this)->ngwt__description = NULL; + /* transient soap skipped */ +} + +int _ngwm__acceptShareRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptShareRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__acceptShareRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__acceptShareRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareRequest(struct soap *soap, const char *tag, int id, const _ngwm__acceptShareRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptShareRequest), type); + soap_out_ngwt__uid(soap, "ngwm:id", -1, &(((_ngwm__acceptShareRequest*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwm:name", -1, &(((_ngwm__acceptShareRequest*)a)->name), ""); + soap_out_PointerTongwt__uid(soap, "ngwm:container", -1, &(((_ngwm__acceptShareRequest*)a)->container), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((_ngwm__acceptShareRequest*)a)->ngwt__description), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__acceptShareRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__acceptShareRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_get__ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__acceptShareRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__acceptShareRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__acceptShareRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_in__ngwm__acceptShareRequest(struct soap *soap, const char *tag, _ngwm__acceptShareRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__acceptShareRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptShareRequest, sizeof(_ngwm__acceptShareRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__acceptShareRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__acceptShareRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_container1 = 1, soap_flag_ngwt__description1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwm:id", &(((_ngwm__acceptShareRequest*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:name", &(((_ngwm__acceptShareRequest*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwm:container", &(((_ngwm__acceptShareRequest*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_ngwt__description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((_ngwm__acceptShareRequest*)a)->ngwt__description), "")) + { soap_flag_ngwt__description1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__acceptShareRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareRequest, 0, sizeof(_ngwm__acceptShareRequest), 0, soap_copy__ngwm__acceptShareRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_new__ngwm__acceptShareRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__acceptShareRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptShareRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptShareRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__acceptShareRequest; + if (size) + *size = sizeof(_ngwm__acceptShareRequest); + ((_ngwm__acceptShareRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__acceptShareRequest[n]; + if (size) + *size = n * sizeof(_ngwm__acceptShareRequest); + for (int i = 0; i < n; i++) + ((_ngwm__acceptShareRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__acceptShareRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptShareRequest %p -> %p\n", q, p)); + *(_ngwm__acceptShareRequest*)p = *(_ngwm__acceptShareRequest*)q; +} + +void _ngwm__acceptResponse::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__acceptResponse*)this)->status, SOAP_TYPE_PointerTongwt__Status); + soap_serialize_PointerTongwt__Status(soap, &((_ngwm__acceptResponse*)this)->status); + /* transient soap skipped */ +} + +void _ngwm__acceptResponse::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__acceptResponse*)this)->status = NULL; + /* transient soap skipped */ +} + +int _ngwm__acceptResponse::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptResponse); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__acceptResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__acceptResponse(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptResponse(struct soap *soap, const char *tag, int id, const _ngwm__acceptResponse *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptResponse), type); + soap_out_PointerTongwt__Status(soap, "ngwm:status", -1, &(((_ngwm__acceptResponse*)a)->status), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__acceptResponse::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__acceptResponse(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_get__ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__acceptResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__acceptResponse::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__acceptResponse(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_in__ngwm__acceptResponse(struct soap *soap, const char *tag, _ngwm__acceptResponse *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__acceptResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptResponse, sizeof(_ngwm__acceptResponse), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__acceptResponse) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__acceptResponse *)a->soap_in(soap, tag, type); + } + } + short soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Status(soap, "ngwm:status", &(((_ngwm__acceptResponse*)a)->status), "ngwt:Status")) + { soap_flag_status1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_status1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__acceptResponse *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptResponse, 0, sizeof(_ngwm__acceptResponse), 0, soap_copy__ngwm__acceptResponse); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_new__ngwm__acceptResponse(struct soap *soap, int n) +{ return soap_instantiate__ngwm__acceptResponse(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptResponse, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__acceptResponse; + if (size) + *size = sizeof(_ngwm__acceptResponse); + ((_ngwm__acceptResponse*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__acceptResponse[n]; + if (size) + *size = n * sizeof(_ngwm__acceptResponse); + for (int i = 0; i < n; i++) + ((_ngwm__acceptResponse*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__acceptResponse*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptResponse(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptResponse %p -> %p\n", q, p)); + *(_ngwm__acceptResponse*)p = *(_ngwm__acceptResponse*)q; +} + +void _ngwm__acceptRequest::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((_ngwm__acceptRequest*)this)->items, SOAP_TYPE_PointerTongwt__ItemRefList); + soap_serialize_PointerTongwt__ItemRefList(soap, &((_ngwm__acceptRequest*)this)->items); + soap_embedded(soap, &((_ngwm__acceptRequest*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((_ngwm__acceptRequest*)this)->comment); + soap_embedded(soap, &((_ngwm__acceptRequest*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel); + soap_serialize_PointerTongwt__AcceptLevel(soap, &((_ngwm__acceptRequest*)this)->acceptLevel); + soap_embedded(soap, &((_ngwm__acceptRequest*)this)->recurrenceAllInstances, SOAP_TYPE_unsignedLong); + /* transient soap skipped */ +} + +void _ngwm__acceptRequest::soap_default(struct soap *soap) +{ + this->soap = soap; + ((_ngwm__acceptRequest*)this)->items = NULL; + ((_ngwm__acceptRequest*)this)->comment = NULL; + ((_ngwm__acceptRequest*)this)->acceptLevel = NULL; + ((_ngwm__acceptRequest*)this)->recurrenceAllInstances = 0; + /* transient soap skipped */ +} + +int _ngwm__acceptRequest::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ngwm__acceptRequest); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int _ngwm__acceptRequest::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out__ngwm__acceptRequest(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptRequest(struct soap *soap, const char *tag, int id, const _ngwm__acceptRequest *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ngwm__acceptRequest), type); + soap_out_PointerTongwt__ItemRefList(soap, "ngwm:items", -1, &(((_ngwm__acceptRequest*)a)->items), ""); + soap_out_PointerTostd__string(soap, "ngwm:comment", -1, &(((_ngwm__acceptRequest*)a)->comment), ""); + soap_out_PointerTongwt__AcceptLevel(soap, "ngwm:acceptLevel", -1, &(((_ngwm__acceptRequest*)a)->acceptLevel), ""); + soap_out_unsignedLong(soap, "ngwm:recurrenceAllInstances", -1, &(((_ngwm__acceptRequest*)a)->recurrenceAllInstances), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *_ngwm__acceptRequest::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get__ngwm__acceptRequest(soap, this, tag, type); +} + +SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_get__ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in__ngwm__acceptRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *_ngwm__acceptRequest::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in__ngwm__acceptRequest(soap, tag, this, type); +} + +SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_in__ngwm__acceptRequest(struct soap *soap, const char *tag, _ngwm__acceptRequest *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (_ngwm__acceptRequest *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ngwm__acceptRequest, sizeof(_ngwm__acceptRequest), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE__ngwm__acceptRequest) + { soap_revert(soap); + *soap->id = '\0'; + return (_ngwm__acceptRequest *)a->soap_in(soap, tag, type); + } + } + short soap_flag_items1 = 1, soap_flag_comment1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_recurrenceAllInstances1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_items1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRefList(soap, "ngwm:items", &(((_ngwm__acceptRequest*)a)->items), "ngwt:ItemRefList")) + { soap_flag_items1 = 0; + continue; + } + if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwm:comment", &(((_ngwm__acceptRequest*)a)->comment), "")) + { soap_flag_comment1 = 0; + continue; + } + if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwm:acceptLevel", &(((_ngwm__acceptRequest*)a)->acceptLevel), "")) + { soap_flag_acceptLevel1 = 0; + continue; + } + if (soap_flag_recurrenceAllInstances1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwm:recurrenceAllInstances", &(((_ngwm__acceptRequest*)a)->recurrenceAllInstances), "")) + { soap_flag_recurrenceAllInstances1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_items1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (_ngwm__acceptRequest *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptRequest, 0, sizeof(_ngwm__acceptRequest), 0, soap_copy__ngwm__acceptRequest); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_new__ngwm__acceptRequest(struct soap *soap, int n) +{ return soap_instantiate__ngwm__acceptRequest(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptRequest(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ngwm__acceptRequest(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ngwm__acceptRequest, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new _ngwm__acceptRequest; + if (size) + *size = sizeof(_ngwm__acceptRequest); + ((_ngwm__acceptRequest*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new _ngwm__acceptRequest[n]; + if (size) + *size = n * sizeof(_ngwm__acceptRequest); + for (int i = 0; i < n; i++) + ((_ngwm__acceptRequest*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (_ngwm__acceptRequest*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptRequest(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ngwm__acceptRequest %p -> %p\n", q, p)); + *(_ngwm__acceptRequest*)p = *(_ngwm__acceptRequest*)q; +} + +void ngwt__VersionEvent::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__VersionEvent*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__VersionEvent*)this)->library); + soap_embedded(soap, &((ngwt__VersionEvent*)this)->documentNumber, SOAP_TYPE_unsignedLong); + soap_embedded(soap, &((ngwt__VersionEvent*)this)->versionNumber, SOAP_TYPE_unsignedLong); + soap_embedded(soap, &((ngwt__VersionEvent*)this)->creator, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__VersionEvent*)this)->creator); + soap_embedded(soap, &((ngwt__VersionEvent*)this)->event, SOAP_TYPE_ngwt__VersionEventType); + soap_embedded(soap, &((ngwt__VersionEvent*)this)->eventNumber, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__VersionEvent*)this)->eventNumber); + soap_embedded(soap, &((ngwt__VersionEvent*)this)->filename, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__VersionEvent*)this)->filename); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__VersionEvent::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__VersionEvent*)this)->library = NULL; + soap_default_unsignedLong(soap, &((ngwt__VersionEvent*)this)->documentNumber); + soap_default_unsignedLong(soap, &((ngwt__VersionEvent*)this)->versionNumber); + ((ngwt__VersionEvent*)this)->creator = NULL; + soap_default_ngwt__VersionEventType(soap, &((ngwt__VersionEvent*)this)->event); + ((ngwt__VersionEvent*)this)->eventNumber = NULL; + ((ngwt__VersionEvent*)this)->filename = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__VersionEvent::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__VersionEvent); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__VersionEvent::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__VersionEvent(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEvent(struct soap *soap, const char *tag, int id, const ngwt__VersionEvent *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__VersionEvent), "ngwt:VersionEvent"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__VersionEvent*)a)->library), ""); + soap_out_unsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__VersionEvent*)a)->documentNumber), ""); + soap_out_unsignedLong(soap, "ngwt:versionNumber", -1, &(((ngwt__VersionEvent*)a)->versionNumber), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:creator", -1, &(((ngwt__VersionEvent*)a)->creator), ""); + soap_out_ngwt__VersionEventType(soap, "ngwt:event", -1, &(((ngwt__VersionEvent*)a)->event), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:eventNumber", -1, &(((ngwt__VersionEvent*)a)->eventNumber), ""); + soap_out_PointerTostd__string(soap, "ngwt:filename", -1, &(((ngwt__VersionEvent*)a)->filename), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__VersionEvent::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__VersionEvent(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_get_ngwt__VersionEvent(struct soap *soap, ngwt__VersionEvent *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__VersionEvent(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__VersionEvent::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__VersionEvent(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_in_ngwt__VersionEvent(struct soap *soap, const char *tag, ngwt__VersionEvent *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__VersionEvent *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__VersionEvent, sizeof(ngwt__VersionEvent), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__VersionEvent) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__VersionEvent *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_versionNumber1 = 1, soap_flag_creator1 = 1, soap_flag_event1 = 1, soap_flag_eventNumber1 = 1, soap_flag_filename1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories2 = 0; + continue; + } + if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created2 = 0; + continue; + } + if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs2 = 0; + continue; + } + if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__VersionEvent*)a)->library), "ngwt:NameAndEmail")) + { soap_flag_library1 = 0; + continue; + } + if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwt:documentNumber", &(((ngwt__VersionEvent*)a)->documentNumber), "")) + { soap_flag_documentNumber1 = 0; + continue; + } + if (soap_flag_versionNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwt:versionNumber", &(((ngwt__VersionEvent*)a)->versionNumber), "")) + { soap_flag_versionNumber1 = 0; + continue; + } + if (soap_flag_creator1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:creator", &(((ngwt__VersionEvent*)a)->creator), "ngwt:NameAndEmail")) + { soap_flag_creator1 = 0; + continue; + } + if (soap_flag_event1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__VersionEventType(soap, "ngwt:event", &(((ngwt__VersionEvent*)a)->event), "")) + { soap_flag_event1 = 0; + continue; + } + if (soap_flag_eventNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:eventNumber", &(((ngwt__VersionEvent*)a)->eventNumber), "")) + { soap_flag_eventNumber1 = 0; + continue; + } + if (soap_flag_filename1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:filename", &(((ngwt__VersionEvent*)a)->filename), "")) + { soap_flag_filename1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_documentNumber1 || soap_flag_versionNumber1 || soap_flag_event1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__VersionEvent *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionEvent, 0, sizeof(ngwt__VersionEvent), 0, soap_copy_ngwt__VersionEvent); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_new_ngwt__VersionEvent(struct soap *soap, int n) +{ return soap_instantiate_ngwt__VersionEvent(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__VersionEvent(struct soap *soap, ngwt__VersionEvent *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_instantiate_ngwt__VersionEvent(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__VersionEvent(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__VersionEvent, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__VersionEvent; + if (size) + *size = sizeof(ngwt__VersionEvent); + ((ngwt__VersionEvent*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__VersionEvent[n]; + if (size) + *size = n * sizeof(ngwt__VersionEvent); + for (int i = 0; i < n; i++) + ((ngwt__VersionEvent*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__VersionEvent*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__VersionEvent(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__VersionEvent %p -> %p\n", q, p)); + *(ngwt__VersionEvent*)p = *(ngwt__VersionEvent*)q; +} + +void ngwt__Version::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Version*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Version*)this)->library); + soap_embedded(soap, &((ngwt__Version*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Version*)this)->documentNumber); + soap_embedded(soap, &((ngwt__Version*)this)->versionCreator, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Version*)this)->versionCreator); + soap_embedded(soap, &((ngwt__Version*)this)->retrievedBy, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Version*)this)->retrievedBy); + soap_embedded(soap, &((ngwt__Version*)this)->retrievedDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Version*)this)->retrievedDate); + soap_embedded(soap, &((ngwt__Version*)this)->versionNumber, SOAP_TYPE_unsignedLong); + soap_embedded(soap, &((ngwt__Version*)this)->versionDescription, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Version*)this)->versionDescription); + soap_embedded(soap, &((ngwt__Version*)this)->versionStatus, SOAP_TYPE_PointerTongwt__VersionStatus); + soap_serialize_PointerTongwt__VersionStatus(soap, &((ngwt__Version*)this)->versionStatus); + soap_embedded(soap, &((ngwt__Version*)this)->life, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Version*)this)->life); + soap_embedded(soap, &((ngwt__Version*)this)->ageAction, SOAP_TYPE_PointerTongwt__AgeAction); + soap_serialize_PointerTongwt__AgeAction(soap, &((ngwt__Version*)this)->ageAction); + soap_embedded(soap, &((ngwt__Version*)this)->fileSize, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Version*)this)->fileSize); + soap_embedded(soap, &((ngwt__Version*)this)->filename, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Version*)this)->filename); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Version::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Version*)this)->library = NULL; + ((ngwt__Version*)this)->documentNumber = NULL; + ((ngwt__Version*)this)->versionCreator = NULL; + ((ngwt__Version*)this)->retrievedBy = NULL; + soap_default_string(soap, &((ngwt__Version*)this)->retrievedDate); + soap_default_unsignedLong(soap, &((ngwt__Version*)this)->versionNumber); + ((ngwt__Version*)this)->versionDescription = NULL; + ((ngwt__Version*)this)->versionStatus = NULL; + ((ngwt__Version*)this)->life = NULL; + ((ngwt__Version*)this)->ageAction = NULL; + ((ngwt__Version*)this)->fileSize = NULL; + ((ngwt__Version*)this)->filename = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Version::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Version); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Version::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Version(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Version(struct soap *soap, const char *tag, int id, const ngwt__Version *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Version), "ngwt:Version"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__Version*)a)->library), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__Version*)a)->documentNumber), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:versionCreator", -1, &(((ngwt__Version*)a)->versionCreator), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:retrievedBy", -1, &(((ngwt__Version*)a)->retrievedBy), ""); + soap_out_string(soap, "ngwt:retrievedDate", -1, &(((ngwt__Version*)a)->retrievedDate), ""); + soap_out_unsignedLong(soap, "ngwt:versionNumber", -1, &(((ngwt__Version*)a)->versionNumber), ""); + soap_out_PointerTostd__string(soap, "ngwt:versionDescription", -1, &(((ngwt__Version*)a)->versionDescription), ""); + soap_out_PointerTongwt__VersionStatus(soap, "ngwt:versionStatus", -1, &(((ngwt__Version*)a)->versionStatus), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:life", -1, &(((ngwt__Version*)a)->life), ""); + soap_out_PointerTongwt__AgeAction(soap, "ngwt:ageAction", -1, &(((ngwt__Version*)a)->ageAction), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:fileSize", -1, &(((ngwt__Version*)a)->fileSize), ""); + soap_out_PointerTostd__string(soap, "ngwt:filename", -1, &(((ngwt__Version*)a)->filename), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Version::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Version(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_get_ngwt__Version(struct soap *soap, ngwt__Version *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Version(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Version::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Version(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_in_ngwt__Version(struct soap *soap, const char *tag, ngwt__Version *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Version *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Version, sizeof(ngwt__Version), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Version) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Version *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_versionCreator1 = 1, soap_flag_retrievedBy1 = 1, soap_flag_retrievedDate1 = 1, soap_flag_versionNumber1 = 1, soap_flag_versionDescription1 = 1, soap_flag_versionStatus1 = 1, soap_flag_life1 = 1, soap_flag_ageAction1 = 1, soap_flag_fileSize1 = 1, soap_flag_filename1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories2 = 0; + continue; + } + if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created2 = 0; + continue; + } + if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs2 = 0; + continue; + } + if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__Version*)a)->library), "ngwt:NameAndEmail")) + { soap_flag_library1 = 0; + continue; + } + if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:documentNumber", &(((ngwt__Version*)a)->documentNumber), "")) + { soap_flag_documentNumber1 = 0; + continue; + } + if (soap_flag_versionCreator1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:versionCreator", &(((ngwt__Version*)a)->versionCreator), "ngwt:NameAndEmail")) + { soap_flag_versionCreator1 = 0; + continue; + } + if (soap_flag_retrievedBy1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:retrievedBy", &(((ngwt__Version*)a)->retrievedBy), "ngwt:NameAndEmail")) + { soap_flag_retrievedBy1 = 0; + continue; + } + if (soap_flag_retrievedDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retrievedDate", &(((ngwt__Version*)a)->retrievedDate), "")) + { soap_flag_retrievedDate1 = 0; + continue; + } + if (soap_flag_versionNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwt:versionNumber", &(((ngwt__Version*)a)->versionNumber), "")) + { soap_flag_versionNumber1 = 0; + continue; + } + if (soap_flag_versionDescription1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:versionDescription", &(((ngwt__Version*)a)->versionDescription), "")) + { soap_flag_versionDescription1 = 0; + continue; + } + if (soap_flag_versionStatus1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__VersionStatus(soap, "ngwt:versionStatus", &(((ngwt__Version*)a)->versionStatus), "")) + { soap_flag_versionStatus1 = 0; + continue; + } + if (soap_flag_life1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:life", &(((ngwt__Version*)a)->life), "")) + { soap_flag_life1 = 0; + continue; + } + if (soap_flag_ageAction1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AgeAction(soap, "ngwt:ageAction", &(((ngwt__Version*)a)->ageAction), "")) + { soap_flag_ageAction1 = 0; + continue; + } + if (soap_flag_fileSize1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:fileSize", &(((ngwt__Version*)a)->fileSize), "")) + { soap_flag_fileSize1 = 0; + continue; + } + if (soap_flag_filename1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:filename", &(((ngwt__Version*)a)->filename), "")) + { soap_flag_filename1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_versionNumber1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Version *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Version, 0, sizeof(ngwt__Version), 0, soap_copy_ngwt__Version); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_new_ngwt__Version(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Version(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Version(struct soap *soap, ngwt__Version *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_instantiate_ngwt__Version(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Version(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Version, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Version; + if (size) + *size = sizeof(ngwt__Version); + ((ngwt__Version*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Version[n]; + if (size) + *size = n * sizeof(ngwt__Version); + for (int i = 0; i < n; i++) + ((ngwt__Version*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Version*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Version(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Version %p -> %p\n", q, p)); + *(ngwt__Version*)p = *(ngwt__Version*)q; +} + +void ngwt__UserList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__UserInfo(soap, &((ngwt__UserList*)this)->user); + /* transient soap skipped */ +} + +void ngwt__UserList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__UserInfo(soap, &((ngwt__UserList*)this)->user); + /* transient soap skipped */ +} + +int ngwt__UserList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__UserList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__UserList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__UserList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserList(struct soap *soap, const char *tag, int id, const ngwt__UserList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__UserList), type); + soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(soap, "ngwt:user", -1, &(((ngwt__UserList*)a)->user), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__UserList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__UserList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_get_ngwt__UserList(struct soap *soap, ngwt__UserList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__UserList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__UserList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__UserList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_in_ngwt__UserList(struct soap *soap, const char *tag, ngwt__UserList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__UserList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__UserList, sizeof(ngwt__UserList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__UserList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__UserList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(soap, "ngwt:user", &(((ngwt__UserList*)a)->user), "ngwt:UserInfo")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__UserList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserList, 0, sizeof(ngwt__UserList), 0, soap_copy_ngwt__UserList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_new_ngwt__UserList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__UserList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserList(struct soap *soap, ngwt__UserList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_instantiate_ngwt__UserList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__UserList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__UserList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__UserList; + if (size) + *size = sizeof(ngwt__UserList); + ((ngwt__UserList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__UserList[n]; + if (size) + *size = n * sizeof(ngwt__UserList); + for (int i = 0; i < n; i++) + ((ngwt__UserList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__UserList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__UserList %p -> %p\n", q, p)); + *(ngwt__UserList*)p = *(ngwt__UserList*)q; +} + +void ngwt__UserInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__UserInfo*)this)->name, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__UserInfo*)this)->name); + soap_embedded(soap, &((ngwt__UserInfo*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__UserInfo*)this)->email); + soap_embedded(soap, &((ngwt__UserInfo*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__UserInfo*)this)->uuid); + soap_embedded(soap, &((ngwt__UserInfo*)this)->userid, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__UserInfo*)this)->userid); + soap_embedded(soap, &((ngwt__UserInfo*)this)->recipType, SOAP_TYPE_PointerTongwt__RecipientType); + soap_serialize_PointerTongwt__RecipientType(soap, &((ngwt__UserInfo*)this)->recipType); + /* transient soap skipped */ +} + +void ngwt__UserInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__UserInfo*)this)->name); + ((ngwt__UserInfo*)this)->email = NULL; + ((ngwt__UserInfo*)this)->uuid = NULL; + ((ngwt__UserInfo*)this)->userid = NULL; + ((ngwt__UserInfo*)this)->recipType = NULL; + /* transient soap skipped */ +} + +int ngwt__UserInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__UserInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__UserInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__UserInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserInfo(struct soap *soap, const char *tag, int id, const ngwt__UserInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__UserInfo), type); + soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__UserInfo*)a)->name), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__UserInfo*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__UserInfo*)a)->uuid), ""); + soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__UserInfo*)a)->userid), ""); + soap_out_PointerTongwt__RecipientType(soap, "ngwt:recipType", -1, &(((ngwt__UserInfo*)a)->recipType), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__UserInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__UserInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_get_ngwt__UserInfo(struct soap *soap, ngwt__UserInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__UserInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__UserInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__UserInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_in_ngwt__UserInfo(struct soap *soap, const char *tag, ngwt__UserInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__UserInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__UserInfo, sizeof(ngwt__UserInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__UserInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__UserInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_name1 = 1, soap_flag_email1 = 1, soap_flag_uuid1 = 1, soap_flag_userid1 = 1, soap_flag_recipType1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__UserInfo*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__UserInfo*)a)->email), "")) + { soap_flag_email1 = 0; + continue; + } + if (soap_flag_uuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__UserInfo*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid1 = 0; + continue; + } + if (soap_flag_userid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__UserInfo*)a)->userid), "")) + { soap_flag_userid1 = 0; + continue; + } + if (soap_flag_recipType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecipientType(soap, "ngwt:recipType", &(((ngwt__UserInfo*)a)->recipType), "")) + { soap_flag_recipType1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_name1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__UserInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserInfo, 0, sizeof(ngwt__UserInfo), 0, soap_copy_ngwt__UserInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_new_ngwt__UserInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__UserInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserInfo(struct soap *soap, ngwt__UserInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_instantiate_ngwt__UserInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__UserInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__UserInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__UserInfo; + if (size) + *size = sizeof(ngwt__UserInfo); + ((ngwt__UserInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__UserInfo[n]; + if (size) + *size = n * sizeof(ngwt__UserInfo); + for (int i = 0; i < n; i++) + ((ngwt__UserInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__UserInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__UserInfo %p -> %p\n", q, p)); + *(ngwt__UserInfo*)p = *(ngwt__UserInfo*)q; +} + +void ngwt__TrustedApplication::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__TrustedApplication*)this)->username, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__TrustedApplication*)this)->username); + soap_embedded(soap, &((ngwt__TrustedApplication*)this)->name, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__TrustedApplication*)this)->name); + soap_embedded(soap, &((ngwt__TrustedApplication*)this)->key, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__TrustedApplication*)this)->key); + /* transient soap skipped */ +} + +void ngwt__TrustedApplication::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__TrustedApplication*)this)->username); + soap_default_std__string(soap, &((ngwt__TrustedApplication*)this)->name); + soap_default_std__string(soap, &((ngwt__TrustedApplication*)this)->key); + /* transient soap skipped */ +} + +int ngwt__TrustedApplication::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TrustedApplication); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__TrustedApplication::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__TrustedApplication(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TrustedApplication(struct soap *soap, const char *tag, int id, const ngwt__TrustedApplication *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TrustedApplication), "ngwt:TrustedApplication"); + /* transient soap skipped */ + soap_out_std__string(soap, "ngwt:username", -1, &(((ngwt__TrustedApplication*)a)->username), ""); + soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__TrustedApplication*)a)->name), ""); + soap_out_std__string(soap, "ngwt:key", -1, &(((ngwt__TrustedApplication*)a)->key), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__TrustedApplication::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__TrustedApplication(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_get_ngwt__TrustedApplication(struct soap *soap, ngwt__TrustedApplication *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__TrustedApplication(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__TrustedApplication::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__TrustedApplication(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_in_ngwt__TrustedApplication(struct soap *soap, const char *tag, ngwt__TrustedApplication *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__TrustedApplication *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TrustedApplication, sizeof(ngwt__TrustedApplication), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__TrustedApplication) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__TrustedApplication *)a->soap_in(soap, tag, type); + } + } + short soap_flag_username1 = 1, soap_flag_name1 = 1, soap_flag_key1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap_flag_username1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:username", &(((ngwt__TrustedApplication*)a)->username), "")) + { soap_flag_username1 = 0; + continue; + } + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__TrustedApplication*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_key1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:key", &(((ngwt__TrustedApplication*)a)->key), "")) + { soap_flag_key1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_username1 || soap_flag_name1 || soap_flag_key1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__TrustedApplication *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TrustedApplication, 0, sizeof(ngwt__TrustedApplication), 0, soap_copy_ngwt__TrustedApplication); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_new_ngwt__TrustedApplication(struct soap *soap, int n) +{ return soap_instantiate_ngwt__TrustedApplication(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TrustedApplication(struct soap *soap, ngwt__TrustedApplication *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_instantiate_ngwt__TrustedApplication(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TrustedApplication(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TrustedApplication, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__TrustedApplication; + if (size) + *size = sizeof(ngwt__TrustedApplication); + ((ngwt__TrustedApplication*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__TrustedApplication[n]; + if (size) + *size = n * sizeof(ngwt__TrustedApplication); + for (int i = 0; i < n; i++) + ((ngwt__TrustedApplication*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__TrustedApplication*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TrustedApplication(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TrustedApplication %p -> %p\n", q, p)); + *(ngwt__TrustedApplication*)p = *(ngwt__TrustedApplication*)q; +} + +void ngwt__TransferFailedStatus::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->delivered); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeliverable, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferred, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferred); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferDelayed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferFailed, SOAP_TYPE_PointerTongwt__TransferFailedStatus); + soap_serialize_PointerTongwt__TransferFailedStatus(soap, &((ngwt__RecipientStatus*)this)->transferFailed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloaded, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloaded); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retractRequested, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retracted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retracted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->opened, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->opened); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->deleted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->deleted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeleted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeleted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->purged, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->purged); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->accepted, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->accepted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->declined, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->declined); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->replied, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->replied); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->forwarded, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->forwarded); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->shared, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->shared); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->started, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->started); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->completed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->completed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->incomplete, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->incomplete); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delegated, SOAP_TYPE_PointerTongwt__DelegatedStatus); + soap_serialize_PointerTongwt__DelegatedStatus(soap, &((ngwt__RecipientStatus*)this)->delegated); + soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus); + /* transient soap skipped */ +} + +void ngwt__TransferFailedStatus::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__TransferFailedStatus*)this)->FailureReason = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->delivered); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferred); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed); + ((ngwt__RecipientStatus*)this)->transferFailed = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloaded); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retracted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->opened); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->deleted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeleted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->purged); + ((ngwt__RecipientStatus*)this)->accepted = NULL; + ((ngwt__RecipientStatus*)this)->declined = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->replied); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->forwarded); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->shared); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->started); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->completed); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->incomplete); + ((ngwt__RecipientStatus*)this)->delegated = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus); + /* transient soap skipped */ +} + +int ngwt__TransferFailedStatus::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TransferFailedStatus); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__TransferFailedStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__TransferFailedStatus(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TransferFailedStatus(struct soap *soap, const char *tag, int id, const ngwt__TransferFailedStatus *a, const char *type) +{ + if (((ngwt__TransferFailedStatus *)a)->FailureReason) + soap_set_attr(soap, "FailureReason", ((ngwt__TransferFailedStatus *)a)->FailureReason->c_str()); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TransferFailedStatus), "ngwt:TransferFailedStatus"); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__RecipientStatus*)a)->delivered), ""); + soap_out_string(soap, "ngwt:undeliverable", -1, &(((ngwt__RecipientStatus*)a)->undeliverable), ""); + soap_out_string(soap, "ngwt:transferred", -1, &(((ngwt__RecipientStatus*)a)->transferred), ""); + soap_out_string(soap, "ngwt:transferDelayed", -1, &(((ngwt__RecipientStatus*)a)->transferDelayed), ""); + soap_out_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", -1, &(((ngwt__RecipientStatus*)a)->transferFailed), ""); + soap_out_string(soap, "ngwt:downloaded", -1, &(((ngwt__RecipientStatus*)a)->downloaded), ""); + soap_out_string(soap, "ngwt:downloadedByThirdParty", -1, &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), ""); + soap_out_string(soap, "ngwt:retractRequested", -1, &(((ngwt__RecipientStatus*)a)->retractRequested), ""); + soap_out_string(soap, "ngwt:retracted", -1, &(((ngwt__RecipientStatus*)a)->retracted), ""); + soap_out_string(soap, "ngwt:opened", -1, &(((ngwt__RecipientStatus*)a)->opened), ""); + soap_out_string(soap, "ngwt:deleted", -1, &(((ngwt__RecipientStatus*)a)->deleted), ""); + soap_out_string(soap, "ngwt:undeleted", -1, &(((ngwt__RecipientStatus*)a)->undeleted), ""); + soap_out_string(soap, "ngwt:purged", -1, &(((ngwt__RecipientStatus*)a)->purged), ""); + soap_out_PointerTongwt__CommentStatus(soap, "ngwt:accepted", -1, &(((ngwt__RecipientStatus*)a)->accepted), ""); + soap_out_PointerTongwt__CommentStatus(soap, "ngwt:declined", -1, &(((ngwt__RecipientStatus*)a)->declined), ""); + soap_out_string(soap, "ngwt:replied", -1, &(((ngwt__RecipientStatus*)a)->replied), ""); + soap_out_string(soap, "ngwt:forwarded", -1, &(((ngwt__RecipientStatus*)a)->forwarded), ""); + soap_out_string(soap, "ngwt:shared", -1, &(((ngwt__RecipientStatus*)a)->shared), ""); + soap_out_string(soap, "ngwt:started", -1, &(((ngwt__RecipientStatus*)a)->started), ""); + soap_out_string(soap, "ngwt:completed", -1, &(((ngwt__RecipientStatus*)a)->completed), ""); + soap_out_string(soap, "ngwt:incomplete", -1, &(((ngwt__RecipientStatus*)a)->incomplete), ""); + soap_out_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", -1, &(((ngwt__RecipientStatus*)a)->delegated), ""); + soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", -1, &(((ngwt__RecipientStatus*)a)->delegateeStatus), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__TransferFailedStatus::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__TransferFailedStatus(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_get_ngwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__TransferFailedStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__TransferFailedStatus::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__TransferFailedStatus(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_in_ngwt__TransferFailedStatus(struct soap *soap, const char *tag, ngwt__TransferFailedStatus *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__TransferFailedStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TransferFailedStatus, sizeof(ngwt__TransferFailedStatus), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__TransferFailedStatus) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__TransferFailedStatus *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "FailureReason", 0); + if (t) + { if (!(((ngwt__TransferFailedStatus *)a)->FailureReason = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__TransferFailedStatus *)a)->FailureReason = soap_new_std__string(soap, -1); + ((ngwt__TransferFailedStatus *)a)->FailureReason->assign(s); + } + } + } + short soap_flag_delivered2 = 1, soap_flag_undeliverable2 = 1, soap_flag_transferred2 = 1, soap_flag_transferDelayed2 = 1, soap_flag_transferFailed2 = 1, soap_flag_downloaded2 = 1, soap_flag_downloadedByThirdParty2 = 1, soap_flag_retractRequested2 = 1, soap_flag_retracted2 = 1, soap_flag_opened2 = 1, soap_flag_deleted2 = 1, soap_flag_undeleted2 = 1, soap_flag_purged2 = 1, soap_flag_accepted2 = 1, soap_flag_declined2 = 1, soap_flag_replied2 = 1, soap_flag_forwarded2 = 1, soap_flag_shared2 = 1, soap_flag_started2 = 1, soap_flag_completed2 = 1, soap_flag_incomplete2 = 1, soap_flag_delegated2 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_delivered2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__RecipientStatus*)a)->delivered), "")) + { soap_flag_delivered2 = 0; + continue; + } + if (soap_flag_undeliverable2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:undeliverable", &(((ngwt__RecipientStatus*)a)->undeliverable), "")) + { soap_flag_undeliverable2 = 0; + continue; + } + if (soap_flag_transferred2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:transferred", &(((ngwt__RecipientStatus*)a)->transferred), "")) + { soap_flag_transferred2 = 0; + continue; + } + if (soap_flag_transferDelayed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:transferDelayed", &(((ngwt__RecipientStatus*)a)->transferDelayed), "")) + { soap_flag_transferDelayed2 = 0; + continue; + } + if (soap_flag_transferFailed2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", &(((ngwt__RecipientStatus*)a)->transferFailed), "ngwt:TransferFailedStatus")) + { soap_flag_transferFailed2 = 0; + continue; + } + if (soap_flag_downloaded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:downloaded", &(((ngwt__RecipientStatus*)a)->downloaded), "")) + { soap_flag_downloaded2 = 0; + continue; + } + if (soap_flag_downloadedByThirdParty2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:downloadedByThirdParty", &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), "")) + { soap_flag_downloadedByThirdParty2 = 0; + continue; + } + if (soap_flag_retractRequested2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retractRequested", &(((ngwt__RecipientStatus*)a)->retractRequested), "")) + { soap_flag_retractRequested2 = 0; + continue; + } + if (soap_flag_retracted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retracted", &(((ngwt__RecipientStatus*)a)->retracted), "")) + { soap_flag_retracted2 = 0; + continue; + } + if (soap_flag_opened2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:opened", &(((ngwt__RecipientStatus*)a)->opened), "")) + { soap_flag_opened2 = 0; + continue; + } + if (soap_flag_deleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:deleted", &(((ngwt__RecipientStatus*)a)->deleted), "")) + { soap_flag_deleted2 = 0; + continue; + } + if (soap_flag_undeleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:undeleted", &(((ngwt__RecipientStatus*)a)->undeleted), "")) + { soap_flag_undeleted2 = 0; + continue; + } + if (soap_flag_purged2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:purged", &(((ngwt__RecipientStatus*)a)->purged), "")) + { soap_flag_purged2 = 0; + continue; + } + if (soap_flag_accepted2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:accepted", &(((ngwt__RecipientStatus*)a)->accepted), "ngwt:CommentStatus")) + { soap_flag_accepted2 = 0; + continue; + } + if (soap_flag_declined2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:declined", &(((ngwt__RecipientStatus*)a)->declined), "ngwt:CommentStatus")) + { soap_flag_declined2 = 0; + continue; + } + if (soap_flag_replied2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:replied", &(((ngwt__RecipientStatus*)a)->replied), "")) + { soap_flag_replied2 = 0; + continue; + } + if (soap_flag_forwarded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:forwarded", &(((ngwt__RecipientStatus*)a)->forwarded), "")) + { soap_flag_forwarded2 = 0; + continue; + } + if (soap_flag_shared2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:shared", &(((ngwt__RecipientStatus*)a)->shared), "")) + { soap_flag_shared2 = 0; + continue; + } + if (soap_flag_started2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:started", &(((ngwt__RecipientStatus*)a)->started), "")) + { soap_flag_started2 = 0; + continue; + } + if (soap_flag_completed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:completed", &(((ngwt__RecipientStatus*)a)->completed), "")) + { soap_flag_completed2 = 0; + continue; + } + if (soap_flag_incomplete2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:incomplete", &(((ngwt__RecipientStatus*)a)->incomplete), "")) + { soap_flag_incomplete2 = 0; + continue; + } + if (soap_flag_delegated2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", &(((ngwt__RecipientStatus*)a)->delegated), "ngwt:DelegatedStatus")) + { soap_flag_delegated2 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", &(((ngwt__RecipientStatus*)a)->delegateeStatus), "ngwt:DelegateeStatus")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__TransferFailedStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TransferFailedStatus, 0, sizeof(ngwt__TransferFailedStatus), 0, soap_copy_ngwt__TransferFailedStatus); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_new_ngwt__TransferFailedStatus(struct soap *soap, int n) +{ return soap_instantiate_ngwt__TransferFailedStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_instantiate_ngwt__TransferFailedStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TransferFailedStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TransferFailedStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__TransferFailedStatus; + if (size) + *size = sizeof(ngwt__TransferFailedStatus); + ((ngwt__TransferFailedStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__TransferFailedStatus[n]; + if (size) + *size = n * sizeof(ngwt__TransferFailedStatus); + for (int i = 0; i < n; i++) + ((ngwt__TransferFailedStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__TransferFailedStatus*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TransferFailedStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TransferFailedStatus %p -> %p\n", q, p)); + *(ngwt__TransferFailedStatus*)p = *(ngwt__TransferFailedStatus*)q; +} + +void ngwt__TimezoneList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Timezone(soap, &((ngwt__TimezoneList*)this)->timezone); + /* transient soap skipped */ +} + +void ngwt__TimezoneList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Timezone(soap, &((ngwt__TimezoneList*)this)->timezone); + /* transient soap skipped */ +} + +int ngwt__TimezoneList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TimezoneList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__TimezoneList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__TimezoneList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneList(struct soap *soap, const char *tag, int id, const ngwt__TimezoneList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TimezoneList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Timezone(soap, "ngwt:timezone", -1, &(((ngwt__TimezoneList*)a)->timezone), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__TimezoneList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__TimezoneList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_get_ngwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__TimezoneList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__TimezoneList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__TimezoneList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_in_ngwt__TimezoneList(struct soap *soap, const char *tag, ngwt__TimezoneList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__TimezoneList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TimezoneList, sizeof(ngwt__TimezoneList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__TimezoneList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__TimezoneList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Timezone(soap, "ngwt:timezone", &(((ngwt__TimezoneList*)a)->timezone), "ngwt:Timezone")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__TimezoneList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneList, 0, sizeof(ngwt__TimezoneList), 0, soap_copy_ngwt__TimezoneList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_new_ngwt__TimezoneList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__TimezoneList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TimezoneList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TimezoneList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__TimezoneList; + if (size) + *size = sizeof(ngwt__TimezoneList); + ((ngwt__TimezoneList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__TimezoneList[n]; + if (size) + *size = n * sizeof(ngwt__TimezoneList); + for (int i = 0; i < n; i++) + ((ngwt__TimezoneList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__TimezoneList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TimezoneList %p -> %p\n", q, p)); + *(ngwt__TimezoneList*)p = *(ngwt__TimezoneList*)q; +} + +void ngwt__TimezoneComponent::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->name, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__TimezoneComponent*)this)->name); + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->month, SOAP_TYPE_PointerTongwt__Month); + soap_serialize_PointerTongwt__Month(soap, &((ngwt__TimezoneComponent*)this)->month); + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->day, SOAP_TYPE_PointerTongwt__Day); + soap_serialize_PointerTongwt__Day(soap, &((ngwt__TimezoneComponent*)this)->day); + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->dayOfWeek, SOAP_TYPE_PointerTongwt__DayOfWeek); + soap_serialize_PointerTongwt__DayOfWeek(soap, &((ngwt__TimezoneComponent*)this)->dayOfWeek); + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->hour, SOAP_TYPE_PointerTongwt__Hour); + soap_serialize_PointerTongwt__Hour(soap, &((ngwt__TimezoneComponent*)this)->hour); + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->minute, SOAP_TYPE_PointerTongwt__Minute); + soap_serialize_PointerTongwt__Minute(soap, &((ngwt__TimezoneComponent*)this)->minute); + soap_embedded(soap, &((ngwt__TimezoneComponent*)this)->offset, SOAP_TYPE_ngwt__GMTOffset); + /* transient soap skipped */ +} + +void ngwt__TimezoneComponent::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__TimezoneComponent*)this)->name); + ((ngwt__TimezoneComponent*)this)->month = NULL; + ((ngwt__TimezoneComponent*)this)->day = NULL; + ((ngwt__TimezoneComponent*)this)->dayOfWeek = NULL; + ((ngwt__TimezoneComponent*)this)->hour = NULL; + ((ngwt__TimezoneComponent*)this)->minute = NULL; + soap_default_ngwt__GMTOffset(soap, &((ngwt__TimezoneComponent*)this)->offset); + /* transient soap skipped */ +} + +int ngwt__TimezoneComponent::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__TimezoneComponent); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__TimezoneComponent::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__TimezoneComponent(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneComponent(struct soap *soap, const char *tag, int id, const ngwt__TimezoneComponent *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__TimezoneComponent), type); + soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__TimezoneComponent*)a)->name), ""); + soap_out_PointerTongwt__Month(soap, "ngwt:month", -1, &(((ngwt__TimezoneComponent*)a)->month), ""); + soap_out_PointerTongwt__Day(soap, "ngwt:day", -1, &(((ngwt__TimezoneComponent*)a)->day), ""); + soap_out_PointerTongwt__DayOfWeek(soap, "ngwt:dayOfWeek", -1, &(((ngwt__TimezoneComponent*)a)->dayOfWeek), ""); + soap_out_PointerTongwt__Hour(soap, "ngwt:hour", -1, &(((ngwt__TimezoneComponent*)a)->hour), ""); + soap_out_PointerTongwt__Minute(soap, "ngwt:minute", -1, &(((ngwt__TimezoneComponent*)a)->minute), ""); + soap_out_ngwt__GMTOffset(soap, "ngwt:offset", -1, &(((ngwt__TimezoneComponent*)a)->offset), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__TimezoneComponent::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__TimezoneComponent(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_get_ngwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__TimezoneComponent(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__TimezoneComponent::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__TimezoneComponent(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_in_ngwt__TimezoneComponent(struct soap *soap, const char *tag, ngwt__TimezoneComponent *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__TimezoneComponent *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__TimezoneComponent, sizeof(ngwt__TimezoneComponent), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__TimezoneComponent) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__TimezoneComponent *)a->soap_in(soap, tag, type); + } + } + short soap_flag_name1 = 1, soap_flag_month1 = 1, soap_flag_day1 = 1, soap_flag_dayOfWeek1 = 1, soap_flag_hour1 = 1, soap_flag_minute1 = 1, soap_flag_offset1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__TimezoneComponent*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_month1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Month(soap, "ngwt:month", &(((ngwt__TimezoneComponent*)a)->month), "ngwt:Month")) + { soap_flag_month1 = 0; + continue; + } + if (soap_flag_day1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Day(soap, "ngwt:day", &(((ngwt__TimezoneComponent*)a)->day), "ngwt:Day")) + { soap_flag_day1 = 0; + continue; + } + if (soap_flag_dayOfWeek1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DayOfWeek(soap, "ngwt:dayOfWeek", &(((ngwt__TimezoneComponent*)a)->dayOfWeek), "ngwt:DayOfWeek")) + { soap_flag_dayOfWeek1 = 0; + continue; + } + if (soap_flag_hour1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Hour(soap, "ngwt:hour", &(((ngwt__TimezoneComponent*)a)->hour), "ngwt:Hour")) + { soap_flag_hour1 = 0; + continue; + } + if (soap_flag_minute1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Minute(soap, "ngwt:minute", &(((ngwt__TimezoneComponent*)a)->minute), "ngwt:Minute")) + { soap_flag_minute1 = 0; + continue; + } + if (soap_flag_offset1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__GMTOffset(soap, "ngwt:offset", &(((ngwt__TimezoneComponent*)a)->offset), "ngwt:GMTOffset")) + { soap_flag_offset1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_name1 || soap_flag_offset1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__TimezoneComponent *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneComponent, 0, sizeof(ngwt__TimezoneComponent), 0, soap_copy_ngwt__TimezoneComponent); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_new_ngwt__TimezoneComponent(struct soap *soap, int n) +{ return soap_instantiate_ngwt__TimezoneComponent(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneComponent(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__TimezoneComponent(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__TimezoneComponent, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__TimezoneComponent; + if (size) + *size = sizeof(ngwt__TimezoneComponent); + ((ngwt__TimezoneComponent*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__TimezoneComponent[n]; + if (size) + *size = n * sizeof(ngwt__TimezoneComponent); + for (int i = 0; i < n; i++) + ((ngwt__TimezoneComponent*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__TimezoneComponent*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneComponent(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__TimezoneComponent %p -> %p\n", q, p)); + *(ngwt__TimezoneComponent*)p = *(ngwt__TimezoneComponent*)q; +} + +void ngwt__Timezone::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Timezone*)this)->id, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Timezone*)this)->id); + soap_embedded(soap, &((ngwt__Timezone*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Timezone*)this)->description); + soap_embedded(soap, &((ngwt__Timezone*)this)->daylight, SOAP_TYPE_PointerTongwt__TimezoneComponent); + soap_serialize_PointerTongwt__TimezoneComponent(soap, &((ngwt__Timezone*)this)->daylight); + soap_embedded(soap, &((ngwt__Timezone*)this)->standard, SOAP_TYPE_PointerTongwt__TimezoneComponent); + soap_serialize_PointerTongwt__TimezoneComponent(soap, &((ngwt__Timezone*)this)->standard); + /* transient soap skipped */ +} + +void ngwt__Timezone::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Timezone*)this)->id = NULL; + ((ngwt__Timezone*)this)->description = NULL; + ((ngwt__Timezone*)this)->daylight = NULL; + ((ngwt__Timezone*)this)->standard = NULL; + /* transient soap skipped */ +} + +int ngwt__Timezone::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Timezone); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Timezone::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Timezone(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Timezone(struct soap *soap, const char *tag, int id, const ngwt__Timezone *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Timezone), type); + soap_out_PointerTostd__string(soap, "ngwt:id", -1, &(((ngwt__Timezone*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Timezone*)a)->description), ""); + soap_out_PointerTongwt__TimezoneComponent(soap, "ngwt:daylight", -1, &(((ngwt__Timezone*)a)->daylight), ""); + soap_out_PointerTongwt__TimezoneComponent(soap, "ngwt:standard", -1, &(((ngwt__Timezone*)a)->standard), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Timezone::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Timezone(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_get_ngwt__Timezone(struct soap *soap, ngwt__Timezone *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Timezone(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Timezone::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Timezone(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_in_ngwt__Timezone(struct soap *soap, const char *tag, ngwt__Timezone *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Timezone *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Timezone, sizeof(ngwt__Timezone), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Timezone) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Timezone *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_description1 = 1, soap_flag_daylight1 = 1, soap_flag_standard1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:id", &(((ngwt__Timezone*)a)->id), "")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Timezone*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_daylight1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__TimezoneComponent(soap, "ngwt:daylight", &(((ngwt__Timezone*)a)->daylight), "ngwt:TimezoneComponent")) + { soap_flag_daylight1 = 0; + continue; + } + if (soap_flag_standard1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__TimezoneComponent(soap, "ngwt:standard", &(((ngwt__Timezone*)a)->standard), "ngwt:TimezoneComponent")) + { soap_flag_standard1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Timezone *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Timezone, 0, sizeof(ngwt__Timezone), 0, soap_copy_ngwt__Timezone); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_new_ngwt__Timezone(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Timezone(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Timezone(struct soap *soap, ngwt__Timezone *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_instantiate_ngwt__Timezone(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Timezone(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Timezone, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Timezone; + if (size) + *size = sizeof(ngwt__Timezone); + ((ngwt__Timezone*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Timezone[n]; + if (size) + *size = n * sizeof(ngwt__Timezone); + for (int i = 0; i < n; i++) + ((ngwt__Timezone*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Timezone*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Timezone(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Timezone %p -> %p\n", q, p)); + *(ngwt__Timezone*)p = *(ngwt__Timezone*)q; +} + +void ngwt__Task::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Task*)this)->startDate, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__Task*)this)->startDate); + soap_embedded(soap, &((ngwt__Task*)this)->dueDate, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__Task*)this)->dueDate); + soap_embedded(soap, &((ngwt__Task*)this)->assignedDate, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__Task*)this)->assignedDate); + soap_embedded(soap, &((ngwt__Task*)this)->taskPriority, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Task*)this)->taskPriority); + soap_embedded(soap, &((ngwt__Task*)this)->completed, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Task*)this)->completed); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule); + soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Task::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Task*)this)->startDate = NULL; + ((ngwt__Task*)this)->dueDate = NULL; + ((ngwt__Task*)this)->assignedDate = NULL; + ((ngwt__Task*)this)->taskPriority = NULL; + ((ngwt__Task*)this)->completed = NULL; + ((ngwt__CalendarItem*)this)->rdate = NULL; + ((ngwt__CalendarItem*)this)->rrule = NULL; + ((ngwt__CalendarItem*)this)->exdate = NULL; + ((ngwt__CalendarItem*)this)->recurrenceKey = NULL; + ((ngwt__CalendarItem*)this)->iCalId = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Task::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Task); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Task::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Task(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Task(struct soap *soap, const char *tag, int id, const ngwt__Task *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Task), "ngwt:Task"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), ""); + soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), ""); + soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), ""); + soap_out_PointerToxsd__date(soap, "ngwt:startDate", -1, &(((ngwt__Task*)a)->startDate), ""); + soap_out_PointerToxsd__date(soap, "ngwt:dueDate", -1, &(((ngwt__Task*)a)->dueDate), ""); + soap_out_PointerToxsd__date(soap, "ngwt:assignedDate", -1, &(((ngwt__Task*)a)->assignedDate), ""); + soap_out_PointerTostd__string(soap, "ngwt:taskPriority", -1, &(((ngwt__Task*)a)->taskPriority), ""); + soap_out_PointerTobool(soap, "ngwt:completed", -1, &(((ngwt__Task*)a)->completed), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Task::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Task(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_get_ngwt__Task(struct soap *soap, ngwt__Task *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Task(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Task::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Task(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_in_ngwt__Task(struct soap *soap, const char *tag, ngwt__Task *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Task *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Task, sizeof(ngwt__Task), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Task) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Task *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id6 = 1, soap_flag_name6 = 1, soap_flag_version6 = 1, soap_flag_modified6 = 1, soap_flag_changes6 = 1, soap_flag_categories5 = 1, soap_flag_created5 = 1, soap_flag_customs5 = 1, soap_flag_status4 = 1, soap_flag_thread4 = 1, soap_flag_msgId4 = 1, soap_flag_messageId4 = 1, soap_flag_source4 = 1, soap_flag_returnSentItemsId4 = 1, soap_flag_delivered4 = 1, soap_flag_class_4 = 1, soap_flag_security4 = 1, soap_flag_comment4 = 1, soap_flag_subject3 = 1, soap_flag_originalSubject3 = 1, soap_flag_subjectPrefix3 = 1, soap_flag_distribution3 = 1, soap_flag_message3 = 1, soap_flag_attachments3 = 1, soap_flag_options3 = 1, soap_flag_link3 = 1, soap_flag_hasAttachment3 = 1, soap_flag_size3 = 1, soap_flag_subType3 = 1, soap_flag_nntpOrImap3 = 1, soap_flag_smimeType3 = 1, soap_flag_rdate2 = 1, soap_flag_rrule2 = 1, soap_flag_exdate2 = 1, soap_flag_recurrenceKey2 = 1, soap_flag_iCalId2 = 1, soap_flag_startDate1 = 1, soap_flag_dueDate1 = 1, soap_flag_assignedDate1 = 1, soap_flag_taskPriority1 = 1, soap_flag_completed1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id6 = 0; + continue; + } + if (soap_flag_name6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name6 = 0; + continue; + } + if (soap_flag_version6 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version6 = 0; + continue; + } + if (soap_flag_modified6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified6 = 0; + continue; + } + if (soap_flag_changes6 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes6 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories5 = 0; + continue; + } + if (soap_flag_created5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created5 = 0; + continue; + } + if (soap_flag_customs5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs5 = 0; + continue; + } + if (soap_flag_status4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status4 = 0; + continue; + } + if (soap_flag_thread4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread4 = 0; + continue; + } + if (soap_flag_msgId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId4 = 0; + continue; + } + if (soap_flag_messageId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId4 = 0; + continue; + } + if (soap_flag_source4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source4 = 0; + continue; + } + if (soap_flag_returnSentItemsId4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId4 = 0; + continue; + } + if (soap_flag_delivered4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered4 = 0; + continue; + } + if (soap_flag_class_4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_4 = 0; + continue; + } + if (soap_flag_security4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security4 = 0; + continue; + } + if (soap_flag_comment4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment4 = 0; + continue; + } + if (soap_flag_subject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject3 = 0; + continue; + } + if (soap_flag_originalSubject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject3 = 0; + continue; + } + if (soap_flag_subjectPrefix3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix3 = 0; + continue; + } + if (soap_flag_distribution3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution3 = 0; + continue; + } + if (soap_flag_message3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message3 = 0; + continue; + } + if (soap_flag_attachments3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments3 = 0; + continue; + } + if (soap_flag_options3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options3 = 0; + continue; + } + if (soap_flag_link3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link3 = 0; + continue; + } + if (soap_flag_hasAttachment3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment3 = 0; + continue; + } + if (soap_flag_size3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size3 = 0; + continue; + } + if (soap_flag_subType3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType3 = 0; + continue; + } + if (soap_flag_nntpOrImap3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap3 = 0; + continue; + } + if (soap_flag_smimeType3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType3 = 0; + continue; + } + if (soap_flag_rdate2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType")) + { soap_flag_rdate2 = 0; + continue; + } + if (soap_flag_rrule2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule")) + { soap_flag_rrule2 = 0; + continue; + } + if (soap_flag_exdate2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType")) + { soap_flag_exdate2 = 0; + continue; + } + if (soap_flag_recurrenceKey2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), "")) + { soap_flag_recurrenceKey2 = 0; + continue; + } + if (soap_flag_iCalId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), "")) + { soap_flag_iCalId2 = 0; + continue; + } + if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:startDate", &(((ngwt__Task*)a)->startDate), "xsd:date")) + { soap_flag_startDate1 = 0; + continue; + } + if (soap_flag_dueDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:dueDate", &(((ngwt__Task*)a)->dueDate), "xsd:date")) + { soap_flag_dueDate1 = 0; + continue; + } + if (soap_flag_assignedDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:assignedDate", &(((ngwt__Task*)a)->assignedDate), "xsd:date")) + { soap_flag_assignedDate1 = 0; + continue; + } + if (soap_flag_taskPriority1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:taskPriority", &(((ngwt__Task*)a)->taskPriority), "")) + { soap_flag_taskPriority1 = 0; + continue; + } + if (soap_flag_completed1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:completed", &(((ngwt__Task*)a)->completed), "")) + { soap_flag_completed1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered4)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Task *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Task, 0, sizeof(ngwt__Task), 0, soap_copy_ngwt__Task); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_new_ngwt__Task(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Task(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Task(struct soap *soap, ngwt__Task *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_instantiate_ngwt__Task(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Task(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Task, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Task; + if (size) + *size = sizeof(ngwt__Task); + ((ngwt__Task*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Task[n]; + if (size) + *size = n * sizeof(ngwt__Task); + for (int i = 0; i < n; i++) + ((ngwt__Task*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Task*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Task(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Task %p -> %p\n", q, p)); + *(ngwt__Task*)p = *(ngwt__Task*)q; +} + +void ngwt__SystemFolder::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSystemFolder, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSystemFolder); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType); + soap_serialize_PointerTongwt__FolderType(soap, &((ngwt__SystemFolder*)this)->folderType); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->acl, SOAP_TYPE_PointerTongwt__FolderACL); + soap_serialize_PointerTongwt__FolderACL(soap, &((ngwt__SystemFolder*)this)->acl); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSharedByMe, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSharedByMe); + soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description); + soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count); + soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread); + soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount); + soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence); + soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings); + soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute); + soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__SystemFolder::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SystemFolder*)this)->isSystemFolder = NULL; + ((ngwt__SystemFolder*)this)->folderType = NULL; + ((ngwt__SystemFolder*)this)->acl = NULL; + ((ngwt__SystemFolder*)this)->isSharedByMe = NULL; + soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + ((ngwt__Folder*)this)->description = NULL; + ((ngwt__Folder*)this)->count = NULL; + ((ngwt__Folder*)this)->hasUnread = NULL; + ((ngwt__Folder*)this)->unreadCount = NULL; + ((ngwt__Folder*)this)->sequence = NULL; + ((ngwt__Folder*)this)->settings = NULL; + ((ngwt__Folder*)this)->calendarAttribute = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__SystemFolder::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SystemFolder); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SystemFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SystemFolder(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SystemFolder(struct soap *soap, const char *tag, int id, const ngwt__SystemFolder *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SystemFolder), "ngwt:SystemFolder"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), ""); + soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), ""); + soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), ""); + soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), ""); + soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), ""); + soap_out_PointerTobool(soap, "ngwt:isSystemFolder", -1, &(((ngwt__SystemFolder*)a)->isSystemFolder), ""); + soap_out_PointerTongwt__FolderType(soap, "ngwt:folderType", -1, &(((ngwt__SystemFolder*)a)->folderType), ""); + soap_out_PointerTongwt__FolderACL(soap, "ngwt:acl", -1, &(((ngwt__SystemFolder*)a)->acl), ""); + soap_out_PointerTobool(soap, "ngwt:isSharedByMe", -1, &(((ngwt__SystemFolder*)a)->isSharedByMe), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SystemFolder::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SystemFolder(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_get_ngwt__SystemFolder(struct soap *soap, ngwt__SystemFolder *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SystemFolder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SystemFolder::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SystemFolder(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_in_ngwt__SystemFolder(struct soap *soap, const char *tag, ngwt__SystemFolder *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SystemFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SystemFolder, sizeof(ngwt__SystemFolder), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SystemFolder) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SystemFolder *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_parent2 = 1, soap_flag_description2 = 1, soap_flag_count2 = 1, soap_flag_hasUnread2 = 1, soap_flag_unreadCount2 = 1, soap_flag_sequence2 = 1, soap_flag_settings2 = 1, soap_flag_calendarAttribute2 = 1, soap_flag_isSystemFolder1 = 1, soap_flag_folderType1 = 1, soap_flag_acl1 = 1, soap_flag_isSharedByMe1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_parent2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid")) + { soap_flag_parent2 = 0; + continue; + } + if (soap_flag_description2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), "")) + { soap_flag_description2 = 0; + continue; + } + if (soap_flag_count2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), "")) + { soap_flag_count2 = 0; + continue; + } + if (soap_flag_hasUnread2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), "")) + { soap_flag_hasUnread2 = 0; + continue; + } + if (soap_flag_unreadCount2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), "")) + { soap_flag_unreadCount2 = 0; + continue; + } + if (soap_flag_sequence2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), "")) + { soap_flag_sequence2 = 0; + continue; + } + if (soap_flag_settings2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid")) + { soap_flag_settings2 = 0; + continue; + } + if (soap_flag_calendarAttribute2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute")) + { soap_flag_calendarAttribute2 = 0; + continue; + } + if (soap_flag_isSystemFolder1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isSystemFolder", &(((ngwt__SystemFolder*)a)->isSystemFolder), "")) + { soap_flag_isSystemFolder1 = 0; + continue; + } + if (soap_flag_folderType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderType(soap, "ngwt:folderType", &(((ngwt__SystemFolder*)a)->folderType), "")) + { soap_flag_folderType1 = 0; + continue; + } + if (soap_flag_acl1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderACL(soap, "ngwt:acl", &(((ngwt__SystemFolder*)a)->acl), "ngwt:FolderACL")) + { soap_flag_acl1 = 0; + continue; + } + if (soap_flag_isSharedByMe1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isSharedByMe", &(((ngwt__SystemFolder*)a)->isSharedByMe), "")) + { soap_flag_isSharedByMe1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SystemFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SystemFolder, 0, sizeof(ngwt__SystemFolder), 0, soap_copy_ngwt__SystemFolder); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_new_ngwt__SystemFolder(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SystemFolder(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SystemFolder(struct soap *soap, ngwt__SystemFolder *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_instantiate_ngwt__SystemFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SystemFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SystemFolder, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:ContactFolder")) + { cp->type = SOAP_TYPE_ngwt__ContactFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__ContactFolder; + if (size) + *size = sizeof(ngwt__ContactFolder); + ((ngwt__ContactFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContactFolder[n]; + if (size) + *size = n * sizeof(ngwt__ContactFolder); + for (int i = 0; i < n; i++) + ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContactFolder*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__SystemFolder; + if (size) + *size = sizeof(ngwt__SystemFolder); + ((ngwt__SystemFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SystemFolder[n]; + if (size) + *size = n * sizeof(ngwt__SystemFolder); + for (int i = 0; i < n; i++) + ((ngwt__SystemFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SystemFolder*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SystemFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SystemFolder %p -> %p\n", q, p)); + *(ngwt__SystemFolder*)p = *(ngwt__SystemFolder*)q; +} + +void ngwt__StatusTracking::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__StatusTracking*)this)->__item, SOAP_TYPE_ngwt__StatusTrackingOptions); + /* transient soap skipped */ +} + +void ngwt__StatusTracking::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__StatusTrackingOptions(soap, &((ngwt__StatusTracking*)this)->__item); + ((ngwt__StatusTracking*)this)->autoDelete = NULL; + /* transient soap skipped */ +} + +int ngwt__StatusTracking::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__StatusTracking); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__StatusTracking::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__StatusTracking(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTracking(struct soap *soap, const char *tag, int id, const ngwt__StatusTracking *a, const char *type) +{ + if (((ngwt__StatusTracking *)a)->autoDelete) + soap_set_attr(soap, "autoDelete", soap_bool2s(soap, *((ngwt__StatusTracking *)a)->autoDelete)); + soap_out_ngwt__StatusTrackingOptions(soap, tag, id, &(((ngwt__StatusTracking*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__StatusTracking::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__StatusTracking(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_get_ngwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__StatusTracking(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__StatusTracking::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__StatusTracking(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_in_ngwt__StatusTracking(struct soap *soap, const char *tag, ngwt__StatusTracking *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__StatusTracking *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__StatusTracking, sizeof(ngwt__StatusTracking), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__StatusTracking) + return (ngwt__StatusTracking *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "autoDelete", 0); + if (t) + { if (!(((ngwt__StatusTracking *)a)->autoDelete = (bool *)soap_malloc(soap, sizeof(bool)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2bool(soap, t, ((ngwt__StatusTracking *)a)->autoDelete)) + return NULL; + } + } + if (!soap_in_ngwt__StatusTrackingOptions(soap, tag, &(((ngwt__StatusTracking*)a)->__item), "ngwt:StatusTracking")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_new_ngwt__StatusTracking(struct soap *soap, int n) +{ return soap_instantiate_ngwt__StatusTracking(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_instantiate_ngwt__StatusTracking(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__StatusTracking(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__StatusTracking, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__StatusTracking; + if (size) + *size = sizeof(ngwt__StatusTracking); + ((ngwt__StatusTracking*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__StatusTracking[n]; + if (size) + *size = n * sizeof(ngwt__StatusTracking); + for (int i = 0; i < n; i++) + ((ngwt__StatusTracking*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__StatusTracking*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__StatusTracking(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__StatusTracking %p -> %p\n", q, p)); + *(ngwt__StatusTracking*)p = *(ngwt__StatusTracking*)q; +} + +void ngwt__Status::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Status*)this)->code, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Status*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Status*)this)->description); + soap_embedded(soap, &((ngwt__Status*)this)->info, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Status*)this)->info); + soap_embedded(soap, &((ngwt__Status*)this)->problems, SOAP_TYPE_PointerTongwt__ProblemList); + soap_serialize_PointerTongwt__ProblemList(soap, &((ngwt__Status*)this)->problems); + /* transient soap skipped */ +} + +void ngwt__Status::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_int(soap, &((ngwt__Status*)this)->code); + ((ngwt__Status*)this)->description = NULL; + ((ngwt__Status*)this)->info = NULL; + ((ngwt__Status*)this)->problems = NULL; + /* transient soap skipped */ +} + +int ngwt__Status::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Status); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Status::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Status(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Status(struct soap *soap, const char *tag, int id, const ngwt__Status *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Status), type); + soap_out_int(soap, "ngwt:code", -1, &(((ngwt__Status*)a)->code), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Status*)a)->description), ""); + soap_out_PointerTostd__string(soap, "ngwt:info", -1, &(((ngwt__Status*)a)->info), ""); + soap_out_PointerTongwt__ProblemList(soap, "ngwt:problems", -1, &(((ngwt__Status*)a)->problems), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Status::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Status(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_get_ngwt__Status(struct soap *soap, ngwt__Status *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Status(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Status::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Status(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_in_ngwt__Status(struct soap *soap, const char *tag, ngwt__Status *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Status *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Status, sizeof(ngwt__Status), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Status) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Status *)a->soap_in(soap, tag, type); + } + } + short soap_flag_code1 = 1, soap_flag_description1 = 1, soap_flag_info1 = 1, soap_flag_problems1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_code1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:code", &(((ngwt__Status*)a)->code), "")) + { soap_flag_code1 = 0; + continue; + } + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Status*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_info1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:info", &(((ngwt__Status*)a)->info), "")) + { soap_flag_info1 = 0; + continue; + } + if (soap_flag_problems1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ProblemList(soap, "ngwt:problems", &(((ngwt__Status*)a)->problems), "ngwt:ProblemList")) + { soap_flag_problems1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_code1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Status *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Status, 0, sizeof(ngwt__Status), 0, soap_copy_ngwt__Status); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_new_ngwt__Status(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Status(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Status(struct soap *soap, ngwt__Status *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_instantiate_ngwt__Status(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Status(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Status, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Status; + if (size) + *size = sizeof(ngwt__Status); + ((ngwt__Status*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Status[n]; + if (size) + *size = n * sizeof(ngwt__Status); + for (int i = 0; i < n; i++) + ((ngwt__Status*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Status*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Status(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Status %p -> %p\n", q, p)); + *(ngwt__Status*)p = *(ngwt__Status*)q; +} + +void ngwt__SMimeOperation::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SMimeOperation*)this)->signed_, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SMimeOperation*)this)->signed_); + soap_embedded(soap, &((ngwt__SMimeOperation*)this)->encrypted, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SMimeOperation*)this)->encrypted); + /* transient soap skipped */ +} + +void ngwt__SMimeOperation::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SMimeOperation*)this)->signed_ = NULL; + ((ngwt__SMimeOperation*)this)->encrypted = NULL; + /* transient soap skipped */ +} + +int ngwt__SMimeOperation::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SMimeOperation); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SMimeOperation::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SMimeOperation(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SMimeOperation(struct soap *soap, const char *tag, int id, const ngwt__SMimeOperation *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SMimeOperation), type); + soap_out_PointerTobool(soap, "ngwt:signed", -1, &(((ngwt__SMimeOperation*)a)->signed_), ""); + soap_out_PointerTobool(soap, "ngwt:encrypted", -1, &(((ngwt__SMimeOperation*)a)->encrypted), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SMimeOperation::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SMimeOperation(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_get_ngwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SMimeOperation(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SMimeOperation::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SMimeOperation(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_in_ngwt__SMimeOperation(struct soap *soap, const char *tag, ngwt__SMimeOperation *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SMimeOperation *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SMimeOperation, sizeof(ngwt__SMimeOperation), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SMimeOperation) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SMimeOperation *)a->soap_in(soap, tag, type); + } + } + short soap_flag_signed_1 = 1, soap_flag_encrypted1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_signed_1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:signed", &(((ngwt__SMimeOperation*)a)->signed_), "")) + { soap_flag_signed_1 = 0; + continue; + } + if (soap_flag_encrypted1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:encrypted", &(((ngwt__SMimeOperation*)a)->encrypted), "")) + { soap_flag_encrypted1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SMimeOperation *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SMimeOperation, 0, sizeof(ngwt__SMimeOperation), 0, soap_copy_ngwt__SMimeOperation); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_new_ngwt__SMimeOperation(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SMimeOperation(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_instantiate_ngwt__SMimeOperation(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SMimeOperation(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SMimeOperation, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SMimeOperation; + if (size) + *size = sizeof(ngwt__SMimeOperation); + ((ngwt__SMimeOperation*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SMimeOperation[n]; + if (size) + *size = n * sizeof(ngwt__SMimeOperation); + for (int i = 0; i < n; i++) + ((ngwt__SMimeOperation*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SMimeOperation*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SMimeOperation(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SMimeOperation %p -> %p\n", q, p)); + *(ngwt__SMimeOperation*)p = *(ngwt__SMimeOperation*)q; +} + +void ngwt__SignatureData::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SignatureData*)this)->size, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__SignatureData*)this)->size); + soap_embedded(soap, &((ngwt__SignatureData*)this)->data, SOAP_TYPE_PointerToxsd__base64Binary); + soap_serialize_PointerToxsd__base64Binary(soap, &((ngwt__SignatureData*)this)->data); + /* transient soap skipped */ +} + +void ngwt__SignatureData::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SignatureData*)this)->size = NULL; + ((ngwt__SignatureData*)this)->data = NULL; + /* transient soap skipped */ +} + +int ngwt__SignatureData::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SignatureData); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SignatureData::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SignatureData(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SignatureData(struct soap *soap, const char *tag, int id, const ngwt__SignatureData *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SignatureData), type); + soap_out_PointerTounsignedLong(soap, "ngwt:size", -1, &(((ngwt__SignatureData*)a)->size), ""); + soap_out_PointerToxsd__base64Binary(soap, "ngwt:data", -1, &(((ngwt__SignatureData*)a)->data), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SignatureData::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SignatureData(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_get_ngwt__SignatureData(struct soap *soap, ngwt__SignatureData *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SignatureData(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SignatureData::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SignatureData(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_in_ngwt__SignatureData(struct soap *soap, const char *tag, ngwt__SignatureData *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SignatureData *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SignatureData, sizeof(ngwt__SignatureData), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SignatureData) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SignatureData *)a->soap_in(soap, tag, type); + } + } + short soap_flag_size1 = 1, soap_flag_data1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_size1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:size", &(((ngwt__SignatureData*)a)->size), "")) + { soap_flag_size1 = 0; + continue; + } + if (soap_flag_data1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToxsd__base64Binary(soap, "ngwt:data", &(((ngwt__SignatureData*)a)->data), "xsd:base64Binary")) + { soap_flag_data1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SignatureData *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SignatureData, 0, sizeof(ngwt__SignatureData), 0, soap_copy_ngwt__SignatureData); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_new_ngwt__SignatureData(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SignatureData(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SignatureData(struct soap *soap, ngwt__SignatureData *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_instantiate_ngwt__SignatureData(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SignatureData(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SignatureData, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SignatureData; + if (size) + *size = sizeof(ngwt__SignatureData); + ((ngwt__SignatureData*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SignatureData[n]; + if (size) + *size = n * sizeof(ngwt__SignatureData); + for (int i = 0; i < n; i++) + ((ngwt__SignatureData*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SignatureData*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SignatureData(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SignatureData %p -> %p\n", q, p)); + *(ngwt__SignatureData*)p = *(ngwt__SignatureData*)q; +} + +void ngwt__Signatures::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Signature(soap, &((ngwt__Signatures*)this)->signature); + /* transient soap skipped */ +} + +void ngwt__Signatures::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Signature(soap, &((ngwt__Signatures*)this)->signature); + /* transient soap skipped */ +} + +int ngwt__Signatures::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Signatures); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Signatures::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Signatures(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signatures(struct soap *soap, const char *tag, int id, const ngwt__Signatures *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Signatures), type); + soap_out_std__vectorTemplateOfPointerTongwt__Signature(soap, "ngwt:signature", -1, &(((ngwt__Signatures*)a)->signature), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Signatures::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Signatures(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_get_ngwt__Signatures(struct soap *soap, ngwt__Signatures *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Signatures(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Signatures::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Signatures(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_in_ngwt__Signatures(struct soap *soap, const char *tag, ngwt__Signatures *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Signatures *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Signatures, sizeof(ngwt__Signatures), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Signatures) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Signatures *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Signature(soap, "ngwt:signature", &(((ngwt__Signatures*)a)->signature), "ngwt:Signature")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Signatures *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signatures, 0, sizeof(ngwt__Signatures), 0, soap_copy_ngwt__Signatures); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_new_ngwt__Signatures(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Signatures(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signatures(struct soap *soap, ngwt__Signatures *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_instantiate_ngwt__Signatures(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Signatures(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Signatures, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Signatures; + if (size) + *size = sizeof(ngwt__Signatures); + ((ngwt__Signatures*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Signatures[n]; + if (size) + *size = n * sizeof(ngwt__Signatures); + for (int i = 0; i < n; i++) + ((ngwt__Signatures*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Signatures*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signatures(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Signatures %p -> %p\n", q, p)); + *(ngwt__Signatures*)p = *(ngwt__Signatures*)q; +} + +void ngwt__Signature::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Signature*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Signature*)this)->id); + soap_embedded(soap, &((ngwt__Signature*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Signature*)this)->name); + soap_embedded(soap, &((ngwt__Signature*)this)->default_, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Signature*)this)->part, SOAP_TYPE_PointerTongwt__SignatureData); + soap_serialize_PointerTongwt__SignatureData(soap, &((ngwt__Signature*)this)->part); + soap_embedded(soap, &((ngwt__Signature*)this)->global, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void ngwt__Signature::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Signature*)this)->id = NULL; + ((ngwt__Signature*)this)->name = NULL; + ((ngwt__Signature*)this)->default_ = (bool)0; + ((ngwt__Signature*)this)->part = NULL; + ((ngwt__Signature*)this)->global = (bool)0; + /* transient soap skipped */ +} + +int ngwt__Signature::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Signature); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Signature::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Signature(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signature(struct soap *soap, const char *tag, int id, const ngwt__Signature *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Signature), type); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Signature*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Signature*)a)->name), ""); + soap_out_bool(soap, "ngwt:default", -1, &(((ngwt__Signature*)a)->default_), ""); + soap_out_PointerTongwt__SignatureData(soap, "ngwt:part", -1, &(((ngwt__Signature*)a)->part), ""); + soap_out_bool(soap, "ngwt:global", -1, &(((ngwt__Signature*)a)->global), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Signature::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Signature(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_get_ngwt__Signature(struct soap *soap, ngwt__Signature *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Signature(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Signature::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Signature(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_in_ngwt__Signature(struct soap *soap, const char *tag, ngwt__Signature *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Signature *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Signature, sizeof(ngwt__Signature), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Signature) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Signature *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_default_1 = 1, soap_flag_part1 = 1, soap_flag_global1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Signature*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Signature*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_default_1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:default", &(((ngwt__Signature*)a)->default_), "")) + { soap_flag_default_1 = 0; + continue; + } + if (soap_flag_part1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SignatureData(soap, "ngwt:part", &(((ngwt__Signature*)a)->part), "ngwt:SignatureData")) + { soap_flag_part1 = 0; + continue; + } + if (soap_flag_global1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:global", &(((ngwt__Signature*)a)->global), "")) + { soap_flag_global1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Signature *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signature, 0, sizeof(ngwt__Signature), 0, soap_copy_ngwt__Signature); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_new_ngwt__Signature(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Signature(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signature(struct soap *soap, ngwt__Signature *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_instantiate_ngwt__Signature(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Signature(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Signature, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Signature; + if (size) + *size = sizeof(ngwt__Signature); + ((ngwt__Signature*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Signature[n]; + if (size) + *size = n * sizeof(ngwt__Signature); + for (int i = 0; i < n; i++) + ((ngwt__Signature*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Signature*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signature(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Signature %p -> %p\n", q, p)); + *(ngwt__Signature*)p = *(ngwt__Signature*)q; +} + +void ngwt__SharedNotification::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SharedNotification*)this)->notification, SOAP_TYPE_ngwt__NotificationType); + soap_embedded(soap, &((ngwt__SharedNotification*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__SharedNotification*)this)->description); + soap_embedded(soap, &((ngwt__SharedNotification*)this)->rights, SOAP_TYPE_PointerTongwt__Rights); + soap_serialize_PointerTongwt__Rights(soap, &((ngwt__SharedNotification*)this)->rights); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__SharedNotification::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__NotificationType(soap, &((ngwt__SharedNotification*)this)->notification); + ((ngwt__SharedNotification*)this)->description = NULL; + ((ngwt__SharedNotification*)this)->rights = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__SharedNotification::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SharedNotification); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SharedNotification::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SharedNotification(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedNotification(struct soap *soap, const char *tag, int id, const ngwt__SharedNotification *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SharedNotification), "ngwt:SharedNotification"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_ngwt__NotificationType(soap, "ngwt:notification", -1, &(((ngwt__SharedNotification*)a)->notification), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__SharedNotification*)a)->description), ""); + soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__SharedNotification*)a)->rights), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SharedNotification::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SharedNotification(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_get_ngwt__SharedNotification(struct soap *soap, ngwt__SharedNotification *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SharedNotification(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SharedNotification::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SharedNotification(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_in_ngwt__SharedNotification(struct soap *soap, const char *tag, ngwt__SharedNotification *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SharedNotification *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SharedNotification, sizeof(ngwt__SharedNotification), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SharedNotification) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SharedNotification *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_notification1 = 1, soap_flag_description1 = 1, soap_flag_rights1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id5 = 0; + continue; + } + if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name5 = 0; + continue; + } + if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version5 = 0; + continue; + } + if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified5 = 0; + continue; + } + if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes5 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories4 = 0; + continue; + } + if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created4 = 0; + continue; + } + if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs4 = 0; + continue; + } + if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status3 = 0; + continue; + } + if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread3 = 0; + continue; + } + if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId3 = 0; + continue; + } + if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId3 = 0; + continue; + } + if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source3 = 0; + continue; + } + if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId3 = 0; + continue; + } + if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered3 = 0; + continue; + } + if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_3 = 0; + continue; + } + if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security3 = 0; + continue; + } + if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment3 = 0; + continue; + } + if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject2 = 0; + continue; + } + if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject2 = 0; + continue; + } + if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix2 = 0; + continue; + } + if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution2 = 0; + continue; + } + if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message2 = 0; + continue; + } + if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments2 = 0; + continue; + } + if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options2 = 0; + continue; + } + if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link2 = 0; + continue; + } + if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment2 = 0; + continue; + } + if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size2 = 0; + continue; + } + if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType2 = 0; + continue; + } + if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap2 = 0; + continue; + } + if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType2 = 0; + continue; + } + if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__NotificationType(soap, "ngwt:notification", &(((ngwt__SharedNotification*)a)->notification), "")) + { soap_flag_notification1 = 0; + continue; + } + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__SharedNotification*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_rights1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__SharedNotification*)a)->rights), "ngwt:Rights")) + { soap_flag_rights1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3 || soap_flag_notification1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SharedNotification *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedNotification, 0, sizeof(ngwt__SharedNotification), 0, soap_copy_ngwt__SharedNotification); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_new_ngwt__SharedNotification(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SharedNotification(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedNotification(struct soap *soap, ngwt__SharedNotification *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedNotification(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SharedNotification(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SharedNotification, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedNotification; + if (size) + *size = sizeof(ngwt__SharedNotification); + ((ngwt__SharedNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedNotification[n]; + if (size) + *size = n * sizeof(ngwt__SharedNotification); + for (int i = 0; i < n; i++) + ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedNotification*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedNotification(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SharedNotification %p -> %p\n", q, p)); + *(ngwt__SharedNotification*)p = *(ngwt__SharedNotification*)q; +} + +void ngwt__SharedFolderNotification::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SharedFolderNotification*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__SharedFolderNotification*)this)->subject); + soap_embedded(soap, &((ngwt__SharedFolderNotification*)this)->message, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__SharedFolderNotification*)this)->message); + soap_embedded(soap, &((ngwt__SharedFolderNotification*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__SharedFolderNotification*)this)->description); + /* transient soap skipped */ +} + +void ngwt__SharedFolderNotification::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SharedFolderNotification*)this)->subject = NULL; + ((ngwt__SharedFolderNotification*)this)->message = NULL; + ((ngwt__SharedFolderNotification*)this)->description = NULL; + /* transient soap skipped */ +} + +int ngwt__SharedFolderNotification::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SharedFolderNotification); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SharedFolderNotification::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SharedFolderNotification(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolderNotification(struct soap *soap, const char *tag, int id, const ngwt__SharedFolderNotification *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SharedFolderNotification), type); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__SharedFolderNotification*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:message", -1, &(((ngwt__SharedFolderNotification*)a)->message), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__SharedFolderNotification*)a)->description), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SharedFolderNotification::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SharedFolderNotification(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_get_ngwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SharedFolderNotification(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SharedFolderNotification::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SharedFolderNotification(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_in_ngwt__SharedFolderNotification(struct soap *soap, const char *tag, ngwt__SharedFolderNotification *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SharedFolderNotification *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SharedFolderNotification, sizeof(ngwt__SharedFolderNotification), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SharedFolderNotification) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SharedFolderNotification *)a->soap_in(soap, tag, type); + } + } + short soap_flag_subject1 = 1, soap_flag_message1 = 1, soap_flag_description1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__SharedFolderNotification*)a)->subject), "")) + { soap_flag_subject1 = 0; + continue; + } + if (soap_flag_message1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:message", &(((ngwt__SharedFolderNotification*)a)->message), "")) + { soap_flag_message1 = 0; + continue; + } + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__SharedFolderNotification*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SharedFolderNotification *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedFolderNotification, 0, sizeof(ngwt__SharedFolderNotification), 0, soap_copy_ngwt__SharedFolderNotification); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_new_ngwt__SharedFolderNotification(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SharedFolderNotification(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolderNotification(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SharedFolderNotification(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SharedFolderNotification, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedFolderNotification; + if (size) + *size = sizeof(ngwt__SharedFolderNotification); + ((ngwt__SharedFolderNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedFolderNotification[n]; + if (size) + *size = n * sizeof(ngwt__SharedFolderNotification); + for (int i = 0; i < n; i++) + ((ngwt__SharedFolderNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedFolderNotification*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolderNotification(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SharedFolderNotification %p -> %p\n", q, p)); + *(ngwt__SharedFolderNotification*)p = *(ngwt__SharedFolderNotification*)q; +} + +void ngwt__SharedFolder::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SharedFolder*)this)->rights, SOAP_TYPE_PointerTongwt__Rights); + soap_serialize_PointerTongwt__Rights(soap, &((ngwt__SharedFolder*)this)->rights); + soap_embedded(soap, &((ngwt__SharedFolder*)this)->acl, SOAP_TYPE_PointerTongwt__FolderACL); + soap_serialize_PointerTongwt__FolderACL(soap, &((ngwt__SharedFolder*)this)->acl); + soap_embedded(soap, &((ngwt__SharedFolder*)this)->owner, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__SharedFolder*)this)->owner); + soap_embedded(soap, &((ngwt__SharedFolder*)this)->isSharedByMe, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SharedFolder*)this)->isSharedByMe); + soap_embedded(soap, &((ngwt__SharedFolder*)this)->isSharedToMe, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SharedFolder*)this)->isSharedToMe); + soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description); + soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count); + soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread); + soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount); + soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence); + soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings); + soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute); + soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__SharedFolder::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SharedFolder*)this)->rights = NULL; + ((ngwt__SharedFolder*)this)->acl = NULL; + ((ngwt__SharedFolder*)this)->owner = NULL; + ((ngwt__SharedFolder*)this)->isSharedByMe = NULL; + ((ngwt__SharedFolder*)this)->isSharedToMe = NULL; + soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + ((ngwt__Folder*)this)->description = NULL; + ((ngwt__Folder*)this)->count = NULL; + ((ngwt__Folder*)this)->hasUnread = NULL; + ((ngwt__Folder*)this)->unreadCount = NULL; + ((ngwt__Folder*)this)->sequence = NULL; + ((ngwt__Folder*)this)->settings = NULL; + ((ngwt__Folder*)this)->calendarAttribute = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__SharedFolder::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SharedFolder); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SharedFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SharedFolder(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolder(struct soap *soap, const char *tag, int id, const ngwt__SharedFolder *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SharedFolder), "ngwt:SharedFolder"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), ""); + soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), ""); + soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), ""); + soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), ""); + soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), ""); + soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__SharedFolder*)a)->rights), ""); + soap_out_PointerTongwt__FolderACL(soap, "ngwt:acl", -1, &(((ngwt__SharedFolder*)a)->acl), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:owner", -1, &(((ngwt__SharedFolder*)a)->owner), ""); + soap_out_PointerTobool(soap, "ngwt:isSharedByMe", -1, &(((ngwt__SharedFolder*)a)->isSharedByMe), ""); + soap_out_PointerTobool(soap, "ngwt:isSharedToMe", -1, &(((ngwt__SharedFolder*)a)->isSharedToMe), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SharedFolder::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SharedFolder(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_get_ngwt__SharedFolder(struct soap *soap, ngwt__SharedFolder *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SharedFolder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SharedFolder::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SharedFolder(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_in_ngwt__SharedFolder(struct soap *soap, const char *tag, ngwt__SharedFolder *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SharedFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SharedFolder, sizeof(ngwt__SharedFolder), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SharedFolder) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SharedFolder *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_parent2 = 1, soap_flag_description2 = 1, soap_flag_count2 = 1, soap_flag_hasUnread2 = 1, soap_flag_unreadCount2 = 1, soap_flag_sequence2 = 1, soap_flag_settings2 = 1, soap_flag_calendarAttribute2 = 1, soap_flag_rights1 = 1, soap_flag_acl1 = 1, soap_flag_owner1 = 1, soap_flag_isSharedByMe1 = 1, soap_flag_isSharedToMe1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_parent2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid")) + { soap_flag_parent2 = 0; + continue; + } + if (soap_flag_description2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), "")) + { soap_flag_description2 = 0; + continue; + } + if (soap_flag_count2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), "")) + { soap_flag_count2 = 0; + continue; + } + if (soap_flag_hasUnread2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), "")) + { soap_flag_hasUnread2 = 0; + continue; + } + if (soap_flag_unreadCount2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), "")) + { soap_flag_unreadCount2 = 0; + continue; + } + if (soap_flag_sequence2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), "")) + { soap_flag_sequence2 = 0; + continue; + } + if (soap_flag_settings2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid")) + { soap_flag_settings2 = 0; + continue; + } + if (soap_flag_calendarAttribute2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute")) + { soap_flag_calendarAttribute2 = 0; + continue; + } + if (soap_flag_rights1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__SharedFolder*)a)->rights), "ngwt:Rights")) + { soap_flag_rights1 = 0; + continue; + } + if (soap_flag_acl1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderACL(soap, "ngwt:acl", &(((ngwt__SharedFolder*)a)->acl), "ngwt:FolderACL")) + { soap_flag_acl1 = 0; + continue; + } + if (soap_flag_owner1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:owner", &(((ngwt__SharedFolder*)a)->owner), "ngwt:UUID")) + { soap_flag_owner1 = 0; + continue; + } + if (soap_flag_isSharedByMe1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isSharedByMe", &(((ngwt__SharedFolder*)a)->isSharedByMe), "")) + { soap_flag_isSharedByMe1 = 0; + continue; + } + if (soap_flag_isSharedToMe1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isSharedToMe", &(((ngwt__SharedFolder*)a)->isSharedToMe), "")) + { soap_flag_isSharedToMe1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SharedFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedFolder, 0, sizeof(ngwt__SharedFolder), 0, soap_copy_ngwt__SharedFolder); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_new_ngwt__SharedFolder(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SharedFolder(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolder(struct soap *soap, ngwt__SharedFolder *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SharedFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SharedFolder, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedFolder; + if (size) + *size = sizeof(ngwt__SharedFolder); + ((ngwt__SharedFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedFolder[n]; + if (size) + *size = n * sizeof(ngwt__SharedFolder); + for (int i = 0; i < n; i++) + ((ngwt__SharedFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedFolder*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SharedFolder %p -> %p\n", q, p)); + *(ngwt__SharedFolder*)p = *(ngwt__SharedFolder*)q; +} + +void ngwt__SettingsList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsList*)this)->setting); + /* transient soap skipped */ +} + +void ngwt__SettingsList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsList*)this)->setting); + /* transient soap skipped */ +} + +int ngwt__SettingsList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SettingsList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SettingsList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SettingsList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsList(struct soap *soap, const char *tag, int id, const ngwt__SettingsList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SettingsList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", -1, &(((ngwt__SettingsList*)a)->setting), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SettingsList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SettingsList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_get_ngwt__SettingsList(struct soap *soap, ngwt__SettingsList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SettingsList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SettingsList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SettingsList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_in_ngwt__SettingsList(struct soap *soap, const char *tag, ngwt__SettingsList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SettingsList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SettingsList, sizeof(ngwt__SettingsList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SettingsList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SettingsList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", &(((ngwt__SettingsList*)a)->setting), "ngwt:Custom")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SettingsList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsList, 0, sizeof(ngwt__SettingsList), 0, soap_copy_ngwt__SettingsList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_new_ngwt__SettingsList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SettingsList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsList(struct soap *soap, ngwt__SettingsList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_instantiate_ngwt__SettingsList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SettingsList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SettingsList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SettingsList; + if (size) + *size = sizeof(ngwt__SettingsList); + ((ngwt__SettingsList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SettingsList[n]; + if (size) + *size = n * sizeof(ngwt__SettingsList); + for (int i = 0; i < n; i++) + ((ngwt__SettingsList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SettingsList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SettingsList %p -> %p\n", q, p)); + *(ngwt__SettingsList*)p = *(ngwt__SettingsList*)q; +} + +void ngwt__SettingsGroup::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsGroup*)this)->setting); + /* transient soap skipped */ +} + +void ngwt__SettingsGroup::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__SettingsGroup*)this)->setting); + ((ngwt__SettingsGroup*)this)->type = NULL; + /* transient soap skipped */ +} + +int ngwt__SettingsGroup::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SettingsGroup); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SettingsGroup::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SettingsGroup(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsGroup(struct soap *soap, const char *tag, int id, const ngwt__SettingsGroup *a, const char *type) +{ + if (((ngwt__SettingsGroup *)a)->type) + soap_set_attr(soap, "type", ((ngwt__SettingsGroup *)a)->type->c_str()); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SettingsGroup), type); + soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", -1, &(((ngwt__SettingsGroup*)a)->setting), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SettingsGroup::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SettingsGroup(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_get_ngwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SettingsGroup(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SettingsGroup::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SettingsGroup(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_in_ngwt__SettingsGroup(struct soap *soap, const char *tag, ngwt__SettingsGroup *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SettingsGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SettingsGroup, sizeof(ngwt__SettingsGroup), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SettingsGroup) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SettingsGroup *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "type", 0); + if (t) + { if (!(((ngwt__SettingsGroup *)a)->type = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__SettingsGroup *)a)->type = soap_new_std__string(soap, -1); + ((ngwt__SettingsGroup *)a)->type->assign(s); + } + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", &(((ngwt__SettingsGroup*)a)->setting), "ngwt:Custom")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SettingsGroup *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsGroup, 0, sizeof(ngwt__SettingsGroup), 0, soap_copy_ngwt__SettingsGroup); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_new_ngwt__SettingsGroup(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SettingsGroup(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_instantiate_ngwt__SettingsGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SettingsGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SettingsGroup, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SettingsGroup; + if (size) + *size = sizeof(ngwt__SettingsGroup); + ((ngwt__SettingsGroup*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SettingsGroup[n]; + if (size) + *size = n * sizeof(ngwt__SettingsGroup); + for (int i = 0; i < n; i++) + ((ngwt__SettingsGroup*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SettingsGroup*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsGroup(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SettingsGroup %p -> %p\n", q, p)); + *(ngwt__SettingsGroup*)p = *(ngwt__SettingsGroup*)q; +} + +void ngwt__Settings::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, &((ngwt__Settings*)this)->group); + soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__Settings*)this)->setting); + /* transient soap skipped */ +} + +void ngwt__Settings::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, &((ngwt__Settings*)this)->group); + soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__Settings*)this)->setting); + /* transient soap skipped */ +} + +int ngwt__Settings::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Settings); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Settings::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Settings(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Settings(struct soap *soap, const char *tag, int id, const ngwt__Settings *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Settings), type); + soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, "ngwt:group", -1, &(((ngwt__Settings*)a)->group), ""); + soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", -1, &(((ngwt__Settings*)a)->setting), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Settings::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Settings(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_get_ngwt__Settings(struct soap *soap, ngwt__Settings *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Settings(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Settings::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Settings(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_in_ngwt__Settings(struct soap *soap, const char *tag, ngwt__Settings *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Settings *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Settings, sizeof(ngwt__Settings), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Settings) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Settings *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, "ngwt:group", &(((ngwt__Settings*)a)->group), "ngwt:SettingsGroup")) + continue; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:setting", &(((ngwt__Settings*)a)->setting), "ngwt:Custom")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Settings *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Settings, 0, sizeof(ngwt__Settings), 0, soap_copy_ngwt__Settings); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_new_ngwt__Settings(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Settings(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Settings(struct soap *soap, ngwt__Settings *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_instantiate_ngwt__Settings(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Settings(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Settings, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Settings; + if (size) + *size = sizeof(ngwt__Settings); + ((ngwt__Settings*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Settings[n]; + if (size) + *size = n * sizeof(ngwt__Settings); + for (int i = 0; i < n; i++) + ((ngwt__Settings*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Settings*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Settings(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Settings %p -> %p\n", q, p)); + *(ngwt__Settings*)p = *(ngwt__Settings*)q; +} + +void ngwt__SendOptions::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SendOptions*)this)->requestReply, SOAP_TYPE_PointerTongwt__SendOptionsRequestReply); + soap_serialize_PointerTongwt__SendOptionsRequestReply(soap, &((ngwt__SendOptions*)this)->requestReply); + soap_embedded(soap, &((ngwt__SendOptions*)this)->mimeEncoding, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__SendOptions*)this)->mimeEncoding); + soap_embedded(soap, &((ngwt__SendOptions*)this)->statusTracking, SOAP_TYPE_PointerTongwt__StatusTracking); + soap_serialize_PointerTongwt__StatusTracking(soap, &((ngwt__SendOptions*)this)->statusTracking); + soap_embedded(soap, &((ngwt__SendOptions*)this)->notification, SOAP_TYPE_PointerTongwt__ReturnNotification); + soap_serialize_PointerTongwt__ReturnNotification(soap, &((ngwt__SendOptions*)this)->notification); + soap_embedded(soap, &((ngwt__SendOptions*)this)->updateFrequentContacts, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void ngwt__SendOptions::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SendOptions*)this)->requestReply = NULL; + ((ngwt__SendOptions*)this)->mimeEncoding = NULL; + ((ngwt__SendOptions*)this)->statusTracking = NULL; + ((ngwt__SendOptions*)this)->notification = NULL; + ((ngwt__SendOptions*)this)->updateFrequentContacts = (bool)1; + /* transient soap skipped */ +} + +int ngwt__SendOptions::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SendOptions); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SendOptions::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SendOptions(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptions(struct soap *soap, const char *tag, int id, const ngwt__SendOptions *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SendOptions), type); + soap_out_PointerTongwt__SendOptionsRequestReply(soap, "ngwt:requestReply", -1, &(((ngwt__SendOptions*)a)->requestReply), ""); + soap_out_PointerTostd__string(soap, "ngwt:mimeEncoding", -1, &(((ngwt__SendOptions*)a)->mimeEncoding), ""); + soap_out_PointerTongwt__StatusTracking(soap, "ngwt:statusTracking", -1, &(((ngwt__SendOptions*)a)->statusTracking), ""); + soap_out_PointerTongwt__ReturnNotification(soap, "ngwt:notification", -1, &(((ngwt__SendOptions*)a)->notification), ""); + soap_out_bool(soap, "ngwt:updateFrequentContacts", -1, &(((ngwt__SendOptions*)a)->updateFrequentContacts), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SendOptions::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SendOptions(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_get_ngwt__SendOptions(struct soap *soap, ngwt__SendOptions *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SendOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SendOptions::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SendOptions(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_in_ngwt__SendOptions(struct soap *soap, const char *tag, ngwt__SendOptions *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SendOptions *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SendOptions, sizeof(ngwt__SendOptions), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SendOptions) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SendOptions *)a->soap_in(soap, tag, type); + } + } + short soap_flag_requestReply1 = 1, soap_flag_mimeEncoding1 = 1, soap_flag_statusTracking1 = 1, soap_flag_notification1 = 1, soap_flag_updateFrequentContacts1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_requestReply1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SendOptionsRequestReply(soap, "ngwt:requestReply", &(((ngwt__SendOptions*)a)->requestReply), "ngwt:SendOptionsRequestReply")) + { soap_flag_requestReply1 = 0; + continue; + } + if (soap_flag_mimeEncoding1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:mimeEncoding", &(((ngwt__SendOptions*)a)->mimeEncoding), "")) + { soap_flag_mimeEncoding1 = 0; + continue; + } + if (soap_flag_statusTracking1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__StatusTracking(soap, "ngwt:statusTracking", &(((ngwt__SendOptions*)a)->statusTracking), "ngwt:StatusTracking")) + { soap_flag_statusTracking1 = 0; + continue; + } + if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReturnNotification(soap, "ngwt:notification", &(((ngwt__SendOptions*)a)->notification), "ngwt:ReturnNotification")) + { soap_flag_notification1 = 0; + continue; + } + if (soap_flag_updateFrequentContacts1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:updateFrequentContacts", &(((ngwt__SendOptions*)a)->updateFrequentContacts), "")) + { soap_flag_updateFrequentContacts1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SendOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptions, 0, sizeof(ngwt__SendOptions), 0, soap_copy_ngwt__SendOptions); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_new_ngwt__SendOptions(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SendOptions(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptions(struct soap *soap, ngwt__SendOptions *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_instantiate_ngwt__SendOptions(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SendOptions(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SendOptions, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SendOptions; + if (size) + *size = sizeof(ngwt__SendOptions); + ((ngwt__SendOptions*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SendOptions[n]; + if (size) + *size = n * sizeof(ngwt__SendOptions); + for (int i = 0; i < n; i++) + ((ngwt__SendOptions*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SendOptions*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptions(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SendOptions %p -> %p\n", q, p)); + *(ngwt__SendOptions*)p = *(ngwt__SendOptions*)q; +} + +void ngwt__SendOptionsRequestReply::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__SendOptionsRequestReply*)this)->whenConvenient, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SendOptionsRequestReply*)this)->whenConvenient); + soap_embedded(soap, &((ngwt__SendOptionsRequestReply*)this)->byDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__SendOptionsRequestReply*)this)->byDate); + /* transient soap skipped */ +} + +void ngwt__SendOptionsRequestReply::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__SendOptionsRequestReply*)this)->whenConvenient = NULL; + soap_default_string(soap, &((ngwt__SendOptionsRequestReply*)this)->byDate); + /* transient soap skipped */ +} + +int ngwt__SendOptionsRequestReply::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__SendOptionsRequestReply); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__SendOptionsRequestReply::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__SendOptionsRequestReply(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptionsRequestReply(struct soap *soap, const char *tag, int id, const ngwt__SendOptionsRequestReply *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__SendOptionsRequestReply), type); + soap_out_PointerTobool(soap, "ngwt:whenConvenient", -1, &(((ngwt__SendOptionsRequestReply*)a)->whenConvenient), ""); + soap_out_string(soap, "ngwt:byDate", -1, &(((ngwt__SendOptionsRequestReply*)a)->byDate), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__SendOptionsRequestReply::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__SendOptionsRequestReply(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_get_ngwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__SendOptionsRequestReply(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__SendOptionsRequestReply::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__SendOptionsRequestReply(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_in_ngwt__SendOptionsRequestReply(struct soap *soap, const char *tag, ngwt__SendOptionsRequestReply *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__SendOptionsRequestReply *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__SendOptionsRequestReply, sizeof(ngwt__SendOptionsRequestReply), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__SendOptionsRequestReply) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__SendOptionsRequestReply *)a->soap_in(soap, tag, type); + } + } + short soap_flag_whenConvenient1 = 1, soap_flag_byDate1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_whenConvenient1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:whenConvenient", &(((ngwt__SendOptionsRequestReply*)a)->whenConvenient), "")) + { soap_flag_whenConvenient1 = 0; + continue; + } + if (soap_flag_byDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:byDate", &(((ngwt__SendOptionsRequestReply*)a)->byDate), "")) + { soap_flag_byDate1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__SendOptionsRequestReply *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptionsRequestReply, 0, sizeof(ngwt__SendOptionsRequestReply), 0, soap_copy_ngwt__SendOptionsRequestReply); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_new_ngwt__SendOptionsRequestReply(struct soap *soap, int n) +{ return soap_instantiate_ngwt__SendOptionsRequestReply(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_instantiate_ngwt__SendOptionsRequestReply(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__SendOptionsRequestReply(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__SendOptionsRequestReply, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__SendOptionsRequestReply; + if (size) + *size = sizeof(ngwt__SendOptionsRequestReply); + ((ngwt__SendOptionsRequestReply*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SendOptionsRequestReply[n]; + if (size) + *size = n * sizeof(ngwt__SendOptionsRequestReply); + for (int i = 0; i < n; i++) + ((ngwt__SendOptionsRequestReply*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SendOptionsRequestReply*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptionsRequestReply(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__SendOptionsRequestReply %p -> %p\n", q, p)); + *(ngwt__SendOptionsRequestReply*)p = *(ngwt__SendOptionsRequestReply*)q; +} + +void ngwt__RuleList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Rule(soap, &((ngwt__RuleList*)this)->rule); + /* transient soap skipped */ +} + +void ngwt__RuleList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Rule(soap, &((ngwt__RuleList*)this)->rule); + /* transient soap skipped */ +} + +int ngwt__RuleList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RuleList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RuleList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RuleList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleList(struct soap *soap, const char *tag, int id, const ngwt__RuleList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Rule(soap, "ngwt:rule", -1, &(((ngwt__RuleList*)a)->rule), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RuleList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RuleList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_get_ngwt__RuleList(struct soap *soap, ngwt__RuleList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RuleList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RuleList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RuleList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_in_ngwt__RuleList(struct soap *soap, const char *tag, ngwt__RuleList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RuleList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleList, sizeof(ngwt__RuleList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RuleList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RuleList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Rule(soap, "ngwt:rule", &(((ngwt__RuleList*)a)->rule), "ngwt:Rule")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RuleList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleList, 0, sizeof(ngwt__RuleList), 0, soap_copy_ngwt__RuleList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_new_ngwt__RuleList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RuleList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleList(struct soap *soap, ngwt__RuleList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_instantiate_ngwt__RuleList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RuleList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RuleList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__RuleList; + if (size) + *size = sizeof(ngwt__RuleList); + ((ngwt__RuleList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RuleList[n]; + if (size) + *size = n * sizeof(ngwt__RuleList); + for (int i = 0; i < n; i++) + ((ngwt__RuleList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RuleList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RuleList %p -> %p\n", q, p)); + *(ngwt__RuleList*)p = *(ngwt__RuleList*)q; +} + +void ngwt__RuleActionList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__RuleAction(soap, &((ngwt__RuleActionList*)this)->action); + /* transient soap skipped */ +} + +void ngwt__RuleActionList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__RuleAction(soap, &((ngwt__RuleActionList*)this)->action); + /* transient soap skipped */ +} + +int ngwt__RuleActionList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RuleActionList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RuleActionList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RuleActionList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionList(struct soap *soap, const char *tag, int id, const ngwt__RuleActionList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleActionList), type); + soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(soap, "ngwt:action", -1, &(((ngwt__RuleActionList*)a)->action), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RuleActionList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RuleActionList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_get_ngwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RuleActionList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RuleActionList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RuleActionList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_in_ngwt__RuleActionList(struct soap *soap, const char *tag, ngwt__RuleActionList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RuleActionList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleActionList, sizeof(ngwt__RuleActionList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RuleActionList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RuleActionList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(soap, "ngwt:action", &(((ngwt__RuleActionList*)a)->action), "ngwt:RuleAction")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RuleActionList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleActionList, 0, sizeof(ngwt__RuleActionList), 0, soap_copy_ngwt__RuleActionList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_new_ngwt__RuleActionList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RuleActionList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_instantiate_ngwt__RuleActionList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RuleActionList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RuleActionList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__RuleActionList; + if (size) + *size = sizeof(ngwt__RuleActionList); + ((ngwt__RuleActionList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RuleActionList[n]; + if (size) + *size = n * sizeof(ngwt__RuleActionList); + for (int i = 0; i < n; i++) + ((ngwt__RuleActionList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RuleActionList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleActionList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RuleActionList %p -> %p\n", q, p)); + *(ngwt__RuleActionList*)p = *(ngwt__RuleActionList*)q; +} + +void ngwt__RuleAction::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__RuleAction*)this)->type, SOAP_TYPE_ngwt__RuleActionType); + soap_embedded(soap, &((ngwt__RuleAction*)this)->container, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__RuleAction*)this)->container); + soap_embedded(soap, &((ngwt__RuleAction*)this)->item, SOAP_TYPE_PointerTongwt__Mail); + soap_serialize_PointerTongwt__Mail(soap, &((ngwt__RuleAction*)this)->item); + soap_embedded(soap, &((ngwt__RuleAction*)this)->message, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__RuleAction*)this)->message); + soap_embedded(soap, &((ngwt__RuleAction*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel); + soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__RuleAction*)this)->acceptLevel); + soap_embedded(soap, &((ngwt__RuleAction*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__RuleAction*)this)->categories); + /* transient soap skipped */ +} + +void ngwt__RuleAction::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__RuleActionType(soap, &((ngwt__RuleAction*)this)->type); + ((ngwt__RuleAction*)this)->container = NULL; + ((ngwt__RuleAction*)this)->item = NULL; + ((ngwt__RuleAction*)this)->message = NULL; + ((ngwt__RuleAction*)this)->acceptLevel = NULL; + ((ngwt__RuleAction*)this)->categories = NULL; + /* transient soap skipped */ +} + +int ngwt__RuleAction::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RuleAction); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RuleAction::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RuleAction(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleAction(struct soap *soap, const char *tag, int id, const ngwt__RuleAction *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RuleAction), type); + soap_out_ngwt__RuleActionType(soap, "ngwt:type", -1, &(((ngwt__RuleAction*)a)->type), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:container", -1, &(((ngwt__RuleAction*)a)->container), ""); + soap_out_PointerTongwt__Mail(soap, "ngwt:item", -1, &(((ngwt__RuleAction*)a)->item), ""); + soap_out_PointerTostd__string(soap, "ngwt:message", -1, &(((ngwt__RuleAction*)a)->message), ""); + soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__RuleAction*)a)->acceptLevel), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__RuleAction*)a)->categories), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RuleAction::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RuleAction(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_get_ngwt__RuleAction(struct soap *soap, ngwt__RuleAction *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RuleAction(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RuleAction::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RuleAction(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_in_ngwt__RuleAction(struct soap *soap, const char *tag, ngwt__RuleAction *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RuleAction *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RuleAction, sizeof(ngwt__RuleAction), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RuleAction) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RuleAction *)a->soap_in(soap, tag, type); + } + } + short soap_flag_type1 = 1, soap_flag_container1 = 1, soap_flag_item1 = 1, soap_flag_message1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_categories1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__RuleActionType(soap, "ngwt:type", &(((ngwt__RuleAction*)a)->type), "")) + { soap_flag_type1 = 0; + continue; + } + if (soap_flag_container1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:container", &(((ngwt__RuleAction*)a)->container), "ngwt:uid")) + { soap_flag_container1 = 0; + continue; + } + if (soap_flag_item1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Mail(soap, "ngwt:item", &(((ngwt__RuleAction*)a)->item), "ngwt:Mail")) + { soap_flag_item1 = 0; + continue; + } + if (soap_flag_message1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:message", &(((ngwt__RuleAction*)a)->message), "")) + { soap_flag_message1 = 0; + continue; + } + if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__RuleAction*)a)->acceptLevel), "")) + { soap_flag_acceptLevel1 = 0; + continue; + } + if (soap_flag_categories1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__RuleAction*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_type1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RuleAction *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleAction, 0, sizeof(ngwt__RuleAction), 0, soap_copy_ngwt__RuleAction); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_new_ngwt__RuleAction(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RuleAction(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleAction(struct soap *soap, ngwt__RuleAction *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_instantiate_ngwt__RuleAction(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RuleAction(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RuleAction, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__RuleAction; + if (size) + *size = sizeof(ngwt__RuleAction); + ((ngwt__RuleAction*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RuleAction[n]; + if (size) + *size = n * sizeof(ngwt__RuleAction); + for (int i = 0; i < n; i++) + ((ngwt__RuleAction*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RuleAction*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleAction(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RuleAction %p -> %p\n", q, p)); + *(ngwt__RuleAction*)p = *(ngwt__RuleAction*)q; +} + +void ngwt__Rule::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Rule*)this)->execution, SOAP_TYPE_PointerTongwt__Execution); + soap_serialize_PointerTongwt__Execution(soap, &((ngwt__Rule*)this)->execution); + soap_embedded(soap, &((ngwt__Rule*)this)->sequence, SOAP_TYPE_unsignedLong); + soap_embedded(soap, &((ngwt__Rule*)this)->enabled, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Rule*)this)->types, SOAP_TYPE_PointerTongwt__MessageTypeList); + soap_serialize_PointerTongwt__MessageTypeList(soap, &((ngwt__Rule*)this)->types); + soap_embedded(soap, &((ngwt__Rule*)this)->source, SOAP_TYPE_PointerTongwt__ItemSourceList); + soap_serialize_PointerTongwt__ItemSourceList(soap, &((ngwt__Rule*)this)->source); + soap_embedded(soap, &((ngwt__Rule*)this)->conflict, SOAP_TYPE_ngwt__AppointmentConflict); + soap_embedded(soap, &((ngwt__Rule*)this)->filter, SOAP_TYPE_PointerTongwt__Filter); + soap_serialize_PointerTongwt__Filter(soap, &((ngwt__Rule*)this)->filter); + soap_embedded(soap, &((ngwt__Rule*)this)->actions, SOAP_TYPE_PointerTongwt__RuleActionList); + soap_serialize_PointerTongwt__RuleActionList(soap, &((ngwt__Rule*)this)->actions); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Rule::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Rule*)this)->execution = NULL; + soap_default_unsignedLong(soap, &((ngwt__Rule*)this)->sequence); + ((ngwt__Rule*)this)->enabled = (bool)0; + ((ngwt__Rule*)this)->types = NULL; + ((ngwt__Rule*)this)->source = NULL; + ((ngwt__Rule*)this)->conflict = (enum ngwt__AppointmentConflict)2; + ((ngwt__Rule*)this)->filter = NULL; + ((ngwt__Rule*)this)->actions = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Rule::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Rule); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Rule::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Rule(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rule(struct soap *soap, const char *tag, int id, const ngwt__Rule *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Rule), "ngwt:Rule"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__Execution(soap, "ngwt:execution", -1, &(((ngwt__Rule*)a)->execution), ""); + soap_out_unsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Rule*)a)->sequence), ""); + soap_out_bool(soap, "ngwt:enabled", -1, &(((ngwt__Rule*)a)->enabled), ""); + soap_out_PointerTongwt__MessageTypeList(soap, "ngwt:types", -1, &(((ngwt__Rule*)a)->types), ""); + soap_out_PointerTongwt__ItemSourceList(soap, "ngwt:source", -1, &(((ngwt__Rule*)a)->source), ""); + soap_out_ngwt__AppointmentConflict(soap, "ngwt:conflict", -1, &(((ngwt__Rule*)a)->conflict), ""); + soap_out_PointerTongwt__Filter(soap, "ngwt:filter", -1, &(((ngwt__Rule*)a)->filter), ""); + soap_out_PointerTongwt__RuleActionList(soap, "ngwt:actions", -1, &(((ngwt__Rule*)a)->actions), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Rule::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Rule(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_get_ngwt__Rule(struct soap *soap, ngwt__Rule *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Rule(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Rule::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Rule(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_in_ngwt__Rule(struct soap *soap, const char *tag, ngwt__Rule *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Rule *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Rule, sizeof(ngwt__Rule), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Rule) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Rule *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_execution1 = 1, soap_flag_sequence1 = 1, soap_flag_enabled1 = 1, soap_flag_types1 = 1, soap_flag_source1 = 1, soap_flag_conflict1 = 1, soap_flag_filter1 = 1, soap_flag_actions1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories2 = 0; + continue; + } + if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created2 = 0; + continue; + } + if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs2 = 0; + continue; + } + if (soap_flag_execution1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Execution(soap, "ngwt:execution", &(((ngwt__Rule*)a)->execution), "")) + { soap_flag_execution1 = 0; + continue; + } + if (soap_flag_sequence1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwt:sequence", &(((ngwt__Rule*)a)->sequence), "")) + { soap_flag_sequence1 = 0; + continue; + } + if (soap_flag_enabled1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:enabled", &(((ngwt__Rule*)a)->enabled), "")) + { soap_flag_enabled1 = 0; + continue; + } + if (soap_flag_types1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageTypeList(soap, "ngwt:types", &(((ngwt__Rule*)a)->types), "")) + { soap_flag_types1 = 0; + continue; + } + if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSourceList(soap, "ngwt:source", &(((ngwt__Rule*)a)->source), "")) + { soap_flag_source1 = 0; + continue; + } + if (soap_flag_conflict1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__AppointmentConflict(soap, "ngwt:conflict", &(((ngwt__Rule*)a)->conflict), "")) + { soap_flag_conflict1 = 0; + continue; + } + if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Filter(soap, "ngwt:filter", &(((ngwt__Rule*)a)->filter), "ngwt:Filter")) + { soap_flag_filter1 = 0; + continue; + } + if (soap_flag_actions1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RuleActionList(soap, "ngwt:actions", &(((ngwt__Rule*)a)->actions), "ngwt:RuleActionList")) + { soap_flag_actions1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_sequence1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Rule *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rule, 0, sizeof(ngwt__Rule), 0, soap_copy_ngwt__Rule); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_new_ngwt__Rule(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Rule(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rule(struct soap *soap, ngwt__Rule *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_instantiate_ngwt__Rule(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Rule(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Rule, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Rule; + if (size) + *size = sizeof(ngwt__Rule); + ((ngwt__Rule*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Rule[n]; + if (size) + *size = n * sizeof(ngwt__Rule); + for (int i = 0; i < n; i++) + ((ngwt__Rule*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Rule*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rule(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Rule %p -> %p\n", q, p)); + *(ngwt__Rule*)p = *(ngwt__Rule*)q; +} + +void ngwt__Rights::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Rights*)this)->read, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->read); + soap_embedded(soap, &((ngwt__Rights*)this)->add, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->add); + soap_embedded(soap, &((ngwt__Rights*)this)->edit, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->edit); + soap_embedded(soap, &((ngwt__Rights*)this)->_delete, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->_delete); + soap_embedded(soap, &((ngwt__Rights*)this)->share, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->share); + soap_embedded(soap, &((ngwt__Rights*)this)->manage, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Rights*)this)->manage); + /* transient soap skipped */ +} + +void ngwt__Rights::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Rights*)this)->read = NULL; + ((ngwt__Rights*)this)->add = NULL; + ((ngwt__Rights*)this)->edit = NULL; + ((ngwt__Rights*)this)->_delete = NULL; + ((ngwt__Rights*)this)->share = NULL; + ((ngwt__Rights*)this)->manage = NULL; + /* transient soap skipped */ +} + +int ngwt__Rights::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Rights); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Rights::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Rights(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rights(struct soap *soap, const char *tag, int id, const ngwt__Rights *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Rights), type); + soap_out_PointerTobool(soap, "ngwt:read", -1, &(((ngwt__Rights*)a)->read), ""); + soap_out_PointerTobool(soap, "ngwt:add", -1, &(((ngwt__Rights*)a)->add), ""); + soap_out_PointerTobool(soap, "ngwt:edit", -1, &(((ngwt__Rights*)a)->edit), ""); + soap_out_PointerTobool(soap, "ngwt:delete", -1, &(((ngwt__Rights*)a)->_delete), ""); + soap_out_PointerTobool(soap, "ngwt:share", -1, &(((ngwt__Rights*)a)->share), ""); + soap_out_PointerTobool(soap, "ngwt:manage", -1, &(((ngwt__Rights*)a)->manage), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Rights::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Rights(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_get_ngwt__Rights(struct soap *soap, ngwt__Rights *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Rights(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Rights::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Rights(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_in_ngwt__Rights(struct soap *soap, const char *tag, ngwt__Rights *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Rights *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Rights, sizeof(ngwt__Rights), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Rights) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Rights *)a->soap_in(soap, tag, type); + } + } + short soap_flag_read1 = 1, soap_flag_add1 = 1, soap_flag_edit1 = 1, soap_flag_delete1 = 1, soap_flag_share1 = 1, soap_flag_manage1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_read1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:read", &(((ngwt__Rights*)a)->read), "")) + { soap_flag_read1 = 0; + continue; + } + if (soap_flag_add1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:add", &(((ngwt__Rights*)a)->add), "")) + { soap_flag_add1 = 0; + continue; + } + if (soap_flag_edit1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:edit", &(((ngwt__Rights*)a)->edit), "")) + { soap_flag_edit1 = 0; + continue; + } + if (soap_flag_delete1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:delete", &(((ngwt__Rights*)a)->_delete), "")) + { soap_flag_delete1 = 0; + continue; + } + if (soap_flag_share1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:share", &(((ngwt__Rights*)a)->share), "")) + { soap_flag_share1 = 0; + continue; + } + if (soap_flag_manage1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:manage", &(((ngwt__Rights*)a)->manage), "")) + { soap_flag_manage1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Rights *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rights, 0, sizeof(ngwt__Rights), 0, soap_copy_ngwt__Rights); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_new_ngwt__Rights(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Rights(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rights(struct soap *soap, ngwt__Rights *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_instantiate_ngwt__Rights(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Rights(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Rights, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Rights; + if (size) + *size = sizeof(ngwt__Rights); + ((ngwt__Rights*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Rights[n]; + if (size) + *size = n * sizeof(ngwt__Rights); + for (int i = 0; i < n; i++) + ((ngwt__Rights*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Rights*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rights(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Rights %p -> %p\n", q, p)); + *(ngwt__Rights*)p = *(ngwt__Rights*)q; +} + +void ngwt__ReturnNotificationOptions::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ReturnNotificationOptions*)this)->mail, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__ReturnNotificationOptions*)this)->notify, SOAP_TYPE_bool); + /* transient soap skipped */ +} + +void ngwt__ReturnNotificationOptions::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ReturnNotificationOptions*)this)->mail = (bool)0; + ((ngwt__ReturnNotificationOptions*)this)->notify = (bool)0; + /* transient soap skipped */ +} + +int ngwt__ReturnNotificationOptions::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ReturnNotificationOptions); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ReturnNotificationOptions::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ReturnNotificationOptions(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotificationOptions(struct soap *soap, const char *tag, int id, const ngwt__ReturnNotificationOptions *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ReturnNotificationOptions), type); + soap_out_bool(soap, "ngwt:mail", -1, &(((ngwt__ReturnNotificationOptions*)a)->mail), ""); + soap_out_bool(soap, "ngwt:notify", -1, &(((ngwt__ReturnNotificationOptions*)a)->notify), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ReturnNotificationOptions::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ReturnNotificationOptions(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_get_ngwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ReturnNotificationOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ReturnNotificationOptions::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ReturnNotificationOptions(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_in_ngwt__ReturnNotificationOptions(struct soap *soap, const char *tag, ngwt__ReturnNotificationOptions *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ReturnNotificationOptions *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ReturnNotificationOptions, sizeof(ngwt__ReturnNotificationOptions), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ReturnNotificationOptions) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ReturnNotificationOptions *)a->soap_in(soap, tag, type); + } + } + short soap_flag_mail1 = 1, soap_flag_notify1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_mail1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:mail", &(((ngwt__ReturnNotificationOptions*)a)->mail), "")) + { soap_flag_mail1 = 0; + continue; + } + if (soap_flag_notify1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:notify", &(((ngwt__ReturnNotificationOptions*)a)->notify), "")) + { soap_flag_notify1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ReturnNotificationOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotificationOptions, 0, sizeof(ngwt__ReturnNotificationOptions), 0, soap_copy_ngwt__ReturnNotificationOptions); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_new_ngwt__ReturnNotificationOptions(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ReturnNotificationOptions(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotificationOptions(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ReturnNotificationOptions(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ReturnNotificationOptions, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ReturnNotificationOptions; + if (size) + *size = sizeof(ngwt__ReturnNotificationOptions); + ((ngwt__ReturnNotificationOptions*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ReturnNotificationOptions[n]; + if (size) + *size = n * sizeof(ngwt__ReturnNotificationOptions); + for (int i = 0; i < n; i++) + ((ngwt__ReturnNotificationOptions*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ReturnNotificationOptions*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotificationOptions(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ReturnNotificationOptions %p -> %p\n", q, p)); + *(ngwt__ReturnNotificationOptions*)p = *(ngwt__ReturnNotificationOptions*)q; +} + +void ngwt__ReturnNotification::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ReturnNotification*)this)->opened, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions); + soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->opened); + soap_embedded(soap, &((ngwt__ReturnNotification*)this)->deleted, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions); + soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->deleted); + soap_embedded(soap, &((ngwt__ReturnNotification*)this)->accepted, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions); + soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->accepted); + soap_embedded(soap, &((ngwt__ReturnNotification*)this)->declined, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions); + soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->declined); + soap_embedded(soap, &((ngwt__ReturnNotification*)this)->completed, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions); + soap_serialize_PointerTongwt__ReturnNotificationOptions(soap, &((ngwt__ReturnNotification*)this)->completed); + /* transient soap skipped */ +} + +void ngwt__ReturnNotification::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ReturnNotification*)this)->opened = NULL; + ((ngwt__ReturnNotification*)this)->deleted = NULL; + ((ngwt__ReturnNotification*)this)->accepted = NULL; + ((ngwt__ReturnNotification*)this)->declined = NULL; + ((ngwt__ReturnNotification*)this)->completed = NULL; + /* transient soap skipped */ +} + +int ngwt__ReturnNotification::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ReturnNotification); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ReturnNotification::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ReturnNotification(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotification(struct soap *soap, const char *tag, int id, const ngwt__ReturnNotification *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ReturnNotification), type); + soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:opened", -1, &(((ngwt__ReturnNotification*)a)->opened), ""); + soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:deleted", -1, &(((ngwt__ReturnNotification*)a)->deleted), ""); + soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:accepted", -1, &(((ngwt__ReturnNotification*)a)->accepted), ""); + soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:declined", -1, &(((ngwt__ReturnNotification*)a)->declined), ""); + soap_out_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:completed", -1, &(((ngwt__ReturnNotification*)a)->completed), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ReturnNotification::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ReturnNotification(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_get_ngwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ReturnNotification(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ReturnNotification::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ReturnNotification(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_in_ngwt__ReturnNotification(struct soap *soap, const char *tag, ngwt__ReturnNotification *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ReturnNotification *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ReturnNotification, sizeof(ngwt__ReturnNotification), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ReturnNotification) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ReturnNotification *)a->soap_in(soap, tag, type); + } + } + short soap_flag_opened1 = 1, soap_flag_deleted1 = 1, soap_flag_accepted1 = 1, soap_flag_declined1 = 1, soap_flag_completed1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_opened1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:opened", &(((ngwt__ReturnNotification*)a)->opened), "ngwt:ReturnNotificationOptions")) + { soap_flag_opened1 = 0; + continue; + } + if (soap_flag_deleted1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:deleted", &(((ngwt__ReturnNotification*)a)->deleted), "ngwt:ReturnNotificationOptions")) + { soap_flag_deleted1 = 0; + continue; + } + if (soap_flag_accepted1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:accepted", &(((ngwt__ReturnNotification*)a)->accepted), "ngwt:ReturnNotificationOptions")) + { soap_flag_accepted1 = 0; + continue; + } + if (soap_flag_declined1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:declined", &(((ngwt__ReturnNotification*)a)->declined), "ngwt:ReturnNotificationOptions")) + { soap_flag_declined1 = 0; + continue; + } + if (soap_flag_completed1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReturnNotificationOptions(soap, "ngwt:completed", &(((ngwt__ReturnNotification*)a)->completed), "ngwt:ReturnNotificationOptions")) + { soap_flag_completed1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ReturnNotification *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotification, 0, sizeof(ngwt__ReturnNotification), 0, soap_copy_ngwt__ReturnNotification); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_new_ngwt__ReturnNotification(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ReturnNotification(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotification(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ReturnNotification(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ReturnNotification, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ReturnNotification; + if (size) + *size = sizeof(ngwt__ReturnNotification); + ((ngwt__ReturnNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ReturnNotification[n]; + if (size) + *size = n * sizeof(ngwt__ReturnNotification); + for (int i = 0; i < n; i++) + ((ngwt__ReturnNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ReturnNotification*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotification(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ReturnNotification %p -> %p\n", q, p)); + *(ngwt__ReturnNotification*)p = *(ngwt__ReturnNotification*)q; +} + +void ngwt__Resource::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Resource*)this)->phone, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Resource*)this)->phone); + soap_embedded(soap, &((ngwt__Resource*)this)->resourceType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Resource*)this)->resourceType); + soap_embedded(soap, &((ngwt__Resource*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Resource*)this)->email); + soap_embedded(soap, &((ngwt__Resource*)this)->owner, SOAP_TYPE_PointerTongwt__ItemRef); + soap_serialize_PointerTongwt__ItemRef(soap, &((ngwt__Resource*)this)->owner); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType); + soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Resource::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Resource*)this)->phone = NULL; + ((ngwt__Resource*)this)->resourceType = NULL; + ((ngwt__Resource*)this)->email = NULL; + ((ngwt__Resource*)this)->owner = NULL; + ((ngwt__AddressBookItem*)this)->uuid = NULL; + ((ngwt__AddressBookItem*)this)->comment = NULL; + ((ngwt__AddressBookItem*)this)->sync = NULL; + ((ngwt__AddressBookItem*)this)->domain = NULL; + ((ngwt__AddressBookItem*)this)->postOffice = NULL; + ((ngwt__AddressBookItem*)this)->distinguishedName = NULL; + ((ngwt__AddressBookItem*)this)->userid = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Resource::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Resource); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Resource::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Resource(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Resource(struct soap *soap, const char *tag, int id, const ngwt__Resource *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Resource), "ngwt:Resource"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), ""); + soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), ""); + soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), ""); + soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), ""); + soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), ""); + soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), ""); + soap_out_PointerTostd__string(soap, "ngwt:phone", -1, &(((ngwt__Resource*)a)->phone), ""); + soap_out_PointerTostd__string(soap, "ngwt:resourceType", -1, &(((ngwt__Resource*)a)->resourceType), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__Resource*)a)->email), ""); + soap_out_PointerTongwt__ItemRef(soap, "ngwt:owner", -1, &(((ngwt__Resource*)a)->owner), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Resource::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Resource(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_get_ngwt__Resource(struct soap *soap, ngwt__Resource *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Resource(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Resource::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Resource(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_in_ngwt__Resource(struct soap *soap, const char *tag, ngwt__Resource *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Resource *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Resource, sizeof(ngwt__Resource), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Resource) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Resource *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_phone1 = 1, soap_flag_resourceType1 = 1, soap_flag_email1 = 1, soap_flag_owner1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id4 = 0; + continue; + } + if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name4 = 0; + continue; + } + if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version4 = 0; + continue; + } + if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified4 = 0; + continue; + } + if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes4 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories3 = 0; + continue; + } + if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created3 = 0; + continue; + } + if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs3 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), "")) + { soap_flag_comment2 = 0; + continue; + } + if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), "")) + { soap_flag_sync2 = 0; + continue; + } + if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), "")) + { soap_flag_domain2 = 0; + continue; + } + if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), "")) + { soap_flag_postOffice2 = 0; + continue; + } + if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), "")) + { soap_flag_distinguishedName2 = 0; + continue; + } + if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), "")) + { soap_flag_userid2 = 0; + continue; + } + if (soap_flag_phone1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:phone", &(((ngwt__Resource*)a)->phone), "")) + { soap_flag_phone1 = 0; + continue; + } + if (soap_flag_resourceType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:resourceType", &(((ngwt__Resource*)a)->resourceType), "")) + { soap_flag_resourceType1 = 0; + continue; + } + if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__Resource*)a)->email), "")) + { soap_flag_email1 = 0; + continue; + } + if (soap_flag_owner1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRef(soap, "ngwt:owner", &(((ngwt__Resource*)a)->owner), "ngwt:ItemRef")) + { soap_flag_owner1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Resource *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Resource, 0, sizeof(ngwt__Resource), 0, soap_copy_ngwt__Resource); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_new_ngwt__Resource(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Resource(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Resource(struct soap *soap, ngwt__Resource *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_instantiate_ngwt__Resource(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Resource(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Resource, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Resource; + if (size) + *size = sizeof(ngwt__Resource); + ((ngwt__Resource*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Resource[n]; + if (size) + *size = n * sizeof(ngwt__Resource); + for (int i = 0; i < n; i++) + ((ngwt__Resource*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Resource*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Resource(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Resource %p -> %p\n", q, p)); + *(ngwt__Resource*)p = *(ngwt__Resource*)q; +} + +void ngwt__ReferenceInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ReferenceInfo*)this)->lastReferenceDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ReferenceInfo*)this)->lastReferenceDate); + soap_embedded(soap, &((ngwt__ReferenceInfo*)this)->referenceCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__ReferenceInfo*)this)->referenceCount); + /* transient soap skipped */ +} + +void ngwt__ReferenceInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((ngwt__ReferenceInfo*)this)->lastReferenceDate); + ((ngwt__ReferenceInfo*)this)->referenceCount = NULL; + /* transient soap skipped */ +} + +int ngwt__ReferenceInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ReferenceInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ReferenceInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ReferenceInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReferenceInfo(struct soap *soap, const char *tag, int id, const ngwt__ReferenceInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ReferenceInfo), type); + soap_out_string(soap, "ngwt:lastReferenceDate", -1, &(((ngwt__ReferenceInfo*)a)->lastReferenceDate), ""); + soap_out_PointerToint(soap, "ngwt:referenceCount", -1, &(((ngwt__ReferenceInfo*)a)->referenceCount), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ReferenceInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ReferenceInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_get_ngwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ReferenceInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ReferenceInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ReferenceInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_in_ngwt__ReferenceInfo(struct soap *soap, const char *tag, ngwt__ReferenceInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ReferenceInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ReferenceInfo, sizeof(ngwt__ReferenceInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ReferenceInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ReferenceInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_lastReferenceDate1 = 1, soap_flag_referenceCount1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_lastReferenceDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:lastReferenceDate", &(((ngwt__ReferenceInfo*)a)->lastReferenceDate), "")) + { soap_flag_lastReferenceDate1 = 0; + continue; + } + if (soap_flag_referenceCount1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:referenceCount", &(((ngwt__ReferenceInfo*)a)->referenceCount), "")) + { soap_flag_referenceCount1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ReferenceInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReferenceInfo, 0, sizeof(ngwt__ReferenceInfo), 0, soap_copy_ngwt__ReferenceInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_new_ngwt__ReferenceInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ReferenceInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_instantiate_ngwt__ReferenceInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ReferenceInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ReferenceInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ReferenceInfo; + if (size) + *size = sizeof(ngwt__ReferenceInfo); + ((ngwt__ReferenceInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ReferenceInfo[n]; + if (size) + *size = n * sizeof(ngwt__ReferenceInfo); + for (int i = 0; i < n; i++) + ((ngwt__ReferenceInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ReferenceInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReferenceInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ReferenceInfo %p -> %p\n", q, p)); + *(ngwt__ReferenceInfo*)p = *(ngwt__ReferenceInfo*)q; +} + +void ngwt__RecurrenceRule::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->frequency, SOAP_TYPE_PointerTongwt__Frequency); + soap_serialize_PointerTongwt__Frequency(soap, &((ngwt__RecurrenceRule*)this)->frequency); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->count, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__RecurrenceRule*)this)->count); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->until, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__RecurrenceRule*)this)->until); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->interval, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__RecurrenceRule*)this)->interval); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byDay, SOAP_TYPE_PointerTongwt__DayOfYearWeekList); + soap_serialize_PointerTongwt__DayOfYearWeekList(soap, &((ngwt__RecurrenceRule*)this)->byDay); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byMonthDay, SOAP_TYPE_PointerTongwt__DayOfMonthList); + soap_serialize_PointerTongwt__DayOfMonthList(soap, &((ngwt__RecurrenceRule*)this)->byMonthDay); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byYearDay, SOAP_TYPE_PointerTongwt__DayOfYearList); + soap_serialize_PointerTongwt__DayOfYearList(soap, &((ngwt__RecurrenceRule*)this)->byYearDay); + soap_embedded(soap, &((ngwt__RecurrenceRule*)this)->byMonth, SOAP_TYPE_PointerTongwt__MonthList); + soap_serialize_PointerTongwt__MonthList(soap, &((ngwt__RecurrenceRule*)this)->byMonth); + /* transient soap skipped */ +} + +void ngwt__RecurrenceRule::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__RecurrenceRule*)this)->frequency = NULL; + ((ngwt__RecurrenceRule*)this)->count = NULL; + ((ngwt__RecurrenceRule*)this)->until = NULL; + ((ngwt__RecurrenceRule*)this)->interval = NULL; + ((ngwt__RecurrenceRule*)this)->byDay = NULL; + ((ngwt__RecurrenceRule*)this)->byMonthDay = NULL; + ((ngwt__RecurrenceRule*)this)->byYearDay = NULL; + ((ngwt__RecurrenceRule*)this)->byMonth = NULL; + /* transient soap skipped */ +} + +int ngwt__RecurrenceRule::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecurrenceRule); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RecurrenceRule::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RecurrenceRule(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceRule(struct soap *soap, const char *tag, int id, const ngwt__RecurrenceRule *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecurrenceRule), type); + soap_out_PointerTongwt__Frequency(soap, "ngwt:frequency", -1, &(((ngwt__RecurrenceRule*)a)->frequency), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:count", -1, &(((ngwt__RecurrenceRule*)a)->count), ""); + soap_out_PointerToxsd__date(soap, "ngwt:until", -1, &(((ngwt__RecurrenceRule*)a)->until), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:interval", -1, &(((ngwt__RecurrenceRule*)a)->interval), ""); + soap_out_PointerTongwt__DayOfYearWeekList(soap, "ngwt:byDay", -1, &(((ngwt__RecurrenceRule*)a)->byDay), ""); + soap_out_PointerTongwt__DayOfMonthList(soap, "ngwt:byMonthDay", -1, &(((ngwt__RecurrenceRule*)a)->byMonthDay), ""); + soap_out_PointerTongwt__DayOfYearList(soap, "ngwt:byYearDay", -1, &(((ngwt__RecurrenceRule*)a)->byYearDay), ""); + soap_out_PointerTongwt__MonthList(soap, "ngwt:byMonth", -1, &(((ngwt__RecurrenceRule*)a)->byMonth), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RecurrenceRule::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RecurrenceRule(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_get_ngwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RecurrenceRule(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RecurrenceRule::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RecurrenceRule(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_in_ngwt__RecurrenceRule(struct soap *soap, const char *tag, ngwt__RecurrenceRule *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RecurrenceRule *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecurrenceRule, sizeof(ngwt__RecurrenceRule), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RecurrenceRule) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RecurrenceRule *)a->soap_in(soap, tag, type); + } + } + short soap_flag_frequency1 = 1, soap_flag_count1 = 1, soap_flag_until1 = 1, soap_flag_interval1 = 1, soap_flag_byDay1 = 1, soap_flag_byMonthDay1 = 1, soap_flag_byYearDay1 = 1, soap_flag_byMonth1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_frequency1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Frequency(soap, "ngwt:frequency", &(((ngwt__RecurrenceRule*)a)->frequency), "")) + { soap_flag_frequency1 = 0; + continue; + } + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:count", &(((ngwt__RecurrenceRule*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + if (soap_flag_until1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:until", &(((ngwt__RecurrenceRule*)a)->until), "xsd:date")) + { soap_flag_until1 = 0; + continue; + } + if (soap_flag_interval1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:interval", &(((ngwt__RecurrenceRule*)a)->interval), "")) + { soap_flag_interval1 = 0; + continue; + } + if (soap_flag_byDay1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DayOfYearWeekList(soap, "ngwt:byDay", &(((ngwt__RecurrenceRule*)a)->byDay), "ngwt:DayOfYearWeekList")) + { soap_flag_byDay1 = 0; + continue; + } + if (soap_flag_byMonthDay1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DayOfMonthList(soap, "ngwt:byMonthDay", &(((ngwt__RecurrenceRule*)a)->byMonthDay), "ngwt:DayOfMonthList")) + { soap_flag_byMonthDay1 = 0; + continue; + } + if (soap_flag_byYearDay1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DayOfYearList(soap, "ngwt:byYearDay", &(((ngwt__RecurrenceRule*)a)->byYearDay), "ngwt:DayOfYearList")) + { soap_flag_byYearDay1 = 0; + continue; + } + if (soap_flag_byMonth1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MonthList(soap, "ngwt:byMonth", &(((ngwt__RecurrenceRule*)a)->byMonth), "ngwt:MonthList")) + { soap_flag_byMonth1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RecurrenceRule *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceRule, 0, sizeof(ngwt__RecurrenceRule), 0, soap_copy_ngwt__RecurrenceRule); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_new_ngwt__RecurrenceRule(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RecurrenceRule(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceRule(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecurrenceRule(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecurrenceRule, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__RecurrenceRule; + if (size) + *size = sizeof(ngwt__RecurrenceRule); + ((ngwt__RecurrenceRule*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RecurrenceRule[n]; + if (size) + *size = n * sizeof(ngwt__RecurrenceRule); + for (int i = 0; i < n; i++) + ((ngwt__RecurrenceRule*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RecurrenceRule*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceRule(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecurrenceRule %p -> %p\n", q, p)); + *(ngwt__RecurrenceRule*)p = *(ngwt__RecurrenceRule*)q; +} + +void ngwt__RecurrenceDateType::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfxsd__date(soap, &((ngwt__RecurrenceDateType*)this)->date); + /* transient soap skipped */ +} + +void ngwt__RecurrenceDateType::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfxsd__date(soap, &((ngwt__RecurrenceDateType*)this)->date); + /* transient soap skipped */ +} + +int ngwt__RecurrenceDateType::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecurrenceDateType); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RecurrenceDateType::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RecurrenceDateType(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceDateType(struct soap *soap, const char *tag, int id, const ngwt__RecurrenceDateType *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecurrenceDateType), type); + soap_out_std__vectorTemplateOfxsd__date(soap, "ngwt:date", -1, &(((ngwt__RecurrenceDateType*)a)->date), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RecurrenceDateType::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RecurrenceDateType(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_get_ngwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RecurrenceDateType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RecurrenceDateType::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RecurrenceDateType(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_in_ngwt__RecurrenceDateType(struct soap *soap, const char *tag, ngwt__RecurrenceDateType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RecurrenceDateType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecurrenceDateType, sizeof(ngwt__RecurrenceDateType), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RecurrenceDateType) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RecurrenceDateType *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfxsd__date(soap, "ngwt:date", &(((ngwt__RecurrenceDateType*)a)->date), "xsd:date")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RecurrenceDateType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceDateType, 0, sizeof(ngwt__RecurrenceDateType), 0, soap_copy_ngwt__RecurrenceDateType); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_new_ngwt__RecurrenceDateType(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RecurrenceDateType(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceDateType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecurrenceDateType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecurrenceDateType, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__RecurrenceDateType; + if (size) + *size = sizeof(ngwt__RecurrenceDateType); + ((ngwt__RecurrenceDateType*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RecurrenceDateType[n]; + if (size) + *size = n * sizeof(ngwt__RecurrenceDateType); + for (int i = 0; i < n; i++) + ((ngwt__RecurrenceDateType*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RecurrenceDateType*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceDateType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecurrenceDateType %p -> %p\n", q, p)); + *(ngwt__RecurrenceDateType*)p = *(ngwt__RecurrenceDateType*)q; +} + +void ngwt__RecipientStatus::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->delivered); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeliverable, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferred, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferred); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferDelayed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferFailed, SOAP_TYPE_PointerTongwt__TransferFailedStatus); + soap_serialize_PointerTongwt__TransferFailedStatus(soap, &((ngwt__RecipientStatus*)this)->transferFailed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloaded, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloaded); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retractRequested, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retracted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retracted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->opened, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->opened); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->deleted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->deleted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeleted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeleted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->purged, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->purged); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->accepted, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->accepted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->declined, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->declined); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->replied, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->replied); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->forwarded, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->forwarded); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->shared, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->shared); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->started, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->started); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->completed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->completed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->incomplete, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->incomplete); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delegated, SOAP_TYPE_PointerTongwt__DelegatedStatus); + soap_serialize_PointerTongwt__DelegatedStatus(soap, &((ngwt__RecipientStatus*)this)->delegated); + soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus); + /* transient soap skipped */ +} + +void ngwt__RecipientStatus::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->delivered); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferred); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed); + ((ngwt__RecipientStatus*)this)->transferFailed = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloaded); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retracted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->opened); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->deleted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeleted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->purged); + ((ngwt__RecipientStatus*)this)->accepted = NULL; + ((ngwt__RecipientStatus*)this)->declined = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->replied); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->forwarded); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->shared); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->started); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->completed); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->incomplete); + ((ngwt__RecipientStatus*)this)->delegated = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus); + /* transient soap skipped */ +} + +int ngwt__RecipientStatus::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecipientStatus); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RecipientStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RecipientStatus(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientStatus(struct soap *soap, const char *tag, int id, const ngwt__RecipientStatus *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecipientStatus), type); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__RecipientStatus*)a)->delivered), ""); + soap_out_string(soap, "ngwt:undeliverable", -1, &(((ngwt__RecipientStatus*)a)->undeliverable), ""); + soap_out_string(soap, "ngwt:transferred", -1, &(((ngwt__RecipientStatus*)a)->transferred), ""); + soap_out_string(soap, "ngwt:transferDelayed", -1, &(((ngwt__RecipientStatus*)a)->transferDelayed), ""); + soap_out_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", -1, &(((ngwt__RecipientStatus*)a)->transferFailed), ""); + soap_out_string(soap, "ngwt:downloaded", -1, &(((ngwt__RecipientStatus*)a)->downloaded), ""); + soap_out_string(soap, "ngwt:downloadedByThirdParty", -1, &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), ""); + soap_out_string(soap, "ngwt:retractRequested", -1, &(((ngwt__RecipientStatus*)a)->retractRequested), ""); + soap_out_string(soap, "ngwt:retracted", -1, &(((ngwt__RecipientStatus*)a)->retracted), ""); + soap_out_string(soap, "ngwt:opened", -1, &(((ngwt__RecipientStatus*)a)->opened), ""); + soap_out_string(soap, "ngwt:deleted", -1, &(((ngwt__RecipientStatus*)a)->deleted), ""); + soap_out_string(soap, "ngwt:undeleted", -1, &(((ngwt__RecipientStatus*)a)->undeleted), ""); + soap_out_string(soap, "ngwt:purged", -1, &(((ngwt__RecipientStatus*)a)->purged), ""); + soap_out_PointerTongwt__CommentStatus(soap, "ngwt:accepted", -1, &(((ngwt__RecipientStatus*)a)->accepted), ""); + soap_out_PointerTongwt__CommentStatus(soap, "ngwt:declined", -1, &(((ngwt__RecipientStatus*)a)->declined), ""); + soap_out_string(soap, "ngwt:replied", -1, &(((ngwt__RecipientStatus*)a)->replied), ""); + soap_out_string(soap, "ngwt:forwarded", -1, &(((ngwt__RecipientStatus*)a)->forwarded), ""); + soap_out_string(soap, "ngwt:shared", -1, &(((ngwt__RecipientStatus*)a)->shared), ""); + soap_out_string(soap, "ngwt:started", -1, &(((ngwt__RecipientStatus*)a)->started), ""); + soap_out_string(soap, "ngwt:completed", -1, &(((ngwt__RecipientStatus*)a)->completed), ""); + soap_out_string(soap, "ngwt:incomplete", -1, &(((ngwt__RecipientStatus*)a)->incomplete), ""); + soap_out_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", -1, &(((ngwt__RecipientStatus*)a)->delegated), ""); + soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", -1, &(((ngwt__RecipientStatus*)a)->delegateeStatus), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RecipientStatus::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RecipientStatus(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_get_ngwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RecipientStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RecipientStatus::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RecipientStatus(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_in_ngwt__RecipientStatus(struct soap *soap, const char *tag, ngwt__RecipientStatus *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RecipientStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecipientStatus, sizeof(ngwt__RecipientStatus), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RecipientStatus) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RecipientStatus *)a->soap_in(soap, tag, type); + } + } + short soap_flag_delivered1 = 1, soap_flag_undeliverable1 = 1, soap_flag_transferred1 = 1, soap_flag_transferDelayed1 = 1, soap_flag_transferFailed1 = 1, soap_flag_downloaded1 = 1, soap_flag_downloadedByThirdParty1 = 1, soap_flag_retractRequested1 = 1, soap_flag_retracted1 = 1, soap_flag_opened1 = 1, soap_flag_deleted1 = 1, soap_flag_undeleted1 = 1, soap_flag_purged1 = 1, soap_flag_accepted1 = 1, soap_flag_declined1 = 1, soap_flag_replied1 = 1, soap_flag_forwarded1 = 1, soap_flag_shared1 = 1, soap_flag_started1 = 1, soap_flag_completed1 = 1, soap_flag_incomplete1 = 1, soap_flag_delegated1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_delivered1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__RecipientStatus*)a)->delivered), "")) + { soap_flag_delivered1 = 0; + continue; + } + if (soap_flag_undeliverable1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:undeliverable", &(((ngwt__RecipientStatus*)a)->undeliverable), "")) + { soap_flag_undeliverable1 = 0; + continue; + } + if (soap_flag_transferred1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:transferred", &(((ngwt__RecipientStatus*)a)->transferred), "")) + { soap_flag_transferred1 = 0; + continue; + } + if (soap_flag_transferDelayed1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:transferDelayed", &(((ngwt__RecipientStatus*)a)->transferDelayed), "")) + { soap_flag_transferDelayed1 = 0; + continue; + } + if (soap_flag_transferFailed1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", &(((ngwt__RecipientStatus*)a)->transferFailed), "ngwt:TransferFailedStatus")) + { soap_flag_transferFailed1 = 0; + continue; + } + if (soap_flag_downloaded1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:downloaded", &(((ngwt__RecipientStatus*)a)->downloaded), "")) + { soap_flag_downloaded1 = 0; + continue; + } + if (soap_flag_downloadedByThirdParty1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:downloadedByThirdParty", &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), "")) + { soap_flag_downloadedByThirdParty1 = 0; + continue; + } + if (soap_flag_retractRequested1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retractRequested", &(((ngwt__RecipientStatus*)a)->retractRequested), "")) + { soap_flag_retractRequested1 = 0; + continue; + } + if (soap_flag_retracted1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retracted", &(((ngwt__RecipientStatus*)a)->retracted), "")) + { soap_flag_retracted1 = 0; + continue; + } + if (soap_flag_opened1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:opened", &(((ngwt__RecipientStatus*)a)->opened), "")) + { soap_flag_opened1 = 0; + continue; + } + if (soap_flag_deleted1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:deleted", &(((ngwt__RecipientStatus*)a)->deleted), "")) + { soap_flag_deleted1 = 0; + continue; + } + if (soap_flag_undeleted1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:undeleted", &(((ngwt__RecipientStatus*)a)->undeleted), "")) + { soap_flag_undeleted1 = 0; + continue; + } + if (soap_flag_purged1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:purged", &(((ngwt__RecipientStatus*)a)->purged), "")) + { soap_flag_purged1 = 0; + continue; + } + if (soap_flag_accepted1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:accepted", &(((ngwt__RecipientStatus*)a)->accepted), "ngwt:CommentStatus")) + { soap_flag_accepted1 = 0; + continue; + } + if (soap_flag_declined1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:declined", &(((ngwt__RecipientStatus*)a)->declined), "ngwt:CommentStatus")) + { soap_flag_declined1 = 0; + continue; + } + if (soap_flag_replied1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:replied", &(((ngwt__RecipientStatus*)a)->replied), "")) + { soap_flag_replied1 = 0; + continue; + } + if (soap_flag_forwarded1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:forwarded", &(((ngwt__RecipientStatus*)a)->forwarded), "")) + { soap_flag_forwarded1 = 0; + continue; + } + if (soap_flag_shared1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:shared", &(((ngwt__RecipientStatus*)a)->shared), "")) + { soap_flag_shared1 = 0; + continue; + } + if (soap_flag_started1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:started", &(((ngwt__RecipientStatus*)a)->started), "")) + { soap_flag_started1 = 0; + continue; + } + if (soap_flag_completed1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:completed", &(((ngwt__RecipientStatus*)a)->completed), "")) + { soap_flag_completed1 = 0; + continue; + } + if (soap_flag_incomplete1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:incomplete", &(((ngwt__RecipientStatus*)a)->incomplete), "")) + { soap_flag_incomplete1 = 0; + continue; + } + if (soap_flag_delegated1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", &(((ngwt__RecipientStatus*)a)->delegated), "ngwt:DelegatedStatus")) + { soap_flag_delegated1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", &(((ngwt__RecipientStatus*)a)->delegateeStatus), "ngwt:DelegateeStatus")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RecipientStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientStatus, 0, sizeof(ngwt__RecipientStatus), 0, soap_copy_ngwt__RecipientStatus); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_new_ngwt__RecipientStatus(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RecipientStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_instantiate_ngwt__RecipientStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecipientStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecipientStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:DelegateeStatus")) + { cp->type = SOAP_TYPE_ngwt__DelegateeStatus; + if (n < 0) + { cp->ptr = (void*)new ngwt__DelegateeStatus; + if (size) + *size = sizeof(ngwt__DelegateeStatus); + ((ngwt__DelegateeStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DelegateeStatus[n]; + if (size) + *size = n * sizeof(ngwt__DelegateeStatus); + for (int i = 0; i < n; i++) + ((ngwt__DelegateeStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DelegateeStatus*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:TransferFailedStatus")) + { cp->type = SOAP_TYPE_ngwt__TransferFailedStatus; + if (n < 0) + { cp->ptr = (void*)new ngwt__TransferFailedStatus; + if (size) + *size = sizeof(ngwt__TransferFailedStatus); + ((ngwt__TransferFailedStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__TransferFailedStatus[n]; + if (size) + *size = n * sizeof(ngwt__TransferFailedStatus); + for (int i = 0; i < n; i++) + ((ngwt__TransferFailedStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__TransferFailedStatus*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__RecipientStatus; + if (size) + *size = sizeof(ngwt__RecipientStatus); + ((ngwt__RecipientStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RecipientStatus[n]; + if (size) + *size = n * sizeof(ngwt__RecipientStatus); + for (int i = 0; i < n; i++) + ((ngwt__RecipientStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RecipientStatus*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecipientStatus %p -> %p\n", q, p)); + *(ngwt__RecipientStatus*)p = *(ngwt__RecipientStatus*)q; +} + +void ngwt__RecipientList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Recipient(soap, &((ngwt__RecipientList*)this)->recipient); + /* transient soap skipped */ +} + +void ngwt__RecipientList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Recipient(soap, &((ngwt__RecipientList*)this)->recipient); + /* transient soap skipped */ +} + +int ngwt__RecipientList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__RecipientList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__RecipientList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__RecipientList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientList(struct soap *soap, const char *tag, int id, const ngwt__RecipientList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__RecipientList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Recipient(soap, "ngwt:recipient", -1, &(((ngwt__RecipientList*)a)->recipient), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__RecipientList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__RecipientList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_get_ngwt__RecipientList(struct soap *soap, ngwt__RecipientList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__RecipientList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__RecipientList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__RecipientList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_in_ngwt__RecipientList(struct soap *soap, const char *tag, ngwt__RecipientList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__RecipientList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__RecipientList, sizeof(ngwt__RecipientList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__RecipientList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__RecipientList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Recipient(soap, "ngwt:recipient", &(((ngwt__RecipientList*)a)->recipient), "ngwt:Recipient")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__RecipientList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientList, 0, sizeof(ngwt__RecipientList), 0, soap_copy_ngwt__RecipientList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_new_ngwt__RecipientList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__RecipientList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientList(struct soap *soap, ngwt__RecipientList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_instantiate_ngwt__RecipientList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__RecipientList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__RecipientList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__RecipientList; + if (size) + *size = sizeof(ngwt__RecipientList); + ((ngwt__RecipientList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__RecipientList[n]; + if (size) + *size = n * sizeof(ngwt__RecipientList); + for (int i = 0; i < n; i++) + ((ngwt__RecipientList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__RecipientList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__RecipientList %p -> %p\n", q, p)); + *(ngwt__RecipientList*)p = *(ngwt__RecipientList*)q; +} + +void ngwt__Recipient::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Recipient*)this)->distType, SOAP_TYPE_ngwt__DistributionType); + soap_embedded(soap, &((ngwt__Recipient*)this)->recipType, SOAP_TYPE_ngwt__RecipientType); + soap_embedded(soap, &((ngwt__Recipient*)this)->recipientStatus, SOAP_TYPE_PointerTongwt__RecipientStatus); + soap_serialize_PointerTongwt__RecipientStatus(soap, &((ngwt__Recipient*)this)->recipientStatus); + soap_embedded(soap, &((ngwt__Recipient*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel); + soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__Recipient*)this)->acceptLevel); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__Recipient::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Recipient*)this)->distType = (enum ngwt__DistributionType)0; + ((ngwt__Recipient*)this)->recipType = (enum ngwt__RecipientType)0; + ((ngwt__Recipient*)this)->recipientStatus = NULL; + ((ngwt__Recipient*)this)->acceptLevel = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__Recipient::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Recipient); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Recipient::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Recipient(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Recipient(struct soap *soap, const char *tag, int id, const ngwt__Recipient *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Recipient), "ngwt:Recipient"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_ngwt__DistributionType(soap, "ngwt:distType", -1, &(((ngwt__Recipient*)a)->distType), ""); + soap_out_ngwt__RecipientType(soap, "ngwt:recipType", -1, &(((ngwt__Recipient*)a)->recipType), ""); + soap_out_PointerTongwt__RecipientStatus(soap, "ngwt:recipientStatus", -1, &(((ngwt__Recipient*)a)->recipientStatus), ""); + soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__Recipient*)a)->acceptLevel), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Recipient::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Recipient(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_get_ngwt__Recipient(struct soap *soap, ngwt__Recipient *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Recipient(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Recipient::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Recipient(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_in_ngwt__Recipient(struct soap *soap, const char *tag, ngwt__Recipient *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Recipient *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Recipient, sizeof(ngwt__Recipient), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Recipient) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Recipient *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_distType1 = 1, soap_flag_recipType1 = 1, soap_flag_recipientStatus1 = 1, soap_flag_acceptLevel1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName2 = 0; + continue; + } + if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email2 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_distType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__DistributionType(soap, "ngwt:distType", &(((ngwt__Recipient*)a)->distType), "")) + { soap_flag_distType1 = 0; + continue; + } + if (soap_flag_recipType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__RecipientType(soap, "ngwt:recipType", &(((ngwt__Recipient*)a)->recipType), "")) + { soap_flag_recipType1 = 0; + continue; + } + if (soap_flag_recipientStatus1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecipientStatus(soap, "ngwt:recipientStatus", &(((ngwt__Recipient*)a)->recipientStatus), "ngwt:RecipientStatus")) + { soap_flag_recipientStatus1 = 0; + continue; + } + if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__Recipient*)a)->acceptLevel), "")) + { soap_flag_acceptLevel1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Recipient *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Recipient, 0, sizeof(ngwt__Recipient), 0, soap_copy_ngwt__Recipient); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_new_ngwt__Recipient(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Recipient(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Recipient(struct soap *soap, ngwt__Recipient *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_instantiate_ngwt__Recipient(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Recipient(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Recipient, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Recipient; + if (size) + *size = sizeof(ngwt__Recipient); + ((ngwt__Recipient*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Recipient[n]; + if (size) + *size = n * sizeof(ngwt__Recipient); + for (int i = 0; i < n; i++) + ((ngwt__Recipient*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Recipient*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Recipient(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Recipient %p -> %p\n", q, p)); + *(ngwt__Recipient*)p = *(ngwt__Recipient*)q; +} + +void ngwt__QueryTarget::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__QueryTarget*)this)->source, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__QueryTarget*)this)->source); + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwt__QueryTarget*)this)->container); + /* transient soap skipped */ +} + +void ngwt__QueryTarget::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__QueryTarget*)this)->source = NULL; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwt__QueryTarget*)this)->container); + /* transient soap skipped */ +} + +int ngwt__QueryTarget::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__QueryTarget); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__QueryTarget::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__QueryTarget(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryTarget(struct soap *soap, const char *tag, int id, const ngwt__QueryTarget *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__QueryTarget), type); + soap_out_PointerTongwt__uid(soap, "ngwt:source", -1, &(((ngwt__QueryTarget*)a)->source), ""); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwt:container", -1, &(((ngwt__QueryTarget*)a)->container), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__QueryTarget::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__QueryTarget(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_get_ngwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__QueryTarget(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__QueryTarget::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__QueryTarget(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_in_ngwt__QueryTarget(struct soap *soap, const char *tag, ngwt__QueryTarget *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__QueryTarget *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__QueryTarget, sizeof(ngwt__QueryTarget), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__QueryTarget) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__QueryTarget *)a->soap_in(soap, tag, type); + } + } + short soap_flag_source1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_source1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:source", &(((ngwt__QueryTarget*)a)->source), "ngwt:uid")) + { soap_flag_source1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwt:container", &(((ngwt__QueryTarget*)a)->container), "ngwt:uid")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__QueryTarget *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__QueryTarget, 0, sizeof(ngwt__QueryTarget), 0, soap_copy_ngwt__QueryTarget); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_new_ngwt__QueryTarget(struct soap *soap, int n) +{ return soap_instantiate_ngwt__QueryTarget(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_instantiate_ngwt__QueryTarget(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__QueryTarget(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__QueryTarget, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__QueryTarget; + if (size) + *size = sizeof(ngwt__QueryTarget); + ((ngwt__QueryTarget*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__QueryTarget[n]; + if (size) + *size = n * sizeof(ngwt__QueryTarget); + for (int i = 0; i < n; i++) + ((ngwt__QueryTarget*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__QueryTarget*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryTarget(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__QueryTarget %p -> %p\n", q, p)); + *(ngwt__QueryTarget*)p = *(ngwt__QueryTarget*)q; +} + +void ngwt__QueryFolder::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__QueryFolder*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType); + soap_serialize_PointerTongwt__FolderType(soap, &((ngwt__QueryFolder*)this)->folderType); + soap_embedded(soap, &((ngwt__QueryFolder*)this)->query, SOAP_TYPE_PointerTongwt__Query); + soap_serialize_PointerTongwt__Query(soap, &((ngwt__QueryFolder*)this)->query); + soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description); + soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count); + soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread); + soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount); + soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence); + soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings); + soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute); + soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__QueryFolder::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__QueryFolder*)this)->folderType = NULL; + ((ngwt__QueryFolder*)this)->query = NULL; + soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + ((ngwt__Folder*)this)->description = NULL; + ((ngwt__Folder*)this)->count = NULL; + ((ngwt__Folder*)this)->hasUnread = NULL; + ((ngwt__Folder*)this)->unreadCount = NULL; + ((ngwt__Folder*)this)->sequence = NULL; + ((ngwt__Folder*)this)->settings = NULL; + ((ngwt__Folder*)this)->calendarAttribute = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__QueryFolder::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__QueryFolder); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__QueryFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__QueryFolder(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryFolder(struct soap *soap, const char *tag, int id, const ngwt__QueryFolder *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__QueryFolder), "ngwt:QueryFolder"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), ""); + soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), ""); + soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), ""); + soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), ""); + soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), ""); + soap_out_PointerTongwt__FolderType(soap, "ngwt:folderType", -1, &(((ngwt__QueryFolder*)a)->folderType), ""); + soap_out_PointerTongwt__Query(soap, "ngwt:query", -1, &(((ngwt__QueryFolder*)a)->query), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__QueryFolder::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__QueryFolder(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_get_ngwt__QueryFolder(struct soap *soap, ngwt__QueryFolder *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__QueryFolder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__QueryFolder::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__QueryFolder(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_in_ngwt__QueryFolder(struct soap *soap, const char *tag, ngwt__QueryFolder *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__QueryFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__QueryFolder, sizeof(ngwt__QueryFolder), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__QueryFolder) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__QueryFolder *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_parent2 = 1, soap_flag_description2 = 1, soap_flag_count2 = 1, soap_flag_hasUnread2 = 1, soap_flag_unreadCount2 = 1, soap_flag_sequence2 = 1, soap_flag_settings2 = 1, soap_flag_calendarAttribute2 = 1, soap_flag_folderType1 = 1, soap_flag_query1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_parent2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid")) + { soap_flag_parent2 = 0; + continue; + } + if (soap_flag_description2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), "")) + { soap_flag_description2 = 0; + continue; + } + if (soap_flag_count2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), "")) + { soap_flag_count2 = 0; + continue; + } + if (soap_flag_hasUnread2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), "")) + { soap_flag_hasUnread2 = 0; + continue; + } + if (soap_flag_unreadCount2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), "")) + { soap_flag_unreadCount2 = 0; + continue; + } + if (soap_flag_sequence2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), "")) + { soap_flag_sequence2 = 0; + continue; + } + if (soap_flag_settings2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid")) + { soap_flag_settings2 = 0; + continue; + } + if (soap_flag_calendarAttribute2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute")) + { soap_flag_calendarAttribute2 = 0; + continue; + } + if (soap_flag_folderType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderType(soap, "ngwt:folderType", &(((ngwt__QueryFolder*)a)->folderType), "")) + { soap_flag_folderType1 = 0; + continue; + } + if (soap_flag_query1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Query(soap, "ngwt:query", &(((ngwt__QueryFolder*)a)->query), "ngwt:Query")) + { soap_flag_query1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__QueryFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__QueryFolder, 0, sizeof(ngwt__QueryFolder), 0, soap_copy_ngwt__QueryFolder); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_new_ngwt__QueryFolder(struct soap *soap, int n) +{ return soap_instantiate_ngwt__QueryFolder(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryFolder(struct soap *soap, ngwt__QueryFolder *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_instantiate_ngwt__QueryFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__QueryFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__QueryFolder, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__QueryFolder; + if (size) + *size = sizeof(ngwt__QueryFolder); + ((ngwt__QueryFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__QueryFolder[n]; + if (size) + *size = n * sizeof(ngwt__QueryFolder); + for (int i = 0; i < n; i++) + ((ngwt__QueryFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__QueryFolder*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__QueryFolder %p -> %p\n", q, p)); + *(ngwt__QueryFolder*)p = *(ngwt__QueryFolder*)q; +} + +void ngwt__Query::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Query*)this)->target, SOAP_TYPE_PointerTongwt__QueryTarget); + soap_serialize_PointerTongwt__QueryTarget(soap, &((ngwt__Query*)this)->target); + soap_embedded(soap, &((ngwt__Query*)this)->filter, SOAP_TYPE_PointerTongwt__Filter); + soap_serialize_PointerTongwt__Filter(soap, &((ngwt__Query*)this)->filter); + /* transient soap skipped */ +} + +void ngwt__Query::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Query*)this)->target = NULL; + ((ngwt__Query*)this)->filter = NULL; + /* transient soap skipped */ +} + +int ngwt__Query::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Query); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Query::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Query(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Query(struct soap *soap, const char *tag, int id, const ngwt__Query *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Query), type); + soap_out_PointerTongwt__QueryTarget(soap, "ngwt:target", -1, &(((ngwt__Query*)a)->target), ""); + soap_out_PointerTongwt__Filter(soap, "ngwt:filter", -1, &(((ngwt__Query*)a)->filter), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Query::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Query(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_get_ngwt__Query(struct soap *soap, ngwt__Query *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Query(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Query::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Query(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_in_ngwt__Query(struct soap *soap, const char *tag, ngwt__Query *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Query *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Query, sizeof(ngwt__Query), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Query) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Query *)a->soap_in(soap, tag, type); + } + } + short soap_flag_target1 = 1, soap_flag_filter1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_target1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__QueryTarget(soap, "ngwt:target", &(((ngwt__Query*)a)->target), "ngwt:QueryTarget")) + { soap_flag_target1 = 0; + continue; + } + if (soap_flag_filter1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Filter(soap, "ngwt:filter", &(((ngwt__Query*)a)->filter), "ngwt:Filter")) + { soap_flag_filter1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_target1 || soap_flag_filter1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Query *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Query, 0, sizeof(ngwt__Query), 0, soap_copy_ngwt__Query); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_new_ngwt__Query(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Query(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Query(struct soap *soap, ngwt__Query *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_instantiate_ngwt__Query(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Query(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Query, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Query; + if (size) + *size = sizeof(ngwt__Query); + ((ngwt__Query*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Query[n]; + if (size) + *size = n * sizeof(ngwt__Query); + for (int i = 0; i < n; i++) + ((ngwt__Query*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Query*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Query(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Query %p -> %p\n", q, p)); + *(ngwt__Query*)p = *(ngwt__Query*)q; +} + +void ngwt__ProxyList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, &((ngwt__ProxyList*)this)->proxy); + /* transient soap skipped */ +} + +void ngwt__ProxyList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, &((ngwt__ProxyList*)this)->proxy); + /* transient soap skipped */ +} + +int ngwt__ProxyList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProxyList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ProxyList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ProxyList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyList(struct soap *soap, const char *tag, int id, const ngwt__ProxyList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProxyList), type); + soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, "ngwt:proxy", -1, &(((ngwt__ProxyList*)a)->proxy), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ProxyList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ProxyList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_get_ngwt__ProxyList(struct soap *soap, ngwt__ProxyList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ProxyList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ProxyList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ProxyList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_in_ngwt__ProxyList(struct soap *soap, const char *tag, ngwt__ProxyList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ProxyList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProxyList, sizeof(ngwt__ProxyList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ProxyList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ProxyList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, "ngwt:proxy", &(((ngwt__ProxyList*)a)->proxy), "ngwt:ProxyUser")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ProxyList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyList, 0, sizeof(ngwt__ProxyList), 0, soap_copy_ngwt__ProxyList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_new_ngwt__ProxyList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ProxyList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyList(struct soap *soap, ngwt__ProxyList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_instantiate_ngwt__ProxyList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProxyList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProxyList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ProxyList; + if (size) + *size = sizeof(ngwt__ProxyList); + ((ngwt__ProxyList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ProxyList[n]; + if (size) + *size = n * sizeof(ngwt__ProxyList); + for (int i = 0; i < n; i++) + ((ngwt__ProxyList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ProxyList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProxyList %p -> %p\n", q, p)); + *(ngwt__ProxyList*)p = *(ngwt__ProxyList*)q; +} + +void ngwt__ProxyUser::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ProxyUser*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__ProxyUser*)this)->id); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__ProxyUser::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ProxyUser*)this)->id = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__ProxyUser::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProxyUser); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ProxyUser::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ProxyUser(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyUser(struct soap *soap, const char *tag, int id, const ngwt__ProxyUser *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProxyUser), "ngwt:ProxyUser"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__ProxyUser*)a)->id), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ProxyUser::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ProxyUser(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_get_ngwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ProxyUser(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ProxyUser::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ProxyUser(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_in_ngwt__ProxyUser(struct soap *soap, const char *tag, ngwt__ProxyUser *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ProxyUser *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProxyUser, sizeof(ngwt__ProxyUser), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ProxyUser) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ProxyUser *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_id1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName2 = 0; + continue; + } + if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email2 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__ProxyUser*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ProxyUser *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyUser, 0, sizeof(ngwt__ProxyUser), 0, soap_copy_ngwt__ProxyUser); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_new_ngwt__ProxyUser(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ProxyUser(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_instantiate_ngwt__ProxyUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProxyUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProxyUser, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ProxyUser; + if (size) + *size = sizeof(ngwt__ProxyUser); + ((ngwt__ProxyUser*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ProxyUser[n]; + if (size) + *size = n * sizeof(ngwt__ProxyUser); + for (int i = 0; i < n; i++) + ((ngwt__ProxyUser*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ProxyUser*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyUser(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProxyUser %p -> %p\n", q, p)); + *(ngwt__ProxyUser*)p = *(ngwt__ProxyUser*)q; +} + +void ngwt__Proxy::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Proxy*)this)->username, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__Proxy*)this)->username); + soap_embedded(soap, &((ngwt__Proxy*)this)->password, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Proxy*)this)->password); + soap_embedded(soap, &((ngwt__Proxy*)this)->proxy, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__Proxy*)this)->proxy); + /* transient soap skipped */ +} + +void ngwt__Proxy::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__Proxy*)this)->username); + ((ngwt__Proxy*)this)->password = NULL; + soap_default_std__string(soap, &((ngwt__Proxy*)this)->proxy); + /* transient soap skipped */ +} + +int ngwt__Proxy::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Proxy); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Proxy::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Proxy(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Proxy(struct soap *soap, const char *tag, int id, const ngwt__Proxy *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Proxy), "ngwt:Proxy"); + /* transient soap skipped */ + soap_out_std__string(soap, "ngwt:username", -1, &(((ngwt__Proxy*)a)->username), ""); + soap_out_PointerTostd__string(soap, "ngwt:password", -1, &(((ngwt__Proxy*)a)->password), ""); + soap_out_std__string(soap, "ngwt:proxy", -1, &(((ngwt__Proxy*)a)->proxy), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Proxy::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Proxy(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_get_ngwt__Proxy(struct soap *soap, ngwt__Proxy *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Proxy(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Proxy::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Proxy(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_in_ngwt__Proxy(struct soap *soap, const char *tag, ngwt__Proxy *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Proxy *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Proxy, sizeof(ngwt__Proxy), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Proxy) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Proxy *)a->soap_in(soap, tag, type); + } + } + short soap_flag_username1 = 1, soap_flag_password1 = 1, soap_flag_proxy1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap_flag_username1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:username", &(((ngwt__Proxy*)a)->username), "")) + { soap_flag_username1 = 0; + continue; + } + if (soap_flag_password1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:password", &(((ngwt__Proxy*)a)->password), "")) + { soap_flag_password1 = 0; + continue; + } + if (soap_flag_proxy1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:proxy", &(((ngwt__Proxy*)a)->proxy), "")) + { soap_flag_proxy1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_username1 || soap_flag_proxy1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Proxy *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Proxy, 0, sizeof(ngwt__Proxy), 0, soap_copy_ngwt__Proxy); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_new_ngwt__Proxy(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Proxy(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Proxy(struct soap *soap, ngwt__Proxy *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_instantiate_ngwt__Proxy(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Proxy(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Proxy, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Proxy; + if (size) + *size = sizeof(ngwt__Proxy); + ((ngwt__Proxy*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Proxy[n]; + if (size) + *size = n * sizeof(ngwt__Proxy); + for (int i = 0; i < n; i++) + ((ngwt__Proxy*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Proxy*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Proxy(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Proxy %p -> %p\n", q, p)); + *(ngwt__Proxy*)p = *(ngwt__Proxy*)q; +} + +void ngwt__ProblemList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, &((ngwt__ProblemList*)this)->entry); + /* transient soap skipped */ +} + +void ngwt__ProblemList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, &((ngwt__ProblemList*)this)->entry); + /* transient soap skipped */ +} + +int ngwt__ProblemList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProblemList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ProblemList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ProblemList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemList(struct soap *soap, const char *tag, int id, const ngwt__ProblemList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProblemList), type); + soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, "ngwt:entry", -1, &(((ngwt__ProblemList*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ProblemList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ProblemList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_get_ngwt__ProblemList(struct soap *soap, ngwt__ProblemList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ProblemList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ProblemList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ProblemList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_in_ngwt__ProblemList(struct soap *soap, const char *tag, ngwt__ProblemList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ProblemList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProblemList, sizeof(ngwt__ProblemList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ProblemList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ProblemList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, "ngwt:entry", &(((ngwt__ProblemList*)a)->entry), "ngwt:ProblemEntry")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ProblemList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemList, 0, sizeof(ngwt__ProblemList), 0, soap_copy_ngwt__ProblemList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_new_ngwt__ProblemList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ProblemList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemList(struct soap *soap, ngwt__ProblemList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_instantiate_ngwt__ProblemList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProblemList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProblemList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ProblemList; + if (size) + *size = sizeof(ngwt__ProblemList); + ((ngwt__ProblemList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ProblemList[n]; + if (size) + *size = n * sizeof(ngwt__ProblemList); + for (int i = 0; i < n; i++) + ((ngwt__ProblemList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ProblemList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProblemList %p -> %p\n", q, p)); + *(ngwt__ProblemList*)p = *(ngwt__ProblemList*)q; +} + +void ngwt__ProblemEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ProblemEntry*)this)->element, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__ProblemEntry*)this)->element); + soap_embedded(soap, &((ngwt__ProblemEntry*)this)->code, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__ProblemEntry*)this)->code); + soap_embedded(soap, &((ngwt__ProblemEntry*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__ProblemEntry*)this)->description); + /* transient soap skipped */ +} + +void ngwt__ProblemEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ProblemEntry*)this)->element = NULL; + ((ngwt__ProblemEntry*)this)->code = NULL; + ((ngwt__ProblemEntry*)this)->description = NULL; + /* transient soap skipped */ +} + +int ngwt__ProblemEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ProblemEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ProblemEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ProblemEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemEntry(struct soap *soap, const char *tag, int id, const ngwt__ProblemEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ProblemEntry), type); + soap_out_PointerTostd__string(soap, "ngwt:element", -1, &(((ngwt__ProblemEntry*)a)->element), ""); + soap_out_PointerToint(soap, "ngwt:code", -1, &(((ngwt__ProblemEntry*)a)->code), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__ProblemEntry*)a)->description), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ProblemEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ProblemEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_get_ngwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ProblemEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ProblemEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ProblemEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_in_ngwt__ProblemEntry(struct soap *soap, const char *tag, ngwt__ProblemEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ProblemEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ProblemEntry, sizeof(ngwt__ProblemEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ProblemEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ProblemEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_element1 = 1, soap_flag_code1 = 1, soap_flag_description1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_element1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:element", &(((ngwt__ProblemEntry*)a)->element), "")) + { soap_flag_element1 = 0; + continue; + } + if (soap_flag_code1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:code", &(((ngwt__ProblemEntry*)a)->code), "")) + { soap_flag_code1 = 0; + continue; + } + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__ProblemEntry*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ProblemEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemEntry, 0, sizeof(ngwt__ProblemEntry), 0, soap_copy_ngwt__ProblemEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_new_ngwt__ProblemEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ProblemEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_instantiate_ngwt__ProblemEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ProblemEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ProblemEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ProblemEntry; + if (size) + *size = sizeof(ngwt__ProblemEntry); + ((ngwt__ProblemEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ProblemEntry[n]; + if (size) + *size = n * sizeof(ngwt__ProblemEntry); + for (int i = 0; i < n; i++) + ((ngwt__ProblemEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ProblemEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ProblemEntry %p -> %p\n", q, p)); + *(ngwt__ProblemEntry*)p = *(ngwt__ProblemEntry*)q; +} + +void ngwt__PostalAddressList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, &((ngwt__PostalAddressList*)this)->address); + /* transient soap skipped */ +} + +void ngwt__PostalAddressList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, &((ngwt__PostalAddressList*)this)->address); + /* transient soap skipped */ +} + +int ngwt__PostalAddressList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PostalAddressList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PostalAddressList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PostalAddressList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressList(struct soap *soap, const char *tag, int id, const ngwt__PostalAddressList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PostalAddressList), type); + soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, "ngwt:address", -1, &(((ngwt__PostalAddressList*)a)->address), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PostalAddressList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PostalAddressList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_get_ngwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PostalAddressList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PostalAddressList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PostalAddressList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_in_ngwt__PostalAddressList(struct soap *soap, const char *tag, ngwt__PostalAddressList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PostalAddressList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PostalAddressList, sizeof(ngwt__PostalAddressList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PostalAddressList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PostalAddressList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, "ngwt:address", &(((ngwt__PostalAddressList*)a)->address), "ngwt:PostalAddress")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PostalAddressList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddressList, 0, sizeof(ngwt__PostalAddressList), 0, soap_copy_ngwt__PostalAddressList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_new_ngwt__PostalAddressList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PostalAddressList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddressList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PostalAddressList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PostalAddressList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PostalAddressList; + if (size) + *size = sizeof(ngwt__PostalAddressList); + ((ngwt__PostalAddressList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PostalAddressList[n]; + if (size) + *size = n * sizeof(ngwt__PostalAddressList); + for (int i = 0; i < n; i++) + ((ngwt__PostalAddressList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PostalAddressList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddressList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PostalAddressList %p -> %p\n", q, p)); + *(ngwt__PostalAddressList*)p = *(ngwt__PostalAddressList*)q; +} + +void ngwt__PostalAddress::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__PostalAddress*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->description); + soap_embedded(soap, &((ngwt__PostalAddress*)this)->streetAddress, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->streetAddress); + soap_embedded(soap, &((ngwt__PostalAddress*)this)->location, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->location); + soap_embedded(soap, &((ngwt__PostalAddress*)this)->city, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->city); + soap_embedded(soap, &((ngwt__PostalAddress*)this)->state, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->state); + soap_embedded(soap, &((ngwt__PostalAddress*)this)->postalCode, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->postalCode); + soap_embedded(soap, &((ngwt__PostalAddress*)this)->country, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PostalAddress*)this)->country); + /* transient soap skipped */ +} + +void ngwt__PostalAddress::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__PostalAddress*)this)->description = NULL; + ((ngwt__PostalAddress*)this)->streetAddress = NULL; + ((ngwt__PostalAddress*)this)->location = NULL; + ((ngwt__PostalAddress*)this)->city = NULL; + ((ngwt__PostalAddress*)this)->state = NULL; + ((ngwt__PostalAddress*)this)->postalCode = NULL; + ((ngwt__PostalAddress*)this)->country = NULL; + soap_default_ngwt__PostalAddressType(soap, &((ngwt__PostalAddress*)this)->type); + /* transient soap skipped */ +} + +int ngwt__PostalAddress::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PostalAddress); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PostalAddress::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PostalAddress(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddress(struct soap *soap, const char *tag, int id, const ngwt__PostalAddress *a, const char *type) +{ + soap_set_attr(soap, "type", soap_ngwt__PostalAddressType2s(soap, ((ngwt__PostalAddress *)a)->type)); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PostalAddress), type); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__PostalAddress*)a)->description), ""); + soap_out_PointerTostd__string(soap, "ngwt:streetAddress", -1, &(((ngwt__PostalAddress*)a)->streetAddress), ""); + soap_out_PointerTostd__string(soap, "ngwt:location", -1, &(((ngwt__PostalAddress*)a)->location), ""); + soap_out_PointerTostd__string(soap, "ngwt:city", -1, &(((ngwt__PostalAddress*)a)->city), ""); + soap_out_PointerTostd__string(soap, "ngwt:state", -1, &(((ngwt__PostalAddress*)a)->state), ""); + soap_out_PointerTostd__string(soap, "ngwt:postalCode", -1, &(((ngwt__PostalAddress*)a)->postalCode), ""); + soap_out_PointerTostd__string(soap, "ngwt:country", -1, &(((ngwt__PostalAddress*)a)->country), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PostalAddress::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PostalAddress(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_get_ngwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PostalAddress(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PostalAddress::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PostalAddress(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_in_ngwt__PostalAddress(struct soap *soap, const char *tag, ngwt__PostalAddress *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PostalAddress *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PostalAddress, sizeof(ngwt__PostalAddress), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PostalAddress) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PostalAddress *)a->soap_in(soap, tag, type); + } + } + if (soap_s2ngwt__PostalAddressType(soap, soap_attr_value(soap, "type", 1), &((ngwt__PostalAddress *)a)->type)) + return NULL; + short soap_flag_description1 = 1, soap_flag_streetAddress1 = 1, soap_flag_location1 = 1, soap_flag_city1 = 1, soap_flag_state1 = 1, soap_flag_postalCode1 = 1, soap_flag_country1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__PostalAddress*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_streetAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:streetAddress", &(((ngwt__PostalAddress*)a)->streetAddress), "")) + { soap_flag_streetAddress1 = 0; + continue; + } + if (soap_flag_location1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:location", &(((ngwt__PostalAddress*)a)->location), "")) + { soap_flag_location1 = 0; + continue; + } + if (soap_flag_city1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:city", &(((ngwt__PostalAddress*)a)->city), "")) + { soap_flag_city1 = 0; + continue; + } + if (soap_flag_state1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:state", &(((ngwt__PostalAddress*)a)->state), "")) + { soap_flag_state1 = 0; + continue; + } + if (soap_flag_postalCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postalCode", &(((ngwt__PostalAddress*)a)->postalCode), "")) + { soap_flag_postalCode1 = 0; + continue; + } + if (soap_flag_country1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:country", &(((ngwt__PostalAddress*)a)->country), "")) + { soap_flag_country1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PostalAddress *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddress, 0, sizeof(ngwt__PostalAddress), 0, soap_copy_ngwt__PostalAddress); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_new_ngwt__PostalAddress(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PostalAddress(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PostalAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PostalAddress, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PostalAddress; + if (size) + *size = sizeof(ngwt__PostalAddress); + ((ngwt__PostalAddress*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PostalAddress[n]; + if (size) + *size = n * sizeof(ngwt__PostalAddress); + for (int i = 0; i < n; i++) + ((ngwt__PostalAddress*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PostalAddress*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PostalAddress %p -> %p\n", q, p)); + *(ngwt__PostalAddress*)p = *(ngwt__PostalAddress*)q; +} + +void ngwt__PlainText::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__PlainText*)this)->username, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__PlainText*)this)->username); + soap_embedded(soap, &((ngwt__PlainText*)this)->password, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PlainText*)this)->password); + /* transient soap skipped */ +} + +void ngwt__PlainText::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__PlainText*)this)->username); + ((ngwt__PlainText*)this)->password = NULL; + /* transient soap skipped */ +} + +int ngwt__PlainText::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PlainText); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PlainText::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PlainText(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PlainText(struct soap *soap, const char *tag, int id, const ngwt__PlainText *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PlainText), "ngwt:PlainText"); + /* transient soap skipped */ + soap_out_std__string(soap, "ngwt:username", -1, &(((ngwt__PlainText*)a)->username), ""); + soap_out_PointerTostd__string(soap, "ngwt:password", -1, &(((ngwt__PlainText*)a)->password), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PlainText::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PlainText(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_get_ngwt__PlainText(struct soap *soap, ngwt__PlainText *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PlainText(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PlainText::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PlainText(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_in_ngwt__PlainText(struct soap *soap, const char *tag, ngwt__PlainText *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PlainText *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PlainText, sizeof(ngwt__PlainText), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PlainText) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PlainText *)a->soap_in(soap, tag, type); + } + } + short soap_flag_username1 = 1, soap_flag_password1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap_flag_username1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:username", &(((ngwt__PlainText*)a)->username), "")) + { soap_flag_username1 = 0; + continue; + } + if (soap_flag_password1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:password", &(((ngwt__PlainText*)a)->password), "")) + { soap_flag_password1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_username1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PlainText *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PlainText, 0, sizeof(ngwt__PlainText), 0, soap_copy_ngwt__PlainText); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_new_ngwt__PlainText(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PlainText(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PlainText(struct soap *soap, ngwt__PlainText *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_instantiate_ngwt__PlainText(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PlainText(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PlainText, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PlainText; + if (size) + *size = sizeof(ngwt__PlainText); + ((ngwt__PlainText*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PlainText[n]; + if (size) + *size = n * sizeof(ngwt__PlainText); + for (int i = 0; i < n; i++) + ((ngwt__PlainText*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PlainText*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PlainText(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PlainText %p -> %p\n", q, p)); + *(ngwt__PlainText*)p = *(ngwt__PlainText*)q; +} + +void ngwt__PhoneNumber::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__PhoneNumber*)this)->__item, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__PhoneNumber*)this)->__item); + /* transient soap skipped */ +} + +void ngwt__PhoneNumber::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__PhoneNumber*)this)->__item); + soap_default_ngwt__PhoneNumberType(soap, &((ngwt__PhoneNumber*)this)->type); + /* transient soap skipped */ +} + +int ngwt__PhoneNumber::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneNumber); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PhoneNumber::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PhoneNumber(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumber(struct soap *soap, const char *tag, int id, const ngwt__PhoneNumber *a, const char *type) +{ + soap_set_attr(soap, "type", soap_ngwt__PhoneNumberType2s(soap, ((ngwt__PhoneNumber *)a)->type)); + soap_out_std__string(soap, tag, id, &(((ngwt__PhoneNumber*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__PhoneNumber::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PhoneNumber(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_get_ngwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PhoneNumber(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PhoneNumber::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PhoneNumber(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_in_ngwt__PhoneNumber(struct soap *soap, const char *tag, ngwt__PhoneNumber *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__PhoneNumber *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneNumber, sizeof(ngwt__PhoneNumber), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PhoneNumber) + return (ngwt__PhoneNumber *)a->soap_in(soap, tag, type); + } + if (soap_s2ngwt__PhoneNumberType(soap, soap_attr_value(soap, "type", 1), &((ngwt__PhoneNumber *)a)->type)) + return NULL; + if (!soap_in_std__string(soap, tag, &(((ngwt__PhoneNumber*)a)->__item), "ngwt:PhoneNumber")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_new_ngwt__PhoneNumber(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PhoneNumber(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_instantiate_ngwt__PhoneNumber(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneNumber(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneNumber, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneNumber; + if (size) + *size = sizeof(ngwt__PhoneNumber); + ((ngwt__PhoneNumber*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneNumber[n]; + if (size) + *size = n * sizeof(ngwt__PhoneNumber); + for (int i = 0; i < n; i++) + ((ngwt__PhoneNumber*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneNumber*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneNumber(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneNumber %p -> %p\n", q, p)); + *(ngwt__PhoneNumber*)p = *(ngwt__PhoneNumber*)q; +} + +void ngwt__PhoneMessage::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__PhoneMessage*)this)->caller, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PhoneMessage*)this)->caller); + soap_embedded(soap, &((ngwt__PhoneMessage*)this)->company, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PhoneMessage*)this)->company); + soap_embedded(soap, &((ngwt__PhoneMessage*)this)->phone, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PhoneMessage*)this)->phone); + soap_embedded(soap, &((ngwt__PhoneMessage*)this)->flags, SOAP_TYPE_PointerTongwt__PhoneFlags); + soap_serialize_PointerTongwt__PhoneFlags(soap, &((ngwt__PhoneMessage*)this)->flags); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__PhoneMessage::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__PhoneMessage*)this)->caller = NULL; + ((ngwt__PhoneMessage*)this)->company = NULL; + ((ngwt__PhoneMessage*)this)->phone = NULL; + ((ngwt__PhoneMessage*)this)->flags = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__PhoneMessage::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneMessage); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PhoneMessage::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PhoneMessage(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneMessage(struct soap *soap, const char *tag, int id, const ngwt__PhoneMessage *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneMessage), "ngwt:PhoneMessage"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_PointerTostd__string(soap, "ngwt:caller", -1, &(((ngwt__PhoneMessage*)a)->caller), ""); + soap_out_PointerTostd__string(soap, "ngwt:company", -1, &(((ngwt__PhoneMessage*)a)->company), ""); + soap_out_PointerTostd__string(soap, "ngwt:phone", -1, &(((ngwt__PhoneMessage*)a)->phone), ""); + soap_out_PointerTongwt__PhoneFlags(soap, "ngwt:flags", -1, &(((ngwt__PhoneMessage*)a)->flags), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PhoneMessage::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PhoneMessage(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_get_ngwt__PhoneMessage(struct soap *soap, ngwt__PhoneMessage *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PhoneMessage(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PhoneMessage::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PhoneMessage(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_in_ngwt__PhoneMessage(struct soap *soap, const char *tag, ngwt__PhoneMessage *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PhoneMessage *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneMessage, sizeof(ngwt__PhoneMessage), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PhoneMessage) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PhoneMessage *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_caller1 = 1, soap_flag_company1 = 1, soap_flag_phone1 = 1, soap_flag_flags1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id5 = 0; + continue; + } + if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name5 = 0; + continue; + } + if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version5 = 0; + continue; + } + if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified5 = 0; + continue; + } + if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes5 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories4 = 0; + continue; + } + if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created4 = 0; + continue; + } + if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs4 = 0; + continue; + } + if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status3 = 0; + continue; + } + if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread3 = 0; + continue; + } + if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId3 = 0; + continue; + } + if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId3 = 0; + continue; + } + if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source3 = 0; + continue; + } + if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId3 = 0; + continue; + } + if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered3 = 0; + continue; + } + if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_3 = 0; + continue; + } + if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security3 = 0; + continue; + } + if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment3 = 0; + continue; + } + if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject2 = 0; + continue; + } + if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject2 = 0; + continue; + } + if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix2 = 0; + continue; + } + if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution2 = 0; + continue; + } + if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message2 = 0; + continue; + } + if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments2 = 0; + continue; + } + if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options2 = 0; + continue; + } + if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link2 = 0; + continue; + } + if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment2 = 0; + continue; + } + if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size2 = 0; + continue; + } + if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType2 = 0; + continue; + } + if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap2 = 0; + continue; + } + if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType2 = 0; + continue; + } + if (soap_flag_caller1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:caller", &(((ngwt__PhoneMessage*)a)->caller), "")) + { soap_flag_caller1 = 0; + continue; + } + if (soap_flag_company1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:company", &(((ngwt__PhoneMessage*)a)->company), "")) + { soap_flag_company1 = 0; + continue; + } + if (soap_flag_phone1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:phone", &(((ngwt__PhoneMessage*)a)->phone), "")) + { soap_flag_phone1 = 0; + continue; + } + if (soap_flag_flags1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__PhoneFlags(soap, "ngwt:flags", &(((ngwt__PhoneMessage*)a)->flags), "ngwt:PhoneFlags")) + { soap_flag_flags1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PhoneMessage *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneMessage, 0, sizeof(ngwt__PhoneMessage), 0, soap_copy_ngwt__PhoneMessage); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_new_ngwt__PhoneMessage(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PhoneMessage(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneMessage(struct soap *soap, ngwt__PhoneMessage *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_instantiate_ngwt__PhoneMessage(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneMessage(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneMessage, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneMessage; + if (size) + *size = sizeof(ngwt__PhoneMessage); + ((ngwt__PhoneMessage*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneMessage[n]; + if (size) + *size = n * sizeof(ngwt__PhoneMessage); + for (int i = 0; i < n; i++) + ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneMessage*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneMessage(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneMessage %p -> %p\n", q, p)); + *(ngwt__PhoneMessage*)p = *(ngwt__PhoneMessage*)q; +} + +void ngwt__PhoneList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, &((ngwt__PhoneList*)this)->phone); + /* transient soap skipped */ +} + +void ngwt__PhoneList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, &((ngwt__PhoneList*)this)->phone); + ((ngwt__PhoneList*)this)->default_ = NULL; + /* transient soap skipped */ +} + +int ngwt__PhoneList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PhoneList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PhoneList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneList(struct soap *soap, const char *tag, int id, const ngwt__PhoneList *a, const char *type) +{ + if (((ngwt__PhoneList *)a)->default_) + soap_set_attr(soap, "default", ((ngwt__PhoneList *)a)->default_->c_str()); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneList), type); + soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, "ngwt:phone", -1, &(((ngwt__PhoneList*)a)->phone), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PhoneList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PhoneList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_get_ngwt__PhoneList(struct soap *soap, ngwt__PhoneList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PhoneList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PhoneList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PhoneList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_in_ngwt__PhoneList(struct soap *soap, const char *tag, ngwt__PhoneList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PhoneList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneList, sizeof(ngwt__PhoneList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PhoneList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PhoneList *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "default", 0); + if (t) + { if (!(((ngwt__PhoneList *)a)->default_ = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__PhoneList *)a)->default_ = soap_new_std__string(soap, -1); + ((ngwt__PhoneList *)a)->default_->assign(s); + } + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, "ngwt:phone", &(((ngwt__PhoneList*)a)->phone), "ngwt:PhoneNumber")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PhoneList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneList, 0, sizeof(ngwt__PhoneList), 0, soap_copy_ngwt__PhoneList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_new_ngwt__PhoneList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PhoneList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneList(struct soap *soap, ngwt__PhoneList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_instantiate_ngwt__PhoneList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneList; + if (size) + *size = sizeof(ngwt__PhoneList); + ((ngwt__PhoneList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneList[n]; + if (size) + *size = n * sizeof(ngwt__PhoneList); + for (int i = 0; i < n; i++) + ((ngwt__PhoneList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneList %p -> %p\n", q, p)); + *(ngwt__PhoneList*)p = *(ngwt__PhoneList*)q; +} + +void ngwt__PhoneFlags::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->called, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->called); + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->pleaseCall, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->pleaseCall); + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->willCall, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->willCall); + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->returnedYourCall, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->returnedYourCall); + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->wantsToSeeYou, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->wantsToSeeYou); + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->cameToSeeYou, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->cameToSeeYou); + soap_embedded(soap, &((ngwt__PhoneFlags*)this)->urgent, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__PhoneFlags*)this)->urgent); + /* transient soap skipped */ +} + +void ngwt__PhoneFlags::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__PhoneFlags*)this)->called = NULL; + ((ngwt__PhoneFlags*)this)->pleaseCall = NULL; + ((ngwt__PhoneFlags*)this)->willCall = NULL; + ((ngwt__PhoneFlags*)this)->returnedYourCall = NULL; + ((ngwt__PhoneFlags*)this)->wantsToSeeYou = NULL; + ((ngwt__PhoneFlags*)this)->cameToSeeYou = NULL; + ((ngwt__PhoneFlags*)this)->urgent = NULL; + /* transient soap skipped */ +} + +int ngwt__PhoneFlags::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PhoneFlags); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PhoneFlags::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PhoneFlags(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneFlags(struct soap *soap, const char *tag, int id, const ngwt__PhoneFlags *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PhoneFlags), type); + soap_out_PointerTobool(soap, "ngwt:called", -1, &(((ngwt__PhoneFlags*)a)->called), ""); + soap_out_PointerTobool(soap, "ngwt:pleaseCall", -1, &(((ngwt__PhoneFlags*)a)->pleaseCall), ""); + soap_out_PointerTobool(soap, "ngwt:willCall", -1, &(((ngwt__PhoneFlags*)a)->willCall), ""); + soap_out_PointerTobool(soap, "ngwt:returnedYourCall", -1, &(((ngwt__PhoneFlags*)a)->returnedYourCall), ""); + soap_out_PointerTobool(soap, "ngwt:wantsToSeeYou", -1, &(((ngwt__PhoneFlags*)a)->wantsToSeeYou), ""); + soap_out_PointerTobool(soap, "ngwt:cameToSeeYou", -1, &(((ngwt__PhoneFlags*)a)->cameToSeeYou), ""); + soap_out_PointerTobool(soap, "ngwt:urgent", -1, &(((ngwt__PhoneFlags*)a)->urgent), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PhoneFlags::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PhoneFlags(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_get_ngwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PhoneFlags(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PhoneFlags::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PhoneFlags(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_in_ngwt__PhoneFlags(struct soap *soap, const char *tag, ngwt__PhoneFlags *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PhoneFlags *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PhoneFlags, sizeof(ngwt__PhoneFlags), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PhoneFlags) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PhoneFlags *)a->soap_in(soap, tag, type); + } + } + short soap_flag_called1 = 1, soap_flag_pleaseCall1 = 1, soap_flag_willCall1 = 1, soap_flag_returnedYourCall1 = 1, soap_flag_wantsToSeeYou1 = 1, soap_flag_cameToSeeYou1 = 1, soap_flag_urgent1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_called1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:called", &(((ngwt__PhoneFlags*)a)->called), "")) + { soap_flag_called1 = 0; + continue; + } + if (soap_flag_pleaseCall1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:pleaseCall", &(((ngwt__PhoneFlags*)a)->pleaseCall), "")) + { soap_flag_pleaseCall1 = 0; + continue; + } + if (soap_flag_willCall1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:willCall", &(((ngwt__PhoneFlags*)a)->willCall), "")) + { soap_flag_willCall1 = 0; + continue; + } + if (soap_flag_returnedYourCall1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnedYourCall", &(((ngwt__PhoneFlags*)a)->returnedYourCall), "")) + { soap_flag_returnedYourCall1 = 0; + continue; + } + if (soap_flag_wantsToSeeYou1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:wantsToSeeYou", &(((ngwt__PhoneFlags*)a)->wantsToSeeYou), "")) + { soap_flag_wantsToSeeYou1 = 0; + continue; + } + if (soap_flag_cameToSeeYou1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:cameToSeeYou", &(((ngwt__PhoneFlags*)a)->cameToSeeYou), "")) + { soap_flag_cameToSeeYou1 = 0; + continue; + } + if (soap_flag_urgent1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:urgent", &(((ngwt__PhoneFlags*)a)->urgent), "")) + { soap_flag_urgent1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PhoneFlags *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneFlags, 0, sizeof(ngwt__PhoneFlags), 0, soap_copy_ngwt__PhoneFlags); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_new_ngwt__PhoneFlags(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PhoneFlags(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_instantiate_ngwt__PhoneFlags(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PhoneFlags(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PhoneFlags, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneFlags; + if (size) + *size = sizeof(ngwt__PhoneFlags); + ((ngwt__PhoneFlags*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneFlags[n]; + if (size) + *size = n * sizeof(ngwt__PhoneFlags); + for (int i = 0; i < n; i++) + ((ngwt__PhoneFlags*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneFlags*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneFlags(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PhoneFlags %p -> %p\n", q, p)); + *(ngwt__PhoneFlags*)p = *(ngwt__PhoneFlags*)q; +} + +void ngwt__PersonalInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__PersonalInfo*)this)->birthday, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__PersonalInfo*)this)->birthday); + soap_embedded(soap, &((ngwt__PersonalInfo*)this)->website, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__PersonalInfo*)this)->website); + /* transient soap skipped */ +} + +void ngwt__PersonalInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__PersonalInfo*)this)->birthday = NULL; + ((ngwt__PersonalInfo*)this)->website = NULL; + /* transient soap skipped */ +} + +int ngwt__PersonalInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__PersonalInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__PersonalInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__PersonalInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PersonalInfo(struct soap *soap, const char *tag, int id, const ngwt__PersonalInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__PersonalInfo), type); + soap_out_PointerToxsd__date(soap, "ngwt:birthday", -1, &(((ngwt__PersonalInfo*)a)->birthday), ""); + soap_out_PointerTostd__string(soap, "ngwt:website", -1, &(((ngwt__PersonalInfo*)a)->website), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__PersonalInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__PersonalInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_get_ngwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__PersonalInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__PersonalInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__PersonalInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_in_ngwt__PersonalInfo(struct soap *soap, const char *tag, ngwt__PersonalInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__PersonalInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__PersonalInfo, sizeof(ngwt__PersonalInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__PersonalInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__PersonalInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_birthday1 = 1, soap_flag_website1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_birthday1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:birthday", &(((ngwt__PersonalInfo*)a)->birthday), "xsd:date")) + { soap_flag_birthday1 = 0; + continue; + } + if (soap_flag_website1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:website", &(((ngwt__PersonalInfo*)a)->website), "")) + { soap_flag_website1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__PersonalInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PersonalInfo, 0, sizeof(ngwt__PersonalInfo), 0, soap_copy_ngwt__PersonalInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_new_ngwt__PersonalInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__PersonalInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_instantiate_ngwt__PersonalInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__PersonalInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__PersonalInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__PersonalInfo; + if (size) + *size = sizeof(ngwt__PersonalInfo); + ((ngwt__PersonalInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PersonalInfo[n]; + if (size) + *size = n * sizeof(ngwt__PersonalInfo); + for (int i = 0; i < n; i++) + ((ngwt__PersonalInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PersonalInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PersonalInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__PersonalInfo %p -> %p\n", q, p)); + *(ngwt__PersonalInfo*)p = *(ngwt__PersonalInfo*)q; +} + +void ngwt__Organization::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Organization*)this)->contact, SOAP_TYPE_PointerTongwt__ItemRef); + soap_serialize_PointerTongwt__ItemRef(soap, &((ngwt__Organization*)this)->contact); + soap_embedded(soap, &((ngwt__Organization*)this)->phone, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Organization*)this)->phone); + soap_embedded(soap, &((ngwt__Organization*)this)->fax, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Organization*)this)->fax); + soap_embedded(soap, &((ngwt__Organization*)this)->address, SOAP_TYPE_PointerTongwt__PostalAddress); + soap_serialize_PointerTongwt__PostalAddress(soap, &((ngwt__Organization*)this)->address); + soap_embedded(soap, &((ngwt__Organization*)this)->website, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Organization*)this)->website); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType); + soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Organization::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Organization*)this)->contact = NULL; + ((ngwt__Organization*)this)->phone = NULL; + ((ngwt__Organization*)this)->fax = NULL; + ((ngwt__Organization*)this)->address = NULL; + ((ngwt__Organization*)this)->website = NULL; + ((ngwt__AddressBookItem*)this)->uuid = NULL; + ((ngwt__AddressBookItem*)this)->comment = NULL; + ((ngwt__AddressBookItem*)this)->sync = NULL; + ((ngwt__AddressBookItem*)this)->domain = NULL; + ((ngwt__AddressBookItem*)this)->postOffice = NULL; + ((ngwt__AddressBookItem*)this)->distinguishedName = NULL; + ((ngwt__AddressBookItem*)this)->userid = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Organization::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Organization); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Organization::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Organization(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Organization(struct soap *soap, const char *tag, int id, const ngwt__Organization *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Organization), "ngwt:Organization"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), ""); + soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), ""); + soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), ""); + soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), ""); + soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), ""); + soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), ""); + soap_out_PointerTongwt__ItemRef(soap, "ngwt:contact", -1, &(((ngwt__Organization*)a)->contact), ""); + soap_out_PointerTostd__string(soap, "ngwt:phone", -1, &(((ngwt__Organization*)a)->phone), ""); + soap_out_PointerTostd__string(soap, "ngwt:fax", -1, &(((ngwt__Organization*)a)->fax), ""); + soap_out_PointerTongwt__PostalAddress(soap, "ngwt:address", -1, &(((ngwt__Organization*)a)->address), ""); + soap_out_PointerTostd__string(soap, "ngwt:website", -1, &(((ngwt__Organization*)a)->website), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Organization::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Organization(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_get_ngwt__Organization(struct soap *soap, ngwt__Organization *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Organization(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Organization::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Organization(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_in_ngwt__Organization(struct soap *soap, const char *tag, ngwt__Organization *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Organization *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Organization, sizeof(ngwt__Organization), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Organization) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Organization *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_contact1 = 1, soap_flag_phone1 = 1, soap_flag_fax1 = 1, soap_flag_address1 = 1, soap_flag_website1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id4 = 0; + continue; + } + if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name4 = 0; + continue; + } + if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version4 = 0; + continue; + } + if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified4 = 0; + continue; + } + if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes4 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories3 = 0; + continue; + } + if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created3 = 0; + continue; + } + if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs3 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), "")) + { soap_flag_comment2 = 0; + continue; + } + if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), "")) + { soap_flag_sync2 = 0; + continue; + } + if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), "")) + { soap_flag_domain2 = 0; + continue; + } + if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), "")) + { soap_flag_postOffice2 = 0; + continue; + } + if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), "")) + { soap_flag_distinguishedName2 = 0; + continue; + } + if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), "")) + { soap_flag_userid2 = 0; + continue; + } + if (soap_flag_contact1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRef(soap, "ngwt:contact", &(((ngwt__Organization*)a)->contact), "ngwt:ItemRef")) + { soap_flag_contact1 = 0; + continue; + } + if (soap_flag_phone1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:phone", &(((ngwt__Organization*)a)->phone), "")) + { soap_flag_phone1 = 0; + continue; + } + if (soap_flag_fax1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:fax", &(((ngwt__Organization*)a)->fax), "")) + { soap_flag_fax1 = 0; + continue; + } + if (soap_flag_address1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__PostalAddress(soap, "ngwt:address", &(((ngwt__Organization*)a)->address), "ngwt:PostalAddress")) + { soap_flag_address1 = 0; + continue; + } + if (soap_flag_website1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:website", &(((ngwt__Organization*)a)->website), "")) + { soap_flag_website1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Organization *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Organization, 0, sizeof(ngwt__Organization), 0, soap_copy_ngwt__Organization); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_new_ngwt__Organization(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Organization(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Organization(struct soap *soap, ngwt__Organization *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_instantiate_ngwt__Organization(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Organization(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Organization, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Organization; + if (size) + *size = sizeof(ngwt__Organization); + ((ngwt__Organization*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Organization[n]; + if (size) + *size = n * sizeof(ngwt__Organization); + for (int i = 0; i < n; i++) + ((ngwt__Organization*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Organization*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Organization(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Organization %p -> %p\n", q, p)); + *(ngwt__Organization*)p = *(ngwt__Organization*)q; +} + +void ngwt__OfficeInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__OfficeInfo*)this)->organization, SOAP_TYPE_PointerTongwt__ItemRef); + soap_serialize_PointerTongwt__ItemRef(soap, &((ngwt__OfficeInfo*)this)->organization); + soap_embedded(soap, &((ngwt__OfficeInfo*)this)->department, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__OfficeInfo*)this)->department); + soap_embedded(soap, &((ngwt__OfficeInfo*)this)->title, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__OfficeInfo*)this)->title); + soap_embedded(soap, &((ngwt__OfficeInfo*)this)->website, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__OfficeInfo*)this)->website); + /* transient soap skipped */ +} + +void ngwt__OfficeInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__OfficeInfo*)this)->organization = NULL; + ((ngwt__OfficeInfo*)this)->department = NULL; + ((ngwt__OfficeInfo*)this)->title = NULL; + ((ngwt__OfficeInfo*)this)->website = NULL; + /* transient soap skipped */ +} + +int ngwt__OfficeInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__OfficeInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__OfficeInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__OfficeInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OfficeInfo(struct soap *soap, const char *tag, int id, const ngwt__OfficeInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__OfficeInfo), type); + soap_out_PointerTongwt__ItemRef(soap, "ngwt:organization", -1, &(((ngwt__OfficeInfo*)a)->organization), ""); + soap_out_PointerTostd__string(soap, "ngwt:department", -1, &(((ngwt__OfficeInfo*)a)->department), ""); + soap_out_PointerTostd__string(soap, "ngwt:title", -1, &(((ngwt__OfficeInfo*)a)->title), ""); + soap_out_PointerTostd__string(soap, "ngwt:website", -1, &(((ngwt__OfficeInfo*)a)->website), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__OfficeInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__OfficeInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_get_ngwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__OfficeInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__OfficeInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__OfficeInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_in_ngwt__OfficeInfo(struct soap *soap, const char *tag, ngwt__OfficeInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__OfficeInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__OfficeInfo, sizeof(ngwt__OfficeInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__OfficeInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__OfficeInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_organization1 = 1, soap_flag_department1 = 1, soap_flag_title1 = 1, soap_flag_website1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_organization1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemRef(soap, "ngwt:organization", &(((ngwt__OfficeInfo*)a)->organization), "ngwt:ItemRef")) + { soap_flag_organization1 = 0; + continue; + } + if (soap_flag_department1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:department", &(((ngwt__OfficeInfo*)a)->department), "")) + { soap_flag_department1 = 0; + continue; + } + if (soap_flag_title1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:title", &(((ngwt__OfficeInfo*)a)->title), "")) + { soap_flag_title1 = 0; + continue; + } + if (soap_flag_website1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:website", &(((ngwt__OfficeInfo*)a)->website), "")) + { soap_flag_website1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__OfficeInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OfficeInfo, 0, sizeof(ngwt__OfficeInfo), 0, soap_copy_ngwt__OfficeInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_new_ngwt__OfficeInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__OfficeInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_instantiate_ngwt__OfficeInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__OfficeInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__OfficeInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__OfficeInfo; + if (size) + *size = sizeof(ngwt__OfficeInfo); + ((ngwt__OfficeInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__OfficeInfo[n]; + if (size) + *size = n * sizeof(ngwt__OfficeInfo); + for (int i = 0; i < n; i++) + ((ngwt__OfficeInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__OfficeInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__OfficeInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__OfficeInfo %p -> %p\n", q, p)); + *(ngwt__OfficeInfo*)p = *(ngwt__OfficeInfo*)q; +} + +void ngwt__Note::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Note*)this)->startDate, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__Note*)this)->startDate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule); + soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Note::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Note*)this)->startDate = NULL; + ((ngwt__CalendarItem*)this)->rdate = NULL; + ((ngwt__CalendarItem*)this)->rrule = NULL; + ((ngwt__CalendarItem*)this)->exdate = NULL; + ((ngwt__CalendarItem*)this)->recurrenceKey = NULL; + ((ngwt__CalendarItem*)this)->iCalId = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Note::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Note); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Note::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Note(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Note(struct soap *soap, const char *tag, int id, const ngwt__Note *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Note), "ngwt:Note"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), ""); + soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), ""); + soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), ""); + soap_out_PointerToxsd__date(soap, "ngwt:startDate", -1, &(((ngwt__Note*)a)->startDate), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Note::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Note(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_get_ngwt__Note(struct soap *soap, ngwt__Note *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Note(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Note::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Note(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_in_ngwt__Note(struct soap *soap, const char *tag, ngwt__Note *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Note *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Note, sizeof(ngwt__Note), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Note) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Note *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id6 = 1, soap_flag_name6 = 1, soap_flag_version6 = 1, soap_flag_modified6 = 1, soap_flag_changes6 = 1, soap_flag_categories5 = 1, soap_flag_created5 = 1, soap_flag_customs5 = 1, soap_flag_status4 = 1, soap_flag_thread4 = 1, soap_flag_msgId4 = 1, soap_flag_messageId4 = 1, soap_flag_source4 = 1, soap_flag_returnSentItemsId4 = 1, soap_flag_delivered4 = 1, soap_flag_class_4 = 1, soap_flag_security4 = 1, soap_flag_comment4 = 1, soap_flag_subject3 = 1, soap_flag_originalSubject3 = 1, soap_flag_subjectPrefix3 = 1, soap_flag_distribution3 = 1, soap_flag_message3 = 1, soap_flag_attachments3 = 1, soap_flag_options3 = 1, soap_flag_link3 = 1, soap_flag_hasAttachment3 = 1, soap_flag_size3 = 1, soap_flag_subType3 = 1, soap_flag_nntpOrImap3 = 1, soap_flag_smimeType3 = 1, soap_flag_rdate2 = 1, soap_flag_rrule2 = 1, soap_flag_exdate2 = 1, soap_flag_recurrenceKey2 = 1, soap_flag_iCalId2 = 1, soap_flag_startDate1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id6 = 0; + continue; + } + if (soap_flag_name6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name6 = 0; + continue; + } + if (soap_flag_version6 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version6 = 0; + continue; + } + if (soap_flag_modified6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified6 = 0; + continue; + } + if (soap_flag_changes6 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes6 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories5 = 0; + continue; + } + if (soap_flag_created5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created5 = 0; + continue; + } + if (soap_flag_customs5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs5 = 0; + continue; + } + if (soap_flag_status4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status4 = 0; + continue; + } + if (soap_flag_thread4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread4 = 0; + continue; + } + if (soap_flag_msgId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId4 = 0; + continue; + } + if (soap_flag_messageId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId4 = 0; + continue; + } + if (soap_flag_source4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source4 = 0; + continue; + } + if (soap_flag_returnSentItemsId4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId4 = 0; + continue; + } + if (soap_flag_delivered4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered4 = 0; + continue; + } + if (soap_flag_class_4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_4 = 0; + continue; + } + if (soap_flag_security4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security4 = 0; + continue; + } + if (soap_flag_comment4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment4 = 0; + continue; + } + if (soap_flag_subject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject3 = 0; + continue; + } + if (soap_flag_originalSubject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject3 = 0; + continue; + } + if (soap_flag_subjectPrefix3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix3 = 0; + continue; + } + if (soap_flag_distribution3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution3 = 0; + continue; + } + if (soap_flag_message3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message3 = 0; + continue; + } + if (soap_flag_attachments3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments3 = 0; + continue; + } + if (soap_flag_options3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options3 = 0; + continue; + } + if (soap_flag_link3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link3 = 0; + continue; + } + if (soap_flag_hasAttachment3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment3 = 0; + continue; + } + if (soap_flag_size3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size3 = 0; + continue; + } + if (soap_flag_subType3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType3 = 0; + continue; + } + if (soap_flag_nntpOrImap3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap3 = 0; + continue; + } + if (soap_flag_smimeType3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType3 = 0; + continue; + } + if (soap_flag_rdate2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType")) + { soap_flag_rdate2 = 0; + continue; + } + if (soap_flag_rrule2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule")) + { soap_flag_rrule2 = 0; + continue; + } + if (soap_flag_exdate2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType")) + { soap_flag_exdate2 = 0; + continue; + } + if (soap_flag_recurrenceKey2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), "")) + { soap_flag_recurrenceKey2 = 0; + continue; + } + if (soap_flag_iCalId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), "")) + { soap_flag_iCalId2 = 0; + continue; + } + if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:startDate", &(((ngwt__Note*)a)->startDate), "xsd:date")) + { soap_flag_startDate1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered4)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Note *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Note, 0, sizeof(ngwt__Note), 0, soap_copy_ngwt__Note); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_new_ngwt__Note(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Note(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Note(struct soap *soap, ngwt__Note *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_instantiate_ngwt__Note(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Note(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Note, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Note; + if (size) + *size = sizeof(ngwt__Note); + ((ngwt__Note*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Note[n]; + if (size) + *size = n * sizeof(ngwt__Note); + for (int i = 0; i < n; i++) + ((ngwt__Note*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Note*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Note(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Note %p -> %p\n", q, p)); + *(ngwt__Note*)p = *(ngwt__Note*)q; +} + +void ngwt__NameAndEmail::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__NameAndEmail::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__NameAndEmail::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__NameAndEmail); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__NameAndEmail::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__NameAndEmail(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NameAndEmail(struct soap *soap, const char *tag, int id, const ngwt__NameAndEmail *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__NameAndEmail), type); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__NameAndEmail::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__NameAndEmail(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_get_ngwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__NameAndEmail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__NameAndEmail::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__NameAndEmail(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_in_ngwt__NameAndEmail(struct soap *soap, const char *tag, ngwt__NameAndEmail *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__NameAndEmail *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__NameAndEmail, sizeof(ngwt__NameAndEmail), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__NameAndEmail) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__NameAndEmail *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName1 = 1, soap_flag_email1 = 1, soap_flag_uuid1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName1 = 0; + continue; + } + if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email1 = 0; + continue; + } + if (soap_flag_uuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__NameAndEmail *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__NameAndEmail, 0, sizeof(ngwt__NameAndEmail), 0, soap_copy_ngwt__NameAndEmail); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_new_ngwt__NameAndEmail(struct soap *soap, int n) +{ return soap_instantiate_ngwt__NameAndEmail(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_instantiate_ngwt__NameAndEmail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__NameAndEmail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__NameAndEmail, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:AccessControlListEntry")) + { cp->type = SOAP_TYPE_ngwt__AccessControlListEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessControlListEntry; + if (size) + *size = sizeof(ngwt__AccessControlListEntry); + ((ngwt__AccessControlListEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessControlListEntry[n]; + if (size) + *size = n * sizeof(ngwt__AccessControlListEntry); + for (int i = 0; i < n; i++) + ((ngwt__AccessControlListEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessControlListEntry*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:AccessRightEntry")) + { cp->type = SOAP_TYPE_ngwt__AccessRightEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessRightEntry; + if (size) + *size = sizeof(ngwt__AccessRightEntry); + ((ngwt__AccessRightEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessRightEntry[n]; + if (size) + *size = n * sizeof(ngwt__AccessRightEntry); + for (int i = 0; i < n; i++) + ((ngwt__AccessRightEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessRightEntry*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:FreeBusyInfo")) + { cp->type = SOAP_TYPE_ngwt__FreeBusyInfo; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyInfo; + if (size) + *size = sizeof(ngwt__FreeBusyInfo); + ((ngwt__FreeBusyInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyInfo[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyInfo); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyInfo*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:From")) + { cp->type = SOAP_TYPE_ngwt__From; + if (n < 0) + { cp->ptr = (void*)new ngwt__From; + if (size) + *size = sizeof(ngwt__From); + ((ngwt__From*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__From[n]; + if (size) + *size = n * sizeof(ngwt__From); + for (int i = 0; i < n; i++) + ((ngwt__From*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__From*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:ProxyUser")) + { cp->type = SOAP_TYPE_ngwt__ProxyUser; + if (n < 0) + { cp->ptr = (void*)new ngwt__ProxyUser; + if (size) + *size = sizeof(ngwt__ProxyUser); + ((ngwt__ProxyUser*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ProxyUser[n]; + if (size) + *size = n * sizeof(ngwt__ProxyUser); + for (int i = 0; i < n; i++) + ((ngwt__ProxyUser*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ProxyUser*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Recipient")) + { cp->type = SOAP_TYPE_ngwt__Recipient; + if (n < 0) + { cp->ptr = (void*)new ngwt__Recipient; + if (size) + *size = sizeof(ngwt__Recipient); + ((ngwt__Recipient*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Recipient[n]; + if (size) + *size = n * sizeof(ngwt__Recipient); + for (int i = 0; i < n; i++) + ((ngwt__Recipient*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Recipient*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:FolderACLEntry")) + { cp->type = SOAP_TYPE_ngwt__FolderACLEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__FolderACLEntry; + if (size) + *size = sizeof(ngwt__FolderACLEntry); + ((ngwt__FolderACLEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FolderACLEntry[n]; + if (size) + *size = n * sizeof(ngwt__FolderACLEntry); + for (int i = 0; i < n; i++) + ((ngwt__FolderACLEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FolderACLEntry*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__NameAndEmail; + if (size) + *size = sizeof(ngwt__NameAndEmail); + ((ngwt__NameAndEmail*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__NameAndEmail[n]; + if (size) + *size = n * sizeof(ngwt__NameAndEmail); + for (int i = 0; i < n; i++) + ((ngwt__NameAndEmail*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__NameAndEmail*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__NameAndEmail(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__NameAndEmail %p -> %p\n", q, p)); + *(ngwt__NameAndEmail*)p = *(ngwt__NameAndEmail*)q; +} + +void ngwt__MonthList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__Month(soap, &((ngwt__MonthList*)this)->month); + /* transient soap skipped */ +} + +void ngwt__MonthList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__Month(soap, &((ngwt__MonthList*)this)->month); + /* transient soap skipped */ +} + +int ngwt__MonthList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__MonthList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__MonthList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__MonthList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MonthList(struct soap *soap, const char *tag, int id, const ngwt__MonthList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MonthList), type); + soap_out_std__vectorTemplateOfngwt__Month(soap, "ngwt:month", -1, &(((ngwt__MonthList*)a)->month), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__MonthList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__MonthList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_get_ngwt__MonthList(struct soap *soap, ngwt__MonthList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__MonthList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__MonthList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__MonthList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_in_ngwt__MonthList(struct soap *soap, const char *tag, ngwt__MonthList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__MonthList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MonthList, sizeof(ngwt__MonthList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__MonthList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__MonthList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__Month(soap, "ngwt:month", &(((ngwt__MonthList*)a)->month), "ngwt:Month")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__MonthList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MonthList, 0, sizeof(ngwt__MonthList), 0, soap_copy_ngwt__MonthList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_new_ngwt__MonthList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__MonthList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MonthList(struct soap *soap, ngwt__MonthList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_instantiate_ngwt__MonthList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__MonthList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__MonthList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__MonthList; + if (size) + *size = sizeof(ngwt__MonthList); + ((ngwt__MonthList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__MonthList[n]; + if (size) + *size = n * sizeof(ngwt__MonthList); + for (int i = 0; i < n; i++) + ((ngwt__MonthList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__MonthList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MonthList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__MonthList %p -> %p\n", q, p)); + *(ngwt__MonthList*)p = *(ngwt__MonthList*)q; +} + +void ngwt__ModifyItem::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ModifyItem*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__ModifyItem*)this)->id); + soap_embedded(soap, &((ngwt__ModifyItem*)this)->notification, SOAP_TYPE_PointerTongwt__SharedFolderNotification); + soap_serialize_PointerTongwt__SharedFolderNotification(soap, &((ngwt__ModifyItem*)this)->notification); + soap_embedded(soap, &((ngwt__ModifyItem*)this)->updates, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__ModifyItem*)this)->updates); + /* transient soap skipped */ +} + +void ngwt__ModifyItem::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((ngwt__ModifyItem*)this)->id); + ((ngwt__ModifyItem*)this)->notification = NULL; + ((ngwt__ModifyItem*)this)->updates = NULL; + /* transient soap skipped */ +} + +int ngwt__ModifyItem::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ModifyItem); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ModifyItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ModifyItem(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ModifyItem(struct soap *soap, const char *tag, int id, const ngwt__ModifyItem *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ModifyItem), type); + soap_out_ngwt__uid(soap, "ngwt:id", -1, &(((ngwt__ModifyItem*)a)->id), ""); + soap_out_PointerTongwt__SharedFolderNotification(soap, "ngwt:notification", -1, &(((ngwt__ModifyItem*)a)->notification), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:updates", -1, &(((ngwt__ModifyItem*)a)->updates), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ModifyItem::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ModifyItem(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_get_ngwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ModifyItem(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ModifyItem::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ModifyItem(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_in_ngwt__ModifyItem(struct soap *soap, const char *tag, ngwt__ModifyItem *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ModifyItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ModifyItem, sizeof(ngwt__ModifyItem), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ModifyItem) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ModifyItem *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_notification1 = 1, soap_flag_updates1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:id", &(((ngwt__ModifyItem*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_notification1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SharedFolderNotification(soap, "ngwt:notification", &(((ngwt__ModifyItem*)a)->notification), "ngwt:SharedFolderNotification")) + { soap_flag_notification1 = 0; + continue; + } + if (soap_flag_updates1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:updates", &(((ngwt__ModifyItem*)a)->updates), "ngwt:ItemChanges")) + { soap_flag_updates1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_updates1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ModifyItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ModifyItem, 0, sizeof(ngwt__ModifyItem), 0, soap_copy_ngwt__ModifyItem); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_new_ngwt__ModifyItem(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ModifyItem(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_instantiate_ngwt__ModifyItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ModifyItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ModifyItem, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ModifyItem; + if (size) + *size = sizeof(ngwt__ModifyItem); + ((ngwt__ModifyItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ModifyItem[n]; + if (size) + *size = n * sizeof(ngwt__ModifyItem); + for (int i = 0; i < n; i++) + ((ngwt__ModifyItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ModifyItem*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ModifyItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ModifyItem %p -> %p\n", q, p)); + *(ngwt__ModifyItem*)p = *(ngwt__ModifyItem*)q; +} + +void ngwt__MessagePart::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__MessagePart*)this)->__item, SOAP_TYPE_xsd__base64Binary); + ((ngwt__MessagePart*)this)->__item.soap_serialize(soap); + /* transient soap skipped */ +} + +void ngwt__MessagePart::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__MessagePart*)this)->__item.xsd__base64Binary::soap_default(soap); + ((ngwt__MessagePart*)this)->id = NULL; + ((ngwt__MessagePart*)this)->contentId = NULL; + ((ngwt__MessagePart*)this)->contentType = NULL; + ((ngwt__MessagePart*)this)->length = NULL; + ((ngwt__MessagePart*)this)->offset = NULL; + /* transient soap skipped */ +} + +int ngwt__MessagePart::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__MessagePart); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__MessagePart::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__MessagePart(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessagePart(struct soap *soap, const char *tag, int id, const ngwt__MessagePart *a, const char *type) +{ + if (((ngwt__MessagePart *)a)->id) + soap_set_attr(soap, "id", ((ngwt__MessagePart *)a)->id->c_str()); + if (((ngwt__MessagePart *)a)->contentId) + soap_set_attr(soap, "contentId", ((ngwt__MessagePart *)a)->contentId->c_str()); + if (((ngwt__MessagePart *)a)->contentType) + soap_set_attr(soap, "contentType", ((ngwt__MessagePart *)a)->contentType->c_str()); + if (((ngwt__MessagePart *)a)->length) + soap_set_attr(soap, "length", soap_int2s(soap, *((ngwt__MessagePart *)a)->length)); + if (((ngwt__MessagePart *)a)->offset) + soap_set_attr(soap, "offset", soap_int2s(soap, *((ngwt__MessagePart *)a)->offset)); + (((ngwt__MessagePart*)a)->__item).soap_out(soap, tag, id, ""); + return SOAP_OK; +} + +void *ngwt__MessagePart::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__MessagePart(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_get_ngwt__MessagePart(struct soap *soap, ngwt__MessagePart *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__MessagePart(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__MessagePart::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__MessagePart(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_in_ngwt__MessagePart(struct soap *soap, const char *tag, ngwt__MessagePart *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__MessagePart *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessagePart, sizeof(ngwt__MessagePart), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__MessagePart) + return (ngwt__MessagePart *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "id", 0); + if (t) + { if (!(((ngwt__MessagePart *)a)->id = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__MessagePart *)a)->id = soap_new_std__string(soap, -1); + ((ngwt__MessagePart *)a)->id->assign(s); + } + } + } + { const char *t = soap_attr_value(soap, "contentId", 0); + if (t) + { if (!(((ngwt__MessagePart *)a)->contentId = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__MessagePart *)a)->contentId = soap_new_std__string(soap, -1); + ((ngwt__MessagePart *)a)->contentId->assign(s); + } + } + } + { const char *t = soap_attr_value(soap, "contentType", 0); + if (t) + { if (!(((ngwt__MessagePart *)a)->contentType = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__MessagePart *)a)->contentType = soap_new_std__string(soap, -1); + ((ngwt__MessagePart *)a)->contentType->assign(s); + } + } + } + { const char *t = soap_attr_value(soap, "length", 0); + if (t) + { if (!(((ngwt__MessagePart *)a)->length = (int *)soap_malloc(soap, sizeof(int)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2int(soap, t, ((ngwt__MessagePart *)a)->length)) + return NULL; + } + } + { const char *t = soap_attr_value(soap, "offset", 0); + if (t) + { if (!(((ngwt__MessagePart *)a)->offset = (int *)soap_malloc(soap, sizeof(int)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2int(soap, t, ((ngwt__MessagePart *)a)->offset)) + return NULL; + } + } + if (!(((ngwt__MessagePart*)a)->__item).soap_in(soap, tag, "ngwt:MessagePart")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_new_ngwt__MessagePart(struct soap *soap, int n) +{ return soap_instantiate_ngwt__MessagePart(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessagePart(struct soap *soap, ngwt__MessagePart *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_instantiate_ngwt__MessagePart(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__MessagePart(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__MessagePart, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__MessagePart; + if (size) + *size = sizeof(ngwt__MessagePart); + ((ngwt__MessagePart*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__MessagePart[n]; + if (size) + *size = n * sizeof(ngwt__MessagePart); + for (int i = 0; i < n; i++) + ((ngwt__MessagePart*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__MessagePart*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessagePart(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__MessagePart %p -> %p\n", q, p)); + *(ngwt__MessagePart*)p = *(ngwt__MessagePart*)q; +} + +void ngwt__MessageBody::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__MessagePart(soap, &((ngwt__MessageBody*)this)->part); + /* transient soap skipped */ +} + +void ngwt__MessageBody::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__MessagePart(soap, &((ngwt__MessageBody*)this)->part); + /* transient soap skipped */ +} + +int ngwt__MessageBody::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__MessageBody); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__MessageBody::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__MessageBody(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageBody(struct soap *soap, const char *tag, int id, const ngwt__MessageBody *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__MessageBody), type); + soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(soap, "ngwt:part", -1, &(((ngwt__MessageBody*)a)->part), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__MessageBody::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__MessageBody(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_get_ngwt__MessageBody(struct soap *soap, ngwt__MessageBody *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__MessageBody(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__MessageBody::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__MessageBody(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_in_ngwt__MessageBody(struct soap *soap, const char *tag, ngwt__MessageBody *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__MessageBody *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__MessageBody, sizeof(ngwt__MessageBody), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__MessageBody) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__MessageBody *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(soap, "ngwt:part", &(((ngwt__MessageBody*)a)->part), "ngwt:MessagePart")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__MessageBody *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageBody, 0, sizeof(ngwt__MessageBody), 0, soap_copy_ngwt__MessageBody); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_new_ngwt__MessageBody(struct soap *soap, int n) +{ return soap_instantiate_ngwt__MessageBody(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessageBody(struct soap *soap, ngwt__MessageBody *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_instantiate_ngwt__MessageBody(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__MessageBody(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__MessageBody, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__MessageBody; + if (size) + *size = sizeof(ngwt__MessageBody); + ((ngwt__MessageBody*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__MessageBody[n]; + if (size) + *size = n * sizeof(ngwt__MessageBody); + for (int i = 0; i < n; i++) + ((ngwt__MessageBody*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__MessageBody*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessageBody(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__MessageBody %p -> %p\n", q, p)); + *(ngwt__MessageBody*)p = *(ngwt__MessageBody*)q; +} + +void ngwt__Mail::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Mail::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Mail::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Mail); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Mail::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Mail(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Mail(struct soap *soap, const char *tag, int id, const ngwt__Mail *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Mail), "ngwt:Mail"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Mail::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Mail(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_get_ngwt__Mail(struct soap *soap, ngwt__Mail *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Mail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Mail::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Mail(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_in_ngwt__Mail(struct soap *soap, const char *tag, ngwt__Mail *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Mail *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Mail, sizeof(ngwt__Mail), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Mail) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Mail *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_status2 = 1, soap_flag_thread2 = 1, soap_flag_msgId2 = 1, soap_flag_messageId2 = 1, soap_flag_source2 = 1, soap_flag_returnSentItemsId2 = 1, soap_flag_delivered2 = 1, soap_flag_class_2 = 1, soap_flag_security2 = 1, soap_flag_comment2 = 1, soap_flag_subject1 = 1, soap_flag_originalSubject1 = 1, soap_flag_subjectPrefix1 = 1, soap_flag_distribution1 = 1, soap_flag_message1 = 1, soap_flag_attachments1 = 1, soap_flag_options1 = 1, soap_flag_link1 = 1, soap_flag_hasAttachment1 = 1, soap_flag_size1 = 1, soap_flag_subType1 = 1, soap_flag_nntpOrImap1 = 1, soap_flag_smimeType1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id4 = 0; + continue; + } + if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name4 = 0; + continue; + } + if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version4 = 0; + continue; + } + if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified4 = 0; + continue; + } + if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes4 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories3 = 0; + continue; + } + if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created3 = 0; + continue; + } + if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs3 = 0; + continue; + } + if (soap_flag_status2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status2 = 0; + continue; + } + if (soap_flag_thread2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread2 = 0; + continue; + } + if (soap_flag_msgId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId2 = 0; + continue; + } + if (soap_flag_messageId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId2 = 0; + continue; + } + if (soap_flag_source2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source2 = 0; + continue; + } + if (soap_flag_returnSentItemsId2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId2 = 0; + continue; + } + if (soap_flag_delivered2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered2 = 0; + continue; + } + if (soap_flag_class_2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_2 = 0; + continue; + } + if (soap_flag_security2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security2 = 0; + continue; + } + if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment2 = 0; + continue; + } + if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject1 = 0; + continue; + } + if (soap_flag_originalSubject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject1 = 0; + continue; + } + if (soap_flag_subjectPrefix1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix1 = 0; + continue; + } + if (soap_flag_distribution1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution1 = 0; + continue; + } + if (soap_flag_message1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message1 = 0; + continue; + } + if (soap_flag_attachments1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments1 = 0; + continue; + } + if (soap_flag_options1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options1 = 0; + continue; + } + if (soap_flag_link1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link1 = 0; + continue; + } + if (soap_flag_hasAttachment1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment1 = 0; + continue; + } + if (soap_flag_size1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size1 = 0; + continue; + } + if (soap_flag_subType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType1 = 0; + continue; + } + if (soap_flag_nntpOrImap1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap1 = 0; + continue; + } + if (soap_flag_smimeType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Mail *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Mail, 0, sizeof(ngwt__Mail), 0, soap_copy_ngwt__Mail); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_new_ngwt__Mail(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Mail(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Mail(struct soap *soap, ngwt__Mail *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_instantiate_ngwt__Mail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Mail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Mail, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem")) + { cp->type = SOAP_TYPE_ngwt__CalendarItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__CalendarItem; + if (size) + *size = sizeof(ngwt__CalendarItem); + ((ngwt__CalendarItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CalendarItem[n]; + if (size) + *size = n * sizeof(ngwt__CalendarItem); + for (int i = 0; i < n; i++) + ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CalendarItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef")) + { cp->type = SOAP_TYPE_ngwt__DocumentRef; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentRef; + if (size) + *size = sizeof(ngwt__DocumentRef); + ((ngwt__DocumentRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentRef[n]; + if (size) + *size = n * sizeof(ngwt__DocumentRef); + for (int i = 0; i < n; i++) + ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentRef*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage")) + { cp->type = SOAP_TYPE_ngwt__PhoneMessage; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneMessage; + if (size) + *size = sizeof(ngwt__PhoneMessage); + ((ngwt__PhoneMessage*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneMessage[n]; + if (size) + *size = n * sizeof(ngwt__PhoneMessage); + for (int i = 0; i < n; i++) + ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneMessage*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification")) + { cp->type = SOAP_TYPE_ngwt__SharedNotification; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedNotification; + if (size) + *size = sizeof(ngwt__SharedNotification); + ((ngwt__SharedNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedNotification[n]; + if (size) + *size = n * sizeof(ngwt__SharedNotification); + for (int i = 0; i < n; i++) + ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedNotification*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Appointment")) + { cp->type = SOAP_TYPE_ngwt__Appointment; + if (n < 0) + { cp->ptr = (void*)new ngwt__Appointment; + if (size) + *size = sizeof(ngwt__Appointment); + ((ngwt__Appointment*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Appointment[n]; + if (size) + *size = n * sizeof(ngwt__Appointment); + for (int i = 0; i < n; i++) + ((ngwt__Appointment*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Appointment*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Note")) + { cp->type = SOAP_TYPE_ngwt__Note; + if (n < 0) + { cp->ptr = (void*)new ngwt__Note; + if (size) + *size = sizeof(ngwt__Note); + ((ngwt__Note*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Note[n]; + if (size) + *size = n * sizeof(ngwt__Note); + for (int i = 0; i < n; i++) + ((ngwt__Note*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Note*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Task")) + { cp->type = SOAP_TYPE_ngwt__Task; + if (n < 0) + { cp->ptr = (void*)new ngwt__Task; + if (size) + *size = sizeof(ngwt__Task); + ((ngwt__Task*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Task[n]; + if (size) + *size = n * sizeof(ngwt__Task); + for (int i = 0; i < n; i++) + ((ngwt__Task*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Task*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__Mail; + if (size) + *size = sizeof(ngwt__Mail); + ((ngwt__Mail*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Mail[n]; + if (size) + *size = n * sizeof(ngwt__Mail); + for (int i = 0; i < n; i++) + ((ngwt__Mail*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Mail*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Mail(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Mail %p -> %p\n", q, p)); + *(ngwt__Mail*)p = *(ngwt__Mail*)q; +} + +void ngwt__LinkInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__LinkInfo*)this)->id, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__LinkInfo*)this)->id); + soap_embedded(soap, &((ngwt__LinkInfo*)this)->type, SOAP_TYPE_ngwt__LinkType); + /* transient soap skipped */ +} + +void ngwt__LinkInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__LinkInfo*)this)->id); + soap_default_ngwt__LinkType(soap, &((ngwt__LinkInfo*)this)->type); + /* transient soap skipped */ +} + +int ngwt__LinkInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__LinkInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__LinkInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__LinkInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkInfo(struct soap *soap, const char *tag, int id, const ngwt__LinkInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__LinkInfo), type); + soap_out_std__string(soap, "ngwt:id", -1, &(((ngwt__LinkInfo*)a)->id), ""); + soap_out_ngwt__LinkType(soap, "ngwt:type", -1, &(((ngwt__LinkInfo*)a)->type), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__LinkInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__LinkInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_get_ngwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__LinkInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__LinkInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__LinkInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_in_ngwt__LinkInfo(struct soap *soap, const char *tag, ngwt__LinkInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__LinkInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__LinkInfo, sizeof(ngwt__LinkInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__LinkInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__LinkInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_type1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:id", &(((ngwt__LinkInfo*)a)->id), "")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__LinkType(soap, "ngwt:type", &(((ngwt__LinkInfo*)a)->type), "")) + { soap_flag_type1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_type1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__LinkInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LinkInfo, 0, sizeof(ngwt__LinkInfo), 0, soap_copy_ngwt__LinkInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_new_ngwt__LinkInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__LinkInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_instantiate_ngwt__LinkInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__LinkInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__LinkInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__LinkInfo; + if (size) + *size = sizeof(ngwt__LinkInfo); + ((ngwt__LinkInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__LinkInfo[n]; + if (size) + *size = n * sizeof(ngwt__LinkInfo); + for (int i = 0; i < n; i++) + ((ngwt__LinkInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__LinkInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LinkInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__LinkInfo %p -> %p\n", q, p)); + *(ngwt__LinkInfo*)p = *(ngwt__LinkInfo*)q; +} + +void ngwt__LibraryList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Library(soap, &((ngwt__LibraryList*)this)->library); + /* transient soap skipped */ +} + +void ngwt__LibraryList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Library(soap, &((ngwt__LibraryList*)this)->library); + /* transient soap skipped */ +} + +int ngwt__LibraryList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__LibraryList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__LibraryList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__LibraryList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LibraryList(struct soap *soap, const char *tag, int id, const ngwt__LibraryList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__LibraryList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Library(soap, "ngwt:library", -1, &(((ngwt__LibraryList*)a)->library), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__LibraryList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__LibraryList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_get_ngwt__LibraryList(struct soap *soap, ngwt__LibraryList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__LibraryList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__LibraryList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__LibraryList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_in_ngwt__LibraryList(struct soap *soap, const char *tag, ngwt__LibraryList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__LibraryList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__LibraryList, sizeof(ngwt__LibraryList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__LibraryList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__LibraryList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Library(soap, "ngwt:library", &(((ngwt__LibraryList*)a)->library), "ngwt:Library")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__LibraryList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LibraryList, 0, sizeof(ngwt__LibraryList), 0, soap_copy_ngwt__LibraryList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_new_ngwt__LibraryList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__LibraryList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LibraryList(struct soap *soap, ngwt__LibraryList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_instantiate_ngwt__LibraryList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__LibraryList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__LibraryList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__LibraryList; + if (size) + *size = sizeof(ngwt__LibraryList); + ((ngwt__LibraryList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__LibraryList[n]; + if (size) + *size = n * sizeof(ngwt__LibraryList); + for (int i = 0; i < n; i++) + ((ngwt__LibraryList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__LibraryList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LibraryList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__LibraryList %p -> %p\n", q, p)); + *(ngwt__LibraryList*)p = *(ngwt__LibraryList*)q; +} + +void ngwt__Library::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Library*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Library*)this)->description); + soap_embedded(soap, &((ngwt__Library*)this)->domain, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Library*)this)->domain); + soap_embedded(soap, &((ngwt__Library*)this)->postOffice, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Library*)this)->postOffice); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Library::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Library*)this)->description = NULL; + ((ngwt__Library*)this)->domain = NULL; + ((ngwt__Library*)this)->postOffice = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Library::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Library); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Library::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Library(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Library(struct soap *soap, const char *tag, int id, const ngwt__Library *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Library), "ngwt:Library"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Library*)a)->description), ""); + soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__Library*)a)->domain), ""); + soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__Library*)a)->postOffice), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Library::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Library(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_get_ngwt__Library(struct soap *soap, ngwt__Library *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Library(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Library::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Library(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_in_ngwt__Library(struct soap *soap, const char *tag, ngwt__Library *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Library *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Library, sizeof(ngwt__Library), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Library) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Library *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_description1 = 1, soap_flag_domain1 = 1, soap_flag_postOffice1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id2 = 0; + continue; + } + if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name2 = 0; + continue; + } + if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version2 = 0; + continue; + } + if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified2 = 0; + continue; + } + if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Library*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_domain1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__Library*)a)->domain), "")) + { soap_flag_domain1 = 0; + continue; + } + if (soap_flag_postOffice1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__Library*)a)->postOffice), "")) + { soap_flag_postOffice1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Library *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Library, 0, sizeof(ngwt__Library), 0, soap_copy_ngwt__Library); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_new_ngwt__Library(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Library(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Library(struct soap *soap, ngwt__Library *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_instantiate_ngwt__Library(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Library(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Library, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Library; + if (size) + *size = sizeof(ngwt__Library); + ((ngwt__Library*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Library[n]; + if (size) + *size = n * sizeof(ngwt__Library); + for (int i = 0; i < n; i++) + ((ngwt__Library*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Library*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Library(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Library %p -> %p\n", q, p)); + *(ngwt__Library*)p = *(ngwt__Library*)q; +} + +void ngwt__JunkHandlingList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, &((ngwt__JunkHandlingList*)this)->entry); + /* transient soap skipped */ +} + +void ngwt__JunkHandlingList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, &((ngwt__JunkHandlingList*)this)->entry); + /* transient soap skipped */ +} + +int ngwt__JunkHandlingList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__JunkHandlingList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__JunkHandlingList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__JunkHandlingList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingList(struct soap *soap, const char *tag, int id, const ngwt__JunkHandlingList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkHandlingList), type); + soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, "ngwt:entry", -1, &(((ngwt__JunkHandlingList*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__JunkHandlingList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__JunkHandlingList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_get_ngwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__JunkHandlingList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__JunkHandlingList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__JunkHandlingList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_in_ngwt__JunkHandlingList(struct soap *soap, const char *tag, ngwt__JunkHandlingList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__JunkHandlingList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkHandlingList, sizeof(ngwt__JunkHandlingList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__JunkHandlingList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__JunkHandlingList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, "ngwt:entry", &(((ngwt__JunkHandlingList*)a)->entry), "ngwt:JunkEntry")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__JunkHandlingList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingList, 0, sizeof(ngwt__JunkHandlingList), 0, soap_copy_ngwt__JunkHandlingList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_new_ngwt__JunkHandlingList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__JunkHandlingList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_instantiate_ngwt__JunkHandlingList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__JunkHandlingList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__JunkHandlingList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__JunkHandlingList; + if (size) + *size = sizeof(ngwt__JunkHandlingList); + ((ngwt__JunkHandlingList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__JunkHandlingList[n]; + if (size) + *size = n * sizeof(ngwt__JunkHandlingList); + for (int i = 0; i < n; i++) + ((ngwt__JunkHandlingList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__JunkHandlingList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkHandlingList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__JunkHandlingList %p -> %p\n", q, p)); + *(ngwt__JunkHandlingList*)p = *(ngwt__JunkHandlingList*)q; +} + +void ngwt__JunkEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__JunkEntry*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__JunkEntry*)this)->id); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->match, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__JunkEntry*)this)->match); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->matchType, SOAP_TYPE_ngwt__JunkMatchType); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->listType, SOAP_TYPE_PointerTongwt__JunkHandlingListType); + soap_serialize_PointerTongwt__JunkHandlingListType(soap, &((ngwt__JunkEntry*)this)->listType); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->useCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__JunkEntry*)this)->useCount); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->lastUsed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__JunkEntry*)this)->lastUsed); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__JunkEntry*)this)->version); + soap_embedded(soap, &((ngwt__JunkEntry*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__JunkEntry*)this)->modified); + /* transient soap skipped */ +} + +void ngwt__JunkEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__JunkEntry*)this)->id = NULL; + soap_default_std__string(soap, &((ngwt__JunkEntry*)this)->match); + soap_default_ngwt__JunkMatchType(soap, &((ngwt__JunkEntry*)this)->matchType); + ((ngwt__JunkEntry*)this)->listType = NULL; + ((ngwt__JunkEntry*)this)->useCount = NULL; + soap_default_string(soap, &((ngwt__JunkEntry*)this)->lastUsed); + ((ngwt__JunkEntry*)this)->version = NULL; + soap_default_string(soap, &((ngwt__JunkEntry*)this)->modified); + /* transient soap skipped */ +} + +int ngwt__JunkEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__JunkEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__JunkEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__JunkEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkEntry(struct soap *soap, const char *tag, int id, const ngwt__JunkEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__JunkEntry), type); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__JunkEntry*)a)->id), ""); + soap_out_std__string(soap, "ngwt:match", -1, &(((ngwt__JunkEntry*)a)->match), ""); + soap_out_ngwt__JunkMatchType(soap, "ngwt:matchType", -1, &(((ngwt__JunkEntry*)a)->matchType), ""); + soap_out_PointerTongwt__JunkHandlingListType(soap, "ngwt:listType", -1, &(((ngwt__JunkEntry*)a)->listType), ""); + soap_out_PointerToint(soap, "ngwt:useCount", -1, &(((ngwt__JunkEntry*)a)->useCount), ""); + soap_out_string(soap, "ngwt:lastUsed", -1, &(((ngwt__JunkEntry*)a)->lastUsed), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__JunkEntry*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__JunkEntry*)a)->modified), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__JunkEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__JunkEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_get_ngwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__JunkEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__JunkEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__JunkEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_in_ngwt__JunkEntry(struct soap *soap, const char *tag, ngwt__JunkEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__JunkEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__JunkEntry, sizeof(ngwt__JunkEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__JunkEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__JunkEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_match1 = 1, soap_flag_matchType1 = 1, soap_flag_listType1 = 1, soap_flag_useCount1 = 1, soap_flag_lastUsed1 = 1, soap_flag_version1 = 1, soap_flag_modified1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__JunkEntry*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_match1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:match", &(((ngwt__JunkEntry*)a)->match), "")) + { soap_flag_match1 = 0; + continue; + } + if (soap_flag_matchType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__JunkMatchType(soap, "ngwt:matchType", &(((ngwt__JunkEntry*)a)->matchType), "")) + { soap_flag_matchType1 = 0; + continue; + } + if (soap_flag_listType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__JunkHandlingListType(soap, "ngwt:listType", &(((ngwt__JunkEntry*)a)->listType), "")) + { soap_flag_listType1 = 0; + continue; + } + if (soap_flag_useCount1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:useCount", &(((ngwt__JunkEntry*)a)->useCount), "")) + { soap_flag_useCount1 = 0; + continue; + } + if (soap_flag_lastUsed1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:lastUsed", &(((ngwt__JunkEntry*)a)->lastUsed), "")) + { soap_flag_lastUsed1 = 0; + continue; + } + if (soap_flag_version1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__JunkEntry*)a)->version), "")) + { soap_flag_version1 = 0; + continue; + } + if (soap_flag_modified1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__JunkEntry*)a)->modified), "")) + { soap_flag_modified1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_match1 || soap_flag_matchType1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__JunkEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkEntry, 0, sizeof(ngwt__JunkEntry), 0, soap_copy_ngwt__JunkEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_new_ngwt__JunkEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__JunkEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_instantiate_ngwt__JunkEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__JunkEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__JunkEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__JunkEntry; + if (size) + *size = sizeof(ngwt__JunkEntry); + ((ngwt__JunkEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__JunkEntry[n]; + if (size) + *size = n * sizeof(ngwt__JunkEntry); + for (int i = 0; i < n; i++) + ((ngwt__JunkEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__JunkEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__JunkEntry %p -> %p\n", q, p)); + *(ngwt__JunkEntry*)p = *(ngwt__JunkEntry*)q; +} + +void ngwt__ItemStatus::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ItemStatus*)this)->accepted, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->accepted); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->completed, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->completed); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->delegated, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->delegated); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->deleted, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->deleted); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->forwarded, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->forwarded); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->private_, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->private_); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->opened, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->opened); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->read, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->read); + soap_embedded(soap, &((ngwt__ItemStatus*)this)->replied, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemStatus*)this)->replied); + /* transient soap skipped */ +} + +void ngwt__ItemStatus::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ItemStatus*)this)->accepted = NULL; + ((ngwt__ItemStatus*)this)->completed = NULL; + ((ngwt__ItemStatus*)this)->delegated = NULL; + ((ngwt__ItemStatus*)this)->deleted = NULL; + ((ngwt__ItemStatus*)this)->forwarded = NULL; + ((ngwt__ItemStatus*)this)->private_ = NULL; + ((ngwt__ItemStatus*)this)->opened = NULL; + ((ngwt__ItemStatus*)this)->read = NULL; + ((ngwt__ItemStatus*)this)->replied = NULL; + /* transient soap skipped */ +} + +int ngwt__ItemStatus::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemStatus); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ItemStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ItemStatus(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemStatus(struct soap *soap, const char *tag, int id, const ngwt__ItemStatus *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemStatus), type); + soap_out_PointerTobool(soap, "ngwt:accepted", -1, &(((ngwt__ItemStatus*)a)->accepted), ""); + soap_out_PointerTobool(soap, "ngwt:completed", -1, &(((ngwt__ItemStatus*)a)->completed), ""); + soap_out_PointerTobool(soap, "ngwt:delegated", -1, &(((ngwt__ItemStatus*)a)->delegated), ""); + soap_out_PointerTobool(soap, "ngwt:deleted", -1, &(((ngwt__ItemStatus*)a)->deleted), ""); + soap_out_PointerTobool(soap, "ngwt:forwarded", -1, &(((ngwt__ItemStatus*)a)->forwarded), ""); + soap_out_PointerTobool(soap, "ngwt:private", -1, &(((ngwt__ItemStatus*)a)->private_), ""); + soap_out_PointerTobool(soap, "ngwt:opened", -1, &(((ngwt__ItemStatus*)a)->opened), ""); + soap_out_PointerTobool(soap, "ngwt:read", -1, &(((ngwt__ItemStatus*)a)->read), ""); + soap_out_PointerTobool(soap, "ngwt:replied", -1, &(((ngwt__ItemStatus*)a)->replied), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ItemStatus::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ItemStatus(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_get_ngwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ItemStatus::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ItemStatus(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_in_ngwt__ItemStatus(struct soap *soap, const char *tag, ngwt__ItemStatus *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ItemStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemStatus, sizeof(ngwt__ItemStatus), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ItemStatus) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ItemStatus *)a->soap_in(soap, tag, type); + } + } + short soap_flag_accepted1 = 1, soap_flag_completed1 = 1, soap_flag_delegated1 = 1, soap_flag_deleted1 = 1, soap_flag_forwarded1 = 1, soap_flag_private_1 = 1, soap_flag_opened1 = 1, soap_flag_read1 = 1, soap_flag_replied1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_accepted1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:accepted", &(((ngwt__ItemStatus*)a)->accepted), "")) + { soap_flag_accepted1 = 0; + continue; + } + if (soap_flag_completed1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:completed", &(((ngwt__ItemStatus*)a)->completed), "")) + { soap_flag_completed1 = 0; + continue; + } + if (soap_flag_delegated1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:delegated", &(((ngwt__ItemStatus*)a)->delegated), "")) + { soap_flag_delegated1 = 0; + continue; + } + if (soap_flag_deleted1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:deleted", &(((ngwt__ItemStatus*)a)->deleted), "")) + { soap_flag_deleted1 = 0; + continue; + } + if (soap_flag_forwarded1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:forwarded", &(((ngwt__ItemStatus*)a)->forwarded), "")) + { soap_flag_forwarded1 = 0; + continue; + } + if (soap_flag_private_1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:private", &(((ngwt__ItemStatus*)a)->private_), "")) + { soap_flag_private_1 = 0; + continue; + } + if (soap_flag_opened1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:opened", &(((ngwt__ItemStatus*)a)->opened), "")) + { soap_flag_opened1 = 0; + continue; + } + if (soap_flag_read1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:read", &(((ngwt__ItemStatus*)a)->read), "")) + { soap_flag_read1 = 0; + continue; + } + if (soap_flag_replied1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:replied", &(((ngwt__ItemStatus*)a)->replied), "")) + { soap_flag_replied1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ItemStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemStatus, 0, sizeof(ngwt__ItemStatus), 0, soap_copy_ngwt__ItemStatus); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_new_ngwt__ItemStatus(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ItemStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_instantiate_ngwt__ItemStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ItemStatus; + if (size) + *size = sizeof(ngwt__ItemStatus); + ((ngwt__ItemStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ItemStatus[n]; + if (size) + *size = n * sizeof(ngwt__ItemStatus); + for (int i = 0; i < n; i++) + ((ngwt__ItemStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ItemStatus*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemStatus %p -> %p\n", q, p)); + *(ngwt__ItemStatus*)p = *(ngwt__ItemStatus*)q; +} + +void ngwt__Items::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__Items*)this)->item); + /* transient soap skipped */ +} + +void ngwt__Items::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__Items*)this)->item); + /* transient soap skipped */ +} + +int ngwt__Items::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Items); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Items::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Items(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Items(struct soap *soap, const char *tag, int id, const ngwt__Items *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Items), type); + soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", -1, &(((ngwt__Items*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Items::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Items(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_get_ngwt__Items(struct soap *soap, ngwt__Items *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Items(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Items::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Items(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_in_ngwt__Items(struct soap *soap, const char *tag, ngwt__Items *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Items *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Items, sizeof(ngwt__Items), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Items) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Items *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", &(((ngwt__Items*)a)->item), "ngwt:Item")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Items *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Items, 0, sizeof(ngwt__Items), 0, soap_copy_ngwt__Items); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_new_ngwt__Items(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Items(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Items(struct soap *soap, ngwt__Items *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_instantiate_ngwt__Items(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Items(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Items, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Items; + if (size) + *size = sizeof(ngwt__Items); + ((ngwt__Items*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Items[n]; + if (size) + *size = n * sizeof(ngwt__Items); + for (int i = 0; i < n; i++) + ((ngwt__Items*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Items*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Items(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Items %p -> %p\n", q, p)); + *(ngwt__Items*)p = *(ngwt__Items*)q; +} + +void ngwt__ItemRefList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwt__ItemRefList*)this)->item); + /* transient soap skipped */ +} + +void ngwt__ItemRefList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwt__ItemRefList*)this)->item); + /* transient soap skipped */ +} + +int ngwt__ItemRefList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemRefList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ItemRefList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ItemRefList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRefList(struct soap *soap, const char *tag, int id, const ngwt__ItemRefList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemRefList), type); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwt:item", -1, &(((ngwt__ItemRefList*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ItemRefList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ItemRefList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_get_ngwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemRefList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ItemRefList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ItemRefList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_in_ngwt__ItemRefList(struct soap *soap, const char *tag, ngwt__ItemRefList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ItemRefList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemRefList, sizeof(ngwt__ItemRefList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ItemRefList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ItemRefList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwt:item", &(((ngwt__ItemRefList*)a)->item), "ngwt:uid")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ItemRefList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemRefList, 0, sizeof(ngwt__ItemRefList), 0, soap_copy_ngwt__ItemRefList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_new_ngwt__ItemRefList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ItemRefList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_instantiate_ngwt__ItemRefList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemRefList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemRefList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ItemRefList; + if (size) + *size = sizeof(ngwt__ItemRefList); + ((ngwt__ItemRefList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ItemRefList[n]; + if (size) + *size = n * sizeof(ngwt__ItemRefList); + for (int i = 0; i < n; i++) + ((ngwt__ItemRefList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ItemRefList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRefList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemRefList %p -> %p\n", q, p)); + *(ngwt__ItemRefList*)p = *(ngwt__ItemRefList*)q; +} + +void ngwt__ItemRef::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ItemRef*)this)->__item, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__ItemRef*)this)->__item); + /* transient soap skipped */ +} + +void ngwt__ItemRef::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__ItemRef*)this)->__item); + ((ngwt__ItemRef*)this)->uid = NULL; + /* transient soap skipped */ +} + +int ngwt__ItemRef::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemRef); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ItemRef::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ItemRef(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRef(struct soap *soap, const char *tag, int id, const ngwt__ItemRef *a, const char *type) +{ + if (((ngwt__ItemRef *)a)->uid) + soap_set_attr(soap, "uid", ((ngwt__ItemRef *)a)->uid->c_str()); + soap_out_std__string(soap, tag, id, &(((ngwt__ItemRef*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__ItemRef::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ItemRef(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_get_ngwt__ItemRef(struct soap *soap, ngwt__ItemRef *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemRef(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ItemRef::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ItemRef(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_in_ngwt__ItemRef(struct soap *soap, const char *tag, ngwt__ItemRef *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__ItemRef *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemRef, sizeof(ngwt__ItemRef), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ItemRef) + return (ngwt__ItemRef *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "uid", 0); + if (t) + { if (!(((ngwt__ItemRef *)a)->uid = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__ItemRef *)a)->uid = soap_new_std__string(soap, -1); + ((ngwt__ItemRef *)a)->uid->assign(s); + } + } + } + if (!soap_in_std__string(soap, tag, &(((ngwt__ItemRef*)a)->__item), "ngwt:ItemRef")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_new_ngwt__ItemRef(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ItemRef(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRef(struct soap *soap, ngwt__ItemRef *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_instantiate_ngwt__ItemRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemRef, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ItemRef; + if (size) + *size = sizeof(ngwt__ItemRef); + ((ngwt__ItemRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ItemRef[n]; + if (size) + *size = n * sizeof(ngwt__ItemRef); + for (int i = 0; i < n; i++) + ((ngwt__ItemRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ItemRef*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemRef %p -> %p\n", q, p)); + *(ngwt__ItemRef*)p = *(ngwt__ItemRef*)q; +} + +void ngwt__ItemOptions::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ItemOptions*)this)->priority, SOAP_TYPE_ngwt__ItemOptionsPriority); + soap_embedded(soap, &((ngwt__ItemOptions*)this)->expires, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ItemOptions*)this)->expires); + soap_embedded(soap, &((ngwt__ItemOptions*)this)->delayDeliveryUntil, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ItemOptions*)this)->delayDeliveryUntil); + soap_embedded(soap, &((ngwt__ItemOptions*)this)->concealSubject, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemOptions*)this)->concealSubject); + soap_embedded(soap, &((ngwt__ItemOptions*)this)->hidden, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__ItemOptions*)this)->hidden); + /* transient soap skipped */ +} + +void ngwt__ItemOptions::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ItemOptions*)this)->priority = (enum ngwt__ItemOptionsPriority)1; + soap_default_string(soap, &((ngwt__ItemOptions*)this)->expires); + soap_default_string(soap, &((ngwt__ItemOptions*)this)->delayDeliveryUntil); + ((ngwt__ItemOptions*)this)->concealSubject = NULL; + ((ngwt__ItemOptions*)this)->hidden = NULL; + /* transient soap skipped */ +} + +int ngwt__ItemOptions::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemOptions); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ItemOptions::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ItemOptions(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptions(struct soap *soap, const char *tag, int id, const ngwt__ItemOptions *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemOptions), type); + soap_out_ngwt__ItemOptionsPriority(soap, "ngwt:priority", -1, &(((ngwt__ItemOptions*)a)->priority), ""); + soap_out_string(soap, "ngwt:expires", -1, &(((ngwt__ItemOptions*)a)->expires), ""); + soap_out_string(soap, "ngwt:delayDeliveryUntil", -1, &(((ngwt__ItemOptions*)a)->delayDeliveryUntil), ""); + soap_out_PointerTobool(soap, "ngwt:concealSubject", -1, &(((ngwt__ItemOptions*)a)->concealSubject), ""); + soap_out_PointerTobool(soap, "ngwt:hidden", -1, &(((ngwt__ItemOptions*)a)->hidden), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ItemOptions::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ItemOptions(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_get_ngwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ItemOptions::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ItemOptions(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_in_ngwt__ItemOptions(struct soap *soap, const char *tag, ngwt__ItemOptions *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ItemOptions *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemOptions, sizeof(ngwt__ItemOptions), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ItemOptions) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ItemOptions *)a->soap_in(soap, tag, type); + } + } + short soap_flag_priority1 = 1, soap_flag_expires1 = 1, soap_flag_delayDeliveryUntil1 = 1, soap_flag_concealSubject1 = 1, soap_flag_hidden1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_priority1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__ItemOptionsPriority(soap, "ngwt:priority", &(((ngwt__ItemOptions*)a)->priority), "")) + { soap_flag_priority1 = 0; + continue; + } + if (soap_flag_expires1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:expires", &(((ngwt__ItemOptions*)a)->expires), "")) + { soap_flag_expires1 = 0; + continue; + } + if (soap_flag_delayDeliveryUntil1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delayDeliveryUntil", &(((ngwt__ItemOptions*)a)->delayDeliveryUntil), "")) + { soap_flag_delayDeliveryUntil1 = 0; + continue; + } + if (soap_flag_concealSubject1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:concealSubject", &(((ngwt__ItemOptions*)a)->concealSubject), "")) + { soap_flag_concealSubject1 = 0; + continue; + } + if (soap_flag_hidden1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hidden", &(((ngwt__ItemOptions*)a)->hidden), "")) + { soap_flag_hidden1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ItemOptions *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemOptions, 0, sizeof(ngwt__ItemOptions), 0, soap_copy_ngwt__ItemOptions); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_new_ngwt__ItemOptions(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ItemOptions(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_instantiate_ngwt__ItemOptions(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemOptions(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemOptions, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ItemOptions; + if (size) + *size = sizeof(ngwt__ItemOptions); + ((ngwt__ItemOptions*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ItemOptions[n]; + if (size) + *size = n * sizeof(ngwt__ItemOptions); + for (int i = 0; i < n; i++) + ((ngwt__ItemOptions*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ItemOptions*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemOptions(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemOptions %p -> %p\n", q, p)); + *(ngwt__ItemOptions*)p = *(ngwt__ItemOptions*)q; +} + +void ngwt__ItemList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__ItemList*)this)->item); + /* transient soap skipped */ +} + +void ngwt__ItemList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Item(soap, &((ngwt__ItemList*)this)->item); + ((ngwt__ItemList*)this)->offset = NULL; + ((ngwt__ItemList*)this)->count = NULL; + /* transient soap skipped */ +} + +int ngwt__ItemList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ItemList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ItemList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemList(struct soap *soap, const char *tag, int id, const ngwt__ItemList *a, const char *type) +{ + if (((ngwt__ItemList *)a)->offset) + soap_set_attr(soap, "offset", soap_int2s(soap, *((ngwt__ItemList *)a)->offset)); + if (((ngwt__ItemList *)a)->count) + soap_set_attr(soap, "count", soap_int2s(soap, *((ngwt__ItemList *)a)->count)); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", -1, &(((ngwt__ItemList*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ItemList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ItemList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_get_ngwt__ItemList(struct soap *soap, ngwt__ItemList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ItemList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ItemList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_in_ngwt__ItemList(struct soap *soap, const char *tag, ngwt__ItemList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ItemList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemList, sizeof(ngwt__ItemList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ItemList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ItemList *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "offset", 0); + if (t) + { if (!(((ngwt__ItemList *)a)->offset = (int *)soap_malloc(soap, sizeof(int)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2int(soap, t, ((ngwt__ItemList *)a)->offset)) + return NULL; + } + } + { const char *t = soap_attr_value(soap, "count", 0); + if (t) + { if (!(((ngwt__ItemList *)a)->count = (int *)soap_malloc(soap, sizeof(int)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2int(soap, t, ((ngwt__ItemList *)a)->count)) + return NULL; + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, "ngwt:item", &(((ngwt__ItemList*)a)->item), "ngwt:Item")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ItemList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemList, 0, sizeof(ngwt__ItemList), 0, soap_copy_ngwt__ItemList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_new_ngwt__ItemList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ItemList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemList(struct soap *soap, ngwt__ItemList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_instantiate_ngwt__ItemList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ItemList; + if (size) + *size = sizeof(ngwt__ItemList); + ((ngwt__ItemList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ItemList[n]; + if (size) + *size = n * sizeof(ngwt__ItemList); + for (int i = 0; i < n; i++) + ((ngwt__ItemList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ItemList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemList %p -> %p\n", q, p)); + *(ngwt__ItemList*)p = *(ngwt__ItemList*)q; +} + +void ngwt__ItemChanges::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ItemChanges*)this)->add, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((ngwt__ItemChanges*)this)->add); + soap_embedded(soap, &((ngwt__ItemChanges*)this)->_delete, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((ngwt__ItemChanges*)this)->_delete); + soap_embedded(soap, &((ngwt__ItemChanges*)this)->update, SOAP_TYPE_PointerTongwt__Item); + soap_serialize_PointerTongwt__Item(soap, &((ngwt__ItemChanges*)this)->update); + /* transient soap skipped */ +} + +void ngwt__ItemChanges::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ItemChanges*)this)->add = NULL; + ((ngwt__ItemChanges*)this)->_delete = NULL; + ((ngwt__ItemChanges*)this)->update = NULL; + /* transient soap skipped */ +} + +int ngwt__ItemChanges::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ItemChanges); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ItemChanges::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ItemChanges(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemChanges(struct soap *soap, const char *tag, int id, const ngwt__ItemChanges *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ItemChanges), type); + soap_out_PointerTongwt__Item(soap, "ngwt:add", -1, &(((ngwt__ItemChanges*)a)->add), ""); + soap_out_PointerTongwt__Item(soap, "ngwt:delete", -1, &(((ngwt__ItemChanges*)a)->_delete), ""); + soap_out_PointerTongwt__Item(soap, "ngwt:update", -1, &(((ngwt__ItemChanges*)a)->update), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ItemChanges::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ItemChanges(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_get_ngwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ItemChanges(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ItemChanges::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ItemChanges(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_in_ngwt__ItemChanges(struct soap *soap, const char *tag, ngwt__ItemChanges *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ItemChanges *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ItemChanges, sizeof(ngwt__ItemChanges), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ItemChanges) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ItemChanges *)a->soap_in(soap, tag, type); + } + } + short soap_flag_add1 = 1, soap_flag_delete1 = 1, soap_flag_update1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_add1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwt:add", &(((ngwt__ItemChanges*)a)->add), "ngwt:Item")) + { soap_flag_add1 = 0; + continue; + } + if (soap_flag_delete1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwt:delete", &(((ngwt__ItemChanges*)a)->_delete), "ngwt:Item")) + { soap_flag_delete1 = 0; + continue; + } + if (soap_flag_update1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Item(soap, "ngwt:update", &(((ngwt__ItemChanges*)a)->update), "ngwt:Item")) + { soap_flag_update1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ItemChanges *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemChanges, 0, sizeof(ngwt__ItemChanges), 0, soap_copy_ngwt__ItemChanges); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_new_ngwt__ItemChanges(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ItemChanges(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_instantiate_ngwt__ItemChanges(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ItemChanges(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ItemChanges, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ItemChanges; + if (size) + *size = sizeof(ngwt__ItemChanges); + ((ngwt__ItemChanges*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ItemChanges[n]; + if (size) + *size = n * sizeof(ngwt__ItemChanges); + for (int i = 0; i < n; i++) + ((ngwt__ItemChanges*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ItemChanges*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemChanges(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ItemChanges %p -> %p\n", q, p)); + *(ngwt__ItemChanges*)p = *(ngwt__ItemChanges*)q; +} + +void ngwt__Item::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Item::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Item::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Item); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Item::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Item(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Item(struct soap *soap, const char *tag, int id, const ngwt__Item *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Item), type); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Item::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Item(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_get_ngwt__Item(struct soap *soap, ngwt__Item *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Item(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Item::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Item(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_in_ngwt__Item(struct soap *soap, const char *tag, ngwt__Item *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Item *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Item, sizeof(ngwt__Item), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Item) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Item *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_version1 = 1, soap_flag_modified1 = 1, soap_flag_changes1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_version1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version1 = 0; + continue; + } + if (soap_flag_modified1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified1 = 0; + continue; + } + if (soap_flag_changes1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Item *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Item, 0, sizeof(ngwt__Item), 0, soap_copy_ngwt__Item); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_new_ngwt__Item(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Item(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Item(struct soap *soap, ngwt__Item *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_instantiate_ngwt__Item(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Item(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Item, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:AddressBook")) + { cp->type = SOAP_TYPE_ngwt__AddressBook; + if (n < 0) + { cp->ptr = (void*)new ngwt__AddressBook; + if (size) + *size = sizeof(ngwt__AddressBook); + ((ngwt__AddressBook*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AddressBook[n]; + if (size) + *size = n * sizeof(ngwt__AddressBook); + for (int i = 0; i < n; i++) + ((ngwt__AddressBook*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AddressBook*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Category")) + { cp->type = SOAP_TYPE_ngwt__Category; + if (n < 0) + { cp->ptr = (void*)new ngwt__Category; + if (size) + *size = sizeof(ngwt__Category); + ((ngwt__Category*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Category[n]; + if (size) + *size = n * sizeof(ngwt__Category); + for (int i = 0; i < n; i++) + ((ngwt__Category*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Category*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:ContainerItem")) + { cp->type = SOAP_TYPE_ngwt__ContainerItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__ContainerItem; + if (size) + *size = sizeof(ngwt__ContainerItem); + ((ngwt__ContainerItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContainerItem[n]; + if (size) + *size = n * sizeof(ngwt__ContainerItem); + for (int i = 0; i < n; i++) + ((ngwt__ContainerItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContainerItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Folder")) + { cp->type = SOAP_TYPE_ngwt__Folder; + if (n < 0) + { cp->ptr = (void*)new ngwt__Folder; + if (size) + *size = sizeof(ngwt__Folder); + ((ngwt__Folder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Folder[n]; + if (size) + *size = n * sizeof(ngwt__Folder); + for (int i = 0; i < n; i++) + ((ngwt__Folder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Folder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Library")) + { cp->type = SOAP_TYPE_ngwt__Library; + if (n < 0) + { cp->ptr = (void*)new ngwt__Library; + if (size) + *size = sizeof(ngwt__Library); + ((ngwt__Library*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Library[n]; + if (size) + *size = n * sizeof(ngwt__Library); + for (int i = 0; i < n; i++) + ((ngwt__Library*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Library*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:AddressBookItem")) + { cp->type = SOAP_TYPE_ngwt__AddressBookItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__AddressBookItem; + if (size) + *size = sizeof(ngwt__AddressBookItem); + ((ngwt__AddressBookItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AddressBookItem[n]; + if (size) + *size = n * sizeof(ngwt__AddressBookItem); + for (int i = 0; i < n; i++) + ((ngwt__AddressBookItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AddressBookItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:BoxEntry")) + { cp->type = SOAP_TYPE_ngwt__BoxEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__BoxEntry; + if (size) + *size = sizeof(ngwt__BoxEntry); + ((ngwt__BoxEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__BoxEntry[n]; + if (size) + *size = n * sizeof(ngwt__BoxEntry); + for (int i = 0; i < n; i++) + ((ngwt__BoxEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__BoxEntry*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Document")) + { cp->type = SOAP_TYPE_ngwt__Document; + if (n < 0) + { cp->ptr = (void*)new ngwt__Document; + if (size) + *size = sizeof(ngwt__Document); + ((ngwt__Document*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Document[n]; + if (size) + *size = n * sizeof(ngwt__Document); + for (int i = 0; i < n; i++) + ((ngwt__Document*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Document*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:QueryFolder")) + { cp->type = SOAP_TYPE_ngwt__QueryFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__QueryFolder; + if (size) + *size = sizeof(ngwt__QueryFolder); + ((ngwt__QueryFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__QueryFolder[n]; + if (size) + *size = n * sizeof(ngwt__QueryFolder); + for (int i = 0; i < n; i++) + ((ngwt__QueryFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__QueryFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Rule")) + { cp->type = SOAP_TYPE_ngwt__Rule; + if (n < 0) + { cp->ptr = (void*)new ngwt__Rule; + if (size) + *size = sizeof(ngwt__Rule); + ((ngwt__Rule*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Rule[n]; + if (size) + *size = n * sizeof(ngwt__Rule); + for (int i = 0; i < n; i++) + ((ngwt__Rule*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Rule*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SharedFolder")) + { cp->type = SOAP_TYPE_ngwt__SharedFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedFolder; + if (size) + *size = sizeof(ngwt__SharedFolder); + ((ngwt__SharedFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedFolder[n]; + if (size) + *size = n * sizeof(ngwt__SharedFolder); + for (int i = 0; i < n; i++) + ((ngwt__SharedFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SystemFolder")) + { cp->type = SOAP_TYPE_ngwt__SystemFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__SystemFolder; + if (size) + *size = sizeof(ngwt__SystemFolder); + ((ngwt__SystemFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SystemFolder[n]; + if (size) + *size = n * sizeof(ngwt__SystemFolder); + for (int i = 0; i < n; i++) + ((ngwt__SystemFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SystemFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Version")) + { cp->type = SOAP_TYPE_ngwt__Version; + if (n < 0) + { cp->ptr = (void*)new ngwt__Version; + if (size) + *size = sizeof(ngwt__Version); + ((ngwt__Version*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Version[n]; + if (size) + *size = n * sizeof(ngwt__Version); + for (int i = 0; i < n; i++) + ((ngwt__Version*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Version*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:VersionEvent")) + { cp->type = SOAP_TYPE_ngwt__VersionEvent; + if (n < 0) + { cp->ptr = (void*)new ngwt__VersionEvent; + if (size) + *size = sizeof(ngwt__VersionEvent); + ((ngwt__VersionEvent*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__VersionEvent[n]; + if (size) + *size = n * sizeof(ngwt__VersionEvent); + for (int i = 0; i < n; i++) + ((ngwt__VersionEvent*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__VersionEvent*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Contact")) + { cp->type = SOAP_TYPE_ngwt__Contact; + if (n < 0) + { cp->ptr = (void*)new ngwt__Contact; + if (size) + *size = sizeof(ngwt__Contact); + ((ngwt__Contact*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Contact[n]; + if (size) + *size = n * sizeof(ngwt__Contact); + for (int i = 0; i < n; i++) + ((ngwt__Contact*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Contact*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:ContactFolder")) + { cp->type = SOAP_TYPE_ngwt__ContactFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__ContactFolder; + if (size) + *size = sizeof(ngwt__ContactFolder); + ((ngwt__ContactFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContactFolder[n]; + if (size) + *size = n * sizeof(ngwt__ContactFolder); + for (int i = 0; i < n; i++) + ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContactFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Group")) + { cp->type = SOAP_TYPE_ngwt__Group; + if (n < 0) + { cp->ptr = (void*)new ngwt__Group; + if (size) + *size = sizeof(ngwt__Group); + ((ngwt__Group*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Group[n]; + if (size) + *size = n * sizeof(ngwt__Group); + for (int i = 0; i < n; i++) + ((ngwt__Group*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Group*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Mail")) + { cp->type = SOAP_TYPE_ngwt__Mail; + if (n < 0) + { cp->ptr = (void*)new ngwt__Mail; + if (size) + *size = sizeof(ngwt__Mail); + ((ngwt__Mail*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Mail[n]; + if (size) + *size = n * sizeof(ngwt__Mail); + for (int i = 0; i < n; i++) + ((ngwt__Mail*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Mail*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Organization")) + { cp->type = SOAP_TYPE_ngwt__Organization; + if (n < 0) + { cp->ptr = (void*)new ngwt__Organization; + if (size) + *size = sizeof(ngwt__Organization); + ((ngwt__Organization*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Organization[n]; + if (size) + *size = n * sizeof(ngwt__Organization); + for (int i = 0; i < n; i++) + ((ngwt__Organization*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Organization*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Resource")) + { cp->type = SOAP_TYPE_ngwt__Resource; + if (n < 0) + { cp->ptr = (void*)new ngwt__Resource; + if (size) + *size = sizeof(ngwt__Resource); + ((ngwt__Resource*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Resource[n]; + if (size) + *size = n * sizeof(ngwt__Resource); + for (int i = 0; i < n; i++) + ((ngwt__Resource*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Resource*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem")) + { cp->type = SOAP_TYPE_ngwt__CalendarItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__CalendarItem; + if (size) + *size = sizeof(ngwt__CalendarItem); + ((ngwt__CalendarItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CalendarItem[n]; + if (size) + *size = n * sizeof(ngwt__CalendarItem); + for (int i = 0; i < n; i++) + ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CalendarItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef")) + { cp->type = SOAP_TYPE_ngwt__DocumentRef; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentRef; + if (size) + *size = sizeof(ngwt__DocumentRef); + ((ngwt__DocumentRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentRef[n]; + if (size) + *size = n * sizeof(ngwt__DocumentRef); + for (int i = 0; i < n; i++) + ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentRef*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage")) + { cp->type = SOAP_TYPE_ngwt__PhoneMessage; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneMessage; + if (size) + *size = sizeof(ngwt__PhoneMessage); + ((ngwt__PhoneMessage*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneMessage[n]; + if (size) + *size = n * sizeof(ngwt__PhoneMessage); + for (int i = 0; i < n; i++) + ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneMessage*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification")) + { cp->type = SOAP_TYPE_ngwt__SharedNotification; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedNotification; + if (size) + *size = sizeof(ngwt__SharedNotification); + ((ngwt__SharedNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedNotification[n]; + if (size) + *size = n * sizeof(ngwt__SharedNotification); + for (int i = 0; i < n; i++) + ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedNotification*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Appointment")) + { cp->type = SOAP_TYPE_ngwt__Appointment; + if (n < 0) + { cp->ptr = (void*)new ngwt__Appointment; + if (size) + *size = sizeof(ngwt__Appointment); + ((ngwt__Appointment*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Appointment[n]; + if (size) + *size = n * sizeof(ngwt__Appointment); + for (int i = 0; i < n; i++) + ((ngwt__Appointment*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Appointment*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Note")) + { cp->type = SOAP_TYPE_ngwt__Note; + if (n < 0) + { cp->ptr = (void*)new ngwt__Note; + if (size) + *size = sizeof(ngwt__Note); + ((ngwt__Note*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Note[n]; + if (size) + *size = n * sizeof(ngwt__Note); + for (int i = 0; i < n; i++) + ((ngwt__Note*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Note*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Task")) + { cp->type = SOAP_TYPE_ngwt__Task; + if (n < 0) + { cp->ptr = (void*)new ngwt__Task; + if (size) + *size = sizeof(ngwt__Task); + ((ngwt__Task*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Task[n]; + if (size) + *size = n * sizeof(ngwt__Task); + for (int i = 0; i < n; i++) + ((ngwt__Task*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Task*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__Item; + if (size) + *size = sizeof(ngwt__Item); + ((ngwt__Item*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Item[n]; + if (size) + *size = n * sizeof(ngwt__Item); + for (int i = 0; i < n; i++) + ((ngwt__Item*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Item*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Item(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Item %p -> %p\n", q, p)); + *(ngwt__Item*)p = *(ngwt__Item*)q; +} + +void ngwt__ImAddressList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__ImAddress(soap, &((ngwt__ImAddressList*)this)->im); + /* transient soap skipped */ +} + +void ngwt__ImAddressList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__ImAddress(soap, &((ngwt__ImAddressList*)this)->im); + /* transient soap skipped */ +} + +int ngwt__ImAddressList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ImAddressList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ImAddressList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ImAddressList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddressList(struct soap *soap, const char *tag, int id, const ngwt__ImAddressList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ImAddressList), type); + soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(soap, "ngwt:im", -1, &(((ngwt__ImAddressList*)a)->im), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ImAddressList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ImAddressList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_get_ngwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ImAddressList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ImAddressList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ImAddressList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_in_ngwt__ImAddressList(struct soap *soap, const char *tag, ngwt__ImAddressList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ImAddressList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ImAddressList, sizeof(ngwt__ImAddressList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ImAddressList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ImAddressList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(soap, "ngwt:im", &(((ngwt__ImAddressList*)a)->im), "ngwt:ImAddress")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ImAddressList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddressList, 0, sizeof(ngwt__ImAddressList), 0, soap_copy_ngwt__ImAddressList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_new_ngwt__ImAddressList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ImAddressList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_instantiate_ngwt__ImAddressList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ImAddressList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ImAddressList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ImAddressList; + if (size) + *size = sizeof(ngwt__ImAddressList); + ((ngwt__ImAddressList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ImAddressList[n]; + if (size) + *size = n * sizeof(ngwt__ImAddressList); + for (int i = 0; i < n; i++) + ((ngwt__ImAddressList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ImAddressList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddressList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ImAddressList %p -> %p\n", q, p)); + *(ngwt__ImAddressList*)p = *(ngwt__ImAddressList*)q; +} + +void ngwt__ImAddress::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ImAddress*)this)->service, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__ImAddress*)this)->service); + soap_embedded(soap, &((ngwt__ImAddress*)this)->address, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__ImAddress*)this)->address); + soap_embedded(soap, &((ngwt__ImAddress*)this)->type, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__ImAddress*)this)->type); + /* transient soap skipped */ +} + +void ngwt__ImAddress::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ImAddress*)this)->service = NULL; + ((ngwt__ImAddress*)this)->address = NULL; + ((ngwt__ImAddress*)this)->type = NULL; + /* transient soap skipped */ +} + +int ngwt__ImAddress::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ImAddress); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ImAddress::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ImAddress(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddress(struct soap *soap, const char *tag, int id, const ngwt__ImAddress *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ImAddress), type); + soap_out_PointerTostd__string(soap, "ngwt:service", -1, &(((ngwt__ImAddress*)a)->service), ""); + soap_out_PointerTostd__string(soap, "ngwt:address", -1, &(((ngwt__ImAddress*)a)->address), ""); + soap_out_PointerTostd__string(soap, "ngwt:type", -1, &(((ngwt__ImAddress*)a)->type), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ImAddress::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ImAddress(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_get_ngwt__ImAddress(struct soap *soap, ngwt__ImAddress *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ImAddress(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ImAddress::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ImAddress(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_in_ngwt__ImAddress(struct soap *soap, const char *tag, ngwt__ImAddress *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ImAddress *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ImAddress, sizeof(ngwt__ImAddress), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ImAddress) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ImAddress *)a->soap_in(soap, tag, type); + } + } + short soap_flag_service1 = 1, soap_flag_address1 = 1, soap_flag_type1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_service1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:service", &(((ngwt__ImAddress*)a)->service), "")) + { soap_flag_service1 = 0; + continue; + } + if (soap_flag_address1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:address", &(((ngwt__ImAddress*)a)->address), "")) + { soap_flag_address1 = 0; + continue; + } + if (soap_flag_type1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:type", &(((ngwt__ImAddress*)a)->type), "")) + { soap_flag_type1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ImAddress *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddress, 0, sizeof(ngwt__ImAddress), 0, soap_copy_ngwt__ImAddress); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_new_ngwt__ImAddress(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ImAddress(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddress(struct soap *soap, ngwt__ImAddress *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_instantiate_ngwt__ImAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ImAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ImAddress, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ImAddress; + if (size) + *size = sizeof(ngwt__ImAddress); + ((ngwt__ImAddress*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ImAddress[n]; + if (size) + *size = n * sizeof(ngwt__ImAddress); + for (int i = 0; i < n; i++) + ((ngwt__ImAddress*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ImAddress*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ImAddress %p -> %p\n", q, p)); + *(ngwt__ImAddress*)p = *(ngwt__ImAddress*)q; +} + +void ngwt__Host::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Host*)this)->ipAddress, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Host*)this)->ipAddress); + soap_embedded(soap, &((ngwt__Host*)this)->port, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Host*)this)->port); + /* transient soap skipped */ +} + +void ngwt__Host::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Host*)this)->ipAddress = NULL; + ((ngwt__Host*)this)->port = NULL; + /* transient soap skipped */ +} + +int ngwt__Host::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Host); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Host::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Host(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Host(struct soap *soap, const char *tag, int id, const ngwt__Host *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Host), type); + soap_out_PointerTostd__string(soap, "ngwt:ipAddress", -1, &(((ngwt__Host*)a)->ipAddress), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:port", -1, &(((ngwt__Host*)a)->port), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Host::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Host(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_get_ngwt__Host(struct soap *soap, ngwt__Host *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Host(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Host::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Host(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_in_ngwt__Host(struct soap *soap, const char *tag, ngwt__Host *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Host *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Host, sizeof(ngwt__Host), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Host) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Host *)a->soap_in(soap, tag, type); + } + } + short soap_flag_ipAddress1 = 1, soap_flag_port1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ipAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:ipAddress", &(((ngwt__Host*)a)->ipAddress), "")) + { soap_flag_ipAddress1 = 0; + continue; + } + if (soap_flag_port1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:port", &(((ngwt__Host*)a)->port), "")) + { soap_flag_port1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Host *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Host, 0, sizeof(ngwt__Host), 0, soap_copy_ngwt__Host); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_new_ngwt__Host(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Host(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Host(struct soap *soap, ngwt__Host *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_instantiate_ngwt__Host(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Host(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Host, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Host; + if (size) + *size = sizeof(ngwt__Host); + ((ngwt__Host*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Host[n]; + if (size) + *size = n * sizeof(ngwt__Host); + for (int i = 0; i < n; i++) + ((ngwt__Host*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Host*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Host(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Host %p -> %p\n", q, p)); + *(ngwt__Host*)p = *(ngwt__Host*)q; +} + +void ngwt__GroupMemberList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__GroupMember(soap, &((ngwt__GroupMemberList*)this)->member); + /* transient soap skipped */ +} + +void ngwt__GroupMemberList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__GroupMember(soap, &((ngwt__GroupMemberList*)this)->member); + /* transient soap skipped */ +} + +int ngwt__GroupMemberList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__GroupMemberList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__GroupMemberList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__GroupMemberList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMemberList(struct soap *soap, const char *tag, int id, const ngwt__GroupMemberList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__GroupMemberList), type); + soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(soap, "ngwt:member", -1, &(((ngwt__GroupMemberList*)a)->member), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__GroupMemberList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__GroupMemberList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_get_ngwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__GroupMemberList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__GroupMemberList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__GroupMemberList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_in_ngwt__GroupMemberList(struct soap *soap, const char *tag, ngwt__GroupMemberList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__GroupMemberList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__GroupMemberList, sizeof(ngwt__GroupMemberList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__GroupMemberList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__GroupMemberList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(soap, "ngwt:member", &(((ngwt__GroupMemberList*)a)->member), "ngwt:GroupMember")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__GroupMemberList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMemberList, 0, sizeof(ngwt__GroupMemberList), 0, soap_copy_ngwt__GroupMemberList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_new_ngwt__GroupMemberList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__GroupMemberList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_instantiate_ngwt__GroupMemberList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__GroupMemberList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__GroupMemberList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__GroupMemberList; + if (size) + *size = sizeof(ngwt__GroupMemberList); + ((ngwt__GroupMemberList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__GroupMemberList[n]; + if (size) + *size = n * sizeof(ngwt__GroupMemberList); + for (int i = 0; i < n; i++) + ((ngwt__GroupMemberList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__GroupMemberList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMemberList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__GroupMemberList %p -> %p\n", q, p)); + *(ngwt__GroupMemberList*)p = *(ngwt__GroupMemberList*)q; +} + +void ngwt__GroupMember::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__GroupMember*)this)->id, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__GroupMember*)this)->id); + soap_embedded(soap, &((ngwt__GroupMember*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__GroupMember*)this)->name); + soap_embedded(soap, &((ngwt__GroupMember*)this)->email, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__GroupMember*)this)->email); + soap_embedded(soap, &((ngwt__GroupMember*)this)->distType, SOAP_TYPE_ngwt__DistributionType); + soap_embedded(soap, &((ngwt__GroupMember*)this)->itemType, SOAP_TYPE_ngwt__ContactType); + soap_embedded(soap, &((ngwt__GroupMember*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList); + soap_serialize_PointerTongwt__GroupMemberList(soap, &((ngwt__GroupMember*)this)->members); + /* transient soap skipped */ +} + +void ngwt__GroupMember::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((ngwt__GroupMember*)this)->id); + ((ngwt__GroupMember*)this)->name = NULL; + soap_default_std__string(soap, &((ngwt__GroupMember*)this)->email); + ((ngwt__GroupMember*)this)->distType = (enum ngwt__DistributionType)0; + ((ngwt__GroupMember*)this)->itemType = (enum ngwt__ContactType)0; + ((ngwt__GroupMember*)this)->members = NULL; + /* transient soap skipped */ +} + +int ngwt__GroupMember::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__GroupMember); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__GroupMember::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__GroupMember(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMember(struct soap *soap, const char *tag, int id, const ngwt__GroupMember *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__GroupMember), type); + soap_out_ngwt__uid(soap, "ngwt:id", -1, &(((ngwt__GroupMember*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__GroupMember*)a)->name), ""); + soap_out_std__string(soap, "ngwt:email", -1, &(((ngwt__GroupMember*)a)->email), ""); + soap_out_ngwt__DistributionType(soap, "ngwt:distType", -1, &(((ngwt__GroupMember*)a)->distType), ""); + soap_out_ngwt__ContactType(soap, "ngwt:itemType", -1, &(((ngwt__GroupMember*)a)->itemType), ""); + soap_out_PointerTongwt__GroupMemberList(soap, "ngwt:members", -1, &(((ngwt__GroupMember*)a)->members), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__GroupMember::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__GroupMember(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_get_ngwt__GroupMember(struct soap *soap, ngwt__GroupMember *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__GroupMember(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__GroupMember::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__GroupMember(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_in_ngwt__GroupMember(struct soap *soap, const char *tag, ngwt__GroupMember *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__GroupMember *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__GroupMember, sizeof(ngwt__GroupMember), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__GroupMember) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__GroupMember *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_email1 = 1, soap_flag_distType1 = 1, soap_flag_itemType1 = 1, soap_flag_members1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:id", &(((ngwt__GroupMember*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__GroupMember*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_email1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:email", &(((ngwt__GroupMember*)a)->email), "")) + { soap_flag_email1 = 0; + continue; + } + if (soap_flag_distType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__DistributionType(soap, "ngwt:distType", &(((ngwt__GroupMember*)a)->distType), "")) + { soap_flag_distType1 = 0; + continue; + } + if (soap_flag_itemType1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__ContactType(soap, "ngwt:itemType", &(((ngwt__GroupMember*)a)->itemType), "")) + { soap_flag_itemType1 = 0; + continue; + } + if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwt:members", &(((ngwt__GroupMember*)a)->members), "ngwt:GroupMemberList")) + { soap_flag_members1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_id1 || soap_flag_email1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__GroupMember *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMember, 0, sizeof(ngwt__GroupMember), 0, soap_copy_ngwt__GroupMember); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_new_ngwt__GroupMember(struct soap *soap, int n) +{ return soap_instantiate_ngwt__GroupMember(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMember(struct soap *soap, ngwt__GroupMember *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_instantiate_ngwt__GroupMember(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__GroupMember(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__GroupMember, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__GroupMember; + if (size) + *size = sizeof(ngwt__GroupMember); + ((ngwt__GroupMember*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__GroupMember[n]; + if (size) + *size = n * sizeof(ngwt__GroupMember); + for (int i = 0; i < n; i++) + ((ngwt__GroupMember*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__GroupMember*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMember(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__GroupMember %p -> %p\n", q, p)); + *(ngwt__GroupMember*)p = *(ngwt__GroupMember*)q; +} + +void ngwt__Group::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Group*)this)->members, SOAP_TYPE_PointerTongwt__GroupMemberList); + soap_serialize_PointerTongwt__GroupMemberList(soap, &((ngwt__Group*)this)->members); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType); + soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Group::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Group*)this)->members = NULL; + ((ngwt__AddressBookItem*)this)->uuid = NULL; + ((ngwt__AddressBookItem*)this)->comment = NULL; + ((ngwt__AddressBookItem*)this)->sync = NULL; + ((ngwt__AddressBookItem*)this)->domain = NULL; + ((ngwt__AddressBookItem*)this)->postOffice = NULL; + ((ngwt__AddressBookItem*)this)->distinguishedName = NULL; + ((ngwt__AddressBookItem*)this)->userid = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Group::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Group); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Group::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Group(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Group(struct soap *soap, const char *tag, int id, const ngwt__Group *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Group), "ngwt:Group"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), ""); + soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), ""); + soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), ""); + soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), ""); + soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), ""); + soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), ""); + soap_out_PointerTongwt__GroupMemberList(soap, "ngwt:members", -1, &(((ngwt__Group*)a)->members), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Group::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Group(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_get_ngwt__Group(struct soap *soap, ngwt__Group *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Group(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Group::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Group(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_in_ngwt__Group(struct soap *soap, const char *tag, ngwt__Group *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Group *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Group, sizeof(ngwt__Group), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Group) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Group *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_members1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id4 = 0; + continue; + } + if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name4 = 0; + continue; + } + if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version4 = 0; + continue; + } + if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified4 = 0; + continue; + } + if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes4 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories3 = 0; + continue; + } + if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created3 = 0; + continue; + } + if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs3 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), "")) + { soap_flag_comment2 = 0; + continue; + } + if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), "")) + { soap_flag_sync2 = 0; + continue; + } + if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), "")) + { soap_flag_domain2 = 0; + continue; + } + if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), "")) + { soap_flag_postOffice2 = 0; + continue; + } + if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), "")) + { soap_flag_distinguishedName2 = 0; + continue; + } + if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), "")) + { soap_flag_userid2 = 0; + continue; + } + if (soap_flag_members1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__GroupMemberList(soap, "ngwt:members", &(((ngwt__Group*)a)->members), "ngwt:GroupMemberList")) + { soap_flag_members1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Group *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Group, 0, sizeof(ngwt__Group), 0, soap_copy_ngwt__Group); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_new_ngwt__Group(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Group(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Group(struct soap *soap, ngwt__Group *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_instantiate_ngwt__Group(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Group(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Group, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Group; + if (size) + *size = sizeof(ngwt__Group); + ((ngwt__Group*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Group[n]; + if (size) + *size = n * sizeof(ngwt__Group); + for (int i = 0; i < n; i++) + ((ngwt__Group*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Group*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Group(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Group %p -> %p\n", q, p)); + *(ngwt__Group*)p = *(ngwt__Group*)q; +} + +void ngwt__FullName::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FullName*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->displayName); + soap_embedded(soap, &((ngwt__FullName*)this)->namePrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->namePrefix); + soap_embedded(soap, &((ngwt__FullName*)this)->firstName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->firstName); + soap_embedded(soap, &((ngwt__FullName*)this)->middleName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->middleName); + soap_embedded(soap, &((ngwt__FullName*)this)->lastName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->lastName); + soap_embedded(soap, &((ngwt__FullName*)this)->nameSuffix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FullName*)this)->nameSuffix); + /* transient soap skipped */ +} + +void ngwt__FullName::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__FullName*)this)->displayName = NULL; + ((ngwt__FullName*)this)->namePrefix = NULL; + ((ngwt__FullName*)this)->firstName = NULL; + ((ngwt__FullName*)this)->middleName = NULL; + ((ngwt__FullName*)this)->lastName = NULL; + ((ngwt__FullName*)this)->nameSuffix = NULL; + /* transient soap skipped */ +} + +int ngwt__FullName::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FullName); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FullName::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FullName(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FullName(struct soap *soap, const char *tag, int id, const ngwt__FullName *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FullName), type); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__FullName*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:namePrefix", -1, &(((ngwt__FullName*)a)->namePrefix), ""); + soap_out_PointerTostd__string(soap, "ngwt:firstName", -1, &(((ngwt__FullName*)a)->firstName), ""); + soap_out_PointerTostd__string(soap, "ngwt:middleName", -1, &(((ngwt__FullName*)a)->middleName), ""); + soap_out_PointerTostd__string(soap, "ngwt:lastName", -1, &(((ngwt__FullName*)a)->lastName), ""); + soap_out_PointerTostd__string(soap, "ngwt:nameSuffix", -1, &(((ngwt__FullName*)a)->nameSuffix), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FullName::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FullName(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_get_ngwt__FullName(struct soap *soap, ngwt__FullName *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FullName(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FullName::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FullName(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_in_ngwt__FullName(struct soap *soap, const char *tag, ngwt__FullName *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FullName *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FullName, sizeof(ngwt__FullName), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FullName) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FullName *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName1 = 1, soap_flag_namePrefix1 = 1, soap_flag_firstName1 = 1, soap_flag_middleName1 = 1, soap_flag_lastName1 = 1, soap_flag_nameSuffix1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__FullName*)a)->displayName), "")) + { soap_flag_displayName1 = 0; + continue; + } + if (soap_flag_namePrefix1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:namePrefix", &(((ngwt__FullName*)a)->namePrefix), "")) + { soap_flag_namePrefix1 = 0; + continue; + } + if (soap_flag_firstName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:firstName", &(((ngwt__FullName*)a)->firstName), "")) + { soap_flag_firstName1 = 0; + continue; + } + if (soap_flag_middleName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:middleName", &(((ngwt__FullName*)a)->middleName), "")) + { soap_flag_middleName1 = 0; + continue; + } + if (soap_flag_lastName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:lastName", &(((ngwt__FullName*)a)->lastName), "")) + { soap_flag_lastName1 = 0; + continue; + } + if (soap_flag_nameSuffix1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:nameSuffix", &(((ngwt__FullName*)a)->nameSuffix), "")) + { soap_flag_nameSuffix1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FullName *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FullName, 0, sizeof(ngwt__FullName), 0, soap_copy_ngwt__FullName); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_new_ngwt__FullName(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FullName(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FullName(struct soap *soap, ngwt__FullName *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_instantiate_ngwt__FullName(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FullName(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FullName, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FullName; + if (size) + *size = sizeof(ngwt__FullName); + ((ngwt__FullName*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FullName[n]; + if (size) + *size = n * sizeof(ngwt__FullName); + for (int i = 0; i < n; i++) + ((ngwt__FullName*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FullName*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FullName(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FullName %p -> %p\n", q, p)); + *(ngwt__FullName*)p = *(ngwt__FullName*)q; +} + +void ngwt__From::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__From*)this)->replyTo, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__From*)this)->replyTo); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__From::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__From*)this)->replyTo = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__From::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__From); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__From::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__From(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__From(struct soap *soap, const char *tag, int id, const ngwt__From *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__From), "ngwt:From"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_PointerTostd__string(soap, "ngwt:replyTo", -1, &(((ngwt__From*)a)->replyTo), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__From::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__From(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_get_ngwt__From(struct soap *soap, ngwt__From *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__From(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__From::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__From(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_in_ngwt__From(struct soap *soap, const char *tag, ngwt__From *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__From *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__From, sizeof(ngwt__From), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__From) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__From *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_replyTo1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName2 = 0; + continue; + } + if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email2 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_replyTo1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:replyTo", &(((ngwt__From*)a)->replyTo), "")) + { soap_flag_replyTo1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__From *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__From, 0, sizeof(ngwt__From), 0, soap_copy_ngwt__From); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_new_ngwt__From(struct soap *soap, int n) +{ return soap_instantiate_ngwt__From(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__From(struct soap *soap, ngwt__From *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_instantiate_ngwt__From(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__From(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__From, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__From; + if (size) + *size = sizeof(ngwt__From); + ((ngwt__From*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__From[n]; + if (size) + *size = n * sizeof(ngwt__From); + for (int i = 0; i < n; i++) + ((ngwt__From*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__From*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__From(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__From %p -> %p\n", q, p)); + *(ngwt__From*)p = *(ngwt__From*)q; +} + +void ngwt__FreeBusyStats::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FreeBusyStats*)this)->responded, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__FreeBusyStats*)this)->outstanding, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__FreeBusyStats*)this)->total, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void ngwt__FreeBusyStats::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_int(soap, &((ngwt__FreeBusyStats*)this)->responded); + soap_default_int(soap, &((ngwt__FreeBusyStats*)this)->outstanding); + soap_default_int(soap, &((ngwt__FreeBusyStats*)this)->total); + /* transient soap skipped */ +} + +int ngwt__FreeBusyStats::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyStats); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FreeBusyStats::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FreeBusyStats(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyStats(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyStats *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyStats), type); + soap_out_int(soap, "ngwt:responded", -1, &(((ngwt__FreeBusyStats*)a)->responded), ""); + soap_out_int(soap, "ngwt:outstanding", -1, &(((ngwt__FreeBusyStats*)a)->outstanding), ""); + soap_out_int(soap, "ngwt:total", -1, &(((ngwt__FreeBusyStats*)a)->total), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FreeBusyStats::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FreeBusyStats(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_get_ngwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FreeBusyStats(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FreeBusyStats::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FreeBusyStats(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_in_ngwt__FreeBusyStats(struct soap *soap, const char *tag, ngwt__FreeBusyStats *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FreeBusyStats *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyStats, sizeof(ngwt__FreeBusyStats), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyStats) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FreeBusyStats *)a->soap_in(soap, tag, type); + } + } + short soap_flag_responded1 = 1, soap_flag_outstanding1 = 1, soap_flag_total1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_responded1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:responded", &(((ngwt__FreeBusyStats*)a)->responded), "")) + { soap_flag_responded1 = 0; + continue; + } + if (soap_flag_outstanding1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:outstanding", &(((ngwt__FreeBusyStats*)a)->outstanding), "")) + { soap_flag_outstanding1 = 0; + continue; + } + if (soap_flag_total1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:total", &(((ngwt__FreeBusyStats*)a)->total), "")) + { soap_flag_total1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_responded1 || soap_flag_outstanding1 || soap_flag_total1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FreeBusyStats *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyStats, 0, sizeof(ngwt__FreeBusyStats), 0, soap_copy_ngwt__FreeBusyStats); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_new_ngwt__FreeBusyStats(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FreeBusyStats(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyStats(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyStats(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyStats, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyStats; + if (size) + *size = sizeof(ngwt__FreeBusyStats); + ((ngwt__FreeBusyStats*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyStats[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyStats); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyStats*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyStats*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyStats(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyStats %p -> %p\n", q, p)); + *(ngwt__FreeBusyStats*)p = *(ngwt__FreeBusyStats*)q; +} + +void ngwt__FreeBusyInfoList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, &((ngwt__FreeBusyInfoList*)this)->user); + /* transient soap skipped */ +} + +void ngwt__FreeBusyInfoList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, &((ngwt__FreeBusyInfoList*)this)->user); + /* transient soap skipped */ +} + +int ngwt__FreeBusyInfoList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyInfoList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FreeBusyInfoList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FreeBusyInfoList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfoList(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyInfoList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyInfoList), type); + soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, "ngwt:user", -1, &(((ngwt__FreeBusyInfoList*)a)->user), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FreeBusyInfoList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FreeBusyInfoList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FreeBusyInfoList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FreeBusyInfoList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FreeBusyInfoList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfoList(struct soap *soap, const char *tag, ngwt__FreeBusyInfoList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FreeBusyInfoList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyInfoList, sizeof(ngwt__FreeBusyInfoList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyInfoList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FreeBusyInfoList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, "ngwt:user", &(((ngwt__FreeBusyInfoList*)a)->user), "ngwt:FreeBusyInfo")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FreeBusyInfoList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfoList, 0, sizeof(ngwt__FreeBusyInfoList), 0, soap_copy_ngwt__FreeBusyInfoList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfoList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FreeBusyInfoList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfoList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyInfoList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyInfoList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyInfoList; + if (size) + *size = sizeof(ngwt__FreeBusyInfoList); + ((ngwt__FreeBusyInfoList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyInfoList[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyInfoList); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyInfoList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyInfoList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfoList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyInfoList %p -> %p\n", q, p)); + *(ngwt__FreeBusyInfoList*)p = *(ngwt__FreeBusyInfoList*)q; +} + +void ngwt__FreeBusyUserList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, &((ngwt__FreeBusyUserList*)this)->user); + /* transient soap skipped */ +} + +void ngwt__FreeBusyUserList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, &((ngwt__FreeBusyUserList*)this)->user); + /* transient soap skipped */ +} + +int ngwt__FreeBusyUserList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyUserList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FreeBusyUserList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FreeBusyUserList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyUserList(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyUserList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyUserList), type); + soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, "ngwt:user", -1, &(((ngwt__FreeBusyUserList*)a)->user), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FreeBusyUserList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FreeBusyUserList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_get_ngwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FreeBusyUserList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FreeBusyUserList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FreeBusyUserList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_in_ngwt__FreeBusyUserList(struct soap *soap, const char *tag, ngwt__FreeBusyUserList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FreeBusyUserList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyUserList, sizeof(ngwt__FreeBusyUserList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyUserList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FreeBusyUserList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, "ngwt:user", &(((ngwt__FreeBusyUserList*)a)->user), "ngwt:NameAndEmail")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FreeBusyUserList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyUserList, 0, sizeof(ngwt__FreeBusyUserList), 0, soap_copy_ngwt__FreeBusyUserList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_new_ngwt__FreeBusyUserList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FreeBusyUserList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyUserList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyUserList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyUserList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyUserList; + if (size) + *size = sizeof(ngwt__FreeBusyUserList); + ((ngwt__FreeBusyUserList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyUserList[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyUserList); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyUserList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyUserList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyUserList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyUserList %p -> %p\n", q, p)); + *(ngwt__FreeBusyUserList*)p = *(ngwt__FreeBusyUserList*)q; +} + +void ngwt__FreeBusyInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FreeBusyInfo*)this)->blocks, SOAP_TYPE_PointerTongwt__FreeBusyBlockList); + soap_serialize_PointerTongwt__FreeBusyBlockList(soap, &((ngwt__FreeBusyInfo*)this)->blocks); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__FreeBusyInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__FreeBusyInfo*)this)->blocks = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__FreeBusyInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FreeBusyInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FreeBusyInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfo(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyInfo), "ngwt:FreeBusyInfo"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_PointerTongwt__FreeBusyBlockList(soap, "ngwt:blocks", -1, &(((ngwt__FreeBusyInfo*)a)->blocks), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FreeBusyInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FreeBusyInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FreeBusyInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FreeBusyInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FreeBusyInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfo(struct soap *soap, const char *tag, ngwt__FreeBusyInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FreeBusyInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyInfo, sizeof(ngwt__FreeBusyInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FreeBusyInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_blocks1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName2 = 0; + continue; + } + if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email2 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_blocks1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FreeBusyBlockList(soap, "ngwt:blocks", &(((ngwt__FreeBusyInfo*)a)->blocks), "ngwt:FreeBusyBlockList")) + { soap_flag_blocks1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_blocks1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FreeBusyInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfo, 0, sizeof(ngwt__FreeBusyInfo), 0, soap_copy_ngwt__FreeBusyInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FreeBusyInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyInfo; + if (size) + *size = sizeof(ngwt__FreeBusyInfo); + ((ngwt__FreeBusyInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyInfo[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyInfo); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyInfo %p -> %p\n", q, p)); + *(ngwt__FreeBusyInfo*)p = *(ngwt__FreeBusyInfo*)q; +} + +void ngwt__FreeBusyBlock::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->startDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__FreeBusyBlock*)this)->startDate); + soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->endDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__FreeBusyBlock*)this)->endDate); + soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel); + soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__FreeBusyBlock*)this)->acceptLevel); + soap_embedded(soap, &((ngwt__FreeBusyBlock*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FreeBusyBlock*)this)->subject); + /* transient soap skipped */ +} + +void ngwt__FreeBusyBlock::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((ngwt__FreeBusyBlock*)this)->startDate); + soap_default_string(soap, &((ngwt__FreeBusyBlock*)this)->endDate); + ((ngwt__FreeBusyBlock*)this)->acceptLevel = NULL; + ((ngwt__FreeBusyBlock*)this)->subject = NULL; + /* transient soap skipped */ +} + +int ngwt__FreeBusyBlock::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyBlock); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FreeBusyBlock::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FreeBusyBlock(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlock(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyBlock *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyBlock), type); + soap_out_string(soap, "ngwt:startDate", -1, &(((ngwt__FreeBusyBlock*)a)->startDate), ""); + soap_out_string(soap, "ngwt:endDate", -1, &(((ngwt__FreeBusyBlock*)a)->endDate), ""); + soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__FreeBusyBlock*)a)->acceptLevel), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__FreeBusyBlock*)a)->subject), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FreeBusyBlock::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FreeBusyBlock(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FreeBusyBlock(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FreeBusyBlock::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FreeBusyBlock(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlock(struct soap *soap, const char *tag, ngwt__FreeBusyBlock *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FreeBusyBlock *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyBlock, sizeof(ngwt__FreeBusyBlock), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyBlock) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FreeBusyBlock *)a->soap_in(soap, tag, type); + } + } + short soap_flag_startDate1 = 1, soap_flag_endDate1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_subject1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:startDate", &(((ngwt__FreeBusyBlock*)a)->startDate), "")) + { soap_flag_startDate1 = 0; + continue; + } + if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:endDate", &(((ngwt__FreeBusyBlock*)a)->endDate), "")) + { soap_flag_endDate1 = 0; + continue; + } + if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__FreeBusyBlock*)a)->acceptLevel), "")) + { soap_flag_acceptLevel1 = 0; + continue; + } + if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__FreeBusyBlock*)a)->subject), "")) + { soap_flag_subject1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_startDate1 || soap_flag_endDate1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FreeBusyBlock *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlock, 0, sizeof(ngwt__FreeBusyBlock), 0, soap_copy_ngwt__FreeBusyBlock); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlock(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FreeBusyBlock(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlock(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyBlock(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyBlock, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyBlock; + if (size) + *size = sizeof(ngwt__FreeBusyBlock); + ((ngwt__FreeBusyBlock*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyBlock[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyBlock); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyBlock*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyBlock*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlock(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyBlock %p -> %p\n", q, p)); + *(ngwt__FreeBusyBlock*)p = *(ngwt__FreeBusyBlock*)q; +} + +void ngwt__FreeBusyBlockList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, &((ngwt__FreeBusyBlockList*)this)->block); + /* transient soap skipped */ +} + +void ngwt__FreeBusyBlockList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, &((ngwt__FreeBusyBlockList*)this)->block); + /* transient soap skipped */ +} + +int ngwt__FreeBusyBlockList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FreeBusyBlockList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FreeBusyBlockList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FreeBusyBlockList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlockList(struct soap *soap, const char *tag, int id, const ngwt__FreeBusyBlockList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FreeBusyBlockList), type); + soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, "ngwt:block", -1, &(((ngwt__FreeBusyBlockList*)a)->block), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FreeBusyBlockList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FreeBusyBlockList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FreeBusyBlockList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FreeBusyBlockList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FreeBusyBlockList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlockList(struct soap *soap, const char *tag, ngwt__FreeBusyBlockList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FreeBusyBlockList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FreeBusyBlockList, sizeof(ngwt__FreeBusyBlockList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FreeBusyBlockList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FreeBusyBlockList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, "ngwt:block", &(((ngwt__FreeBusyBlockList*)a)->block), "ngwt:FreeBusyBlock")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FreeBusyBlockList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlockList, 0, sizeof(ngwt__FreeBusyBlockList), 0, soap_copy_ngwt__FreeBusyBlockList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlockList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FreeBusyBlockList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlockList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FreeBusyBlockList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FreeBusyBlockList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FreeBusyBlockList; + if (size) + *size = sizeof(ngwt__FreeBusyBlockList); + ((ngwt__FreeBusyBlockList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FreeBusyBlockList[n]; + if (size) + *size = n * sizeof(ngwt__FreeBusyBlockList); + for (int i = 0; i < n; i++) + ((ngwt__FreeBusyBlockList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FreeBusyBlockList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlockList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FreeBusyBlockList %p -> %p\n", q, p)); + *(ngwt__FreeBusyBlockList*)p = *(ngwt__FreeBusyBlockList*)q; +} + +void ngwt__FolderList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Folder(soap, &((ngwt__FolderList*)this)->folder); + /* transient soap skipped */ +} + +void ngwt__FolderList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Folder(soap, &((ngwt__FolderList*)this)->folder); + /* transient soap skipped */ +} + +int ngwt__FolderList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FolderList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FolderList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FolderList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderList(struct soap *soap, const char *tag, int id, const ngwt__FolderList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Folder(soap, "ngwt:folder", -1, &(((ngwt__FolderList*)a)->folder), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FolderList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FolderList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_get_ngwt__FolderList(struct soap *soap, ngwt__FolderList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FolderList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FolderList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FolderList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_in_ngwt__FolderList(struct soap *soap, const char *tag, ngwt__FolderList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FolderList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderList, sizeof(ngwt__FolderList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FolderList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FolderList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Folder(soap, "ngwt:folder", &(((ngwt__FolderList*)a)->folder), "ngwt:Folder")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FolderList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderList, 0, sizeof(ngwt__FolderList), 0, soap_copy_ngwt__FolderList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_new_ngwt__FolderList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FolderList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderList(struct soap *soap, ngwt__FolderList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_instantiate_ngwt__FolderList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FolderList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FolderList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FolderList; + if (size) + *size = sizeof(ngwt__FolderList); + ((ngwt__FolderList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FolderList[n]; + if (size) + *size = n * sizeof(ngwt__FolderList); + for (int i = 0; i < n; i++) + ((ngwt__FolderList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FolderList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FolderList %p -> %p\n", q, p)); + *(ngwt__FolderList*)p = *(ngwt__FolderList*)q; +} + +void ngwt__FolderACLEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FolderACLEntry*)this)->status, SOAP_TYPE_PointerTongwt__FolderACLStatus); + soap_serialize_PointerTongwt__FolderACLStatus(soap, &((ngwt__FolderACLEntry*)this)->status); + soap_embedded(soap, &((ngwt__AccessControlListEntry*)this)->rights, SOAP_TYPE_PointerTongwt__Rights); + soap_serialize_PointerTongwt__Rights(soap, &((ngwt__AccessControlListEntry*)this)->rights); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__FolderACLEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__FolderACLEntry*)this)->status = NULL; + ((ngwt__AccessControlListEntry*)this)->rights = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__FolderACLEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FolderACLEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FolderACLEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FolderACLEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLEntry(struct soap *soap, const char *tag, int id, const ngwt__FolderACLEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderACLEntry), "ngwt:FolderACLEntry"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__AccessControlListEntry*)a)->rights), ""); + soap_out_PointerTongwt__FolderACLStatus(soap, "ngwt:status", -1, &(((ngwt__FolderACLEntry*)a)->status), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FolderACLEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FolderACLEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_get_ngwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FolderACLEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FolderACLEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FolderACLEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_in_ngwt__FolderACLEntry(struct soap *soap, const char *tag, ngwt__FolderACLEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FolderACLEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderACLEntry, sizeof(ngwt__FolderACLEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FolderACLEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FolderACLEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName3 = 1, soap_flag_email3 = 1, soap_flag_uuid3 = 1, soap_flag_rights2 = 1, soap_flag_status1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName3 = 0; + continue; + } + if (soap_flag_email3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email3 = 0; + continue; + } + if (soap_flag_uuid3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid3 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_rights2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__AccessControlListEntry*)a)->rights), "ngwt:Rights")) + { soap_flag_rights2 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderACLStatus(soap, "ngwt:status", &(((ngwt__FolderACLEntry*)a)->status), "")) + { soap_flag_status1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_rights2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FolderACLEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLEntry, 0, sizeof(ngwt__FolderACLEntry), 0, soap_copy_ngwt__FolderACLEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_new_ngwt__FolderACLEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FolderACLEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_instantiate_ngwt__FolderACLEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FolderACLEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FolderACLEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FolderACLEntry; + if (size) + *size = sizeof(ngwt__FolderACLEntry); + ((ngwt__FolderACLEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FolderACLEntry[n]; + if (size) + *size = n * sizeof(ngwt__FolderACLEntry); + for (int i = 0; i < n; i++) + ((ngwt__FolderACLEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FolderACLEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACLEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FolderACLEntry %p -> %p\n", q, p)); + *(ngwt__FolderACLEntry*)p = *(ngwt__FolderACLEntry*)q; +} + +void ngwt__FolderACL::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, &((ngwt__FolderACL*)this)->entry); + /* transient soap skipped */ +} + +void ngwt__FolderACL::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, &((ngwt__FolderACL*)this)->entry); + /* transient soap skipped */ +} + +int ngwt__FolderACL::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FolderACL); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FolderACL::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FolderACL(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACL(struct soap *soap, const char *tag, int id, const ngwt__FolderACL *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FolderACL), type); + soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, "ngwt:entry", -1, &(((ngwt__FolderACL*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FolderACL::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FolderACL(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_get_ngwt__FolderACL(struct soap *soap, ngwt__FolderACL *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FolderACL(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FolderACL::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FolderACL(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_in_ngwt__FolderACL(struct soap *soap, const char *tag, ngwt__FolderACL *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FolderACL *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FolderACL, sizeof(ngwt__FolderACL), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FolderACL) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FolderACL *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, "ngwt:entry", &(((ngwt__FolderACL*)a)->entry), "ngwt:FolderACLEntry")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FolderACL *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACL, 0, sizeof(ngwt__FolderACL), 0, soap_copy_ngwt__FolderACL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_new_ngwt__FolderACL(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FolderACL(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACL(struct soap *soap, ngwt__FolderACL *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_instantiate_ngwt__FolderACL(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FolderACL(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FolderACL, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FolderACL; + if (size) + *size = sizeof(ngwt__FolderACL); + ((ngwt__FolderACL*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FolderACL[n]; + if (size) + *size = n * sizeof(ngwt__FolderACL); + for (int i = 0; i < n; i++) + ((ngwt__FolderACL*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FolderACL*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACL(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FolderACL %p -> %p\n", q, p)); + *(ngwt__FolderACL*)p = *(ngwt__FolderACL*)q; +} + +void ngwt__Folder::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description); + soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count); + soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread); + soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount); + soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence); + soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings); + soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute); + soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Folder::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + ((ngwt__Folder*)this)->description = NULL; + ((ngwt__Folder*)this)->count = NULL; + ((ngwt__Folder*)this)->hasUnread = NULL; + ((ngwt__Folder*)this)->unreadCount = NULL; + ((ngwt__Folder*)this)->sequence = NULL; + ((ngwt__Folder*)this)->settings = NULL; + ((ngwt__Folder*)this)->calendarAttribute = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Folder::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Folder); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Folder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Folder(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Folder(struct soap *soap, const char *tag, int id, const ngwt__Folder *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Folder), "ngwt:Folder"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), ""); + soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), ""); + soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), ""); + soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), ""); + soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Folder::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Folder(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_get_ngwt__Folder(struct soap *soap, ngwt__Folder *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Folder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Folder::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Folder(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_in_ngwt__Folder(struct soap *soap, const char *tag, ngwt__Folder *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Folder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Folder, sizeof(ngwt__Folder), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Folder) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Folder *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_parent1 = 1, soap_flag_description1 = 1, soap_flag_count1 = 1, soap_flag_hasUnread1 = 1, soap_flag_unreadCount1 = 1, soap_flag_sequence1 = 1, soap_flag_settings1 = 1, soap_flag_calendarAttribute1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id2 = 0; + continue; + } + if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name2 = 0; + continue; + } + if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version2 = 0; + continue; + } + if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified2 = 0; + continue; + } + if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_parent1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid")) + { soap_flag_parent1 = 0; + continue; + } + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + if (soap_flag_hasUnread1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), "")) + { soap_flag_hasUnread1 = 0; + continue; + } + if (soap_flag_unreadCount1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), "")) + { soap_flag_unreadCount1 = 0; + continue; + } + if (soap_flag_sequence1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), "")) + { soap_flag_sequence1 = 0; + continue; + } + if (soap_flag_settings1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid")) + { soap_flag_settings1 = 0; + continue; + } + if (soap_flag_calendarAttribute1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute")) + { soap_flag_calendarAttribute1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Folder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Folder, 0, sizeof(ngwt__Folder), 0, soap_copy_ngwt__Folder); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_new_ngwt__Folder(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Folder(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Folder(struct soap *soap, ngwt__Folder *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_instantiate_ngwt__Folder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Folder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Folder, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:QueryFolder")) + { cp->type = SOAP_TYPE_ngwt__QueryFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__QueryFolder; + if (size) + *size = sizeof(ngwt__QueryFolder); + ((ngwt__QueryFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__QueryFolder[n]; + if (size) + *size = n * sizeof(ngwt__QueryFolder); + for (int i = 0; i < n; i++) + ((ngwt__QueryFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__QueryFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SharedFolder")) + { cp->type = SOAP_TYPE_ngwt__SharedFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedFolder; + if (size) + *size = sizeof(ngwt__SharedFolder); + ((ngwt__SharedFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedFolder[n]; + if (size) + *size = n * sizeof(ngwt__SharedFolder); + for (int i = 0; i < n; i++) + ((ngwt__SharedFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SystemFolder")) + { cp->type = SOAP_TYPE_ngwt__SystemFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__SystemFolder; + if (size) + *size = sizeof(ngwt__SystemFolder); + ((ngwt__SystemFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SystemFolder[n]; + if (size) + *size = n * sizeof(ngwt__SystemFolder); + for (int i = 0; i < n; i++) + ((ngwt__SystemFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SystemFolder*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:ContactFolder")) + { cp->type = SOAP_TYPE_ngwt__ContactFolder; + if (n < 0) + { cp->ptr = (void*)new ngwt__ContactFolder; + if (size) + *size = sizeof(ngwt__ContactFolder); + ((ngwt__ContactFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContactFolder[n]; + if (size) + *size = n * sizeof(ngwt__ContactFolder); + for (int i = 0; i < n; i++) + ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContactFolder*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__Folder; + if (size) + *size = sizeof(ngwt__Folder); + ((ngwt__Folder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Folder[n]; + if (size) + *size = n * sizeof(ngwt__Folder); + for (int i = 0; i < n; i++) + ((ngwt__Folder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Folder*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Folder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Folder %p -> %p\n", q, p)); + *(ngwt__Folder*)p = *(ngwt__Folder*)q; +} + +void ngwt__FilterGroup::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__FilterElement(soap, &((ngwt__FilterGroup*)this)->element); + soap_embedded(soap, &((ngwt__FilterElement*)this)->op, SOAP_TYPE_ngwt__FilterOp); + /* transient soap skipped */ +} + +void ngwt__FilterGroup::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__FilterElement(soap, &((ngwt__FilterGroup*)this)->element); + soap_default_ngwt__FilterOp(soap, &((ngwt__FilterElement*)this)->op); + /* transient soap skipped */ +} + +int ngwt__FilterGroup::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FilterGroup); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FilterGroup::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FilterGroup(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterGroup(struct soap *soap, const char *tag, int id, const ngwt__FilterGroup *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterGroup), "ngwt:FilterGroup"); + soap_out_ngwt__FilterOp(soap, "ngwt:op", -1, &(((ngwt__FilterElement*)a)->op), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(soap, "ngwt:element", -1, &(((ngwt__FilterGroup*)a)->element), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FilterGroup::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FilterGroup(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_get_ngwt__FilterGroup(struct soap *soap, ngwt__FilterGroup *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FilterGroup(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FilterGroup::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FilterGroup(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_in_ngwt__FilterGroup(struct soap *soap, const char *tag, ngwt__FilterGroup *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FilterGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterGroup, sizeof(ngwt__FilterGroup), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FilterGroup) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FilterGroup *)a->soap_in(soap, tag, type); + } + } + short soap_flag_op2 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_op2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__FilterOp(soap, "ngwt:op", &(((ngwt__FilterElement*)a)->op), "")) + { soap_flag_op2 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(soap, "ngwt:element", &(((ngwt__FilterGroup*)a)->element), "ngwt:FilterElement")) + continue; + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_op2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FilterGroup *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterGroup, 0, sizeof(ngwt__FilterGroup), 0, soap_copy_ngwt__FilterGroup); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_new_ngwt__FilterGroup(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FilterGroup(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterGroup(struct soap *soap, ngwt__FilterGroup *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_instantiate_ngwt__FilterGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FilterGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FilterGroup, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FilterGroup; + if (size) + *size = sizeof(ngwt__FilterGroup); + ((ngwt__FilterGroup*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FilterGroup[n]; + if (size) + *size = n * sizeof(ngwt__FilterGroup); + for (int i = 0; i < n; i++) + ((ngwt__FilterGroup*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FilterGroup*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterGroup(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FilterGroup %p -> %p\n", q, p)); + *(ngwt__FilterGroup*)p = *(ngwt__FilterGroup*)q; +} + +void ngwt__FilterEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FilterEntry*)this)->field, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FilterEntry*)this)->field); + soap_embedded(soap, &((ngwt__FilterEntry*)this)->custom, SOAP_TYPE_PointerTongwt__Custom); + soap_serialize_PointerTongwt__Custom(soap, &((ngwt__FilterEntry*)this)->custom); + soap_embedded(soap, &((ngwt__FilterEntry*)this)->value, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__FilterEntry*)this)->value); + soap_embedded(soap, &((ngwt__FilterEntry*)this)->date, SOAP_TYPE_PointerTongwt__FilterDate); + soap_serialize_PointerTongwt__FilterDate(soap, &((ngwt__FilterEntry*)this)->date); + soap_embedded(soap, &((ngwt__FilterElement*)this)->op, SOAP_TYPE_ngwt__FilterOp); + /* transient soap skipped */ +} + +void ngwt__FilterEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__FilterEntry*)this)->field = NULL; + ((ngwt__FilterEntry*)this)->custom = NULL; + ((ngwt__FilterEntry*)this)->value = NULL; + ((ngwt__FilterEntry*)this)->date = NULL; + soap_default_ngwt__FilterOp(soap, &((ngwt__FilterElement*)this)->op); + /* transient soap skipped */ +} + +int ngwt__FilterEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FilterEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FilterEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FilterEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterEntry(struct soap *soap, const char *tag, int id, const ngwt__FilterEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterEntry), "ngwt:FilterEntry"); + soap_out_ngwt__FilterOp(soap, "ngwt:op", -1, &(((ngwt__FilterElement*)a)->op), ""); + /* transient soap skipped */ + soap_out_PointerTostd__string(soap, "ngwt:field", -1, &(((ngwt__FilterEntry*)a)->field), ""); + soap_out_PointerTongwt__Custom(soap, "ngwt:custom", -1, &(((ngwt__FilterEntry*)a)->custom), ""); + soap_out_PointerTostd__string(soap, "ngwt:value", -1, &(((ngwt__FilterEntry*)a)->value), ""); + soap_out_PointerTongwt__FilterDate(soap, "ngwt:date", -1, &(((ngwt__FilterEntry*)a)->date), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FilterEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FilterEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_get_ngwt__FilterEntry(struct soap *soap, ngwt__FilterEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FilterEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FilterEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FilterEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_in_ngwt__FilterEntry(struct soap *soap, const char *tag, ngwt__FilterEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FilterEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterEntry, sizeof(ngwt__FilterEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FilterEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FilterEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_op2 = 1, soap_flag_field1 = 1, soap_flag_custom1 = 1, soap_flag_value1 = 1, soap_flag_date1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_op2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__FilterOp(soap, "ngwt:op", &(((ngwt__FilterElement*)a)->op), "")) + { soap_flag_op2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_field1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:field", &(((ngwt__FilterEntry*)a)->field), "")) + { soap_flag_field1 = 0; + continue; + } + if (soap_flag_custom1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Custom(soap, "ngwt:custom", &(((ngwt__FilterEntry*)a)->custom), "ngwt:Custom")) + { soap_flag_custom1 = 0; + continue; + } + if (soap_flag_value1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:value", &(((ngwt__FilterEntry*)a)->value), "")) + { soap_flag_value1 = 0; + continue; + } + if (soap_flag_date1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FilterDate(soap, "ngwt:date", &(((ngwt__FilterEntry*)a)->date), "")) + { soap_flag_date1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_op2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FilterEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterEntry, 0, sizeof(ngwt__FilterEntry), 0, soap_copy_ngwt__FilterEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_new_ngwt__FilterEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FilterEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterEntry(struct soap *soap, ngwt__FilterEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_instantiate_ngwt__FilterEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FilterEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FilterEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__FilterEntry; + if (size) + *size = sizeof(ngwt__FilterEntry); + ((ngwt__FilterEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FilterEntry[n]; + if (size) + *size = n * sizeof(ngwt__FilterEntry); + for (int i = 0; i < n; i++) + ((ngwt__FilterEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FilterEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FilterEntry %p -> %p\n", q, p)); + *(ngwt__FilterEntry*)p = *(ngwt__FilterEntry*)q; +} + +void ngwt__FilterElement::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__FilterElement*)this)->op, SOAP_TYPE_ngwt__FilterOp); + /* transient soap skipped */ +} + +void ngwt__FilterElement::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__FilterOp(soap, &((ngwt__FilterElement*)this)->op); + /* transient soap skipped */ +} + +int ngwt__FilterElement::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__FilterElement); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__FilterElement::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__FilterElement(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterElement(struct soap *soap, const char *tag, int id, const ngwt__FilterElement *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__FilterElement), type); + soap_out_ngwt__FilterOp(soap, "ngwt:op", -1, &(((ngwt__FilterElement*)a)->op), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__FilterElement::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__FilterElement(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_get_ngwt__FilterElement(struct soap *soap, ngwt__FilterElement *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__FilterElement(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__FilterElement::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__FilterElement(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_in_ngwt__FilterElement(struct soap *soap, const char *tag, ngwt__FilterElement *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__FilterElement *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__FilterElement, sizeof(ngwt__FilterElement), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__FilterElement) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__FilterElement *)a->soap_in(soap, tag, type); + } + } + short soap_flag_op1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_op1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_ngwt__FilterOp(soap, "ngwt:op", &(((ngwt__FilterElement*)a)->op), "")) + { soap_flag_op1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_op1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__FilterElement *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterElement, 0, sizeof(ngwt__FilterElement), 0, soap_copy_ngwt__FilterElement); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_new_ngwt__FilterElement(struct soap *soap, int n) +{ return soap_instantiate_ngwt__FilterElement(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterElement(struct soap *soap, ngwt__FilterElement *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_instantiate_ngwt__FilterElement(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__FilterElement(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__FilterElement, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:FilterEntry")) + { cp->type = SOAP_TYPE_ngwt__FilterEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__FilterEntry; + if (size) + *size = sizeof(ngwt__FilterEntry); + ((ngwt__FilterEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FilterEntry[n]; + if (size) + *size = n * sizeof(ngwt__FilterEntry); + for (int i = 0; i < n; i++) + ((ngwt__FilterEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FilterEntry*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:FilterGroup")) + { cp->type = SOAP_TYPE_ngwt__FilterGroup; + if (n < 0) + { cp->ptr = (void*)new ngwt__FilterGroup; + if (size) + *size = sizeof(ngwt__FilterGroup); + ((ngwt__FilterGroup*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FilterGroup[n]; + if (size) + *size = n * sizeof(ngwt__FilterGroup); + for (int i = 0; i < n; i++) + ((ngwt__FilterGroup*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FilterGroup*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__FilterElement; + if (size) + *size = sizeof(ngwt__FilterElement); + ((ngwt__FilterElement*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FilterElement[n]; + if (size) + *size = n * sizeof(ngwt__FilterElement); + for (int i = 0; i < n; i++) + ((ngwt__FilterElement*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FilterElement*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterElement(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__FilterElement %p -> %p\n", q, p)); + *(ngwt__FilterElement*)p = *(ngwt__FilterElement*)q; +} + +void ngwt__Filter::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Filter*)this)->element, SOAP_TYPE_PointerTongwt__FilterElement); + soap_serialize_PointerTongwt__FilterElement(soap, &((ngwt__Filter*)this)->element); + /* transient soap skipped */ +} + +void ngwt__Filter::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Filter*)this)->element = NULL; + /* transient soap skipped */ +} + +int ngwt__Filter::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Filter); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Filter::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Filter(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Filter(struct soap *soap, const char *tag, int id, const ngwt__Filter *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Filter), type); + soap_out_PointerTongwt__FilterElement(soap, "ngwt:element", -1, &(((ngwt__Filter*)a)->element), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Filter::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Filter(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_get_ngwt__Filter(struct soap *soap, ngwt__Filter *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Filter(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Filter::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Filter(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_in_ngwt__Filter(struct soap *soap, const char *tag, ngwt__Filter *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Filter *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Filter, sizeof(ngwt__Filter), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Filter) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Filter *)a->soap_in(soap, tag, type); + } + } + short soap_flag_element1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_element1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FilterElement(soap, "ngwt:element", &(((ngwt__Filter*)a)->element), "ngwt:FilterElement")) + { soap_flag_element1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Filter *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Filter, 0, sizeof(ngwt__Filter), 0, soap_copy_ngwt__Filter); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_new_ngwt__Filter(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Filter(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Filter(struct soap *soap, ngwt__Filter *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_instantiate_ngwt__Filter(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Filter(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Filter, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Filter; + if (size) + *size = sizeof(ngwt__Filter); + ((ngwt__Filter*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Filter[n]; + if (size) + *size = n * sizeof(ngwt__Filter); + for (int i = 0; i < n; i++) + ((ngwt__Filter*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Filter*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Filter(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Filter %p -> %p\n", q, p)); + *(ngwt__Filter*)p = *(ngwt__Filter*)q; +} + +void ngwt__EmailAddressList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfstd__string(soap, &((ngwt__EmailAddressList*)this)->email); + /* transient soap skipped */ +} + +void ngwt__EmailAddressList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfstd__string(soap, &((ngwt__EmailAddressList*)this)->email); + ((ngwt__EmailAddressList*)this)->primary = NULL; + /* transient soap skipped */ +} + +int ngwt__EmailAddressList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__EmailAddressList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__EmailAddressList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__EmailAddressList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__EmailAddressList(struct soap *soap, const char *tag, int id, const ngwt__EmailAddressList *a, const char *type) +{ + if (((ngwt__EmailAddressList *)a)->primary) + soap_set_attr(soap, "primary", ((ngwt__EmailAddressList *)a)->primary->c_str()); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__EmailAddressList), type); + soap_out_std__vectorTemplateOfstd__string(soap, "ngwt:email", -1, &(((ngwt__EmailAddressList*)a)->email), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__EmailAddressList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__EmailAddressList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_get_ngwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__EmailAddressList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__EmailAddressList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__EmailAddressList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_in_ngwt__EmailAddressList(struct soap *soap, const char *tag, ngwt__EmailAddressList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__EmailAddressList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__EmailAddressList, sizeof(ngwt__EmailAddressList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__EmailAddressList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__EmailAddressList *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "primary", 0); + if (t) + { if (!(((ngwt__EmailAddressList *)a)->primary = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__EmailAddressList *)a)->primary = soap_new_std__string(soap, -1); + ((ngwt__EmailAddressList *)a)->primary->assign(s); + } + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfstd__string(soap, "ngwt:email", &(((ngwt__EmailAddressList*)a)->email), "")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__EmailAddressList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__EmailAddressList, 0, sizeof(ngwt__EmailAddressList), 0, soap_copy_ngwt__EmailAddressList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_new_ngwt__EmailAddressList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__EmailAddressList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_instantiate_ngwt__EmailAddressList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__EmailAddressList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__EmailAddressList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__EmailAddressList; + if (size) + *size = sizeof(ngwt__EmailAddressList); + ((ngwt__EmailAddressList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__EmailAddressList[n]; + if (size) + *size = n * sizeof(ngwt__EmailAddressList); + for (int i = 0; i < n; i++) + ((ngwt__EmailAddressList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__EmailAddressList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__EmailAddressList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__EmailAddressList %p -> %p\n", q, p)); + *(ngwt__EmailAddressList*)p = *(ngwt__EmailAddressList*)q; +} + +void ngwt__DocumentTypeList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__DocumentType(soap, &((ngwt__DocumentTypeList*)this)->item); + /* transient soap skipped */ +} + +void ngwt__DocumentTypeList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__DocumentType(soap, &((ngwt__DocumentTypeList*)this)->item); + /* transient soap skipped */ +} + +int ngwt__DocumentTypeList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DocumentTypeList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DocumentTypeList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DocumentTypeList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentTypeList(struct soap *soap, const char *tag, int id, const ngwt__DocumentTypeList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DocumentTypeList), type); + soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(soap, "ngwt:item", -1, &(((ngwt__DocumentTypeList*)a)->item), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DocumentTypeList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DocumentTypeList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_get_ngwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DocumentTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DocumentTypeList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DocumentTypeList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_in_ngwt__DocumentTypeList(struct soap *soap, const char *tag, ngwt__DocumentTypeList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DocumentTypeList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DocumentTypeList, sizeof(ngwt__DocumentTypeList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DocumentTypeList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DocumentTypeList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(soap, "ngwt:item", &(((ngwt__DocumentTypeList*)a)->item), "ngwt:DocumentType")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DocumentTypeList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentTypeList, 0, sizeof(ngwt__DocumentTypeList), 0, soap_copy_ngwt__DocumentTypeList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_new_ngwt__DocumentTypeList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DocumentTypeList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_instantiate_ngwt__DocumentTypeList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DocumentTypeList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DocumentTypeList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentTypeList; + if (size) + *size = sizeof(ngwt__DocumentTypeList); + ((ngwt__DocumentTypeList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentTypeList[n]; + if (size) + *size = n * sizeof(ngwt__DocumentTypeList); + for (int i = 0; i < n; i++) + ((ngwt__DocumentTypeList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentTypeList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentTypeList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DocumentTypeList %p -> %p\n", q, p)); + *(ngwt__DocumentTypeList*)p = *(ngwt__DocumentTypeList*)q; +} + +void ngwt__DocumentType::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__DocumentType*)this)->name, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__DocumentType*)this)->name); + soap_embedded(soap, &((ngwt__DocumentType*)this)->life, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentType*)this)->life); + soap_embedded(soap, &((ngwt__DocumentType*)this)->maximumVersions, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentType*)this)->maximumVersions); + soap_embedded(soap, &((ngwt__DocumentType*)this)->ageAction, SOAP_TYPE_PointerTongwt__AgeAction); + soap_serialize_PointerTongwt__AgeAction(soap, &((ngwt__DocumentType*)this)->ageAction); + /* transient soap skipped */ +} + +void ngwt__DocumentType::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__DocumentType*)this)->name); + ((ngwt__DocumentType*)this)->life = NULL; + ((ngwt__DocumentType*)this)->maximumVersions = NULL; + ((ngwt__DocumentType*)this)->ageAction = NULL; + /* transient soap skipped */ +} + +int ngwt__DocumentType::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DocumentType); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DocumentType::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DocumentType(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentType(struct soap *soap, const char *tag, int id, const ngwt__DocumentType *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DocumentType), type); + soap_out_std__string(soap, "ngwt:name", -1, &(((ngwt__DocumentType*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:life", -1, &(((ngwt__DocumentType*)a)->life), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:maximumVersions", -1, &(((ngwt__DocumentType*)a)->maximumVersions), ""); + soap_out_PointerTongwt__AgeAction(soap, "ngwt:ageAction", -1, &(((ngwt__DocumentType*)a)->ageAction), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DocumentType::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DocumentType(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_get_ngwt__DocumentType(struct soap *soap, ngwt__DocumentType *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DocumentType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DocumentType::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DocumentType(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_in_ngwt__DocumentType(struct soap *soap, const char *tag, ngwt__DocumentType *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DocumentType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DocumentType, sizeof(ngwt__DocumentType), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DocumentType) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DocumentType *)a->soap_in(soap, tag, type); + } + } + short soap_flag_name1 = 1, soap_flag_life1 = 1, soap_flag_maximumVersions1 = 1, soap_flag_ageAction1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:name", &(((ngwt__DocumentType*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_life1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:life", &(((ngwt__DocumentType*)a)->life), "")) + { soap_flag_life1 = 0; + continue; + } + if (soap_flag_maximumVersions1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:maximumVersions", &(((ngwt__DocumentType*)a)->maximumVersions), "")) + { soap_flag_maximumVersions1 = 0; + continue; + } + if (soap_flag_ageAction1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AgeAction(soap, "ngwt:ageAction", &(((ngwt__DocumentType*)a)->ageAction), "")) + { soap_flag_ageAction1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_name1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DocumentType *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentType, 0, sizeof(ngwt__DocumentType), 0, soap_copy_ngwt__DocumentType); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_new_ngwt__DocumentType(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DocumentType(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentType(struct soap *soap, ngwt__DocumentType *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_instantiate_ngwt__DocumentType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DocumentType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DocumentType, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentType; + if (size) + *size = sizeof(ngwt__DocumentType); + ((ngwt__DocumentType*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentType[n]; + if (size) + *size = n * sizeof(ngwt__DocumentType); + for (int i = 0; i < n; i++) + ((ngwt__DocumentType*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentType*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DocumentType %p -> %p\n", q, p)); + *(ngwt__DocumentType*)p = *(ngwt__DocumentType*)q; +} + +void ngwt__DocumentRef::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__DocumentRef*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__DocumentRef*)this)->library); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->documentNumber); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->filename, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__DocumentRef*)this)->filename); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->documentTypeName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__DocumentRef*)this)->documentTypeName); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->author, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__DocumentRef*)this)->author); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->creator, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__DocumentRef*)this)->creator); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->officialVersion, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->officialVersion); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->currentVersion, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->currentVersion); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->versionNumber, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->versionNumber); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->fileSize, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DocumentRef*)this)->fileSize); + soap_embedded(soap, &((ngwt__DocumentRef*)this)->acl, SOAP_TYPE_PointerTongwt__AccessControlList); + soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__DocumentRef*)this)->acl); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__DocumentRef::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__DocumentRef*)this)->library = NULL; + ((ngwt__DocumentRef*)this)->documentNumber = NULL; + ((ngwt__DocumentRef*)this)->filename = NULL; + ((ngwt__DocumentRef*)this)->documentTypeName = NULL; + ((ngwt__DocumentRef*)this)->author = NULL; + ((ngwt__DocumentRef*)this)->creator = NULL; + ((ngwt__DocumentRef*)this)->officialVersion = NULL; + ((ngwt__DocumentRef*)this)->currentVersion = NULL; + ((ngwt__DocumentRef*)this)->versionNumber = NULL; + ((ngwt__DocumentRef*)this)->versionDescription = NULL; + ((ngwt__DocumentRef*)this)->fileSize = NULL; + ((ngwt__DocumentRef*)this)->acl = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__DocumentRef::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DocumentRef); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DocumentRef::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DocumentRef(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentRef(struct soap *soap, const char *tag, int id, const ngwt__DocumentRef *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DocumentRef), "ngwt:DocumentRef"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__DocumentRef*)a)->library), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__DocumentRef*)a)->documentNumber), ""); + soap_out_PointerTostd__string(soap, "ngwt:filename", -1, &(((ngwt__DocumentRef*)a)->filename), ""); + soap_out_PointerTostd__string(soap, "ngwt:documentTypeName", -1, &(((ngwt__DocumentRef*)a)->documentTypeName), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:author", -1, &(((ngwt__DocumentRef*)a)->author), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:creator", -1, &(((ngwt__DocumentRef*)a)->creator), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:officialVersion", -1, &(((ngwt__DocumentRef*)a)->officialVersion), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:currentVersion", -1, &(((ngwt__DocumentRef*)a)->currentVersion), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:versionNumber", -1, &(((ngwt__DocumentRef*)a)->versionNumber), ""); + soap_outliteral(soap, "ngwt:versionDescription", &(((ngwt__DocumentRef*)a)->versionDescription)); + soap_out_PointerTounsignedLong(soap, "ngwt:fileSize", -1, &(((ngwt__DocumentRef*)a)->fileSize), ""); + soap_out_PointerTongwt__AccessControlList(soap, "ngwt:acl", -1, &(((ngwt__DocumentRef*)a)->acl), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DocumentRef::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DocumentRef(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_get_ngwt__DocumentRef(struct soap *soap, ngwt__DocumentRef *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DocumentRef(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DocumentRef::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DocumentRef(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_in_ngwt__DocumentRef(struct soap *soap, const char *tag, ngwt__DocumentRef *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DocumentRef *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DocumentRef, sizeof(ngwt__DocumentRef), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DocumentRef) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DocumentRef *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_filename1 = 1, soap_flag_documentTypeName1 = 1, soap_flag_author1 = 1, soap_flag_creator1 = 1, soap_flag_officialVersion1 = 1, soap_flag_currentVersion1 = 1, soap_flag_versionNumber1 = 1, soap_flag_versionDescription1 = 1, soap_flag_fileSize1 = 1, soap_flag_acl1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id5 = 0; + continue; + } + if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name5 = 0; + continue; + } + if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version5 = 0; + continue; + } + if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified5 = 0; + continue; + } + if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes5 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories4 = 0; + continue; + } + if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created4 = 0; + continue; + } + if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs4 = 0; + continue; + } + if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status3 = 0; + continue; + } + if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread3 = 0; + continue; + } + if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId3 = 0; + continue; + } + if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId3 = 0; + continue; + } + if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source3 = 0; + continue; + } + if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId3 = 0; + continue; + } + if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered3 = 0; + continue; + } + if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_3 = 0; + continue; + } + if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security3 = 0; + continue; + } + if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment3 = 0; + continue; + } + if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject2 = 0; + continue; + } + if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject2 = 0; + continue; + } + if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix2 = 0; + continue; + } + if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution2 = 0; + continue; + } + if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message2 = 0; + continue; + } + if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments2 = 0; + continue; + } + if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options2 = 0; + continue; + } + if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link2 = 0; + continue; + } + if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment2 = 0; + continue; + } + if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size2 = 0; + continue; + } + if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType2 = 0; + continue; + } + if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap2 = 0; + continue; + } + if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType2 = 0; + continue; + } + if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__DocumentRef*)a)->library), "ngwt:NameAndEmail")) + { soap_flag_library1 = 0; + continue; + } + if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:documentNumber", &(((ngwt__DocumentRef*)a)->documentNumber), "")) + { soap_flag_documentNumber1 = 0; + continue; + } + if (soap_flag_filename1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:filename", &(((ngwt__DocumentRef*)a)->filename), "")) + { soap_flag_filename1 = 0; + continue; + } + if (soap_flag_documentTypeName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:documentTypeName", &(((ngwt__DocumentRef*)a)->documentTypeName), "")) + { soap_flag_documentTypeName1 = 0; + continue; + } + if (soap_flag_author1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:author", &(((ngwt__DocumentRef*)a)->author), "ngwt:NameAndEmail")) + { soap_flag_author1 = 0; + continue; + } + if (soap_flag_creator1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:creator", &(((ngwt__DocumentRef*)a)->creator), "ngwt:NameAndEmail")) + { soap_flag_creator1 = 0; + continue; + } + if (soap_flag_officialVersion1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:officialVersion", &(((ngwt__DocumentRef*)a)->officialVersion), "")) + { soap_flag_officialVersion1 = 0; + continue; + } + if (soap_flag_currentVersion1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:currentVersion", &(((ngwt__DocumentRef*)a)->currentVersion), "")) + { soap_flag_currentVersion1 = 0; + continue; + } + if (soap_flag_versionNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:versionNumber", &(((ngwt__DocumentRef*)a)->versionNumber), "")) + { soap_flag_versionNumber1 = 0; + continue; + } + if (soap_flag_versionDescription1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_inliteral(soap, "ngwt:versionDescription", &(((ngwt__DocumentRef*)a)->versionDescription))) + { soap_flag_versionDescription1 = 0; + continue; + } + if (soap_flag_fileSize1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:fileSize", &(((ngwt__DocumentRef*)a)->fileSize), "")) + { soap_flag_fileSize1 = 0; + continue; + } + if (soap_flag_acl1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:acl", &(((ngwt__DocumentRef*)a)->acl), "ngwt:AccessControlList")) + { soap_flag_acl1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DocumentRef *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentRef, 0, sizeof(ngwt__DocumentRef), 0, soap_copy_ngwt__DocumentRef); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_new_ngwt__DocumentRef(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DocumentRef(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentRef(struct soap *soap, ngwt__DocumentRef *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_instantiate_ngwt__DocumentRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DocumentRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DocumentRef, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentRef; + if (size) + *size = sizeof(ngwt__DocumentRef); + ((ngwt__DocumentRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentRef[n]; + if (size) + *size = n * sizeof(ngwt__DocumentRef); + for (int i = 0; i < n; i++) + ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentRef*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DocumentRef %p -> %p\n", q, p)); + *(ngwt__DocumentRef*)p = *(ngwt__DocumentRef*)q; +} + +void ngwt__Document::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Document*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Document*)this)->subject); + soap_embedded(soap, &((ngwt__Document*)this)->library, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Document*)this)->library); + soap_embedded(soap, &((ngwt__Document*)this)->documentNumber, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Document*)this)->documentNumber); + soap_embedded(soap, &((ngwt__Document*)this)->documentTypeName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Document*)this)->documentTypeName); + soap_embedded(soap, &((ngwt__Document*)this)->author, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Document*)this)->author); + soap_embedded(soap, &((ngwt__Document*)this)->creator, SOAP_TYPE_PointerTongwt__NameAndEmail); + soap_serialize_PointerTongwt__NameAndEmail(soap, &((ngwt__Document*)this)->creator); + soap_embedded(soap, &((ngwt__Document*)this)->officialVersion, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Document*)this)->officialVersion); + soap_embedded(soap, &((ngwt__Document*)this)->currentVersion, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Document*)this)->currentVersion); + soap_embedded(soap, &((ngwt__Document*)this)->current, SOAP_TYPE_PointerTongwt__AccessControlList); + soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__Document*)this)->current); + soap_embedded(soap, &((ngwt__Document*)this)->official, SOAP_TYPE_PointerTongwt__AccessControlList); + soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__Document*)this)->official); + soap_embedded(soap, &((ngwt__Document*)this)->other, SOAP_TYPE_PointerTongwt__AccessControlList); + soap_serialize_PointerTongwt__AccessControlList(soap, &((ngwt__Document*)this)->other); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Document::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Document*)this)->subject = NULL; + ((ngwt__Document*)this)->library = NULL; + ((ngwt__Document*)this)->documentNumber = NULL; + ((ngwt__Document*)this)->documentTypeName = NULL; + ((ngwt__Document*)this)->author = NULL; + ((ngwt__Document*)this)->creator = NULL; + ((ngwt__Document*)this)->officialVersion = NULL; + ((ngwt__Document*)this)->currentVersion = NULL; + ((ngwt__Document*)this)->current = NULL; + ((ngwt__Document*)this)->official = NULL; + ((ngwt__Document*)this)->other = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Document::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Document); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Document::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Document(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Document(struct soap *soap, const char *tag, int id, const ngwt__Document *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Document), "ngwt:Document"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Document*)a)->subject), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:library", -1, &(((ngwt__Document*)a)->library), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:documentNumber", -1, &(((ngwt__Document*)a)->documentNumber), ""); + soap_out_PointerTostd__string(soap, "ngwt:documentTypeName", -1, &(((ngwt__Document*)a)->documentTypeName), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:author", -1, &(((ngwt__Document*)a)->author), ""); + soap_out_PointerTongwt__NameAndEmail(soap, "ngwt:creator", -1, &(((ngwt__Document*)a)->creator), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:officialVersion", -1, &(((ngwt__Document*)a)->officialVersion), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:currentVersion", -1, &(((ngwt__Document*)a)->currentVersion), ""); + soap_out_PointerTongwt__AccessControlList(soap, "ngwt:current", -1, &(((ngwt__Document*)a)->current), ""); + soap_out_PointerTongwt__AccessControlList(soap, "ngwt:official", -1, &(((ngwt__Document*)a)->official), ""); + soap_out_PointerTongwt__AccessControlList(soap, "ngwt:other", -1, &(((ngwt__Document*)a)->other), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Document::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Document(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_get_ngwt__Document(struct soap *soap, ngwt__Document *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Document(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Document::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Document(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_in_ngwt__Document(struct soap *soap, const char *tag, ngwt__Document *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Document *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Document, sizeof(ngwt__Document), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Document) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Document *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_subject1 = 1, soap_flag_library1 = 1, soap_flag_documentNumber1 = 1, soap_flag_documentTypeName1 = 1, soap_flag_author1 = 1, soap_flag_creator1 = 1, soap_flag_officialVersion1 = 1, soap_flag_currentVersion1 = 1, soap_flag_current1 = 1, soap_flag_official1 = 1, soap_flag_other1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories2 = 0; + continue; + } + if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created2 = 0; + continue; + } + if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs2 = 0; + continue; + } + if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Document*)a)->subject), "")) + { soap_flag_subject1 = 0; + continue; + } + if (soap_flag_library1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:library", &(((ngwt__Document*)a)->library), "ngwt:NameAndEmail")) + { soap_flag_library1 = 0; + continue; + } + if (soap_flag_documentNumber1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:documentNumber", &(((ngwt__Document*)a)->documentNumber), "")) + { soap_flag_documentNumber1 = 0; + continue; + } + if (soap_flag_documentTypeName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:documentTypeName", &(((ngwt__Document*)a)->documentTypeName), "")) + { soap_flag_documentTypeName1 = 0; + continue; + } + if (soap_flag_author1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:author", &(((ngwt__Document*)a)->author), "ngwt:NameAndEmail")) + { soap_flag_author1 = 0; + continue; + } + if (soap_flag_creator1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__NameAndEmail(soap, "ngwt:creator", &(((ngwt__Document*)a)->creator), "ngwt:NameAndEmail")) + { soap_flag_creator1 = 0; + continue; + } + if (soap_flag_officialVersion1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:officialVersion", &(((ngwt__Document*)a)->officialVersion), "")) + { soap_flag_officialVersion1 = 0; + continue; + } + if (soap_flag_currentVersion1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:currentVersion", &(((ngwt__Document*)a)->currentVersion), "")) + { soap_flag_currentVersion1 = 0; + continue; + } + if (soap_flag_current1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:current", &(((ngwt__Document*)a)->current), "ngwt:AccessControlList")) + { soap_flag_current1 = 0; + continue; + } + if (soap_flag_official1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:official", &(((ngwt__Document*)a)->official), "ngwt:AccessControlList")) + { soap_flag_official1 = 0; + continue; + } + if (soap_flag_other1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessControlList(soap, "ngwt:other", &(((ngwt__Document*)a)->other), "ngwt:AccessControlList")) + { soap_flag_other1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Document *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Document, 0, sizeof(ngwt__Document), 0, soap_copy_ngwt__Document); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_new_ngwt__Document(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Document(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Document(struct soap *soap, ngwt__Document *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_instantiate_ngwt__Document(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Document(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Document, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Document; + if (size) + *size = sizeof(ngwt__Document); + ((ngwt__Document*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Document[n]; + if (size) + *size = n * sizeof(ngwt__Document); + for (int i = 0; i < n; i++) + ((ngwt__Document*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Document*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Document(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Document %p -> %p\n", q, p)); + *(ngwt__Document*)p = *(ngwt__Document*)q; +} + +void ngwt__Distribution::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Distribution*)this)->from, SOAP_TYPE_PointerTongwt__From); + soap_serialize_PointerTongwt__From(soap, &((ngwt__Distribution*)this)->from); + soap_embedded(soap, &((ngwt__Distribution*)this)->to, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Distribution*)this)->to); + soap_embedded(soap, &((ngwt__Distribution*)this)->cc, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Distribution*)this)->cc); + soap_embedded(soap, &((ngwt__Distribution*)this)->bc, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Distribution*)this)->bc); + soap_embedded(soap, &((ngwt__Distribution*)this)->recipients, SOAP_TYPE_PointerTongwt__RecipientList); + soap_serialize_PointerTongwt__RecipientList(soap, &((ngwt__Distribution*)this)->recipients); + soap_embedded(soap, &((ngwt__Distribution*)this)->sendoptions, SOAP_TYPE_PointerTongwt__SendOptions); + soap_serialize_PointerTongwt__SendOptions(soap, &((ngwt__Distribution*)this)->sendoptions); + /* transient soap skipped */ +} + +void ngwt__Distribution::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Distribution*)this)->from = NULL; + ((ngwt__Distribution*)this)->to = NULL; + ((ngwt__Distribution*)this)->cc = NULL; + ((ngwt__Distribution*)this)->bc = NULL; + ((ngwt__Distribution*)this)->recipients = NULL; + ((ngwt__Distribution*)this)->sendoptions = NULL; + /* transient soap skipped */ +} + +int ngwt__Distribution::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Distribution); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Distribution::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Distribution(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Distribution(struct soap *soap, const char *tag, int id, const ngwt__Distribution *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Distribution), type); + soap_out_PointerTongwt__From(soap, "ngwt:from", -1, &(((ngwt__Distribution*)a)->from), ""); + soap_out_PointerTostd__string(soap, "ngwt:to", -1, &(((ngwt__Distribution*)a)->to), ""); + soap_out_PointerTostd__string(soap, "ngwt:cc", -1, &(((ngwt__Distribution*)a)->cc), ""); + soap_out_PointerTostd__string(soap, "ngwt:bc", -1, &(((ngwt__Distribution*)a)->bc), ""); + soap_out_PointerTongwt__RecipientList(soap, "ngwt:recipients", -1, &(((ngwt__Distribution*)a)->recipients), ""); + soap_out_PointerTongwt__SendOptions(soap, "ngwt:sendoptions", -1, &(((ngwt__Distribution*)a)->sendoptions), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Distribution::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Distribution(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_get_ngwt__Distribution(struct soap *soap, ngwt__Distribution *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Distribution(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Distribution::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Distribution(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_in_ngwt__Distribution(struct soap *soap, const char *tag, ngwt__Distribution *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Distribution *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Distribution, sizeof(ngwt__Distribution), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Distribution) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Distribution *)a->soap_in(soap, tag, type); + } + } + short soap_flag_from1 = 1, soap_flag_to1 = 1, soap_flag_cc1 = 1, soap_flag_bc1 = 1, soap_flag_recipients1 = 1, soap_flag_sendoptions1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_from1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__From(soap, "ngwt:from", &(((ngwt__Distribution*)a)->from), "ngwt:From")) + { soap_flag_from1 = 0; + continue; + } + if (soap_flag_to1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:to", &(((ngwt__Distribution*)a)->to), "")) + { soap_flag_to1 = 0; + continue; + } + if (soap_flag_cc1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:cc", &(((ngwt__Distribution*)a)->cc), "")) + { soap_flag_cc1 = 0; + continue; + } + if (soap_flag_bc1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:bc", &(((ngwt__Distribution*)a)->bc), "")) + { soap_flag_bc1 = 0; + continue; + } + if (soap_flag_recipients1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecipientList(soap, "ngwt:recipients", &(((ngwt__Distribution*)a)->recipients), "ngwt:RecipientList")) + { soap_flag_recipients1 = 0; + continue; + } + if (soap_flag_sendoptions1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SendOptions(soap, "ngwt:sendoptions", &(((ngwt__Distribution*)a)->sendoptions), "ngwt:SendOptions")) + { soap_flag_sendoptions1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Distribution *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Distribution, 0, sizeof(ngwt__Distribution), 0, soap_copy_ngwt__Distribution); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_new_ngwt__Distribution(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Distribution(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Distribution(struct soap *soap, ngwt__Distribution *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_instantiate_ngwt__Distribution(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Distribution(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Distribution, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Distribution; + if (size) + *size = sizeof(ngwt__Distribution); + ((ngwt__Distribution*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Distribution[n]; + if (size) + *size = n * sizeof(ngwt__Distribution); + for (int i = 0; i < n; i++) + ((ngwt__Distribution*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Distribution*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Distribution(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Distribution %p -> %p\n", q, p)); + *(ngwt__Distribution*)p = *(ngwt__Distribution*)q; +} + +void ngwt__DeltaInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__DeltaInfo*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__DeltaInfo*)this)->count); + soap_embedded(soap, &((ngwt__DeltaInfo*)this)->firstSequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DeltaInfo*)this)->firstSequence); + soap_embedded(soap, &((ngwt__DeltaInfo*)this)->lastSequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__DeltaInfo*)this)->lastSequence); + soap_embedded(soap, &((ngwt__DeltaInfo*)this)->lastTimePORebuild, SOAP_TYPE_unsignedLong); + /* transient soap skipped */ +} + +void ngwt__DeltaInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__DeltaInfo*)this)->count = NULL; + ((ngwt__DeltaInfo*)this)->firstSequence = NULL; + ((ngwt__DeltaInfo*)this)->lastSequence = NULL; + soap_default_unsignedLong(soap, &((ngwt__DeltaInfo*)this)->lastTimePORebuild); + /* transient soap skipped */ +} + +int ngwt__DeltaInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DeltaInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DeltaInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DeltaInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaInfo(struct soap *soap, const char *tag, int id, const ngwt__DeltaInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DeltaInfo), type); + soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__DeltaInfo*)a)->count), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:firstSequence", -1, &(((ngwt__DeltaInfo*)a)->firstSequence), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:lastSequence", -1, &(((ngwt__DeltaInfo*)a)->lastSequence), ""); + soap_out_unsignedLong(soap, "ngwt:lastTimePORebuild", -1, &(((ngwt__DeltaInfo*)a)->lastTimePORebuild), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DeltaInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DeltaInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_get_ngwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DeltaInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DeltaInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DeltaInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_in_ngwt__DeltaInfo(struct soap *soap, const char *tag, ngwt__DeltaInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DeltaInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DeltaInfo, sizeof(ngwt__DeltaInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DeltaInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DeltaInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_count1 = 1, soap_flag_firstSequence1 = 1, soap_flag_lastSequence1 = 1, soap_flag_lastTimePORebuild1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_count1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__DeltaInfo*)a)->count), "")) + { soap_flag_count1 = 0; + continue; + } + if (soap_flag_firstSequence1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:firstSequence", &(((ngwt__DeltaInfo*)a)->firstSequence), "")) + { soap_flag_firstSequence1 = 0; + continue; + } + if (soap_flag_lastSequence1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:lastSequence", &(((ngwt__DeltaInfo*)a)->lastSequence), "")) + { soap_flag_lastSequence1 = 0; + continue; + } + if (soap_flag_lastTimePORebuild1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_unsignedLong(soap, "ngwt:lastTimePORebuild", &(((ngwt__DeltaInfo*)a)->lastTimePORebuild), "")) + { soap_flag_lastTimePORebuild1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_lastTimePORebuild1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DeltaInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaInfo, 0, sizeof(ngwt__DeltaInfo), 0, soap_copy_ngwt__DeltaInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_new_ngwt__DeltaInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DeltaInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_instantiate_ngwt__DeltaInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DeltaInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DeltaInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DeltaInfo; + if (size) + *size = sizeof(ngwt__DeltaInfo); + ((ngwt__DeltaInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DeltaInfo[n]; + if (size) + *size = n * sizeof(ngwt__DeltaInfo); + for (int i = 0; i < n; i++) + ((ngwt__DeltaInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DeltaInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DeltaInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DeltaInfo %p -> %p\n", q, p)); + *(ngwt__DeltaInfo*)p = *(ngwt__DeltaInfo*)q; +} + +void ngwt__DelegateeStatus::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->delivered); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeliverable, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferred, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferred); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferDelayed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->transferFailed, SOAP_TYPE_PointerTongwt__TransferFailedStatus); + soap_serialize_PointerTongwt__TransferFailedStatus(soap, &((ngwt__RecipientStatus*)this)->transferFailed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloaded, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloaded); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retractRequested, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->retracted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->retracted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->opened, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->opened); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->deleted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->deleted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->undeleted, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->undeleted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->purged, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->purged); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->accepted, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->accepted); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->declined, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__RecipientStatus*)this)->declined); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->replied, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->replied); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->forwarded, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->forwarded); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->shared, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->shared); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->started, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->started); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->completed, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->completed); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->incomplete, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__RecipientStatus*)this)->incomplete); + soap_embedded(soap, &((ngwt__RecipientStatus*)this)->delegated, SOAP_TYPE_PointerTongwt__DelegatedStatus); + soap_serialize_PointerTongwt__DelegatedStatus(soap, &((ngwt__RecipientStatus*)this)->delegated); + soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus); + /* transient soap skipped */ +} + +void ngwt__DelegateeStatus::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__DelegateeStatus*)this)->userid = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->delivered); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeliverable); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferred); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->transferDelayed); + ((ngwt__RecipientStatus*)this)->transferFailed = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloaded); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->downloadedByThirdParty); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retractRequested); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->retracted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->opened); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->deleted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->undeleted); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->purged); + ((ngwt__RecipientStatus*)this)->accepted = NULL; + ((ngwt__RecipientStatus*)this)->declined = NULL; + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->replied); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->forwarded); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->shared); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->started); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->completed); + soap_default_string(soap, &((ngwt__RecipientStatus*)this)->incomplete); + ((ngwt__RecipientStatus*)this)->delegated = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, &((ngwt__RecipientStatus*)this)->delegateeStatus); + /* transient soap skipped */ +} + +int ngwt__DelegateeStatus::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DelegateeStatus); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DelegateeStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DelegateeStatus(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegateeStatus(struct soap *soap, const char *tag, int id, const ngwt__DelegateeStatus *a, const char *type) +{ + if (((ngwt__DelegateeStatus *)a)->userid) + soap_set_attr(soap, "userid", ((ngwt__DelegateeStatus *)a)->userid->c_str()); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DelegateeStatus), "ngwt:DelegateeStatus"); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__RecipientStatus*)a)->delivered), ""); + soap_out_string(soap, "ngwt:undeliverable", -1, &(((ngwt__RecipientStatus*)a)->undeliverable), ""); + soap_out_string(soap, "ngwt:transferred", -1, &(((ngwt__RecipientStatus*)a)->transferred), ""); + soap_out_string(soap, "ngwt:transferDelayed", -1, &(((ngwt__RecipientStatus*)a)->transferDelayed), ""); + soap_out_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", -1, &(((ngwt__RecipientStatus*)a)->transferFailed), ""); + soap_out_string(soap, "ngwt:downloaded", -1, &(((ngwt__RecipientStatus*)a)->downloaded), ""); + soap_out_string(soap, "ngwt:downloadedByThirdParty", -1, &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), ""); + soap_out_string(soap, "ngwt:retractRequested", -1, &(((ngwt__RecipientStatus*)a)->retractRequested), ""); + soap_out_string(soap, "ngwt:retracted", -1, &(((ngwt__RecipientStatus*)a)->retracted), ""); + soap_out_string(soap, "ngwt:opened", -1, &(((ngwt__RecipientStatus*)a)->opened), ""); + soap_out_string(soap, "ngwt:deleted", -1, &(((ngwt__RecipientStatus*)a)->deleted), ""); + soap_out_string(soap, "ngwt:undeleted", -1, &(((ngwt__RecipientStatus*)a)->undeleted), ""); + soap_out_string(soap, "ngwt:purged", -1, &(((ngwt__RecipientStatus*)a)->purged), ""); + soap_out_PointerTongwt__CommentStatus(soap, "ngwt:accepted", -1, &(((ngwt__RecipientStatus*)a)->accepted), ""); + soap_out_PointerTongwt__CommentStatus(soap, "ngwt:declined", -1, &(((ngwt__RecipientStatus*)a)->declined), ""); + soap_out_string(soap, "ngwt:replied", -1, &(((ngwt__RecipientStatus*)a)->replied), ""); + soap_out_string(soap, "ngwt:forwarded", -1, &(((ngwt__RecipientStatus*)a)->forwarded), ""); + soap_out_string(soap, "ngwt:shared", -1, &(((ngwt__RecipientStatus*)a)->shared), ""); + soap_out_string(soap, "ngwt:started", -1, &(((ngwt__RecipientStatus*)a)->started), ""); + soap_out_string(soap, "ngwt:completed", -1, &(((ngwt__RecipientStatus*)a)->completed), ""); + soap_out_string(soap, "ngwt:incomplete", -1, &(((ngwt__RecipientStatus*)a)->incomplete), ""); + soap_out_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", -1, &(((ngwt__RecipientStatus*)a)->delegated), ""); + soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", -1, &(((ngwt__RecipientStatus*)a)->delegateeStatus), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DelegateeStatus::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DelegateeStatus(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_get_ngwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DelegateeStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DelegateeStatus::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DelegateeStatus(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_in_ngwt__DelegateeStatus(struct soap *soap, const char *tag, ngwt__DelegateeStatus *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DelegateeStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DelegateeStatus, sizeof(ngwt__DelegateeStatus), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DelegateeStatus) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DelegateeStatus *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "userid", 0); + if (t) + { if (!(((ngwt__DelegateeStatus *)a)->userid = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__DelegateeStatus *)a)->userid = soap_new_std__string(soap, -1); + ((ngwt__DelegateeStatus *)a)->userid->assign(s); + } + } + } + short soap_flag_delivered2 = 1, soap_flag_undeliverable2 = 1, soap_flag_transferred2 = 1, soap_flag_transferDelayed2 = 1, soap_flag_transferFailed2 = 1, soap_flag_downloaded2 = 1, soap_flag_downloadedByThirdParty2 = 1, soap_flag_retractRequested2 = 1, soap_flag_retracted2 = 1, soap_flag_opened2 = 1, soap_flag_deleted2 = 1, soap_flag_undeleted2 = 1, soap_flag_purged2 = 1, soap_flag_accepted2 = 1, soap_flag_declined2 = 1, soap_flag_replied2 = 1, soap_flag_forwarded2 = 1, soap_flag_shared2 = 1, soap_flag_started2 = 1, soap_flag_completed2 = 1, soap_flag_incomplete2 = 1, soap_flag_delegated2 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_delivered2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__RecipientStatus*)a)->delivered), "")) + { soap_flag_delivered2 = 0; + continue; + } + if (soap_flag_undeliverable2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:undeliverable", &(((ngwt__RecipientStatus*)a)->undeliverable), "")) + { soap_flag_undeliverable2 = 0; + continue; + } + if (soap_flag_transferred2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:transferred", &(((ngwt__RecipientStatus*)a)->transferred), "")) + { soap_flag_transferred2 = 0; + continue; + } + if (soap_flag_transferDelayed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:transferDelayed", &(((ngwt__RecipientStatus*)a)->transferDelayed), "")) + { soap_flag_transferDelayed2 = 0; + continue; + } + if (soap_flag_transferFailed2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__TransferFailedStatus(soap, "ngwt:transferFailed", &(((ngwt__RecipientStatus*)a)->transferFailed), "ngwt:TransferFailedStatus")) + { soap_flag_transferFailed2 = 0; + continue; + } + if (soap_flag_downloaded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:downloaded", &(((ngwt__RecipientStatus*)a)->downloaded), "")) + { soap_flag_downloaded2 = 0; + continue; + } + if (soap_flag_downloadedByThirdParty2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:downloadedByThirdParty", &(((ngwt__RecipientStatus*)a)->downloadedByThirdParty), "")) + { soap_flag_downloadedByThirdParty2 = 0; + continue; + } + if (soap_flag_retractRequested2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retractRequested", &(((ngwt__RecipientStatus*)a)->retractRequested), "")) + { soap_flag_retractRequested2 = 0; + continue; + } + if (soap_flag_retracted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:retracted", &(((ngwt__RecipientStatus*)a)->retracted), "")) + { soap_flag_retracted2 = 0; + continue; + } + if (soap_flag_opened2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:opened", &(((ngwt__RecipientStatus*)a)->opened), "")) + { soap_flag_opened2 = 0; + continue; + } + if (soap_flag_deleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:deleted", &(((ngwt__RecipientStatus*)a)->deleted), "")) + { soap_flag_deleted2 = 0; + continue; + } + if (soap_flag_undeleted2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:undeleted", &(((ngwt__RecipientStatus*)a)->undeleted), "")) + { soap_flag_undeleted2 = 0; + continue; + } + if (soap_flag_purged2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:purged", &(((ngwt__RecipientStatus*)a)->purged), "")) + { soap_flag_purged2 = 0; + continue; + } + if (soap_flag_accepted2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:accepted", &(((ngwt__RecipientStatus*)a)->accepted), "ngwt:CommentStatus")) + { soap_flag_accepted2 = 0; + continue; + } + if (soap_flag_declined2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CommentStatus(soap, "ngwt:declined", &(((ngwt__RecipientStatus*)a)->declined), "ngwt:CommentStatus")) + { soap_flag_declined2 = 0; + continue; + } + if (soap_flag_replied2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:replied", &(((ngwt__RecipientStatus*)a)->replied), "")) + { soap_flag_replied2 = 0; + continue; + } + if (soap_flag_forwarded2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:forwarded", &(((ngwt__RecipientStatus*)a)->forwarded), "")) + { soap_flag_forwarded2 = 0; + continue; + } + if (soap_flag_shared2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:shared", &(((ngwt__RecipientStatus*)a)->shared), "")) + { soap_flag_shared2 = 0; + continue; + } + if (soap_flag_started2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:started", &(((ngwt__RecipientStatus*)a)->started), "")) + { soap_flag_started2 = 0; + continue; + } + if (soap_flag_completed2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:completed", &(((ngwt__RecipientStatus*)a)->completed), "")) + { soap_flag_completed2 = 0; + continue; + } + if (soap_flag_incomplete2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:incomplete", &(((ngwt__RecipientStatus*)a)->incomplete), "")) + { soap_flag_incomplete2 = 0; + continue; + } + if (soap_flag_delegated2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DelegatedStatus(soap, "ngwt:delegated", &(((ngwt__RecipientStatus*)a)->delegated), "ngwt:DelegatedStatus")) + { soap_flag_delegated2 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, "ngwt:delegateeStatus", &(((ngwt__RecipientStatus*)a)->delegateeStatus), "ngwt:DelegateeStatus")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DelegateeStatus *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DelegateeStatus, 0, sizeof(ngwt__DelegateeStatus), 0, soap_copy_ngwt__DelegateeStatus); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_new_ngwt__DelegateeStatus(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DelegateeStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegateeStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DelegateeStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DelegateeStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DelegateeStatus; + if (size) + *size = sizeof(ngwt__DelegateeStatus); + ((ngwt__DelegateeStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DelegateeStatus[n]; + if (size) + *size = n * sizeof(ngwt__DelegateeStatus); + for (int i = 0; i < n; i++) + ((ngwt__DelegateeStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DelegateeStatus*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegateeStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DelegateeStatus %p -> %p\n", q, p)); + *(ngwt__DelegateeStatus*)p = *(ngwt__DelegateeStatus*)q; +} + +void ngwt__DelegatedStatus::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__DelegatedStatus*)this)->__item, SOAP_TYPE_PointerTongwt__CommentStatus); + soap_serialize_PointerTongwt__CommentStatus(soap, &((ngwt__DelegatedStatus*)this)->__item); + /* transient soap skipped */ +} + +void ngwt__DelegatedStatus::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__DelegatedStatus*)this)->__item = NULL; + ((ngwt__DelegatedStatus*)this)->userid = NULL; + /* transient soap skipped */ +} + +int ngwt__DelegatedStatus::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DelegatedStatus); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DelegatedStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DelegatedStatus(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegatedStatus(struct soap *soap, const char *tag, int id, const ngwt__DelegatedStatus *a, const char *type) +{ + if (((ngwt__DelegatedStatus *)a)->userid) + soap_set_attr(soap, "userid", ((ngwt__DelegatedStatus *)a)->userid->c_str()); + soap_out_PointerTongwt__CommentStatus(soap, tag, id, &(((ngwt__DelegatedStatus*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__DelegatedStatus::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DelegatedStatus(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_get_ngwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DelegatedStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DelegatedStatus::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DelegatedStatus(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_in_ngwt__DelegatedStatus(struct soap *soap, const char *tag, ngwt__DelegatedStatus *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__DelegatedStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DelegatedStatus, sizeof(ngwt__DelegatedStatus), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DelegatedStatus) + return (ngwt__DelegatedStatus *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "userid", 0); + if (t) + { if (!(((ngwt__DelegatedStatus *)a)->userid = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__DelegatedStatus *)a)->userid = soap_new_std__string(soap, -1); + ((ngwt__DelegatedStatus *)a)->userid->assign(s); + } + } + } + if (!soap_in_PointerTongwt__CommentStatus(soap, tag, &(((ngwt__DelegatedStatus*)a)->__item), "ngwt:DelegatedStatus")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_new_ngwt__DelegatedStatus(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DelegatedStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegatedStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DelegatedStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DelegatedStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DelegatedStatus; + if (size) + *size = sizeof(ngwt__DelegatedStatus); + ((ngwt__DelegatedStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DelegatedStatus[n]; + if (size) + *size = n * sizeof(ngwt__DelegatedStatus); + for (int i = 0; i < n; i++) + ((ngwt__DelegatedStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DelegatedStatus*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegatedStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DelegatedStatus %p -> %p\n", q, p)); + *(ngwt__DelegatedStatus*)p = *(ngwt__DelegatedStatus*)q; +} + +void ngwt__DayOfYearWeekList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, &((ngwt__DayOfYearWeekList*)this)->day); + /* transient soap skipped */ +} + +void ngwt__DayOfYearWeekList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, &((ngwt__DayOfYearWeekList*)this)->day); + /* transient soap skipped */ +} + +int ngwt__DayOfYearWeekList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYearWeekList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DayOfYearWeekList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DayOfYearWeekList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeekList(struct soap *soap, const char *tag, int id, const ngwt__DayOfYearWeekList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DayOfYearWeekList), type); + soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, "ngwt:day", -1, &(((ngwt__DayOfYearWeekList*)a)->day), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DayOfYearWeekList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DayOfYearWeekList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfYearWeekList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DayOfYearWeekList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DayOfYearWeekList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeekList(struct soap *soap, const char *tag, ngwt__DayOfYearWeekList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DayOfYearWeekList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfYearWeekList, sizeof(ngwt__DayOfYearWeekList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DayOfYearWeekList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DayOfYearWeekList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, "ngwt:day", &(((ngwt__DayOfYearWeekList*)a)->day), "ngwt:DayOfYearWeek")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DayOfYearWeekList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearWeekList, 0, sizeof(ngwt__DayOfYearWeekList), 0, soap_copy_ngwt__DayOfYearWeekList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeekList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DayOfYearWeekList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeekList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfYearWeekList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfYearWeekList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DayOfYearWeekList; + if (size) + *size = sizeof(ngwt__DayOfYearWeekList); + ((ngwt__DayOfYearWeekList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DayOfYearWeekList[n]; + if (size) + *size = n * sizeof(ngwt__DayOfYearWeekList); + for (int i = 0; i < n; i++) + ((ngwt__DayOfYearWeekList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DayOfYearWeekList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeekList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfYearWeekList %p -> %p\n", q, p)); + *(ngwt__DayOfYearWeekList*)p = *(ngwt__DayOfYearWeekList*)q; +} + +void ngwt__DayOfYearWeek::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__DayOfYearWeek*)this)->__item, SOAP_TYPE_ngwt__WeekDay); + /* transient soap skipped */ +} + +void ngwt__DayOfYearWeek::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__WeekDay(soap, &((ngwt__DayOfYearWeek*)this)->__item); + ((ngwt__DayOfYearWeek*)this)->occurrence = NULL; + /* transient soap skipped */ +} + +int ngwt__DayOfYearWeek::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYearWeek); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DayOfYearWeek::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DayOfYearWeek(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeek(struct soap *soap, const char *tag, int id, const ngwt__DayOfYearWeek *a, const char *type) +{ + if (((ngwt__DayOfYearWeek *)a)->occurrence) + soap_set_attr(soap, "occurrence", soap_short2s(soap, *((ngwt__DayOfYearWeek *)a)->occurrence)); + soap_out_ngwt__WeekDay(soap, tag, id, &(((ngwt__DayOfYearWeek*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__DayOfYearWeek::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DayOfYearWeek(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfYearWeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DayOfYearWeek::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DayOfYearWeek(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeek(struct soap *soap, const char *tag, ngwt__DayOfYearWeek *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__DayOfYearWeek *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfYearWeek, sizeof(ngwt__DayOfYearWeek), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DayOfYearWeek) + return (ngwt__DayOfYearWeek *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "occurrence", 0); + if (t) + { if (!(((ngwt__DayOfYearWeek *)a)->occurrence = (short *)soap_malloc(soap, sizeof(short)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2short(soap, t, ((ngwt__DayOfYearWeek *)a)->occurrence)) + return NULL; + } + } + if (!soap_in_ngwt__WeekDay(soap, tag, &(((ngwt__DayOfYearWeek*)a)->__item), "ngwt:DayOfYearWeek")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeek(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DayOfYearWeek(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeek(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfYearWeek(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfYearWeek, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DayOfYearWeek; + if (size) + *size = sizeof(ngwt__DayOfYearWeek); + ((ngwt__DayOfYearWeek*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DayOfYearWeek[n]; + if (size) + *size = n * sizeof(ngwt__DayOfYearWeek); + for (int i = 0; i < n; i++) + ((ngwt__DayOfYearWeek*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DayOfYearWeek*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeek(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfYearWeek %p -> %p\n", q, p)); + *(ngwt__DayOfYearWeek*)p = *(ngwt__DayOfYearWeek*)q; +} + +void ngwt__DayOfYearList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__DayOfYear(soap, &((ngwt__DayOfYearList*)this)->day); + /* transient soap skipped */ +} + +void ngwt__DayOfYearList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__DayOfYear(soap, &((ngwt__DayOfYearList*)this)->day); + /* transient soap skipped */ +} + +int ngwt__DayOfYearList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfYearList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DayOfYearList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DayOfYearList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearList(struct soap *soap, const char *tag, int id, const ngwt__DayOfYearList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DayOfYearList), type); + soap_out_std__vectorTemplateOfngwt__DayOfYear(soap, "ngwt:day", -1, &(((ngwt__DayOfYearList*)a)->day), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DayOfYearList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DayOfYearList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_get_ngwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfYearList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DayOfYearList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DayOfYearList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_in_ngwt__DayOfYearList(struct soap *soap, const char *tag, ngwt__DayOfYearList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DayOfYearList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfYearList, sizeof(ngwt__DayOfYearList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DayOfYearList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DayOfYearList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__DayOfYear(soap, "ngwt:day", &(((ngwt__DayOfYearList*)a)->day), "ngwt:DayOfYear")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DayOfYearList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearList, 0, sizeof(ngwt__DayOfYearList), 0, soap_copy_ngwt__DayOfYearList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_new_ngwt__DayOfYearList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DayOfYearList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfYearList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfYearList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DayOfYearList; + if (size) + *size = sizeof(ngwt__DayOfYearList); + ((ngwt__DayOfYearList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DayOfYearList[n]; + if (size) + *size = n * sizeof(ngwt__DayOfYearList); + for (int i = 0; i < n; i++) + ((ngwt__DayOfYearList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DayOfYearList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfYearList %p -> %p\n", q, p)); + *(ngwt__DayOfYearList*)p = *(ngwt__DayOfYearList*)q; +} + +void ngwt__DayOfWeek::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__DayOfWeek*)this)->__item, SOAP_TYPE_ngwt__WeekDay); + /* transient soap skipped */ +} + +void ngwt__DayOfWeek::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__WeekDay(soap, &((ngwt__DayOfWeek*)this)->__item); + ((ngwt__DayOfWeek*)this)->occurrence = NULL; + /* transient soap skipped */ +} + +int ngwt__DayOfWeek::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfWeek); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DayOfWeek::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DayOfWeek(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfWeek(struct soap *soap, const char *tag, int id, const ngwt__DayOfWeek *a, const char *type) +{ + if (((ngwt__DayOfWeek *)a)->occurrence) + soap_set_attr(soap, "occurrence", soap_ngwt__OccurrenceType2s(soap, *((ngwt__DayOfWeek *)a)->occurrence)); + soap_out_ngwt__WeekDay(soap, tag, id, &(((ngwt__DayOfWeek*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__DayOfWeek::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DayOfWeek(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_get_ngwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfWeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DayOfWeek::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DayOfWeek(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_in_ngwt__DayOfWeek(struct soap *soap, const char *tag, ngwt__DayOfWeek *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__DayOfWeek *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfWeek, sizeof(ngwt__DayOfWeek), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DayOfWeek) + return (ngwt__DayOfWeek *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "occurrence", 0); + if (t) + { if (!(((ngwt__DayOfWeek *)a)->occurrence = (enum ngwt__OccurrenceType *)soap_malloc(soap, sizeof(enum ngwt__OccurrenceType)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2ngwt__OccurrenceType(soap, t, ((ngwt__DayOfWeek *)a)->occurrence)) + return NULL; + } + } + if (!soap_in_ngwt__WeekDay(soap, tag, &(((ngwt__DayOfWeek*)a)->__item), "ngwt:DayOfWeek")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_new_ngwt__DayOfWeek(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DayOfWeek(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfWeek(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfWeek(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfWeek, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DayOfWeek; + if (size) + *size = sizeof(ngwt__DayOfWeek); + ((ngwt__DayOfWeek*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DayOfWeek[n]; + if (size) + *size = n * sizeof(ngwt__DayOfWeek); + for (int i = 0; i < n; i++) + ((ngwt__DayOfWeek*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DayOfWeek*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfWeek(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfWeek %p -> %p\n", q, p)); + *(ngwt__DayOfWeek*)p = *(ngwt__DayOfWeek*)q; +} + +void ngwt__DayOfMonthList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__DayOfMonth(soap, &((ngwt__DayOfMonthList*)this)->day); + /* transient soap skipped */ +} + +void ngwt__DayOfMonthList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__DayOfMonth(soap, &((ngwt__DayOfMonthList*)this)->day); + /* transient soap skipped */ +} + +int ngwt__DayOfMonthList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__DayOfMonthList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__DayOfMonthList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__DayOfMonthList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonthList(struct soap *soap, const char *tag, int id, const ngwt__DayOfMonthList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__DayOfMonthList), type); + soap_out_std__vectorTemplateOfngwt__DayOfMonth(soap, "ngwt:day", -1, &(((ngwt__DayOfMonthList*)a)->day), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__DayOfMonthList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__DayOfMonthList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_get_ngwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__DayOfMonthList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__DayOfMonthList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__DayOfMonthList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_in_ngwt__DayOfMonthList(struct soap *soap, const char *tag, ngwt__DayOfMonthList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__DayOfMonthList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__DayOfMonthList, sizeof(ngwt__DayOfMonthList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__DayOfMonthList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__DayOfMonthList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__DayOfMonth(soap, "ngwt:day", &(((ngwt__DayOfMonthList*)a)->day), "ngwt:DayOfMonth")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__DayOfMonthList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfMonthList, 0, sizeof(ngwt__DayOfMonthList), 0, soap_copy_ngwt__DayOfMonthList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_new_ngwt__DayOfMonthList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__DayOfMonthList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfMonthList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__DayOfMonthList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__DayOfMonthList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__DayOfMonthList; + if (size) + *size = sizeof(ngwt__DayOfMonthList); + ((ngwt__DayOfMonthList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DayOfMonthList[n]; + if (size) + *size = n * sizeof(ngwt__DayOfMonthList); + for (int i = 0; i < n; i++) + ((ngwt__DayOfMonthList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DayOfMonthList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfMonthList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__DayOfMonthList %p -> %p\n", q, p)); + *(ngwt__DayOfMonthList*)p = *(ngwt__DayOfMonthList*)q; +} + +void ngwt__CustomList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__CustomList*)this)->custom); + /* transient soap skipped */ +} + +void ngwt__CustomList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Custom(soap, &((ngwt__CustomList*)this)->custom); + /* transient soap skipped */ +} + +int ngwt__CustomList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CustomList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__CustomList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__CustomList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomList(struct soap *soap, const char *tag, int id, const ngwt__CustomList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CustomList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:custom", -1, &(((ngwt__CustomList*)a)->custom), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__CustomList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__CustomList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_get_ngwt__CustomList(struct soap *soap, ngwt__CustomList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CustomList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__CustomList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__CustomList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_in_ngwt__CustomList(struct soap *soap, const char *tag, ngwt__CustomList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__CustomList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CustomList, sizeof(ngwt__CustomList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__CustomList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__CustomList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, "ngwt:custom", &(((ngwt__CustomList*)a)->custom), "ngwt:Custom")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__CustomList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomList, 0, sizeof(ngwt__CustomList), 0, soap_copy_ngwt__CustomList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_new_ngwt__CustomList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__CustomList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CustomList(struct soap *soap, ngwt__CustomList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_instantiate_ngwt__CustomList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CustomList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CustomList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__CustomList; + if (size) + *size = sizeof(ngwt__CustomList); + ((ngwt__CustomList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CustomList[n]; + if (size) + *size = n * sizeof(ngwt__CustomList); + for (int i = 0; i < n; i++) + ((ngwt__CustomList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CustomList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CustomList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CustomList %p -> %p\n", q, p)); + *(ngwt__CustomList*)p = *(ngwt__CustomList*)q; +} + +void ngwt__Custom::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Custom*)this)->field, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__Custom*)this)->field); + soap_embedded(soap, &((ngwt__Custom*)this)->value, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Custom*)this)->value); + soap_embedded(soap, &((ngwt__Custom*)this)->locked, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Custom*)this)->locked); + /* transient soap skipped */ +} + +void ngwt__Custom::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__Custom*)this)->field); + ((ngwt__Custom*)this)->value = NULL; + ((ngwt__Custom*)this)->locked = NULL; + ((ngwt__Custom*)this)->type = NULL; + /* transient soap skipped */ +} + +int ngwt__Custom::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Custom); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Custom::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Custom(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Custom(struct soap *soap, const char *tag, int id, const ngwt__Custom *a, const char *type) +{ + if (((ngwt__Custom *)a)->type) + soap_set_attr(soap, "type", soap_ngwt__CustomType2s(soap, *((ngwt__Custom *)a)->type)); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Custom), type); + soap_out_std__string(soap, "ngwt:field", -1, &(((ngwt__Custom*)a)->field), ""); + soap_out_PointerTostd__string(soap, "ngwt:value", -1, &(((ngwt__Custom*)a)->value), ""); + soap_out_PointerTobool(soap, "ngwt:locked", -1, &(((ngwt__Custom*)a)->locked), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Custom::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Custom(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_get_ngwt__Custom(struct soap *soap, ngwt__Custom *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Custom(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Custom::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Custom(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_in_ngwt__Custom(struct soap *soap, const char *tag, ngwt__Custom *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Custom *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Custom, sizeof(ngwt__Custom), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Custom) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Custom *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "type", 0); + if (t) + { if (!(((ngwt__Custom *)a)->type = (enum ngwt__CustomType *)soap_malloc(soap, sizeof(enum ngwt__CustomType)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2ngwt__CustomType(soap, t, ((ngwt__Custom *)a)->type)) + return NULL; + } + } + short soap_flag_field1 = 1, soap_flag_value1 = 1, soap_flag_locked1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_field1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:field", &(((ngwt__Custom*)a)->field), "")) + { soap_flag_field1 = 0; + continue; + } + if (soap_flag_value1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:value", &(((ngwt__Custom*)a)->value), "")) + { soap_flag_value1 = 0; + continue; + } + if (soap_flag_locked1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:locked", &(((ngwt__Custom*)a)->locked), "")) + { soap_flag_locked1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_field1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Custom *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Custom, 0, sizeof(ngwt__Custom), 0, soap_copy_ngwt__Custom); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_new_ngwt__Custom(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Custom(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Custom(struct soap *soap, ngwt__Custom *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_instantiate_ngwt__Custom(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Custom(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Custom, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Custom; + if (size) + *size = sizeof(ngwt__Custom); + ((ngwt__Custom*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Custom[n]; + if (size) + *size = n * sizeof(ngwt__Custom); + for (int i = 0; i < n; i++) + ((ngwt__Custom*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Custom*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Custom(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Custom %p -> %p\n", q, p)); + *(ngwt__Custom*)p = *(ngwt__Custom*)q; +} + +void ngwt__ContainerRef::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ContainerRef*)this)->__item, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &((ngwt__ContainerRef*)this)->__item); + /* transient soap skipped */ +} + +void ngwt__ContainerRef::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__string(soap, &((ngwt__ContainerRef*)this)->__item); + soap_default_string(soap, &((ngwt__ContainerRef*)this)->deleted); + /* transient soap skipped */ +} + +int ngwt__ContainerRef::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ContainerRef); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ContainerRef::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ContainerRef(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerRef(struct soap *soap, const char *tag, int id, const ngwt__ContainerRef *a, const char *type) +{ + if (((ngwt__ContainerRef *)a)->deleted) + soap_set_attr(soap, "deleted", ((ngwt__ContainerRef *)a)->deleted); + soap_out_std__string(soap, tag, id, &(((ngwt__ContainerRef*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__ContainerRef::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ContainerRef(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_get_ngwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ContainerRef(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ContainerRef::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ContainerRef(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_in_ngwt__ContainerRef(struct soap *soap, const char *tag, ngwt__ContainerRef *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__ContainerRef *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContainerRef, sizeof(ngwt__ContainerRef), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ContainerRef) + return (ngwt__ContainerRef *)a->soap_in(soap, tag, type); + } + if (soap_s2string(soap, soap_attr_value(soap, "deleted", 0), &((ngwt__ContainerRef *)a)->deleted)) + return NULL; + if (!soap_in_std__string(soap, tag, &(((ngwt__ContainerRef*)a)->__item), "ngwt:ContainerRef")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_new_ngwt__ContainerRef(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ContainerRef(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_instantiate_ngwt__ContainerRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ContainerRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ContainerRef, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ContainerRef; + if (size) + *size = sizeof(ngwt__ContainerRef); + ((ngwt__ContainerRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContainerRef[n]; + if (size) + *size = n * sizeof(ngwt__ContainerRef); + for (int i = 0; i < n; i++) + ((ngwt__ContainerRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContainerRef*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ContainerRef %p -> %p\n", q, p)); + *(ngwt__ContainerRef*)p = *(ngwt__ContainerRef*)q; +} + +void ngwt__ContainerItem::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__ContainerItem::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__ContainerItem::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ContainerItem); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ContainerItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ContainerItem(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerItem(struct soap *soap, const char *tag, int id, const ngwt__ContainerItem *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ContainerItem), "ngwt:ContainerItem"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ContainerItem::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ContainerItem(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_get_ngwt__ContainerItem(struct soap *soap, ngwt__ContainerItem *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ContainerItem(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ContainerItem::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ContainerItem(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_in_ngwt__ContainerItem(struct soap *soap, const char *tag, ngwt__ContainerItem *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ContainerItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContainerItem, sizeof(ngwt__ContainerItem), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ContainerItem) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ContainerItem *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_categories1 = 1, soap_flag_created1 = 1, soap_flag_customs1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id2 = 0; + continue; + } + if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name2 = 0; + continue; + } + if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version2 = 0; + continue; + } + if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified2 = 0; + continue; + } + if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes2 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories1 = 0; + continue; + } + if (soap_flag_created1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created1 = 0; + continue; + } + if (soap_flag_customs1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ContainerItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContainerItem, 0, sizeof(ngwt__ContainerItem), 0, soap_copy_ngwt__ContainerItem); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_new_ngwt__ContainerItem(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ContainerItem(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerItem(struct soap *soap, ngwt__ContainerItem *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_instantiate_ngwt__ContainerItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ContainerItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ContainerItem, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:AddressBookItem")) + { cp->type = SOAP_TYPE_ngwt__AddressBookItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__AddressBookItem; + if (size) + *size = sizeof(ngwt__AddressBookItem); + ((ngwt__AddressBookItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AddressBookItem[n]; + if (size) + *size = n * sizeof(ngwt__AddressBookItem); + for (int i = 0; i < n; i++) + ((ngwt__AddressBookItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AddressBookItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:BoxEntry")) + { cp->type = SOAP_TYPE_ngwt__BoxEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__BoxEntry; + if (size) + *size = sizeof(ngwt__BoxEntry); + ((ngwt__BoxEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__BoxEntry[n]; + if (size) + *size = n * sizeof(ngwt__BoxEntry); + for (int i = 0; i < n; i++) + ((ngwt__BoxEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__BoxEntry*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Document")) + { cp->type = SOAP_TYPE_ngwt__Document; + if (n < 0) + { cp->ptr = (void*)new ngwt__Document; + if (size) + *size = sizeof(ngwt__Document); + ((ngwt__Document*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Document[n]; + if (size) + *size = n * sizeof(ngwt__Document); + for (int i = 0; i < n; i++) + ((ngwt__Document*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Document*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Rule")) + { cp->type = SOAP_TYPE_ngwt__Rule; + if (n < 0) + { cp->ptr = (void*)new ngwt__Rule; + if (size) + *size = sizeof(ngwt__Rule); + ((ngwt__Rule*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Rule[n]; + if (size) + *size = n * sizeof(ngwt__Rule); + for (int i = 0; i < n; i++) + ((ngwt__Rule*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Rule*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Version")) + { cp->type = SOAP_TYPE_ngwt__Version; + if (n < 0) + { cp->ptr = (void*)new ngwt__Version; + if (size) + *size = sizeof(ngwt__Version); + ((ngwt__Version*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Version[n]; + if (size) + *size = n * sizeof(ngwt__Version); + for (int i = 0; i < n; i++) + ((ngwt__Version*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Version*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:VersionEvent")) + { cp->type = SOAP_TYPE_ngwt__VersionEvent; + if (n < 0) + { cp->ptr = (void*)new ngwt__VersionEvent; + if (size) + *size = sizeof(ngwt__VersionEvent); + ((ngwt__VersionEvent*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__VersionEvent[n]; + if (size) + *size = n * sizeof(ngwt__VersionEvent); + for (int i = 0; i < n; i++) + ((ngwt__VersionEvent*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__VersionEvent*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Contact")) + { cp->type = SOAP_TYPE_ngwt__Contact; + if (n < 0) + { cp->ptr = (void*)new ngwt__Contact; + if (size) + *size = sizeof(ngwt__Contact); + ((ngwt__Contact*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Contact[n]; + if (size) + *size = n * sizeof(ngwt__Contact); + for (int i = 0; i < n; i++) + ((ngwt__Contact*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Contact*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Group")) + { cp->type = SOAP_TYPE_ngwt__Group; + if (n < 0) + { cp->ptr = (void*)new ngwt__Group; + if (size) + *size = sizeof(ngwt__Group); + ((ngwt__Group*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Group[n]; + if (size) + *size = n * sizeof(ngwt__Group); + for (int i = 0; i < n; i++) + ((ngwt__Group*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Group*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Mail")) + { cp->type = SOAP_TYPE_ngwt__Mail; + if (n < 0) + { cp->ptr = (void*)new ngwt__Mail; + if (size) + *size = sizeof(ngwt__Mail); + ((ngwt__Mail*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Mail[n]; + if (size) + *size = n * sizeof(ngwt__Mail); + for (int i = 0; i < n; i++) + ((ngwt__Mail*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Mail*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Organization")) + { cp->type = SOAP_TYPE_ngwt__Organization; + if (n < 0) + { cp->ptr = (void*)new ngwt__Organization; + if (size) + *size = sizeof(ngwt__Organization); + ((ngwt__Organization*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Organization[n]; + if (size) + *size = n * sizeof(ngwt__Organization); + for (int i = 0; i < n; i++) + ((ngwt__Organization*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Organization*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Resource")) + { cp->type = SOAP_TYPE_ngwt__Resource; + if (n < 0) + { cp->ptr = (void*)new ngwt__Resource; + if (size) + *size = sizeof(ngwt__Resource); + ((ngwt__Resource*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Resource[n]; + if (size) + *size = n * sizeof(ngwt__Resource); + for (int i = 0; i < n; i++) + ((ngwt__Resource*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Resource*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem")) + { cp->type = SOAP_TYPE_ngwt__CalendarItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__CalendarItem; + if (size) + *size = sizeof(ngwt__CalendarItem); + ((ngwt__CalendarItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CalendarItem[n]; + if (size) + *size = n * sizeof(ngwt__CalendarItem); + for (int i = 0; i < n; i++) + ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CalendarItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef")) + { cp->type = SOAP_TYPE_ngwt__DocumentRef; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentRef; + if (size) + *size = sizeof(ngwt__DocumentRef); + ((ngwt__DocumentRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentRef[n]; + if (size) + *size = n * sizeof(ngwt__DocumentRef); + for (int i = 0; i < n; i++) + ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentRef*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage")) + { cp->type = SOAP_TYPE_ngwt__PhoneMessage; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneMessage; + if (size) + *size = sizeof(ngwt__PhoneMessage); + ((ngwt__PhoneMessage*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneMessage[n]; + if (size) + *size = n * sizeof(ngwt__PhoneMessage); + for (int i = 0; i < n; i++) + ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneMessage*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification")) + { cp->type = SOAP_TYPE_ngwt__SharedNotification; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedNotification; + if (size) + *size = sizeof(ngwt__SharedNotification); + ((ngwt__SharedNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedNotification[n]; + if (size) + *size = n * sizeof(ngwt__SharedNotification); + for (int i = 0; i < n; i++) + ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedNotification*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Appointment")) + { cp->type = SOAP_TYPE_ngwt__Appointment; + if (n < 0) + { cp->ptr = (void*)new ngwt__Appointment; + if (size) + *size = sizeof(ngwt__Appointment); + ((ngwt__Appointment*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Appointment[n]; + if (size) + *size = n * sizeof(ngwt__Appointment); + for (int i = 0; i < n; i++) + ((ngwt__Appointment*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Appointment*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Note")) + { cp->type = SOAP_TYPE_ngwt__Note; + if (n < 0) + { cp->ptr = (void*)new ngwt__Note; + if (size) + *size = sizeof(ngwt__Note); + ((ngwt__Note*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Note[n]; + if (size) + *size = n * sizeof(ngwt__Note); + for (int i = 0; i < n; i++) + ((ngwt__Note*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Note*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Task")) + { cp->type = SOAP_TYPE_ngwt__Task; + if (n < 0) + { cp->ptr = (void*)new ngwt__Task; + if (size) + *size = sizeof(ngwt__Task); + ((ngwt__Task*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Task[n]; + if (size) + *size = n * sizeof(ngwt__Task); + for (int i = 0; i < n; i++) + ((ngwt__Task*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Task*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__ContainerItem; + if (size) + *size = sizeof(ngwt__ContainerItem); + ((ngwt__ContainerItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContainerItem[n]; + if (size) + *size = n * sizeof(ngwt__ContainerItem); + for (int i = 0; i < n; i++) + ((ngwt__ContainerItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContainerItem*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ContainerItem %p -> %p\n", q, p)); + *(ngwt__ContainerItem*)p = *(ngwt__ContainerItem*)q; +} + +void ngwt__ContactFolder::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__ContactFolder*)this)->addressBook, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__ContactFolder*)this)->addressBook); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSystemFolder, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSystemFolder); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->folderType, SOAP_TYPE_PointerTongwt__FolderType); + soap_serialize_PointerTongwt__FolderType(soap, &((ngwt__SystemFolder*)this)->folderType); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->acl, SOAP_TYPE_PointerTongwt__FolderACL); + soap_serialize_PointerTongwt__FolderACL(soap, &((ngwt__SystemFolder*)this)->acl); + soap_embedded(soap, &((ngwt__SystemFolder*)this)->isSharedByMe, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__SystemFolder*)this)->isSharedByMe); + soap_embedded(soap, &((ngwt__Folder*)this)->parent, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + soap_embedded(soap, &((ngwt__Folder*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Folder*)this)->description); + soap_embedded(soap, &((ngwt__Folder*)this)->count, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->count); + soap_embedded(soap, &((ngwt__Folder*)this)->hasUnread, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Folder*)this)->hasUnread); + soap_embedded(soap, &((ngwt__Folder*)this)->unreadCount, SOAP_TYPE_PointerToint); + soap_serialize_PointerToint(soap, &((ngwt__Folder*)this)->unreadCount); + soap_embedded(soap, &((ngwt__Folder*)this)->sequence, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Folder*)this)->sequence); + soap_embedded(soap, &((ngwt__Folder*)this)->settings, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Folder*)this)->settings); + soap_embedded(soap, &((ngwt__Folder*)this)->calendarAttribute, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute); + soap_serialize_PointerTongwt__CalendarFolderAttribute(soap, &((ngwt__Folder*)this)->calendarAttribute); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__ContactFolder::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__ContactFolder*)this)->addressBook = NULL; + ((ngwt__SystemFolder*)this)->isSystemFolder = NULL; + ((ngwt__SystemFolder*)this)->folderType = NULL; + ((ngwt__SystemFolder*)this)->acl = NULL; + ((ngwt__SystemFolder*)this)->isSharedByMe = NULL; + soap_default_ngwt__uid(soap, &((ngwt__Folder*)this)->parent); + ((ngwt__Folder*)this)->description = NULL; + ((ngwt__Folder*)this)->count = NULL; + ((ngwt__Folder*)this)->hasUnread = NULL; + ((ngwt__Folder*)this)->unreadCount = NULL; + ((ngwt__Folder*)this)->sequence = NULL; + ((ngwt__Folder*)this)->settings = NULL; + ((ngwt__Folder*)this)->calendarAttribute = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__ContactFolder::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__ContactFolder); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__ContactFolder::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__ContactFolder(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactFolder(struct soap *soap, const char *tag, int id, const ngwt__ContactFolder *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__ContactFolder), "ngwt:ContactFolder"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_ngwt__uid(soap, "ngwt:parent", -1, &(((ngwt__Folder*)a)->parent), ""); + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__Folder*)a)->description), ""); + soap_out_PointerToint(soap, "ngwt:count", -1, &(((ngwt__Folder*)a)->count), ""); + soap_out_PointerTobool(soap, "ngwt:hasUnread", -1, &(((ngwt__Folder*)a)->hasUnread), ""); + soap_out_PointerToint(soap, "ngwt:unreadCount", -1, &(((ngwt__Folder*)a)->unreadCount), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:sequence", -1, &(((ngwt__Folder*)a)->sequence), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:settings", -1, &(((ngwt__Folder*)a)->settings), ""); + soap_out_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", -1, &(((ngwt__Folder*)a)->calendarAttribute), ""); + soap_out_PointerTobool(soap, "ngwt:isSystemFolder", -1, &(((ngwt__SystemFolder*)a)->isSystemFolder), ""); + soap_out_PointerTongwt__FolderType(soap, "ngwt:folderType", -1, &(((ngwt__SystemFolder*)a)->folderType), ""); + soap_out_PointerTongwt__FolderACL(soap, "ngwt:acl", -1, &(((ngwt__SystemFolder*)a)->acl), ""); + soap_out_PointerTobool(soap, "ngwt:isSharedByMe", -1, &(((ngwt__SystemFolder*)a)->isSharedByMe), ""); + soap_out_PointerTongwt__uid(soap, "ngwt:addressBook", -1, &(((ngwt__ContactFolder*)a)->addressBook), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__ContactFolder::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__ContactFolder(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_get_ngwt__ContactFolder(struct soap *soap, ngwt__ContactFolder *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__ContactFolder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__ContactFolder::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__ContactFolder(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_in_ngwt__ContactFolder(struct soap *soap, const char *tag, ngwt__ContactFolder *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__ContactFolder *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__ContactFolder, sizeof(ngwt__ContactFolder), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__ContactFolder) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__ContactFolder *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_parent3 = 1, soap_flag_description3 = 1, soap_flag_count3 = 1, soap_flag_hasUnread3 = 1, soap_flag_unreadCount3 = 1, soap_flag_sequence3 = 1, soap_flag_settings3 = 1, soap_flag_calendarAttribute3 = 1, soap_flag_isSystemFolder2 = 1, soap_flag_folderType2 = 1, soap_flag_acl2 = 1, soap_flag_isSharedByMe2 = 1, soap_flag_addressBook1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id4 = 0; + continue; + } + if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name4 = 0; + continue; + } + if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version4 = 0; + continue; + } + if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified4 = 0; + continue; + } + if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes4 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_parent3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_ngwt__uid(soap, "ngwt:parent", &(((ngwt__Folder*)a)->parent), "ngwt:uid")) + { soap_flag_parent3 = 0; + continue; + } + if (soap_flag_description3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__Folder*)a)->description), "")) + { soap_flag_description3 = 0; + continue; + } + if (soap_flag_count3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:count", &(((ngwt__Folder*)a)->count), "")) + { soap_flag_count3 = 0; + continue; + } + if (soap_flag_hasUnread3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hasUnread", &(((ngwt__Folder*)a)->hasUnread), "")) + { soap_flag_hasUnread3 = 0; + continue; + } + if (soap_flag_unreadCount3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToint(soap, "ngwt:unreadCount", &(((ngwt__Folder*)a)->unreadCount), "")) + { soap_flag_unreadCount3 = 0; + continue; + } + if (soap_flag_sequence3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:sequence", &(((ngwt__Folder*)a)->sequence), "")) + { soap_flag_sequence3 = 0; + continue; + } + if (soap_flag_settings3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:settings", &(((ngwt__Folder*)a)->settings), "ngwt:uid")) + { soap_flag_settings3 = 0; + continue; + } + if (soap_flag_calendarAttribute3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CalendarFolderAttribute(soap, "ngwt:calendarAttribute", &(((ngwt__Folder*)a)->calendarAttribute), "ngwt:CalendarFolderAttribute")) + { soap_flag_calendarAttribute3 = 0; + continue; + } + if (soap_flag_isSystemFolder2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isSystemFolder", &(((ngwt__SystemFolder*)a)->isSystemFolder), "")) + { soap_flag_isSystemFolder2 = 0; + continue; + } + if (soap_flag_folderType2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderType(soap, "ngwt:folderType", &(((ngwt__SystemFolder*)a)->folderType), "")) + { soap_flag_folderType2 = 0; + continue; + } + if (soap_flag_acl2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FolderACL(soap, "ngwt:acl", &(((ngwt__SystemFolder*)a)->acl), "ngwt:FolderACL")) + { soap_flag_acl2 = 0; + continue; + } + if (soap_flag_isSharedByMe2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isSharedByMe", &(((ngwt__SystemFolder*)a)->isSharedByMe), "")) + { soap_flag_isSharedByMe2 = 0; + continue; + } + if (soap_flag_addressBook1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:addressBook", &(((ngwt__ContactFolder*)a)->addressBook), "ngwt:uid")) + { soap_flag_addressBook1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_parent3)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__ContactFolder *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContactFolder, 0, sizeof(ngwt__ContactFolder), 0, soap_copy_ngwt__ContactFolder); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_new_ngwt__ContactFolder(struct soap *soap, int n) +{ return soap_instantiate_ngwt__ContactFolder(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContactFolder(struct soap *soap, ngwt__ContactFolder *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_instantiate_ngwt__ContactFolder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__ContactFolder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__ContactFolder, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__ContactFolder; + if (size) + *size = sizeof(ngwt__ContactFolder); + ((ngwt__ContactFolder*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__ContactFolder[n]; + if (size) + *size = n * sizeof(ngwt__ContactFolder); + for (int i = 0; i < n; i++) + ((ngwt__ContactFolder*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__ContactFolder*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContactFolder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__ContactFolder %p -> %p\n", q, p)); + *(ngwt__ContactFolder*)p = *(ngwt__ContactFolder*)q; +} + +void ngwt__Contact::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Contact*)this)->fullName, SOAP_TYPE_PointerTongwt__FullName); + soap_serialize_PointerTongwt__FullName(soap, &((ngwt__Contact*)this)->fullName); + soap_embedded(soap, &((ngwt__Contact*)this)->emailList, SOAP_TYPE_PointerTongwt__EmailAddressList); + soap_serialize_PointerTongwt__EmailAddressList(soap, &((ngwt__Contact*)this)->emailList); + soap_embedded(soap, &((ngwt__Contact*)this)->imList, SOAP_TYPE_PointerTongwt__ImAddressList); + soap_serialize_PointerTongwt__ImAddressList(soap, &((ngwt__Contact*)this)->imList); + soap_embedded(soap, &((ngwt__Contact*)this)->phoneList, SOAP_TYPE_PointerTongwt__PhoneList); + soap_serialize_PointerTongwt__PhoneList(soap, &((ngwt__Contact*)this)->phoneList); + soap_embedded(soap, &((ngwt__Contact*)this)->addressList, SOAP_TYPE_PointerTongwt__PostalAddressList); + soap_serialize_PointerTongwt__PostalAddressList(soap, &((ngwt__Contact*)this)->addressList); + soap_embedded(soap, &((ngwt__Contact*)this)->officeInfo, SOAP_TYPE_PointerTongwt__OfficeInfo); + soap_serialize_PointerTongwt__OfficeInfo(soap, &((ngwt__Contact*)this)->officeInfo); + soap_embedded(soap, &((ngwt__Contact*)this)->personalInfo, SOAP_TYPE_PointerTongwt__PersonalInfo); + soap_serialize_PointerTongwt__PersonalInfo(soap, &((ngwt__Contact*)this)->personalInfo); + soap_embedded(soap, &((ngwt__Contact*)this)->referenceInfo, SOAP_TYPE_PointerTongwt__ReferenceInfo); + soap_serialize_PointerTongwt__ReferenceInfo(soap, &((ngwt__Contact*)this)->referenceInfo); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType); + soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Contact::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Contact*)this)->fullName = NULL; + ((ngwt__Contact*)this)->emailList = NULL; + ((ngwt__Contact*)this)->imList = NULL; + ((ngwt__Contact*)this)->phoneList = NULL; + ((ngwt__Contact*)this)->addressList = NULL; + ((ngwt__Contact*)this)->officeInfo = NULL; + ((ngwt__Contact*)this)->personalInfo = NULL; + ((ngwt__Contact*)this)->referenceInfo = NULL; + ((ngwt__AddressBookItem*)this)->uuid = NULL; + ((ngwt__AddressBookItem*)this)->comment = NULL; + ((ngwt__AddressBookItem*)this)->sync = NULL; + ((ngwt__AddressBookItem*)this)->domain = NULL; + ((ngwt__AddressBookItem*)this)->postOffice = NULL; + ((ngwt__AddressBookItem*)this)->distinguishedName = NULL; + ((ngwt__AddressBookItem*)this)->userid = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Contact::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Contact); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Contact::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Contact(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Contact(struct soap *soap, const char *tag, int id, const ngwt__Contact *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Contact), "ngwt:Contact"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), ""); + soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), ""); + soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), ""); + soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), ""); + soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), ""); + soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), ""); + soap_out_PointerTongwt__FullName(soap, "ngwt:fullName", -1, &(((ngwt__Contact*)a)->fullName), ""); + soap_out_PointerTongwt__EmailAddressList(soap, "ngwt:emailList", -1, &(((ngwt__Contact*)a)->emailList), ""); + soap_out_PointerTongwt__ImAddressList(soap, "ngwt:imList", -1, &(((ngwt__Contact*)a)->imList), ""); + soap_out_PointerTongwt__PhoneList(soap, "ngwt:phoneList", -1, &(((ngwt__Contact*)a)->phoneList), ""); + soap_out_PointerTongwt__PostalAddressList(soap, "ngwt:addressList", -1, &(((ngwt__Contact*)a)->addressList), ""); + soap_out_PointerTongwt__OfficeInfo(soap, "ngwt:officeInfo", -1, &(((ngwt__Contact*)a)->officeInfo), ""); + soap_out_PointerTongwt__PersonalInfo(soap, "ngwt:personalInfo", -1, &(((ngwt__Contact*)a)->personalInfo), ""); + soap_out_PointerTongwt__ReferenceInfo(soap, "ngwt:referenceInfo", -1, &(((ngwt__Contact*)a)->referenceInfo), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Contact::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Contact(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_get_ngwt__Contact(struct soap *soap, ngwt__Contact *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Contact(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Contact::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Contact(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_in_ngwt__Contact(struct soap *soap, const char *tag, ngwt__Contact *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Contact *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Contact, sizeof(ngwt__Contact), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Contact) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Contact *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id4 = 1, soap_flag_name4 = 1, soap_flag_version4 = 1, soap_flag_modified4 = 1, soap_flag_changes4 = 1, soap_flag_categories3 = 1, soap_flag_created3 = 1, soap_flag_customs3 = 1, soap_flag_uuid2 = 1, soap_flag_comment2 = 1, soap_flag_sync2 = 1, soap_flag_domain2 = 1, soap_flag_postOffice2 = 1, soap_flag_distinguishedName2 = 1, soap_flag_userid2 = 1, soap_flag_fullName1 = 1, soap_flag_emailList1 = 1, soap_flag_imList1 = 1, soap_flag_phoneList1 = 1, soap_flag_addressList1 = 1, soap_flag_officeInfo1 = 1, soap_flag_personalInfo1 = 1, soap_flag_referenceInfo1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id4 = 0; + continue; + } + if (soap_flag_name4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name4 = 0; + continue; + } + if (soap_flag_version4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version4 = 0; + continue; + } + if (soap_flag_modified4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified4 = 0; + continue; + } + if (soap_flag_changes4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes4 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories3 = 0; + continue; + } + if (soap_flag_created3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created3 = 0; + continue; + } + if (soap_flag_customs3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs3 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + if (soap_flag_comment2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), "")) + { soap_flag_comment2 = 0; + continue; + } + if (soap_flag_sync2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), "")) + { soap_flag_sync2 = 0; + continue; + } + if (soap_flag_domain2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), "")) + { soap_flag_domain2 = 0; + continue; + } + if (soap_flag_postOffice2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), "")) + { soap_flag_postOffice2 = 0; + continue; + } + if (soap_flag_distinguishedName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), "")) + { soap_flag_distinguishedName2 = 0; + continue; + } + if (soap_flag_userid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), "")) + { soap_flag_userid2 = 0; + continue; + } + if (soap_flag_fullName1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__FullName(soap, "ngwt:fullName", &(((ngwt__Contact*)a)->fullName), "ngwt:FullName")) + { soap_flag_fullName1 = 0; + continue; + } + if (soap_flag_emailList1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__EmailAddressList(soap, "ngwt:emailList", &(((ngwt__Contact*)a)->emailList), "ngwt:EmailAddressList")) + { soap_flag_emailList1 = 0; + continue; + } + if (soap_flag_imList1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ImAddressList(soap, "ngwt:imList", &(((ngwt__Contact*)a)->imList), "ngwt:ImAddressList")) + { soap_flag_imList1 = 0; + continue; + } + if (soap_flag_phoneList1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__PhoneList(soap, "ngwt:phoneList", &(((ngwt__Contact*)a)->phoneList), "ngwt:PhoneList")) + { soap_flag_phoneList1 = 0; + continue; + } + if (soap_flag_addressList1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__PostalAddressList(soap, "ngwt:addressList", &(((ngwt__Contact*)a)->addressList), "ngwt:PostalAddressList")) + { soap_flag_addressList1 = 0; + continue; + } + if (soap_flag_officeInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__OfficeInfo(soap, "ngwt:officeInfo", &(((ngwt__Contact*)a)->officeInfo), "ngwt:OfficeInfo")) + { soap_flag_officeInfo1 = 0; + continue; + } + if (soap_flag_personalInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__PersonalInfo(soap, "ngwt:personalInfo", &(((ngwt__Contact*)a)->personalInfo), "ngwt:PersonalInfo")) + { soap_flag_personalInfo1 = 0; + continue; + } + if (soap_flag_referenceInfo1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ReferenceInfo(soap, "ngwt:referenceInfo", &(((ngwt__Contact*)a)->referenceInfo), "ngwt:ReferenceInfo")) + { soap_flag_referenceInfo1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Contact *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Contact, 0, sizeof(ngwt__Contact), 0, soap_copy_ngwt__Contact); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_new_ngwt__Contact(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Contact(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Contact(struct soap *soap, ngwt__Contact *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_instantiate_ngwt__Contact(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Contact(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Contact, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Contact; + if (size) + *size = sizeof(ngwt__Contact); + ((ngwt__Contact*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Contact[n]; + if (size) + *size = n * sizeof(ngwt__Contact); + for (int i = 0; i < n; i++) + ((ngwt__Contact*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Contact*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Contact(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Contact %p -> %p\n", q, p)); + *(ngwt__Contact*)p = *(ngwt__Contact*)q; +} + +void ngwt__CommentStatus::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__CommentStatus*)this)->__item, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__CommentStatus*)this)->__item); + /* transient soap skipped */ +} + +void ngwt__CommentStatus::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((ngwt__CommentStatus*)this)->__item); + ((ngwt__CommentStatus*)this)->comment = NULL; + /* transient soap skipped */ +} + +int ngwt__CommentStatus::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CommentStatus); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__CommentStatus::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__CommentStatus(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CommentStatus(struct soap *soap, const char *tag, int id, const ngwt__CommentStatus *a, const char *type) +{ + if (((ngwt__CommentStatus *)a)->comment) + soap_set_attr(soap, "comment", ((ngwt__CommentStatus *)a)->comment->c_str()); + soap_out_string(soap, tag, id, &(((ngwt__CommentStatus*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__CommentStatus::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__CommentStatus(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_get_ngwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CommentStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__CommentStatus::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__CommentStatus(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_in_ngwt__CommentStatus(struct soap *soap, const char *tag, ngwt__CommentStatus *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__CommentStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CommentStatus, sizeof(ngwt__CommentStatus), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__CommentStatus) + return (ngwt__CommentStatus *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "comment", 0); + if (t) + { if (!(((ngwt__CommentStatus *)a)->comment = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__CommentStatus *)a)->comment = soap_new_std__string(soap, -1); + ((ngwt__CommentStatus *)a)->comment->assign(s); + } + } + } + if (!soap_in_string(soap, tag, &(((ngwt__CommentStatus*)a)->__item), "ngwt:CommentStatus")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_new_ngwt__CommentStatus(struct soap *soap, int n) +{ return soap_instantiate_ngwt__CommentStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_instantiate_ngwt__CommentStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CommentStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CommentStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__CommentStatus; + if (size) + *size = sizeof(ngwt__CommentStatus); + ((ngwt__CommentStatus*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CommentStatus[n]; + if (size) + *size = n * sizeof(ngwt__CommentStatus); + for (int i = 0; i < n; i++) + ((ngwt__CommentStatus*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CommentStatus*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CommentStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CommentStatus %p -> %p\n", q, p)); + *(ngwt__CommentStatus*)p = *(ngwt__CommentStatus*)q; +} + +void ngwt__CategoryRefList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__uid(soap, &((ngwt__CategoryRefList*)this)->category); + /* transient soap skipped */ +} + +void ngwt__CategoryRefList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__uid(soap, &((ngwt__CategoryRefList*)this)->category); + ((ngwt__CategoryRefList*)this)->primary = NULL; + /* transient soap skipped */ +} + +int ngwt__CategoryRefList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CategoryRefList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__CategoryRefList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__CategoryRefList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryRefList(struct soap *soap, const char *tag, int id, const ngwt__CategoryRefList *a, const char *type) +{ + if (((ngwt__CategoryRefList *)a)->primary) + soap_set_attr(soap, "primary", ((ngwt__CategoryRefList *)a)->primary->c_str()); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CategoryRefList), type); + soap_out_std__vectorTemplateOfngwt__uid(soap, "ngwt:category", -1, &(((ngwt__CategoryRefList*)a)->category), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__CategoryRefList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__CategoryRefList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_get_ngwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CategoryRefList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__CategoryRefList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__CategoryRefList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_in_ngwt__CategoryRefList(struct soap *soap, const char *tag, ngwt__CategoryRefList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__CategoryRefList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CategoryRefList, sizeof(ngwt__CategoryRefList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__CategoryRefList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__CategoryRefList *)a->soap_in(soap, tag, type); + } + } + { const char *t = soap_attr_value(soap, "primary", 0); + if (t) + { if (!(((ngwt__CategoryRefList *)a)->primary = (std::string *)soap_malloc(soap, sizeof(std::string)))) + { soap->error = SOAP_EOM; + return NULL; + } + char *s; + if (soap_s2string(soap, t, &s)) + return NULL; + if (s) + { ((ngwt__CategoryRefList *)a)->primary = soap_new_std__string(soap, -1); + ((ngwt__CategoryRefList *)a)->primary->assign(s); + } + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__uid(soap, "ngwt:category", &(((ngwt__CategoryRefList*)a)->category), "ngwt:uid")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__CategoryRefList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryRefList, 0, sizeof(ngwt__CategoryRefList), 0, soap_copy_ngwt__CategoryRefList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_new_ngwt__CategoryRefList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__CategoryRefList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryRefList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CategoryRefList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CategoryRefList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__CategoryRefList; + if (size) + *size = sizeof(ngwt__CategoryRefList); + ((ngwt__CategoryRefList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CategoryRefList[n]; + if (size) + *size = n * sizeof(ngwt__CategoryRefList); + for (int i = 0; i < n; i++) + ((ngwt__CategoryRefList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CategoryRefList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryRefList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CategoryRefList %p -> %p\n", q, p)); + *(ngwt__CategoryRefList*)p = *(ngwt__CategoryRefList*)q; +} + +void ngwt__CategoryList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__Category(soap, &((ngwt__CategoryList*)this)->category); + /* transient soap skipped */ +} + +void ngwt__CategoryList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__Category(soap, &((ngwt__CategoryList*)this)->category); + /* transient soap skipped */ +} + +int ngwt__CategoryList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CategoryList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__CategoryList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__CategoryList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryList(struct soap *soap, const char *tag, int id, const ngwt__CategoryList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CategoryList), type); + soap_out_std__vectorTemplateOfPointerTongwt__Category(soap, "ngwt:category", -1, &(((ngwt__CategoryList*)a)->category), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__CategoryList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__CategoryList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_get_ngwt__CategoryList(struct soap *soap, ngwt__CategoryList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CategoryList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__CategoryList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__CategoryList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_in_ngwt__CategoryList(struct soap *soap, const char *tag, ngwt__CategoryList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__CategoryList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CategoryList, sizeof(ngwt__CategoryList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__CategoryList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__CategoryList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__Category(soap, "ngwt:category", &(((ngwt__CategoryList*)a)->category), "ngwt:Category")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__CategoryList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryList, 0, sizeof(ngwt__CategoryList), 0, soap_copy_ngwt__CategoryList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_new_ngwt__CategoryList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__CategoryList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryList(struct soap *soap, ngwt__CategoryList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CategoryList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CategoryList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__CategoryList; + if (size) + *size = sizeof(ngwt__CategoryList); + ((ngwt__CategoryList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CategoryList[n]; + if (size) + *size = n * sizeof(ngwt__CategoryList); + for (int i = 0; i < n; i++) + ((ngwt__CategoryList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CategoryList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CategoryList %p -> %p\n", q, p)); + *(ngwt__CategoryList*)p = *(ngwt__CategoryList*)q; +} + +void ngwt__Category::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Category*)this)->type, SOAP_TYPE_PointerTongwt__CategoryType); + soap_serialize_PointerTongwt__CategoryType(soap, &((ngwt__Category*)this)->type); + soap_embedded(soap, &((ngwt__Category*)this)->color, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Category*)this)->color); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Category::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__Category*)this)->type = NULL; + ((ngwt__Category*)this)->color = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Category::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Category); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Category::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Category(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Category(struct soap *soap, const char *tag, int id, const ngwt__Category *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Category), "ngwt:Category"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_PointerTongwt__CategoryType(soap, "ngwt:type", -1, &(((ngwt__Category*)a)->type), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:color", -1, &(((ngwt__Category*)a)->color), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Category::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Category(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_get_ngwt__Category(struct soap *soap, ngwt__Category *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Category(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Category::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Category(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_in_ngwt__Category(struct soap *soap, const char *tag, ngwt__Category *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Category *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Category, sizeof(ngwt__Category), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Category) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Category *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_type1 = 1, soap_flag_color1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id2 = 0; + continue; + } + if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name2 = 0; + continue; + } + if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version2 = 0; + continue; + } + if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified2 = 0; + continue; + } + if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_type1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryType(soap, "ngwt:type", &(((ngwt__Category*)a)->type), "")) + { soap_flag_type1 = 0; + continue; + } + if (soap_flag_color1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:color", &(((ngwt__Category*)a)->color), "")) + { soap_flag_color1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Category *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Category, 0, sizeof(ngwt__Category), 0, soap_copy_ngwt__Category); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_new_ngwt__Category(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Category(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Category(struct soap *soap, ngwt__Category *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_instantiate_ngwt__Category(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Category(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Category, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Category; + if (size) + *size = sizeof(ngwt__Category); + ((ngwt__Category*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Category[n]; + if (size) + *size = n * sizeof(ngwt__Category); + for (int i = 0; i < n; i++) + ((ngwt__Category*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Category*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Category(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Category %p -> %p\n", q, p)); + *(ngwt__Category*)p = *(ngwt__Category*)q; +} + +void ngwt__CalendarItem::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule); + soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__CalendarItem::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__CalendarItem*)this)->rdate = NULL; + ((ngwt__CalendarItem*)this)->rrule = NULL; + ((ngwt__CalendarItem*)this)->exdate = NULL; + ((ngwt__CalendarItem*)this)->recurrenceKey = NULL; + ((ngwt__CalendarItem*)this)->iCalId = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__CalendarItem::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CalendarItem); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__CalendarItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__CalendarItem(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarItem(struct soap *soap, const char *tag, int id, const ngwt__CalendarItem *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CalendarItem), "ngwt:CalendarItem"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), ""); + soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), ""); + soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__CalendarItem::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__CalendarItem(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_get_ngwt__CalendarItem(struct soap *soap, ngwt__CalendarItem *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CalendarItem(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__CalendarItem::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__CalendarItem(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_in_ngwt__CalendarItem(struct soap *soap, const char *tag, ngwt__CalendarItem *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__CalendarItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CalendarItem, sizeof(ngwt__CalendarItem), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__CalendarItem) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__CalendarItem *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id5 = 1, soap_flag_name5 = 1, soap_flag_version5 = 1, soap_flag_modified5 = 1, soap_flag_changes5 = 1, soap_flag_categories4 = 1, soap_flag_created4 = 1, soap_flag_customs4 = 1, soap_flag_status3 = 1, soap_flag_thread3 = 1, soap_flag_msgId3 = 1, soap_flag_messageId3 = 1, soap_flag_source3 = 1, soap_flag_returnSentItemsId3 = 1, soap_flag_delivered3 = 1, soap_flag_class_3 = 1, soap_flag_security3 = 1, soap_flag_comment3 = 1, soap_flag_subject2 = 1, soap_flag_originalSubject2 = 1, soap_flag_subjectPrefix2 = 1, soap_flag_distribution2 = 1, soap_flag_message2 = 1, soap_flag_attachments2 = 1, soap_flag_options2 = 1, soap_flag_link2 = 1, soap_flag_hasAttachment2 = 1, soap_flag_size2 = 1, soap_flag_subType2 = 1, soap_flag_nntpOrImap2 = 1, soap_flag_smimeType2 = 1, soap_flag_rdate1 = 1, soap_flag_rrule1 = 1, soap_flag_exdate1 = 1, soap_flag_recurrenceKey1 = 1, soap_flag_iCalId1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id5 = 0; + continue; + } + if (soap_flag_name5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name5 = 0; + continue; + } + if (soap_flag_version5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version5 = 0; + continue; + } + if (soap_flag_modified5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified5 = 0; + continue; + } + if (soap_flag_changes5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes5 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories4 = 0; + continue; + } + if (soap_flag_created4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created4 = 0; + continue; + } + if (soap_flag_customs4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs4 = 0; + continue; + } + if (soap_flag_status3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status3 = 0; + continue; + } + if (soap_flag_thread3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread3 = 0; + continue; + } + if (soap_flag_msgId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId3 = 0; + continue; + } + if (soap_flag_messageId3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId3 = 0; + continue; + } + if (soap_flag_source3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source3 = 0; + continue; + } + if (soap_flag_returnSentItemsId3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId3 = 0; + continue; + } + if (soap_flag_delivered3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered3 = 0; + continue; + } + if (soap_flag_class_3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_3 = 0; + continue; + } + if (soap_flag_security3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security3 = 0; + continue; + } + if (soap_flag_comment3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment3 = 0; + continue; + } + if (soap_flag_subject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject2 = 0; + continue; + } + if (soap_flag_originalSubject2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject2 = 0; + continue; + } + if (soap_flag_subjectPrefix2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix2 = 0; + continue; + } + if (soap_flag_distribution2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution2 = 0; + continue; + } + if (soap_flag_message2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message2 = 0; + continue; + } + if (soap_flag_attachments2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments2 = 0; + continue; + } + if (soap_flag_options2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options2 = 0; + continue; + } + if (soap_flag_link2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link2 = 0; + continue; + } + if (soap_flag_hasAttachment2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment2 = 0; + continue; + } + if (soap_flag_size2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size2 = 0; + continue; + } + if (soap_flag_subType2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType2 = 0; + continue; + } + if (soap_flag_nntpOrImap2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap2 = 0; + continue; + } + if (soap_flag_smimeType2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType2 = 0; + continue; + } + if (soap_flag_rdate1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType")) + { soap_flag_rdate1 = 0; + continue; + } + if (soap_flag_rrule1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule")) + { soap_flag_rrule1 = 0; + continue; + } + if (soap_flag_exdate1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType")) + { soap_flag_exdate1 = 0; + continue; + } + if (soap_flag_recurrenceKey1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), "")) + { soap_flag_recurrenceKey1 = 0; + continue; + } + if (soap_flag_iCalId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), "")) + { soap_flag_iCalId1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered3)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__CalendarItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarItem, 0, sizeof(ngwt__CalendarItem), 0, soap_copy_ngwt__CalendarItem); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_new_ngwt__CalendarItem(struct soap *soap, int n) +{ return soap_instantiate_ngwt__CalendarItem(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarItem(struct soap *soap, ngwt__CalendarItem *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_instantiate_ngwt__CalendarItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CalendarItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CalendarItem, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:Appointment")) + { cp->type = SOAP_TYPE_ngwt__Appointment; + if (n < 0) + { cp->ptr = (void*)new ngwt__Appointment; + if (size) + *size = sizeof(ngwt__Appointment); + ((ngwt__Appointment*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Appointment[n]; + if (size) + *size = n * sizeof(ngwt__Appointment); + for (int i = 0; i < n; i++) + ((ngwt__Appointment*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Appointment*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Note")) + { cp->type = SOAP_TYPE_ngwt__Note; + if (n < 0) + { cp->ptr = (void*)new ngwt__Note; + if (size) + *size = sizeof(ngwt__Note); + ((ngwt__Note*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Note[n]; + if (size) + *size = n * sizeof(ngwt__Note); + for (int i = 0; i < n; i++) + ((ngwt__Note*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Note*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Task")) + { cp->type = SOAP_TYPE_ngwt__Task; + if (n < 0) + { cp->ptr = (void*)new ngwt__Task; + if (size) + *size = sizeof(ngwt__Task); + ((ngwt__Task*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Task[n]; + if (size) + *size = n * sizeof(ngwt__Task); + for (int i = 0; i < n; i++) + ((ngwt__Task*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Task*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__CalendarItem; + if (size) + *size = sizeof(ngwt__CalendarItem); + ((ngwt__CalendarItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CalendarItem[n]; + if (size) + *size = n * sizeof(ngwt__CalendarItem); + for (int i = 0; i < n; i++) + ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CalendarItem*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CalendarItem %p -> %p\n", q, p)); + *(ngwt__CalendarItem*)p = *(ngwt__CalendarItem*)q; +} + +void ngwt__CalendarFolderAttribute::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, &((ngwt__CalendarFolderAttribute*)this)->flags); + soap_embedded(soap, &((ngwt__CalendarFolderAttribute*)this)->color, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarFolderAttribute*)this)->color); + /* transient soap skipped */ +} + +void ngwt__CalendarFolderAttribute::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, &((ngwt__CalendarFolderAttribute*)this)->flags); + ((ngwt__CalendarFolderAttribute*)this)->color = NULL; + /* transient soap skipped */ +} + +int ngwt__CalendarFolderAttribute::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__CalendarFolderAttribute); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__CalendarFolderAttribute::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__CalendarFolderAttribute(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderAttribute(struct soap *soap, const char *tag, int id, const ngwt__CalendarFolderAttribute *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__CalendarFolderAttribute), type); + soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, "ngwt:flags", -1, &(((ngwt__CalendarFolderAttribute*)a)->flags), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:color", -1, &(((ngwt__CalendarFolderAttribute*)a)->color), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__CalendarFolderAttribute::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__CalendarFolderAttribute(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_get_ngwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__CalendarFolderAttribute(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__CalendarFolderAttribute::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__CalendarFolderAttribute(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_in_ngwt__CalendarFolderAttribute(struct soap *soap, const char *tag, ngwt__CalendarFolderAttribute *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__CalendarFolderAttribute *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__CalendarFolderAttribute, sizeof(ngwt__CalendarFolderAttribute), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__CalendarFolderAttribute) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__CalendarFolderAttribute *)a->soap_in(soap, tag, type); + } + } + short soap_flag_color1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, "ngwt:flags", &(((ngwt__CalendarFolderAttribute*)a)->flags), "")) + continue; + if (soap_flag_color1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:color", &(((ngwt__CalendarFolderAttribute*)a)->color), "")) + { soap_flag_color1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (((ngwt__CalendarFolderAttribute*)a)->flags.size() > 2)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__CalendarFolderAttribute *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarFolderAttribute, 0, sizeof(ngwt__CalendarFolderAttribute), 0, soap_copy_ngwt__CalendarFolderAttribute); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_new_ngwt__CalendarFolderAttribute(struct soap *soap, int n) +{ return soap_instantiate_ngwt__CalendarFolderAttribute(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_instantiate_ngwt__CalendarFolderAttribute(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__CalendarFolderAttribute(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__CalendarFolderAttribute, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__CalendarFolderAttribute; + if (size) + *size = sizeof(ngwt__CalendarFolderAttribute); + ((ngwt__CalendarFolderAttribute*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CalendarFolderAttribute[n]; + if (size) + *size = n * sizeof(ngwt__CalendarFolderAttribute); + for (int i = 0; i < n; i++) + ((ngwt__CalendarFolderAttribute*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CalendarFolderAttribute*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarFolderAttribute(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__CalendarFolderAttribute %p -> %p\n", q, p)); + *(ngwt__CalendarFolderAttribute*)p = *(ngwt__CalendarFolderAttribute*)q; +} + +void ngwt__BoxEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__BoxEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__BoxEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__BoxEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__BoxEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__BoxEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__BoxEntry(struct soap *soap, const char *tag, int id, const ngwt__BoxEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__BoxEntry), "ngwt:BoxEntry"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__BoxEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__BoxEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_get_ngwt__BoxEntry(struct soap *soap, ngwt__BoxEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__BoxEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__BoxEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__BoxEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_in_ngwt__BoxEntry(struct soap *soap, const char *tag, ngwt__BoxEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__BoxEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__BoxEntry, sizeof(ngwt__BoxEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__BoxEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__BoxEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_status1 = 1, soap_flag_thread1 = 1, soap_flag_msgId1 = 1, soap_flag_messageId1 = 1, soap_flag_source1 = 1, soap_flag_returnSentItemsId1 = 1, soap_flag_delivered1 = 1, soap_flag_class_1 = 1, soap_flag_security1 = 1, soap_flag_comment1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories2 = 0; + continue; + } + if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created2 = 0; + continue; + } + if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs2 = 0; + continue; + } + if (soap_flag_status1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status1 = 0; + continue; + } + if (soap_flag_thread1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread1 = 0; + continue; + } + if (soap_flag_msgId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId1 = 0; + continue; + } + if (soap_flag_messageId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId1 = 0; + continue; + } + if (soap_flag_source1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source1 = 0; + continue; + } + if (soap_flag_returnSentItemsId1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId1 = 0; + continue; + } + if (soap_flag_delivered1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered1 = 0; + continue; + } + if (soap_flag_class_1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_1 = 0; + continue; + } + if (soap_flag_security1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security1 = 0; + continue; + } + if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__BoxEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__BoxEntry, 0, sizeof(ngwt__BoxEntry), 0, soap_copy_ngwt__BoxEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_new_ngwt__BoxEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__BoxEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__BoxEntry(struct soap *soap, ngwt__BoxEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_instantiate_ngwt__BoxEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__BoxEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__BoxEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:Mail")) + { cp->type = SOAP_TYPE_ngwt__Mail; + if (n < 0) + { cp->ptr = (void*)new ngwt__Mail; + if (size) + *size = sizeof(ngwt__Mail); + ((ngwt__Mail*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Mail[n]; + if (size) + *size = n * sizeof(ngwt__Mail); + for (int i = 0; i < n; i++) + ((ngwt__Mail*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Mail*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:CalendarItem")) + { cp->type = SOAP_TYPE_ngwt__CalendarItem; + if (n < 0) + { cp->ptr = (void*)new ngwt__CalendarItem; + if (size) + *size = sizeof(ngwt__CalendarItem); + ((ngwt__CalendarItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__CalendarItem[n]; + if (size) + *size = n * sizeof(ngwt__CalendarItem); + for (int i = 0; i < n; i++) + ((ngwt__CalendarItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__CalendarItem*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:DocumentRef")) + { cp->type = SOAP_TYPE_ngwt__DocumentRef; + if (n < 0) + { cp->ptr = (void*)new ngwt__DocumentRef; + if (size) + *size = sizeof(ngwt__DocumentRef); + ((ngwt__DocumentRef*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__DocumentRef[n]; + if (size) + *size = n * sizeof(ngwt__DocumentRef); + for (int i = 0; i < n; i++) + ((ngwt__DocumentRef*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__DocumentRef*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:PhoneMessage")) + { cp->type = SOAP_TYPE_ngwt__PhoneMessage; + if (n < 0) + { cp->ptr = (void*)new ngwt__PhoneMessage; + if (size) + *size = sizeof(ngwt__PhoneMessage); + ((ngwt__PhoneMessage*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PhoneMessage[n]; + if (size) + *size = n * sizeof(ngwt__PhoneMessage); + for (int i = 0; i < n; i++) + ((ngwt__PhoneMessage*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PhoneMessage*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:SharedNotification")) + { cp->type = SOAP_TYPE_ngwt__SharedNotification; + if (n < 0) + { cp->ptr = (void*)new ngwt__SharedNotification; + if (size) + *size = sizeof(ngwt__SharedNotification); + ((ngwt__SharedNotification*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__SharedNotification[n]; + if (size) + *size = n * sizeof(ngwt__SharedNotification); + for (int i = 0; i < n; i++) + ((ngwt__SharedNotification*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__SharedNotification*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Appointment")) + { cp->type = SOAP_TYPE_ngwt__Appointment; + if (n < 0) + { cp->ptr = (void*)new ngwt__Appointment; + if (size) + *size = sizeof(ngwt__Appointment); + ((ngwt__Appointment*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Appointment[n]; + if (size) + *size = n * sizeof(ngwt__Appointment); + for (int i = 0; i < n; i++) + ((ngwt__Appointment*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Appointment*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Note")) + { cp->type = SOAP_TYPE_ngwt__Note; + if (n < 0) + { cp->ptr = (void*)new ngwt__Note; + if (size) + *size = sizeof(ngwt__Note); + ((ngwt__Note*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Note[n]; + if (size) + *size = n * sizeof(ngwt__Note); + for (int i = 0; i < n; i++) + ((ngwt__Note*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Note*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Task")) + { cp->type = SOAP_TYPE_ngwt__Task; + if (n < 0) + { cp->ptr = (void*)new ngwt__Task; + if (size) + *size = sizeof(ngwt__Task); + ((ngwt__Task*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Task[n]; + if (size) + *size = n * sizeof(ngwt__Task); + for (int i = 0; i < n; i++) + ((ngwt__Task*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Task*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__BoxEntry; + if (size) + *size = sizeof(ngwt__BoxEntry); + ((ngwt__BoxEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__BoxEntry[n]; + if (size) + *size = n * sizeof(ngwt__BoxEntry); + for (int i = 0; i < n; i++) + ((ngwt__BoxEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__BoxEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__BoxEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__BoxEntry %p -> %p\n", q, p)); + *(ngwt__BoxEntry*)p = *(ngwt__BoxEntry*)q; +} + +void ngwt__Authentication::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + /* transient soap skipped */ +} + +void ngwt__Authentication::soap_default(struct soap *soap) +{ + this->soap = soap; + /* transient soap skipped */ +} + +int ngwt__Authentication::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Authentication); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Authentication::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Authentication(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Authentication(struct soap *soap, const char *tag, int id, const ngwt__Authentication *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Authentication), type); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Authentication::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Authentication(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_get_ngwt__Authentication(struct soap *soap, ngwt__Authentication *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Authentication(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Authentication::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Authentication(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_in_ngwt__Authentication(struct soap *soap, const char *tag, ngwt__Authentication *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Authentication *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Authentication, sizeof(ngwt__Authentication), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Authentication) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Authentication *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Authentication *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Authentication, 0, sizeof(ngwt__Authentication), 0, soap_copy_ngwt__Authentication); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_new_ngwt__Authentication(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Authentication(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Authentication(struct soap *soap, ngwt__Authentication *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_instantiate_ngwt__Authentication(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Authentication(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Authentication, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:PlainText")) + { cp->type = SOAP_TYPE_ngwt__PlainText; + if (n < 0) + { cp->ptr = (void*)new ngwt__PlainText; + if (size) + *size = sizeof(ngwt__PlainText); + ((ngwt__PlainText*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__PlainText[n]; + if (size) + *size = n * sizeof(ngwt__PlainText); + for (int i = 0; i < n; i++) + ((ngwt__PlainText*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__PlainText*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Proxy")) + { cp->type = SOAP_TYPE_ngwt__Proxy; + if (n < 0) + { cp->ptr = (void*)new ngwt__Proxy; + if (size) + *size = sizeof(ngwt__Proxy); + ((ngwt__Proxy*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Proxy[n]; + if (size) + *size = n * sizeof(ngwt__Proxy); + for (int i = 0; i < n; i++) + ((ngwt__Proxy*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Proxy*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:TrustedApplication")) + { cp->type = SOAP_TYPE_ngwt__TrustedApplication; + if (n < 0) + { cp->ptr = (void*)new ngwt__TrustedApplication; + if (size) + *size = sizeof(ngwt__TrustedApplication); + ((ngwt__TrustedApplication*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__TrustedApplication[n]; + if (size) + *size = n * sizeof(ngwt__TrustedApplication); + for (int i = 0; i < n; i++) + ((ngwt__TrustedApplication*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__TrustedApplication*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__Authentication; + if (size) + *size = sizeof(ngwt__Authentication); + ((ngwt__Authentication*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Authentication[n]; + if (size) + *size = n * sizeof(ngwt__Authentication); + for (int i = 0; i < n; i++) + ((ngwt__Authentication*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Authentication*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Authentication(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Authentication %p -> %p\n", q, p)); + *(ngwt__Authentication*)p = *(ngwt__Authentication*)q; +} + +void ngwt__AttachmentItemInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->id, SOAP_TYPE_PointerTongwt__AttachmentID); + soap_serialize_PointerTongwt__AttachmentID(soap, &((ngwt__AttachmentItemInfo*)this)->id); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AttachmentItemInfo*)this)->name); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->contentId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AttachmentItemInfo*)this)->contentId); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->contentType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AttachmentItemInfo*)this)->contentType); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->size, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__AttachmentItemInfo*)this)->size); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->date, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__AttachmentItemInfo*)this)->date); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->data, SOAP_TYPE_PointerToxsd__base64Binary); + soap_serialize_PointerToxsd__base64Binary(soap, &((ngwt__AttachmentItemInfo*)this)->data); + soap_embedded(soap, &((ngwt__AttachmentItemInfo*)this)->hidden, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AttachmentItemInfo*)this)->hidden); + /* transient soap skipped */ +} + +void ngwt__AttachmentItemInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AttachmentItemInfo*)this)->id = NULL; + ((ngwt__AttachmentItemInfo*)this)->name = NULL; + ((ngwt__AttachmentItemInfo*)this)->contentId = NULL; + ((ngwt__AttachmentItemInfo*)this)->contentType = NULL; + ((ngwt__AttachmentItemInfo*)this)->size = NULL; + soap_default_string(soap, &((ngwt__AttachmentItemInfo*)this)->date); + ((ngwt__AttachmentItemInfo*)this)->data = NULL; + ((ngwt__AttachmentItemInfo*)this)->hidden = NULL; + /* transient soap skipped */ +} + +int ngwt__AttachmentItemInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AttachmentItemInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AttachmentItemInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AttachmentItemInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentItemInfo(struct soap *soap, const char *tag, int id, const ngwt__AttachmentItemInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AttachmentItemInfo), type); + soap_out_PointerTongwt__AttachmentID(soap, "ngwt:id", -1, &(((ngwt__AttachmentItemInfo*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__AttachmentItemInfo*)a)->name), ""); + soap_out_PointerTostd__string(soap, "ngwt:contentId", -1, &(((ngwt__AttachmentItemInfo*)a)->contentId), ""); + soap_out_PointerTostd__string(soap, "ngwt:contentType", -1, &(((ngwt__AttachmentItemInfo*)a)->contentType), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:size", -1, &(((ngwt__AttachmentItemInfo*)a)->size), ""); + soap_out_string(soap, "ngwt:date", -1, &(((ngwt__AttachmentItemInfo*)a)->date), ""); + soap_out_PointerToxsd__base64Binary(soap, "ngwt:data", -1, &(((ngwt__AttachmentItemInfo*)a)->data), ""); + soap_out_PointerTobool(soap, "ngwt:hidden", -1, &(((ngwt__AttachmentItemInfo*)a)->hidden), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AttachmentItemInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AttachmentItemInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AttachmentItemInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AttachmentItemInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AttachmentItemInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentItemInfo(struct soap *soap, const char *tag, ngwt__AttachmentItemInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AttachmentItemInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AttachmentItemInfo, sizeof(ngwt__AttachmentItemInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AttachmentItemInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AttachmentItemInfo *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id1 = 1, soap_flag_name1 = 1, soap_flag_contentId1 = 1, soap_flag_contentType1 = 1, soap_flag_size1 = 1, soap_flag_date1 = 1, soap_flag_data1 = 1, soap_flag_hidden1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentID(soap, "ngwt:id", &(((ngwt__AttachmentItemInfo*)a)->id), "ngwt:AttachmentID")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_name1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__AttachmentItemInfo*)a)->name), "")) + { soap_flag_name1 = 0; + continue; + } + if (soap_flag_contentId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:contentId", &(((ngwt__AttachmentItemInfo*)a)->contentId), "")) + { soap_flag_contentId1 = 0; + continue; + } + if (soap_flag_contentType1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:contentType", &(((ngwt__AttachmentItemInfo*)a)->contentType), "")) + { soap_flag_contentType1 = 0; + continue; + } + if (soap_flag_size1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:size", &(((ngwt__AttachmentItemInfo*)a)->size), "")) + { soap_flag_size1 = 0; + continue; + } + if (soap_flag_date1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:date", &(((ngwt__AttachmentItemInfo*)a)->date), "")) + { soap_flag_date1 = 0; + continue; + } + if (soap_flag_data1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToxsd__base64Binary(soap, "ngwt:data", &(((ngwt__AttachmentItemInfo*)a)->data), "xsd:base64Binary")) + { soap_flag_data1 = 0; + continue; + } + if (soap_flag_hidden1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:hidden", &(((ngwt__AttachmentItemInfo*)a)->hidden), "")) + { soap_flag_hidden1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AttachmentItemInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentItemInfo, 0, sizeof(ngwt__AttachmentItemInfo), 0, soap_copy_ngwt__AttachmentItemInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentItemInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AttachmentItemInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentItemInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AttachmentItemInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AttachmentItemInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AttachmentItemInfo; + if (size) + *size = sizeof(ngwt__AttachmentItemInfo); + ((ngwt__AttachmentItemInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AttachmentItemInfo[n]; + if (size) + *size = n * sizeof(ngwt__AttachmentItemInfo); + for (int i = 0; i < n; i++) + ((ngwt__AttachmentItemInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AttachmentItemInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentItemInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AttachmentItemInfo %p -> %p\n", q, p)); + *(ngwt__AttachmentItemInfo*)p = *(ngwt__AttachmentItemInfo*)q; +} + +void ngwt__AttachmentInfo::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, &((ngwt__AttachmentInfo*)this)->attachment); + /* transient soap skipped */ +} + +void ngwt__AttachmentInfo::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, &((ngwt__AttachmentInfo*)this)->attachment); + /* transient soap skipped */ +} + +int ngwt__AttachmentInfo::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AttachmentInfo); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AttachmentInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AttachmentInfo(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentInfo(struct soap *soap, const char *tag, int id, const ngwt__AttachmentInfo *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AttachmentInfo), type); + soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, "ngwt:attachment", -1, &(((ngwt__AttachmentInfo*)a)->attachment), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AttachmentInfo::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AttachmentInfo(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AttachmentInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AttachmentInfo::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AttachmentInfo(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentInfo(struct soap *soap, const char *tag, ngwt__AttachmentInfo *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AttachmentInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AttachmentInfo, sizeof(ngwt__AttachmentInfo), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AttachmentInfo) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AttachmentInfo *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, "ngwt:attachment", &(((ngwt__AttachmentInfo*)a)->attachment), "ngwt:AttachmentItemInfo")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AttachmentInfo *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentInfo, 0, sizeof(ngwt__AttachmentInfo), 0, soap_copy_ngwt__AttachmentInfo); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentInfo(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AttachmentInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AttachmentInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AttachmentInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AttachmentInfo; + if (size) + *size = sizeof(ngwt__AttachmentInfo); + ((ngwt__AttachmentInfo*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AttachmentInfo[n]; + if (size) + *size = n * sizeof(ngwt__AttachmentInfo); + for (int i = 0; i < n; i++) + ((ngwt__AttachmentInfo*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AttachmentInfo*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AttachmentInfo %p -> %p\n", q, p)); + *(ngwt__AttachmentInfo*)p = *(ngwt__AttachmentInfo*)q; +} + +void ngwt__AttachmentID::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AttachmentID*)this)->__item, SOAP_TYPE_ngwt__uid); + soap_serialize_ngwt__uid(soap, &((ngwt__AttachmentID*)this)->__item); + /* transient soap skipped */ +} + +void ngwt__AttachmentID::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_ngwt__uid(soap, &((ngwt__AttachmentID*)this)->__item); + ((ngwt__AttachmentID*)this)->itemReference = NULL; + /* transient soap skipped */ +} + +int ngwt__AttachmentID::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AttachmentID); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AttachmentID::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AttachmentID(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentID(struct soap *soap, const char *tag, int id, const ngwt__AttachmentID *a, const char *type) +{ + if (((ngwt__AttachmentID *)a)->itemReference) + soap_set_attr(soap, "itemReference", soap_bool2s(soap, *((ngwt__AttachmentID *)a)->itemReference)); + soap_out_ngwt__uid(soap, tag, id, &(((ngwt__AttachmentID*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__AttachmentID::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AttachmentID(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_get_ngwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AttachmentID(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AttachmentID::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AttachmentID(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_in_ngwt__AttachmentID(struct soap *soap, const char *tag, ngwt__AttachmentID *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__AttachmentID *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AttachmentID, sizeof(ngwt__AttachmentID), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AttachmentID) + return (ngwt__AttachmentID *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "itemReference", 0); + if (t) + { if (!(((ngwt__AttachmentID *)a)->itemReference = (bool *)soap_malloc(soap, sizeof(bool)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2bool(soap, t, ((ngwt__AttachmentID *)a)->itemReference)) + return NULL; + } + } + if (!soap_in_ngwt__uid(soap, tag, &(((ngwt__AttachmentID*)a)->__item), "ngwt:AttachmentID")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_new_ngwt__AttachmentID(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AttachmentID(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentID(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AttachmentID(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AttachmentID, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AttachmentID; + if (size) + *size = sizeof(ngwt__AttachmentID); + ((ngwt__AttachmentID*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AttachmentID[n]; + if (size) + *size = n * sizeof(ngwt__AttachmentID); + for (int i = 0; i < n; i++) + ((ngwt__AttachmentID*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AttachmentID*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentID(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AttachmentID %p -> %p\n", q, p)); + *(ngwt__AttachmentID*)p = *(ngwt__AttachmentID*)q; +} + +void ngwt__Appointment::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Appointment*)this)->startDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Appointment*)this)->startDate); + soap_embedded(soap, &((ngwt__Appointment*)this)->endDate, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Appointment*)this)->endDate); + soap_embedded(soap, &((ngwt__Appointment*)this)->startDay, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__Appointment*)this)->startDay); + soap_embedded(soap, &((ngwt__Appointment*)this)->endDay, SOAP_TYPE_PointerToxsd__date); + soap_serialize_PointerToxsd__date(soap, &((ngwt__Appointment*)this)->endDay); + soap_embedded(soap, &((ngwt__Appointment*)this)->acceptLevel, SOAP_TYPE_PointerTongwt__AcceptLevel); + soap_serialize_PointerTongwt__AcceptLevel(soap, &((ngwt__Appointment*)this)->acceptLevel); + soap_embedded(soap, &((ngwt__Appointment*)this)->alarm, SOAP_TYPE_PointerTongwt__Alarm); + soap_serialize_PointerTongwt__Alarm(soap, &((ngwt__Appointment*)this)->alarm); + soap_embedded(soap, &((ngwt__Appointment*)this)->allDayEvent, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Appointment*)this)->allDayEvent); + soap_embedded(soap, &((ngwt__Appointment*)this)->place, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Appointment*)this)->place); + soap_embedded(soap, &((ngwt__Appointment*)this)->timezone, SOAP_TYPE_PointerTongwt__Timezone); + soap_serialize_PointerTongwt__Timezone(soap, &((ngwt__Appointment*)this)->timezone); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->rdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->rrule, SOAP_TYPE_PointerTongwt__RecurrenceRule); + soap_serialize_PointerTongwt__RecurrenceRule(soap, &((ngwt__CalendarItem*)this)->rrule); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->exdate, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + soap_serialize_PointerTongwt__RecurrenceDateType(soap, &((ngwt__CalendarItem*)this)->exdate); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->recurrenceKey, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__CalendarItem*)this)->recurrenceKey); + soap_embedded(soap, &((ngwt__CalendarItem*)this)->iCalId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__CalendarItem*)this)->iCalId); + soap_embedded(soap, &((ngwt__Mail*)this)->subject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subject); + soap_embedded(soap, &((ngwt__Mail*)this)->originalSubject, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->originalSubject); + soap_embedded(soap, &((ngwt__Mail*)this)->subjectPrefix, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subjectPrefix); + soap_embedded(soap, &((ngwt__Mail*)this)->distribution, SOAP_TYPE_PointerTongwt__Distribution); + soap_serialize_PointerTongwt__Distribution(soap, &((ngwt__Mail*)this)->distribution); + soap_embedded(soap, &((ngwt__Mail*)this)->message, SOAP_TYPE_PointerTongwt__MessageBody); + soap_serialize_PointerTongwt__MessageBody(soap, &((ngwt__Mail*)this)->message); + soap_embedded(soap, &((ngwt__Mail*)this)->attachments, SOAP_TYPE_PointerTongwt__AttachmentInfo); + soap_serialize_PointerTongwt__AttachmentInfo(soap, &((ngwt__Mail*)this)->attachments); + soap_embedded(soap, &((ngwt__Mail*)this)->options, SOAP_TYPE_PointerTongwt__ItemOptions); + soap_serialize_PointerTongwt__ItemOptions(soap, &((ngwt__Mail*)this)->options); + soap_embedded(soap, &((ngwt__Mail*)this)->link, SOAP_TYPE_PointerTongwt__LinkInfo); + soap_serialize_PointerTongwt__LinkInfo(soap, &((ngwt__Mail*)this)->link); + soap_embedded(soap, &((ngwt__Mail*)this)->hasAttachment, SOAP_TYPE_bool); + soap_embedded(soap, &((ngwt__Mail*)this)->size, SOAP_TYPE_int); + soap_embedded(soap, &((ngwt__Mail*)this)->subType, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Mail*)this)->subType); + soap_embedded(soap, &((ngwt__Mail*)this)->nntpOrImap, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__Mail*)this)->nntpOrImap); + soap_embedded(soap, &((ngwt__Mail*)this)->smimeType, SOAP_TYPE_PointerTongwt__SMimeOperation); + soap_serialize_PointerTongwt__SMimeOperation(soap, &((ngwt__Mail*)this)->smimeType); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->status, SOAP_TYPE_PointerTongwt__ItemStatus); + soap_serialize_PointerTongwt__ItemStatus(soap, &((ngwt__BoxEntry*)this)->status); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->thread, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->thread); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->msgId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->msgId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->messageId, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->messageId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->source, SOAP_TYPE_PointerTongwt__ItemSource); + soap_serialize_PointerTongwt__ItemSource(soap, &((ngwt__BoxEntry*)this)->source); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__BoxEntry*)this)->returnSentItemsId); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->delivered, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__BoxEntry*)this)->delivered); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->class_, SOAP_TYPE_PointerTongwt__ItemClass); + soap_serialize_PointerTongwt__ItemClass(soap, &((ngwt__BoxEntry*)this)->class_); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->security, SOAP_TYPE_PointerTongwt__ItemSecurity); + soap_serialize_PointerTongwt__ItemSecurity(soap, &((ngwt__BoxEntry*)this)->security); + soap_embedded(soap, &((ngwt__BoxEntry*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__BoxEntry*)this)->comment); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__Appointment::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_string(soap, &((ngwt__Appointment*)this)->startDate); + soap_default_string(soap, &((ngwt__Appointment*)this)->endDate); + ((ngwt__Appointment*)this)->startDay = NULL; + ((ngwt__Appointment*)this)->endDay = NULL; + ((ngwt__Appointment*)this)->acceptLevel = NULL; + ((ngwt__Appointment*)this)->alarm = NULL; + ((ngwt__Appointment*)this)->allDayEvent = NULL; + ((ngwt__Appointment*)this)->place = NULL; + ((ngwt__Appointment*)this)->timezone = NULL; + ((ngwt__CalendarItem*)this)->rdate = NULL; + ((ngwt__CalendarItem*)this)->rrule = NULL; + ((ngwt__CalendarItem*)this)->exdate = NULL; + ((ngwt__CalendarItem*)this)->recurrenceKey = NULL; + ((ngwt__CalendarItem*)this)->iCalId = NULL; + ((ngwt__Mail*)this)->subject = NULL; + ((ngwt__Mail*)this)->originalSubject = NULL; + ((ngwt__Mail*)this)->subjectPrefix = NULL; + ((ngwt__Mail*)this)->distribution = NULL; + ((ngwt__Mail*)this)->message = NULL; + ((ngwt__Mail*)this)->attachments = NULL; + ((ngwt__Mail*)this)->options = NULL; + ((ngwt__Mail*)this)->link = NULL; + ((ngwt__Mail*)this)->hasAttachment = (bool)0; + ((ngwt__Mail*)this)->size = 0; + ((ngwt__Mail*)this)->subType = NULL; + ((ngwt__Mail*)this)->nntpOrImap = NULL; + ((ngwt__Mail*)this)->smimeType = NULL; + ((ngwt__BoxEntry*)this)->status = NULL; + ((ngwt__BoxEntry*)this)->thread = NULL; + ((ngwt__BoxEntry*)this)->msgId = NULL; + ((ngwt__BoxEntry*)this)->messageId = NULL; + ((ngwt__BoxEntry*)this)->source = NULL; + ((ngwt__BoxEntry*)this)->returnSentItemsId = NULL; + soap_default_string(soap, &((ngwt__BoxEntry*)this)->delivered); + ((ngwt__BoxEntry*)this)->class_ = NULL; + ((ngwt__BoxEntry*)this)->security = NULL; + ((ngwt__BoxEntry*)this)->comment = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__Appointment::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Appointment); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Appointment::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Appointment(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Appointment(struct soap *soap, const char *tag, int id, const ngwt__Appointment *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__Appointment), "ngwt:Appointment"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__ItemStatus(soap, "ngwt:status", -1, &(((ngwt__BoxEntry*)a)->status), ""); + soap_out_PointerTostd__string(soap, "ngwt:thread", -1, &(((ngwt__BoxEntry*)a)->thread), ""); + soap_out_PointerTostd__string(soap, "ngwt:msgId", -1, &(((ngwt__BoxEntry*)a)->msgId), ""); + soap_out_PointerTostd__string(soap, "ngwt:messageId", -1, &(((ngwt__BoxEntry*)a)->messageId), ""); + soap_out_PointerTongwt__ItemSource(soap, "ngwt:source", -1, &(((ngwt__BoxEntry*)a)->source), ""); + soap_out_PointerTobool(soap, "ngwt:returnSentItemsId", -1, &(((ngwt__BoxEntry*)a)->returnSentItemsId), ""); + soap_out_string(soap, "ngwt:delivered", -1, &(((ngwt__BoxEntry*)a)->delivered), ""); + soap_out_PointerTongwt__ItemClass(soap, "ngwt:class", -1, &(((ngwt__BoxEntry*)a)->class_), ""); + soap_out_PointerTongwt__ItemSecurity(soap, "ngwt:security", -1, &(((ngwt__BoxEntry*)a)->security), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__BoxEntry*)a)->comment), ""); + soap_out_PointerTostd__string(soap, "ngwt:subject", -1, &(((ngwt__Mail*)a)->subject), ""); + soap_out_PointerTostd__string(soap, "ngwt:originalSubject", -1, &(((ngwt__Mail*)a)->originalSubject), ""); + soap_out_PointerTostd__string(soap, "ngwt:subjectPrefix", -1, &(((ngwt__Mail*)a)->subjectPrefix), ""); + soap_out_PointerTongwt__Distribution(soap, "ngwt:distribution", -1, &(((ngwt__Mail*)a)->distribution), ""); + soap_out_PointerTongwt__MessageBody(soap, "ngwt:message", -1, &(((ngwt__Mail*)a)->message), ""); + soap_out_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", -1, &(((ngwt__Mail*)a)->attachments), ""); + soap_out_PointerTongwt__ItemOptions(soap, "ngwt:options", -1, &(((ngwt__Mail*)a)->options), ""); + soap_out_PointerTongwt__LinkInfo(soap, "ngwt:link", -1, &(((ngwt__Mail*)a)->link), ""); + soap_out_bool(soap, "ngwt:hasAttachment", -1, &(((ngwt__Mail*)a)->hasAttachment), ""); + soap_out_int(soap, "ngwt:size", -1, &(((ngwt__Mail*)a)->size), ""); + soap_out_PointerTostd__string(soap, "ngwt:subType", -1, &(((ngwt__Mail*)a)->subType), ""); + soap_out_PointerTobool(soap, "ngwt:nntpOrImap", -1, &(((ngwt__Mail*)a)->nntpOrImap), ""); + soap_out_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", -1, &(((ngwt__Mail*)a)->smimeType), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", -1, &(((ngwt__CalendarItem*)a)->rdate), ""); + soap_out_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", -1, &(((ngwt__CalendarItem*)a)->rrule), ""); + soap_out_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", -1, &(((ngwt__CalendarItem*)a)->exdate), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:recurrenceKey", -1, &(((ngwt__CalendarItem*)a)->recurrenceKey), ""); + soap_out_PointerTostd__string(soap, "ngwt:iCalId", -1, &(((ngwt__CalendarItem*)a)->iCalId), ""); + soap_out_string(soap, "ngwt:startDate", -1, &(((ngwt__Appointment*)a)->startDate), ""); + soap_out_string(soap, "ngwt:endDate", -1, &(((ngwt__Appointment*)a)->endDate), ""); + soap_out_PointerToxsd__date(soap, "ngwt:startDay", -1, &(((ngwt__Appointment*)a)->startDay), ""); + soap_out_PointerToxsd__date(soap, "ngwt:endDay", -1, &(((ngwt__Appointment*)a)->endDay), ""); + soap_out_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", -1, &(((ngwt__Appointment*)a)->acceptLevel), ""); + soap_out_PointerTongwt__Alarm(soap, "ngwt:alarm", -1, &(((ngwt__Appointment*)a)->alarm), ""); + soap_out_PointerTobool(soap, "ngwt:allDayEvent", -1, &(((ngwt__Appointment*)a)->allDayEvent), ""); + soap_out_PointerTostd__string(soap, "ngwt:place", -1, &(((ngwt__Appointment*)a)->place), ""); + soap_out_PointerTongwt__Timezone(soap, "ngwt:timezone", -1, &(((ngwt__Appointment*)a)->timezone), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__Appointment::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Appointment(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_get_ngwt__Appointment(struct soap *soap, ngwt__Appointment *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Appointment(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Appointment::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Appointment(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_in_ngwt__Appointment(struct soap *soap, const char *tag, ngwt__Appointment *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__Appointment *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Appointment, sizeof(ngwt__Appointment), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Appointment) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__Appointment *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id6 = 1, soap_flag_name6 = 1, soap_flag_version6 = 1, soap_flag_modified6 = 1, soap_flag_changes6 = 1, soap_flag_categories5 = 1, soap_flag_created5 = 1, soap_flag_customs5 = 1, soap_flag_status4 = 1, soap_flag_thread4 = 1, soap_flag_msgId4 = 1, soap_flag_messageId4 = 1, soap_flag_source4 = 1, soap_flag_returnSentItemsId4 = 1, soap_flag_delivered4 = 1, soap_flag_class_4 = 1, soap_flag_security4 = 1, soap_flag_comment4 = 1, soap_flag_subject3 = 1, soap_flag_originalSubject3 = 1, soap_flag_subjectPrefix3 = 1, soap_flag_distribution3 = 1, soap_flag_message3 = 1, soap_flag_attachments3 = 1, soap_flag_options3 = 1, soap_flag_link3 = 1, soap_flag_hasAttachment3 = 1, soap_flag_size3 = 1, soap_flag_subType3 = 1, soap_flag_nntpOrImap3 = 1, soap_flag_smimeType3 = 1, soap_flag_rdate2 = 1, soap_flag_rrule2 = 1, soap_flag_exdate2 = 1, soap_flag_recurrenceKey2 = 1, soap_flag_iCalId2 = 1, soap_flag_startDate1 = 1, soap_flag_endDate1 = 1, soap_flag_startDay1 = 1, soap_flag_endDay1 = 1, soap_flag_acceptLevel1 = 1, soap_flag_alarm1 = 1, soap_flag_allDayEvent1 = 1, soap_flag_place1 = 1, soap_flag_timezone1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id6 = 0; + continue; + } + if (soap_flag_name6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name6 = 0; + continue; + } + if (soap_flag_version6 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version6 = 0; + continue; + } + if (soap_flag_modified6 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified6 = 0; + continue; + } + if (soap_flag_changes6 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes6 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories5 = 0; + continue; + } + if (soap_flag_created5 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created5 = 0; + continue; + } + if (soap_flag_customs5 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs5 = 0; + continue; + } + if (soap_flag_status4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemStatus(soap, "ngwt:status", &(((ngwt__BoxEntry*)a)->status), "ngwt:ItemStatus")) + { soap_flag_status4 = 0; + continue; + } + if (soap_flag_thread4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:thread", &(((ngwt__BoxEntry*)a)->thread), "")) + { soap_flag_thread4 = 0; + continue; + } + if (soap_flag_msgId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:msgId", &(((ngwt__BoxEntry*)a)->msgId), "")) + { soap_flag_msgId4 = 0; + continue; + } + if (soap_flag_messageId4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:messageId", &(((ngwt__BoxEntry*)a)->messageId), "")) + { soap_flag_messageId4 = 0; + continue; + } + if (soap_flag_source4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSource(soap, "ngwt:source", &(((ngwt__BoxEntry*)a)->source), "")) + { soap_flag_source4 = 0; + continue; + } + if (soap_flag_returnSentItemsId4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:returnSentItemsId", &(((ngwt__BoxEntry*)a)->returnSentItemsId), "")) + { soap_flag_returnSentItemsId4 = 0; + continue; + } + if (soap_flag_delivered4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:delivered", &(((ngwt__BoxEntry*)a)->delivered), "")) + { soap_flag_delivered4 = 0; + continue; + } + if (soap_flag_class_4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemClass(soap, "ngwt:class", &(((ngwt__BoxEntry*)a)->class_), "")) + { soap_flag_class_4 = 0; + continue; + } + if (soap_flag_security4 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemSecurity(soap, "ngwt:security", &(((ngwt__BoxEntry*)a)->security), "")) + { soap_flag_security4 = 0; + continue; + } + if (soap_flag_comment4 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__BoxEntry*)a)->comment), "")) + { soap_flag_comment4 = 0; + continue; + } + if (soap_flag_subject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subject", &(((ngwt__Mail*)a)->subject), "")) + { soap_flag_subject3 = 0; + continue; + } + if (soap_flag_originalSubject3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:originalSubject", &(((ngwt__Mail*)a)->originalSubject), "")) + { soap_flag_originalSubject3 = 0; + continue; + } + if (soap_flag_subjectPrefix3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subjectPrefix", &(((ngwt__Mail*)a)->subjectPrefix), "")) + { soap_flag_subjectPrefix3 = 0; + continue; + } + if (soap_flag_distribution3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Distribution(soap, "ngwt:distribution", &(((ngwt__Mail*)a)->distribution), "ngwt:Distribution")) + { soap_flag_distribution3 = 0; + continue; + } + if (soap_flag_message3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__MessageBody(soap, "ngwt:message", &(((ngwt__Mail*)a)->message), "ngwt:MessageBody")) + { soap_flag_message3 = 0; + continue; + } + if (soap_flag_attachments3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AttachmentInfo(soap, "ngwt:attachments", &(((ngwt__Mail*)a)->attachments), "ngwt:AttachmentInfo")) + { soap_flag_attachments3 = 0; + continue; + } + if (soap_flag_options3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemOptions(soap, "ngwt:options", &(((ngwt__Mail*)a)->options), "ngwt:ItemOptions")) + { soap_flag_options3 = 0; + continue; + } + if (soap_flag_link3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__LinkInfo(soap, "ngwt:link", &(((ngwt__Mail*)a)->link), "ngwt:LinkInfo")) + { soap_flag_link3 = 0; + continue; + } + if (soap_flag_hasAttachment3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:hasAttachment", &(((ngwt__Mail*)a)->hasAttachment), "")) + { soap_flag_hasAttachment3 = 0; + continue; + } + if (soap_flag_size3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_int(soap, "ngwt:size", &(((ngwt__Mail*)a)->size), "")) + { soap_flag_size3 = 0; + continue; + } + if (soap_flag_subType3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:subType", &(((ngwt__Mail*)a)->subType), "")) + { soap_flag_subType3 = 0; + continue; + } + if (soap_flag_nntpOrImap3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:nntpOrImap", &(((ngwt__Mail*)a)->nntpOrImap), "")) + { soap_flag_nntpOrImap3 = 0; + continue; + } + if (soap_flag_smimeType3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__SMimeOperation(soap, "ngwt:smimeType", &(((ngwt__Mail*)a)->smimeType), "ngwt:SMimeOperation")) + { soap_flag_smimeType3 = 0; + continue; + } + if (soap_flag_rdate2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:rdate", &(((ngwt__CalendarItem*)a)->rdate), "ngwt:RecurrenceDateType")) + { soap_flag_rdate2 = 0; + continue; + } + if (soap_flag_rrule2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceRule(soap, "ngwt:rrule", &(((ngwt__CalendarItem*)a)->rrule), "ngwt:RecurrenceRule")) + { soap_flag_rrule2 = 0; + continue; + } + if (soap_flag_exdate2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__RecurrenceDateType(soap, "ngwt:exdate", &(((ngwt__CalendarItem*)a)->exdate), "ngwt:RecurrenceDateType")) + { soap_flag_exdate2 = 0; + continue; + } + if (soap_flag_recurrenceKey2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:recurrenceKey", &(((ngwt__CalendarItem*)a)->recurrenceKey), "")) + { soap_flag_recurrenceKey2 = 0; + continue; + } + if (soap_flag_iCalId2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:iCalId", &(((ngwt__CalendarItem*)a)->iCalId), "")) + { soap_flag_iCalId2 = 0; + continue; + } + if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:startDate", &(((ngwt__Appointment*)a)->startDate), "")) + { soap_flag_startDate1 = 0; + continue; + } + if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:endDate", &(((ngwt__Appointment*)a)->endDate), "")) + { soap_flag_endDate1 = 0; + continue; + } + if (soap_flag_startDay1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:startDay", &(((ngwt__Appointment*)a)->startDay), "xsd:date")) + { soap_flag_startDay1 = 0; + continue; + } + if (soap_flag_endDay1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerToxsd__date(soap, "ngwt:endDay", &(((ngwt__Appointment*)a)->endDay), "xsd:date")) + { soap_flag_endDay1 = 0; + continue; + } + if (soap_flag_acceptLevel1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AcceptLevel(soap, "ngwt:acceptLevel", &(((ngwt__Appointment*)a)->acceptLevel), "")) + { soap_flag_acceptLevel1 = 0; + continue; + } + if (soap_flag_alarm1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Alarm(soap, "ngwt:alarm", &(((ngwt__Appointment*)a)->alarm), "ngwt:Alarm")) + { soap_flag_alarm1 = 0; + continue; + } + if (soap_flag_allDayEvent1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:allDayEvent", &(((ngwt__Appointment*)a)->allDayEvent), "")) + { soap_flag_allDayEvent1 = 0; + continue; + } + if (soap_flag_place1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:place", &(((ngwt__Appointment*)a)->place), "")) + { soap_flag_place1 = 0; + continue; + } + if (soap_flag_timezone1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Timezone(soap, "ngwt:timezone", &(((ngwt__Appointment*)a)->timezone), "ngwt:Timezone")) + { soap_flag_timezone1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_delivered4)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__Appointment *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Appointment, 0, sizeof(ngwt__Appointment), 0, soap_copy_ngwt__Appointment); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_new_ngwt__Appointment(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Appointment(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Appointment(struct soap *soap, ngwt__Appointment *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_instantiate_ngwt__Appointment(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Appointment(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Appointment, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Appointment; + if (size) + *size = sizeof(ngwt__Appointment); + ((ngwt__Appointment*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Appointment[n]; + if (size) + *size = n * sizeof(ngwt__Appointment); + for (int i = 0; i < n; i++) + ((ngwt__Appointment*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Appointment*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Appointment(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Appointment %p -> %p\n", q, p)); + *(ngwt__Appointment*)p = *(ngwt__Appointment*)q; +} + +void ngwt__Alarm::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__Alarm*)this)->__item, SOAP_TYPE_int); + /* transient soap skipped */ +} + +void ngwt__Alarm::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_int(soap, &((ngwt__Alarm*)this)->__item); + ((ngwt__Alarm*)this)->enabled = NULL; + /* transient soap skipped */ +} + +int ngwt__Alarm::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__Alarm); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__Alarm::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__Alarm(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Alarm(struct soap *soap, const char *tag, int id, const ngwt__Alarm *a, const char *type) +{ + if (((ngwt__Alarm *)a)->enabled) + soap_set_attr(soap, "enabled", soap_bool2s(soap, *((ngwt__Alarm *)a)->enabled)); + soap_out_int(soap, tag, id, &(((ngwt__Alarm*)a)->__item), ""); + return SOAP_OK; +} + +void *ngwt__Alarm::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__Alarm(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_get_ngwt__Alarm(struct soap *soap, ngwt__Alarm *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__Alarm(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__Alarm::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__Alarm(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_in_ngwt__Alarm(struct soap *soap, const char *tag, ngwt__Alarm *a, const char *type) +{ + if (soap_peek_element(soap)) + return NULL; + if (!(a = (ngwt__Alarm *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__Alarm, sizeof(ngwt__Alarm), soap->type, soap->arrayType))) + { soap->error = SOAP_TAG_MISMATCH; + return NULL; + } + *soap->id = '\0'; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__Alarm) + return (ngwt__Alarm *)a->soap_in(soap, tag, type); + } + { const char *t = soap_attr_value(soap, "enabled", 0); + if (t) + { if (!(((ngwt__Alarm *)a)->enabled = (bool *)soap_malloc(soap, sizeof(bool)))) + { soap->error = SOAP_EOM; + return NULL; + } + if (soap_s2bool(soap, t, ((ngwt__Alarm *)a)->enabled)) + return NULL; + } + } + if (!soap_in_int(soap, tag, &(((ngwt__Alarm*)a)->__item), "ngwt:Alarm")) + return NULL; + return a; +} + +SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_new_ngwt__Alarm(struct soap *soap, int n) +{ return soap_instantiate_ngwt__Alarm(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Alarm(struct soap *soap, ngwt__Alarm *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_instantiate_ngwt__Alarm(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__Alarm(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__Alarm, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__Alarm; + if (size) + *size = sizeof(ngwt__Alarm); + ((ngwt__Alarm*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Alarm[n]; + if (size) + *size = n * sizeof(ngwt__Alarm); + for (int i = 0; i < n; i++) + ((ngwt__Alarm*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Alarm*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Alarm(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__Alarm %p -> %p\n", q, p)); + *(ngwt__Alarm*)p = *(ngwt__Alarm*)q; +} + +void ngwt__AddressBookList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__AddressBook(soap, &((ngwt__AddressBookList*)this)->book); + /* transient soap skipped */ +} + +void ngwt__AddressBookList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__AddressBook(soap, &((ngwt__AddressBookList*)this)->book); + /* transient soap skipped */ +} + +int ngwt__AddressBookList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AddressBookList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AddressBookList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AddressBookList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookList(struct soap *soap, const char *tag, int id, const ngwt__AddressBookList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AddressBookList), type); + soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(soap, "ngwt:book", -1, &(((ngwt__AddressBookList*)a)->book), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AddressBookList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AddressBookList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_get_ngwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AddressBookList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AddressBookList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AddressBookList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_in_ngwt__AddressBookList(struct soap *soap, const char *tag, ngwt__AddressBookList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AddressBookList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AddressBookList, sizeof(ngwt__AddressBookList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AddressBookList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AddressBookList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(soap, "ngwt:book", &(((ngwt__AddressBookList*)a)->book), "ngwt:AddressBook")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AddressBookList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBookList, 0, sizeof(ngwt__AddressBookList), 0, soap_copy_ngwt__AddressBookList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_new_ngwt__AddressBookList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AddressBookList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AddressBookList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AddressBookList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AddressBookList; + if (size) + *size = sizeof(ngwt__AddressBookList); + ((ngwt__AddressBookList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AddressBookList[n]; + if (size) + *size = n * sizeof(ngwt__AddressBookList); + for (int i = 0; i < n; i++) + ((ngwt__AddressBookList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AddressBookList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AddressBookList %p -> %p\n", q, p)); + *(ngwt__AddressBookList*)p = *(ngwt__AddressBookList*)q; +} + +void ngwt__AddressBookItem::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__AddressBookItem*)this)->uuid); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->comment, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->comment); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->sync, SOAP_TYPE_PointerTongwt__DeltaSyncType); + soap_serialize_PointerTongwt__DeltaSyncType(soap, &((ngwt__AddressBookItem*)this)->sync); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->domain, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->domain); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->postOffice, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->postOffice); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->distinguishedName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->distinguishedName); + soap_embedded(soap, &((ngwt__AddressBookItem*)this)->userid, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBookItem*)this)->userid); + soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->categories, SOAP_TYPE_PointerTongwt__CategoryRefList); + soap_serialize_PointerTongwt__CategoryRefList(soap, &((ngwt__ContainerItem*)this)->categories); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->created, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__ContainerItem*)this)->created); + soap_embedded(soap, &((ngwt__ContainerItem*)this)->customs, SOAP_TYPE_PointerTongwt__CustomList); + soap_serialize_PointerTongwt__CustomList(soap, &((ngwt__ContainerItem*)this)->customs); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__AddressBookItem::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AddressBookItem*)this)->uuid = NULL; + ((ngwt__AddressBookItem*)this)->comment = NULL; + ((ngwt__AddressBookItem*)this)->sync = NULL; + ((ngwt__AddressBookItem*)this)->domain = NULL; + ((ngwt__AddressBookItem*)this)->postOffice = NULL; + ((ngwt__AddressBookItem*)this)->distinguishedName = NULL; + ((ngwt__AddressBookItem*)this)->userid = NULL; + soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, &((ngwt__ContainerItem*)this)->container); + ((ngwt__ContainerItem*)this)->categories = NULL; + soap_default_string(soap, &((ngwt__ContainerItem*)this)->created); + ((ngwt__ContainerItem*)this)->customs = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__AddressBookItem::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AddressBookItem); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AddressBookItem::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AddressBookItem(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookItem(struct soap *soap, const char *tag, int id, const ngwt__AddressBookItem *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AddressBookItem), "ngwt:AddressBookItem"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", -1, &(((ngwt__ContainerItem*)a)->container), ""); + soap_out_PointerTongwt__CategoryRefList(soap, "ngwt:categories", -1, &(((ngwt__ContainerItem*)a)->categories), ""); + soap_out_string(soap, "ngwt:created", -1, &(((ngwt__ContainerItem*)a)->created), ""); + soap_out_PointerTongwt__CustomList(soap, "ngwt:customs", -1, &(((ngwt__ContainerItem*)a)->customs), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__AddressBookItem*)a)->uuid), ""); + soap_out_PointerTostd__string(soap, "ngwt:comment", -1, &(((ngwt__AddressBookItem*)a)->comment), ""); + soap_out_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", -1, &(((ngwt__AddressBookItem*)a)->sync), ""); + soap_out_PointerTostd__string(soap, "ngwt:domain", -1, &(((ngwt__AddressBookItem*)a)->domain), ""); + soap_out_PointerTostd__string(soap, "ngwt:postOffice", -1, &(((ngwt__AddressBookItem*)a)->postOffice), ""); + soap_out_PointerTostd__string(soap, "ngwt:distinguishedName", -1, &(((ngwt__AddressBookItem*)a)->distinguishedName), ""); + soap_out_PointerTostd__string(soap, "ngwt:userid", -1, &(((ngwt__AddressBookItem*)a)->userid), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AddressBookItem::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AddressBookItem(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_get_ngwt__AddressBookItem(struct soap *soap, ngwt__AddressBookItem *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AddressBookItem(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AddressBookItem::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AddressBookItem(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_in_ngwt__AddressBookItem(struct soap *soap, const char *tag, ngwt__AddressBookItem *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AddressBookItem *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AddressBookItem, sizeof(ngwt__AddressBookItem), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AddressBookItem) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AddressBookItem *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id3 = 1, soap_flag_name3 = 1, soap_flag_version3 = 1, soap_flag_modified3 = 1, soap_flag_changes3 = 1, soap_flag_categories2 = 1, soap_flag_created2 = 1, soap_flag_customs2 = 1, soap_flag_uuid1 = 1, soap_flag_comment1 = 1, soap_flag_sync1 = 1, soap_flag_domain1 = 1, soap_flag_postOffice1 = 1, soap_flag_distinguishedName1 = 1, soap_flag_userid1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id3 = 0; + continue; + } + if (soap_flag_name3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name3 = 0; + continue; + } + if (soap_flag_version3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version3 = 0; + continue; + } + if (soap_flag_modified3 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified3 = 0; + continue; + } + if (soap_flag_changes3 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes3 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, "ngwt:container", &(((ngwt__ContainerItem*)a)->container), "ngwt:ContainerRef")) + continue; + if (soap_flag_categories2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CategoryRefList(soap, "ngwt:categories", &(((ngwt__ContainerItem*)a)->categories), "ngwt:CategoryRefList")) + { soap_flag_categories2 = 0; + continue; + } + if (soap_flag_created2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:created", &(((ngwt__ContainerItem*)a)->created), "")) + { soap_flag_created2 = 0; + continue; + } + if (soap_flag_customs2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__CustomList(soap, "ngwt:customs", &(((ngwt__ContainerItem*)a)->customs), "ngwt:CustomList")) + { soap_flag_customs2 = 0; + continue; + } + if (soap_flag_uuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__AddressBookItem*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid1 = 0; + continue; + } + if (soap_flag_comment1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:comment", &(((ngwt__AddressBookItem*)a)->comment), "")) + { soap_flag_comment1 = 0; + continue; + } + if (soap_flag_sync1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__DeltaSyncType(soap, "ngwt:sync", &(((ngwt__AddressBookItem*)a)->sync), "")) + { soap_flag_sync1 = 0; + continue; + } + if (soap_flag_domain1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:domain", &(((ngwt__AddressBookItem*)a)->domain), "")) + { soap_flag_domain1 = 0; + continue; + } + if (soap_flag_postOffice1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:postOffice", &(((ngwt__AddressBookItem*)a)->postOffice), "")) + { soap_flag_postOffice1 = 0; + continue; + } + if (soap_flag_distinguishedName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:distinguishedName", &(((ngwt__AddressBookItem*)a)->distinguishedName), "")) + { soap_flag_distinguishedName1 = 0; + continue; + } + if (soap_flag_userid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:userid", &(((ngwt__AddressBookItem*)a)->userid), "")) + { soap_flag_userid1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AddressBookItem *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBookItem, 0, sizeof(ngwt__AddressBookItem), 0, soap_copy_ngwt__AddressBookItem); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_new_ngwt__AddressBookItem(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AddressBookItem(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookItem(struct soap *soap, ngwt__AddressBookItem *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AddressBookItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AddressBookItem, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:Contact")) + { cp->type = SOAP_TYPE_ngwt__Contact; + if (n < 0) + { cp->ptr = (void*)new ngwt__Contact; + if (size) + *size = sizeof(ngwt__Contact); + ((ngwt__Contact*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Contact[n]; + if (size) + *size = n * sizeof(ngwt__Contact); + for (int i = 0; i < n; i++) + ((ngwt__Contact*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Contact*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Group")) + { cp->type = SOAP_TYPE_ngwt__Group; + if (n < 0) + { cp->ptr = (void*)new ngwt__Group; + if (size) + *size = sizeof(ngwt__Group); + ((ngwt__Group*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Group[n]; + if (size) + *size = n * sizeof(ngwt__Group); + for (int i = 0; i < n; i++) + ((ngwt__Group*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Group*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Organization")) + { cp->type = SOAP_TYPE_ngwt__Organization; + if (n < 0) + { cp->ptr = (void*)new ngwt__Organization; + if (size) + *size = sizeof(ngwt__Organization); + ((ngwt__Organization*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Organization[n]; + if (size) + *size = n * sizeof(ngwt__Organization); + for (int i = 0; i < n; i++) + ((ngwt__Organization*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Organization*)cp->ptr; + } + if (type && !soap_match_tag(soap, type, "ngwt:Resource")) + { cp->type = SOAP_TYPE_ngwt__Resource; + if (n < 0) + { cp->ptr = (void*)new ngwt__Resource; + if (size) + *size = sizeof(ngwt__Resource); + ((ngwt__Resource*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__Resource[n]; + if (size) + *size = n * sizeof(ngwt__Resource); + for (int i = 0; i < n; i++) + ((ngwt__Resource*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__Resource*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__AddressBookItem; + if (size) + *size = sizeof(ngwt__AddressBookItem); + ((ngwt__AddressBookItem*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AddressBookItem[n]; + if (size) + *size = n * sizeof(ngwt__AddressBookItem); + for (int i = 0; i < n; i++) + ((ngwt__AddressBookItem*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AddressBookItem*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AddressBookItem %p -> %p\n", q, p)); + *(ngwt__AddressBookItem*)p = *(ngwt__AddressBookItem*)q; +} + +void ngwt__AddressBook::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AddressBook*)this)->description, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__AddressBook*)this)->description); + soap_embedded(soap, &((ngwt__AddressBook*)this)->isPersonal, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AddressBook*)this)->isPersonal); + soap_embedded(soap, &((ngwt__AddressBook*)this)->isFrequentContacts, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AddressBook*)this)->isFrequentContacts); + soap_embedded(soap, &((ngwt__Item*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__Item*)this)->id); + soap_embedded(soap, &((ngwt__Item*)this)->name, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__Item*)this)->name); + soap_embedded(soap, &((ngwt__Item*)this)->version, SOAP_TYPE_PointerTounsignedLong); + soap_serialize_PointerTounsignedLong(soap, &((ngwt__Item*)this)->version); + soap_embedded(soap, &((ngwt__Item*)this)->modified, SOAP_TYPE_string); + soap_serialize_string(soap, &((ngwt__Item*)this)->modified); + soap_embedded(soap, &((ngwt__Item*)this)->changes, SOAP_TYPE_PointerTongwt__ItemChanges); + soap_serialize_PointerTongwt__ItemChanges(soap, &((ngwt__Item*)this)->changes); + /* transient soap skipped */ +} + +void ngwt__AddressBook::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AddressBook*)this)->description = NULL; + ((ngwt__AddressBook*)this)->isPersonal = NULL; + ((ngwt__AddressBook*)this)->isFrequentContacts = NULL; + ((ngwt__Item*)this)->id = NULL; + ((ngwt__Item*)this)->name = NULL; + ((ngwt__Item*)this)->version = NULL; + soap_default_string(soap, &((ngwt__Item*)this)->modified); + ((ngwt__Item*)this)->changes = NULL; + /* transient soap skipped */ +} + +int ngwt__AddressBook::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AddressBook); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AddressBook::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AddressBook(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBook(struct soap *soap, const char *tag, int id, const ngwt__AddressBook *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AddressBook), "ngwt:AddressBook"); + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__Item*)a)->id), ""); + soap_out_PointerTostd__string(soap, "ngwt:name", -1, &(((ngwt__Item*)a)->name), ""); + soap_out_PointerTounsignedLong(soap, "ngwt:version", -1, &(((ngwt__Item*)a)->version), ""); + soap_out_string(soap, "ngwt:modified", -1, &(((ngwt__Item*)a)->modified), ""); + soap_out_PointerTongwt__ItemChanges(soap, "ngwt:changes", -1, &(((ngwt__Item*)a)->changes), ""); + /* transient soap skipped */ + soap_out_PointerTostd__string(soap, "ngwt:description", -1, &(((ngwt__AddressBook*)a)->description), ""); + soap_out_PointerTobool(soap, "ngwt:isPersonal", -1, &(((ngwt__AddressBook*)a)->isPersonal), ""); + soap_out_PointerTobool(soap, "ngwt:isFrequentContacts", -1, &(((ngwt__AddressBook*)a)->isFrequentContacts), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AddressBook::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AddressBook(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_get_ngwt__AddressBook(struct soap *soap, ngwt__AddressBook *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AddressBook(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AddressBook::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AddressBook(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_in_ngwt__AddressBook(struct soap *soap, const char *tag, ngwt__AddressBook *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AddressBook *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AddressBook, sizeof(ngwt__AddressBook), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AddressBook) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AddressBook *)a->soap_in(soap, tag, type); + } + } + short soap_flag_id2 = 1, soap_flag_name2 = 1, soap_flag_version2 = 1, soap_flag_modified2 = 1, soap_flag_changes2 = 1, soap_flag_description1 = 1, soap_flag_isPersonal1 = 1, soap_flag_isFrequentContacts1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_id2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__Item*)a)->id), "ngwt:uid")) + { soap_flag_id2 = 0; + continue; + } + if (soap_flag_name2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:name", &(((ngwt__Item*)a)->name), "")) + { soap_flag_name2 = 0; + continue; + } + if (soap_flag_version2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTounsignedLong(soap, "ngwt:version", &(((ngwt__Item*)a)->version), "")) + { soap_flag_version2 = 0; + continue; + } + if (soap_flag_modified2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "ngwt:modified", &(((ngwt__Item*)a)->modified), "")) + { soap_flag_modified2 = 0; + continue; + } + if (soap_flag_changes2 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__ItemChanges(soap, "ngwt:changes", &(((ngwt__Item*)a)->changes), "ngwt:ItemChanges")) + { soap_flag_changes2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:description", &(((ngwt__AddressBook*)a)->description), "")) + { soap_flag_description1 = 0; + continue; + } + if (soap_flag_isPersonal1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isPersonal", &(((ngwt__AddressBook*)a)->isPersonal), "")) + { soap_flag_isPersonal1 = 0; + continue; + } + if (soap_flag_isFrequentContacts1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:isFrequentContacts", &(((ngwt__AddressBook*)a)->isFrequentContacts), "")) + { soap_flag_isFrequentContacts1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AddressBook *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBook, 0, sizeof(ngwt__AddressBook), 0, soap_copy_ngwt__AddressBook); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_new_ngwt__AddressBook(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AddressBook(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBook(struct soap *soap, ngwt__AddressBook *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_instantiate_ngwt__AddressBook(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AddressBook(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AddressBook, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AddressBook; + if (size) + *size = sizeof(ngwt__AddressBook); + ((ngwt__AddressBook*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AddressBook[n]; + if (size) + *size = n * sizeof(ngwt__AddressBook); + for (int i = 0; i < n; i++) + ((ngwt__AddressBook*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AddressBook*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBook(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AddressBook %p -> %p\n", q, p)); + *(ngwt__AddressBook*)p = *(ngwt__AddressBook*)q; +} + +void ngwt__AccessRightList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightList*)this)->entry); + /* transient soap skipped */ +} + +void ngwt__AccessRightList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightList*)this)->entry); + /* transient soap skipped */ +} + +int ngwt__AccessRightList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRightList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessRightList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessRightList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightList(struct soap *soap, const char *tag, int id, const ngwt__AccessRightList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRightList), type); + soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, "ngwt:entry", -1, &(((ngwt__AccessRightList*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessRightList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessRightList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_get_ngwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessRightList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessRightList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessRightList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_in_ngwt__AccessRightList(struct soap *soap, const char *tag, ngwt__AccessRightList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessRightList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRightList, sizeof(ngwt__AccessRightList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessRightList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessRightList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, "ngwt:entry", &(((ngwt__AccessRightList*)a)->entry), "ngwt:AccessRightEntry")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessRightList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightList, 0, sizeof(ngwt__AccessRightList), 0, soap_copy_ngwt__AccessRightList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_new_ngwt__AccessRightList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessRightList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRightList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRightList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessRightList; + if (size) + *size = sizeof(ngwt__AccessRightList); + ((ngwt__AccessRightList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessRightList[n]; + if (size) + *size = n * sizeof(ngwt__AccessRightList); + for (int i = 0; i < n; i++) + ((ngwt__AccessRightList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessRightList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRightList %p -> %p\n", q, p)); + *(ngwt__AccessRightList*)p = *(ngwt__AccessRightList*)q; +} + +void ngwt__AccessRightEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->id, SOAP_TYPE_PointerTongwt__uid); + soap_serialize_PointerTongwt__uid(soap, &((ngwt__AccessRightEntry*)this)->id); + soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->appointment, SOAP_TYPE_PointerTongwt__AccessRight); + soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->appointment); + soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->mail, SOAP_TYPE_PointerTongwt__AccessRight); + soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->mail); + soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->misc, SOAP_TYPE_PointerTongwt__AccessMiscRight); + soap_serialize_PointerTongwt__AccessMiscRight(soap, &((ngwt__AccessRightEntry*)this)->misc); + soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->note, SOAP_TYPE_PointerTongwt__AccessRight); + soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->note); + soap_embedded(soap, &((ngwt__AccessRightEntry*)this)->task, SOAP_TYPE_PointerTongwt__AccessRight); + soap_serialize_PointerTongwt__AccessRight(soap, &((ngwt__AccessRightEntry*)this)->task); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__AccessRightEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AccessRightEntry*)this)->id = NULL; + ((ngwt__AccessRightEntry*)this)->appointment = NULL; + ((ngwt__AccessRightEntry*)this)->mail = NULL; + ((ngwt__AccessRightEntry*)this)->misc = NULL; + ((ngwt__AccessRightEntry*)this)->note = NULL; + ((ngwt__AccessRightEntry*)this)->task = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__AccessRightEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRightEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessRightEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessRightEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightEntry(struct soap *soap, const char *tag, int id, const ngwt__AccessRightEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRightEntry), "ngwt:AccessRightEntry"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_PointerTongwt__uid(soap, "ngwt:id", -1, &(((ngwt__AccessRightEntry*)a)->id), ""); + soap_out_PointerTongwt__AccessRight(soap, "ngwt:appointment", -1, &(((ngwt__AccessRightEntry*)a)->appointment), ""); + soap_out_PointerTongwt__AccessRight(soap, "ngwt:mail", -1, &(((ngwt__AccessRightEntry*)a)->mail), ""); + soap_out_PointerTongwt__AccessMiscRight(soap, "ngwt:misc", -1, &(((ngwt__AccessRightEntry*)a)->misc), ""); + soap_out_PointerTongwt__AccessRight(soap, "ngwt:note", -1, &(((ngwt__AccessRightEntry*)a)->note), ""); + soap_out_PointerTongwt__AccessRight(soap, "ngwt:task", -1, &(((ngwt__AccessRightEntry*)a)->task), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessRightEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessRightEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_get_ngwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessRightEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessRightEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessRightEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_in_ngwt__AccessRightEntry(struct soap *soap, const char *tag, ngwt__AccessRightEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessRightEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRightEntry, sizeof(ngwt__AccessRightEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessRightEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessRightEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_id1 = 1, soap_flag_appointment1 = 1, soap_flag_mail1 = 1, soap_flag_misc1 = 1, soap_flag_note1 = 1, soap_flag_task1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName2 = 0; + continue; + } + if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email2 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__uid(soap, "ngwt:id", &(((ngwt__AccessRightEntry*)a)->id), "ngwt:uid")) + { soap_flag_id1 = 0; + continue; + } + if (soap_flag_appointment1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:appointment", &(((ngwt__AccessRightEntry*)a)->appointment), "ngwt:AccessRight")) + { soap_flag_appointment1 = 0; + continue; + } + if (soap_flag_mail1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:mail", &(((ngwt__AccessRightEntry*)a)->mail), "ngwt:AccessRight")) + { soap_flag_mail1 = 0; + continue; + } + if (soap_flag_misc1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessMiscRight(soap, "ngwt:misc", &(((ngwt__AccessRightEntry*)a)->misc), "ngwt:AccessMiscRight")) + { soap_flag_misc1 = 0; + continue; + } + if (soap_flag_note1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:note", &(((ngwt__AccessRightEntry*)a)->note), "ngwt:AccessRight")) + { soap_flag_note1 = 0; + continue; + } + if (soap_flag_task1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRight(soap, "ngwt:task", &(((ngwt__AccessRightEntry*)a)->task), "ngwt:AccessRight")) + { soap_flag_task1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessRightEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightEntry, 0, sizeof(ngwt__AccessRightEntry), 0, soap_copy_ngwt__AccessRightEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_new_ngwt__AccessRightEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessRightEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRightEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRightEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessRightEntry; + if (size) + *size = sizeof(ngwt__AccessRightEntry); + ((ngwt__AccessRightEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessRightEntry[n]; + if (size) + *size = n * sizeof(ngwt__AccessRightEntry); + for (int i = 0; i < n; i++) + ((ngwt__AccessRightEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessRightEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRightEntry %p -> %p\n", q, p)); + *(ngwt__AccessRightEntry*)p = *(ngwt__AccessRightEntry*)q; +} + +void ngwt__AccessRightChanges::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AccessRightChanges*)this)->add, SOAP_TYPE_PointerTongwt__AccessRightEntry); + soap_serialize_PointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightChanges*)this)->add); + soap_embedded(soap, &((ngwt__AccessRightChanges*)this)->_delete, SOAP_TYPE_PointerTongwt__AccessRightEntry); + soap_serialize_PointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightChanges*)this)->_delete); + soap_embedded(soap, &((ngwt__AccessRightChanges*)this)->update, SOAP_TYPE_PointerTongwt__AccessRightEntry); + soap_serialize_PointerTongwt__AccessRightEntry(soap, &((ngwt__AccessRightChanges*)this)->update); + /* transient soap skipped */ +} + +void ngwt__AccessRightChanges::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AccessRightChanges*)this)->add = NULL; + ((ngwt__AccessRightChanges*)this)->_delete = NULL; + ((ngwt__AccessRightChanges*)this)->update = NULL; + /* transient soap skipped */ +} + +int ngwt__AccessRightChanges::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRightChanges); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessRightChanges::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessRightChanges(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightChanges(struct soap *soap, const char *tag, int id, const ngwt__AccessRightChanges *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRightChanges), type); + soap_out_PointerTongwt__AccessRightEntry(soap, "ngwt:add", -1, &(((ngwt__AccessRightChanges*)a)->add), ""); + soap_out_PointerTongwt__AccessRightEntry(soap, "ngwt:delete", -1, &(((ngwt__AccessRightChanges*)a)->_delete), ""); + soap_out_PointerTongwt__AccessRightEntry(soap, "ngwt:update", -1, &(((ngwt__AccessRightChanges*)a)->update), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessRightChanges::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessRightChanges(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_get_ngwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessRightChanges(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessRightChanges::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessRightChanges(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_in_ngwt__AccessRightChanges(struct soap *soap, const char *tag, ngwt__AccessRightChanges *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessRightChanges *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRightChanges, sizeof(ngwt__AccessRightChanges), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessRightChanges) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessRightChanges *)a->soap_in(soap, tag, type); + } + } + short soap_flag_add1 = 1, soap_flag_delete1 = 1, soap_flag_update1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_add1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwt:add", &(((ngwt__AccessRightChanges*)a)->add), "ngwt:AccessRightEntry")) + { soap_flag_add1 = 0; + continue; + } + if (soap_flag_delete1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwt:delete", &(((ngwt__AccessRightChanges*)a)->_delete), "ngwt:AccessRightEntry")) + { soap_flag_delete1 = 0; + continue; + } + if (soap_flag_update1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__AccessRightEntry(soap, "ngwt:update", &(((ngwt__AccessRightChanges*)a)->update), "ngwt:AccessRightEntry")) + { soap_flag_update1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessRightChanges *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightChanges, 0, sizeof(ngwt__AccessRightChanges), 0, soap_copy_ngwt__AccessRightChanges); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_new_ngwt__AccessRightChanges(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessRightChanges(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightChanges(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRightChanges(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRightChanges, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessRightChanges; + if (size) + *size = sizeof(ngwt__AccessRightChanges); + ((ngwt__AccessRightChanges*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessRightChanges[n]; + if (size) + *size = n * sizeof(ngwt__AccessRightChanges); + for (int i = 0; i < n; i++) + ((ngwt__AccessRightChanges*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessRightChanges*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightChanges(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRightChanges %p -> %p\n", q, p)); + *(ngwt__AccessRightChanges*)p = *(ngwt__AccessRightChanges*)q; +} + +void ngwt__AccessRight::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AccessRight*)this)->read, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AccessRight*)this)->read); + soap_embedded(soap, &((ngwt__AccessRight*)this)->write, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AccessRight*)this)->write); + /* transient soap skipped */ +} + +void ngwt__AccessRight::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AccessRight*)this)->read = NULL; + ((ngwt__AccessRight*)this)->write = NULL; + /* transient soap skipped */ +} + +int ngwt__AccessRight::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessRight); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessRight::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessRight(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRight(struct soap *soap, const char *tag, int id, const ngwt__AccessRight *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessRight), type); + soap_out_PointerTobool(soap, "ngwt:read", -1, &(((ngwt__AccessRight*)a)->read), ""); + soap_out_PointerTobool(soap, "ngwt:write", -1, &(((ngwt__AccessRight*)a)->write), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessRight::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessRight(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_get_ngwt__AccessRight(struct soap *soap, ngwt__AccessRight *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessRight(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessRight::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessRight(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_in_ngwt__AccessRight(struct soap *soap, const char *tag, ngwt__AccessRight *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessRight *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessRight, sizeof(ngwt__AccessRight), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessRight) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessRight *)a->soap_in(soap, tag, type); + } + } + short soap_flag_read1 = 1, soap_flag_write1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_read1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:read", &(((ngwt__AccessRight*)a)->read), "")) + { soap_flag_read1 = 0; + continue; + } + if (soap_flag_write1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:write", &(((ngwt__AccessRight*)a)->write), "")) + { soap_flag_write1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessRight *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRight, 0, sizeof(ngwt__AccessRight), 0, soap_copy_ngwt__AccessRight); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_new_ngwt__AccessRight(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessRight(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRight(struct soap *soap, ngwt__AccessRight *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessRight(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessRight(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessRight, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessRight; + if (size) + *size = sizeof(ngwt__AccessRight); + ((ngwt__AccessRight*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessRight[n]; + if (size) + *size = n * sizeof(ngwt__AccessRight); + for (int i = 0; i < n; i++) + ((ngwt__AccessRight*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessRight*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRight(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessRight %p -> %p\n", q, p)); + *(ngwt__AccessRight*)p = *(ngwt__AccessRight*)q; +} + +void ngwt__AccessMiscRight::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->alarms, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->alarms); + soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->notify, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->notify); + soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->readHidden, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->readHidden); + soap_embedded(soap, &((ngwt__AccessMiscRight*)this)->setup, SOAP_TYPE_PointerTobool); + soap_serialize_PointerTobool(soap, &((ngwt__AccessMiscRight*)this)->setup); + /* transient soap skipped */ +} + +void ngwt__AccessMiscRight::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AccessMiscRight*)this)->alarms = NULL; + ((ngwt__AccessMiscRight*)this)->notify = NULL; + ((ngwt__AccessMiscRight*)this)->readHidden = NULL; + ((ngwt__AccessMiscRight*)this)->setup = NULL; + /* transient soap skipped */ +} + +int ngwt__AccessMiscRight::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessMiscRight); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessMiscRight::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessMiscRight(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessMiscRight(struct soap *soap, const char *tag, int id, const ngwt__AccessMiscRight *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessMiscRight), type); + soap_out_PointerTobool(soap, "ngwt:alarms", -1, &(((ngwt__AccessMiscRight*)a)->alarms), ""); + soap_out_PointerTobool(soap, "ngwt:notify", -1, &(((ngwt__AccessMiscRight*)a)->notify), ""); + soap_out_PointerTobool(soap, "ngwt:readHidden", -1, &(((ngwt__AccessMiscRight*)a)->readHidden), ""); + soap_out_PointerTobool(soap, "ngwt:setup", -1, &(((ngwt__AccessMiscRight*)a)->setup), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessMiscRight::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessMiscRight(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_get_ngwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessMiscRight(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessMiscRight::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessMiscRight(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_in_ngwt__AccessMiscRight(struct soap *soap, const char *tag, ngwt__AccessMiscRight *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessMiscRight *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessMiscRight, sizeof(ngwt__AccessMiscRight), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessMiscRight) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessMiscRight *)a->soap_in(soap, tag, type); + } + } + short soap_flag_alarms1 = 1, soap_flag_notify1 = 1, soap_flag_readHidden1 = 1, soap_flag_setup1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_alarms1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:alarms", &(((ngwt__AccessMiscRight*)a)->alarms), "")) + { soap_flag_alarms1 = 0; + continue; + } + if (soap_flag_notify1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:notify", &(((ngwt__AccessMiscRight*)a)->notify), "")) + { soap_flag_notify1 = 0; + continue; + } + if (soap_flag_readHidden1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:readHidden", &(((ngwt__AccessMiscRight*)a)->readHidden), "")) + { soap_flag_readHidden1 = 0; + continue; + } + if (soap_flag_setup1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTobool(soap, "ngwt:setup", &(((ngwt__AccessMiscRight*)a)->setup), "")) + { soap_flag_setup1 = 0; + continue; + } + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessMiscRight *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessMiscRight, 0, sizeof(ngwt__AccessMiscRight), 0, soap_copy_ngwt__AccessMiscRight); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_new_ngwt__AccessMiscRight(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessMiscRight(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessMiscRight(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessMiscRight(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessMiscRight, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessMiscRight; + if (size) + *size = sizeof(ngwt__AccessMiscRight); + ((ngwt__AccessMiscRight*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessMiscRight[n]; + if (size) + *size = n * sizeof(ngwt__AccessMiscRight); + for (int i = 0; i < n; i++) + ((ngwt__AccessMiscRight*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessMiscRight*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessMiscRight(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessMiscRight %p -> %p\n", q, p)); + *(ngwt__AccessMiscRight*)p = *(ngwt__AccessMiscRight*)q; +} + +void ngwt__AccessControlList::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_serialize_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, &((ngwt__AccessControlList*)this)->entry); + /* transient soap skipped */ +} + +void ngwt__AccessControlList::soap_default(struct soap *soap) +{ + this->soap = soap; + soap_default_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, &((ngwt__AccessControlList*)this)->entry); + /* transient soap skipped */ +} + +int ngwt__AccessControlList::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessControlList); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessControlList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessControlList(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlList(struct soap *soap, const char *tag, int id, const ngwt__AccessControlList *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessControlList), type); + soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, "ngwt:entry", -1, &(((ngwt__AccessControlList*)a)->entry), ""); + /* transient soap skipped */ + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessControlList::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessControlList(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_get_ngwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessControlList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessControlList::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessControlList(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_in_ngwt__AccessControlList(struct soap *soap, const char *tag, ngwt__AccessControlList *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessControlList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessControlList, sizeof(ngwt__AccessControlList), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessControlList) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessControlList *)a->soap_in(soap, tag, type); + } + }; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap->error == SOAP_TAG_MISMATCH) + if (soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, "ngwt:entry", &(((ngwt__AccessControlList*)a)->entry), "ngwt:AccessControlListEntry")) + continue; + /* transient soap skipped */ + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessControlList *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlList, 0, sizeof(ngwt__AccessControlList), 0, soap_copy_ngwt__AccessControlList); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_new_ngwt__AccessControlList(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessControlList(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessControlList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessControlList, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessControlList; + if (size) + *size = sizeof(ngwt__AccessControlList); + ((ngwt__AccessControlList*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessControlList[n]; + if (size) + *size = n * sizeof(ngwt__AccessControlList); + for (int i = 0; i < n; i++) + ((ngwt__AccessControlList*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessControlList*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlList(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessControlList %p -> %p\n", q, p)); + *(ngwt__AccessControlList*)p = *(ngwt__AccessControlList*)q; +} + +void ngwt__AccessControlListEntry::soap_serialize(struct soap *soap) const +{ + (void)soap; /* appease -Wall -Werror */ + soap_embedded(soap, &((ngwt__AccessControlListEntry*)this)->rights, SOAP_TYPE_PointerTongwt__Rights); + soap_serialize_PointerTongwt__Rights(soap, &((ngwt__AccessControlListEntry*)this)->rights); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->displayName, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->displayName); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->email, SOAP_TYPE_PointerTostd__string); + soap_serialize_PointerTostd__string(soap, &((ngwt__NameAndEmail*)this)->email); + soap_embedded(soap, &((ngwt__NameAndEmail*)this)->uuid, SOAP_TYPE_PointerTongwt__UUID); + soap_serialize_PointerTongwt__UUID(soap, &((ngwt__NameAndEmail*)this)->uuid); + /* transient soap skipped */ +} + +void ngwt__AccessControlListEntry::soap_default(struct soap *soap) +{ + this->soap = soap; + ((ngwt__AccessControlListEntry*)this)->rights = NULL; + ((ngwt__NameAndEmail*)this)->displayName = NULL; + ((ngwt__NameAndEmail*)this)->email = NULL; + ((ngwt__NameAndEmail*)this)->uuid = NULL; + /* transient soap skipped */ +} + +int ngwt__AccessControlListEntry::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ngwt__AccessControlListEntry); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int ngwt__AccessControlListEntry::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ + return soap_out_ngwt__AccessControlListEntry(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlListEntry(struct soap *soap, const char *tag, int id, const ngwt__AccessControlListEntry *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ngwt__AccessControlListEntry), "ngwt:AccessControlListEntry"); + soap_out_PointerTostd__string(soap, "ngwt:displayName", -1, &(((ngwt__NameAndEmail*)a)->displayName), ""); + soap_out_PointerTostd__string(soap, "ngwt:email", -1, &(((ngwt__NameAndEmail*)a)->email), ""); + soap_out_PointerTongwt__UUID(soap, "ngwt:uuid", -1, &(((ngwt__NameAndEmail*)a)->uuid), ""); + /* transient soap skipped */ + soap_out_PointerTongwt__Rights(soap, "ngwt:rights", -1, &(((ngwt__AccessControlListEntry*)a)->rights), ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *ngwt__AccessControlListEntry::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_ngwt__AccessControlListEntry(soap, this, tag, type); +} + +SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_get_ngwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *p, const char *tag, const char *type) +{ + if ((p = soap_in_ngwt__AccessControlListEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *ngwt__AccessControlListEntry::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_ngwt__AccessControlListEntry(soap, tag, this, type); +} + +SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_in_ngwt__AccessControlListEntry(struct soap *soap, const char *tag, ngwt__AccessControlListEntry *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + a = (ngwt__AccessControlListEntry *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ngwt__AccessControlListEntry, sizeof(ngwt__AccessControlListEntry), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + { a->soap_default(soap); + if (soap->clist->type != SOAP_TYPE_ngwt__AccessControlListEntry) + { soap_revert(soap); + *soap->id = '\0'; + return (ngwt__AccessControlListEntry *)a->soap_in(soap, tag, type); + } + } + short soap_flag_displayName2 = 1, soap_flag_email2 = 1, soap_flag_uuid2 = 1, soap_flag_rights1 = 1; + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_displayName2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:displayName", &(((ngwt__NameAndEmail*)a)->displayName), "")) + { soap_flag_displayName2 = 0; + continue; + } + if (soap_flag_email2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTostd__string(soap, "ngwt:email", &(((ngwt__NameAndEmail*)a)->email), "")) + { soap_flag_email2 = 0; + continue; + } + if (soap_flag_uuid2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_PointerTongwt__UUID(soap, "ngwt:uuid", &(((ngwt__NameAndEmail*)a)->uuid), "ngwt:UUID")) + { soap_flag_uuid2 = 0; + continue; + } + /* transient soap skipped */ + if (soap_flag_rights1 && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTongwt__Rights(soap, "ngwt:rights", &(((ngwt__AccessControlListEntry*)a)->rights), "ngwt:Rights")) + { soap_flag_rights1 = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_rights1)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (ngwt__AccessControlListEntry *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlListEntry, 0, sizeof(ngwt__AccessControlListEntry), 0, soap_copy_ngwt__AccessControlListEntry); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_new_ngwt__AccessControlListEntry(struct soap *soap, int n) +{ return soap_instantiate_ngwt__AccessControlListEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlListEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ngwt__AccessControlListEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ngwt__AccessControlListEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (type && !soap_match_tag(soap, type, "ngwt:FolderACLEntry")) + { cp->type = SOAP_TYPE_ngwt__FolderACLEntry; + if (n < 0) + { cp->ptr = (void*)new ngwt__FolderACLEntry; + if (size) + *size = sizeof(ngwt__FolderACLEntry); + ((ngwt__FolderACLEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__FolderACLEntry[n]; + if (size) + *size = n * sizeof(ngwt__FolderACLEntry); + for (int i = 0; i < n; i++) + ((ngwt__FolderACLEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__FolderACLEntry*)cp->ptr; + } + if (n < 0) + { cp->ptr = (void*)new ngwt__AccessControlListEntry; + if (size) + *size = sizeof(ngwt__AccessControlListEntry); + ((ngwt__AccessControlListEntry*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new ngwt__AccessControlListEntry[n]; + if (size) + *size = n * sizeof(ngwt__AccessControlListEntry); + for (int i = 0; i < n; i++) + ((ngwt__AccessControlListEntry*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (ngwt__AccessControlListEntry*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlListEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ngwt__AccessControlListEntry %p -> %p\n", q, p)); + *(ngwt__AccessControlListEntry*)p = *(ngwt__AccessControlListEntry*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__language(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__language(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__language(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__language); + if (soap_out_xsd__language(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__language(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__language), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__language(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_xsd__language(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__language(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__language, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__language, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__language, 0, sizeof(std::string), 0, soap_copy_xsd__language); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__language(struct soap *soap, int n) +{ return soap_instantiate_xsd__language(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__language(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__language(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__language(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__language, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__language(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__duration(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__duration(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__duration(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__duration); + if (soap_out_xsd__duration(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__duration(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__duration), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__duration(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_xsd__duration(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__duration(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__duration, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__duration, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__duration, 0, sizeof(std::string), 0, soap_copy_xsd__duration); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__duration(struct soap *soap, int n) +{ return soap_instantiate_xsd__duration(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__duration(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__duration(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__duration(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__duration, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__duration(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__decimal(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__decimal(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__decimal(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__decimal); + if (soap_out_xsd__decimal(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__decimal(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__decimal), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__decimal(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_xsd__decimal(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__decimal(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__decimal, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__decimal, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__decimal, 0, sizeof(std::string), 0, soap_copy_xsd__decimal); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__decimal(struct soap *soap, int n) +{ return soap_instantiate_xsd__decimal(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__decimal(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__decimal(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__decimal(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__decimal, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__decimal(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__date(struct soap *soap, std::string const*a) +{ soap_serialize_std__string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__date(struct soap *soap, std::string *a) +{ soap_default_std__string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__date(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__date); + if (soap_out_xsd__date(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__date(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__date), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__date(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_xsd__date(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_xsd__date(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__date, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__date, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_xsd__date, 0, sizeof(std::string), 0, soap_copy_xsd__date); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__date(struct soap *soap, int n) +{ return soap_instantiate_xsd__date(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__date(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__date(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__date(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__date, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__date(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap *soap, const std::string *p) +{ } +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap *soap, std::string *p) +{ +(void)soap; /* appease -Wall -Werror */ + p->erase(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap *soap, const std::string *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__string); + if (soap_out_std__string(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) +{ + if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_std__string), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap *soap, std::string *p, const char *tag, const char *type) +{ + if ((p = soap_in_std__string(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC1 std::string * SOAP_FMAC2 soap_in_std__string(struct soap *soap, const char *tag, std::string *s, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!s) + s = soap_new_std__string(soap, -1); + if (soap->null) + if (s) + s->erase(); + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + if (soap->body && !*soap->href) + { char *t; + s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType); + if (s) + if ((t = soap_string_in(soap, 1, 0, -1))) + s->assign(t); + else + return NULL; + } + else + s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType), SOAP_TYPE_std__string, 0, sizeof(std::string), 0, soap_copy_std__string); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return s; +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_std__string(struct soap *soap, int n) +{ return soap_instantiate_std__string(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__string(struct soap *soap, std::string *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_std__string(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__string(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__string, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::string; + if (size) + *size = sizeof(std::string); + } + else + { cp->ptr = (void*)new std::string[n]; + if (size) + *size = n * sizeof(std::string); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::string*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__string(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); + *(std::string*)p = *(std::string*)q; +} + +void xsd__base64Binary::soap_serialize(struct soap *soap) const +{ + if (this->__ptr) + soap_array_reference(soap, this, (struct soap_array*)&this->__ptr, 1, SOAP_TYPE_xsd__base64Binary); +} + +void xsd__base64Binary::soap_default(struct soap *soap) +{ + this->soap = soap; + this->__size = 0; + this->__ptr = NULL; +} + +int xsd__base64Binary::soap_put(struct soap *soap, const char *tag, const char *type) const +{ + register int id = soap_embed(soap, (void*)this, (struct soap_array*)&this->__ptr, 1, tag, SOAP_TYPE_xsd__base64Binary); + if (this->soap_out(soap, tag, id, type)) + return soap->error; + return soap_putindependent(soap); +} + +int xsd__base64Binary::soap_out(struct soap *soap, const char *tag, int id, const char *type) const +{ return soap_out_xsd__base64Binary(soap, tag, id, this, type); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__base64Binary(struct soap *soap, const char *tag, int id, const xsd__base64Binary *a, const char *type) +{ + id = soap_element_id(soap, tag, id, a, (struct soap_array*)&a->__ptr, 1, type, SOAP_TYPE_xsd__base64Binary); + if (id < 0) + return soap->error; + soap_element_begin_out(soap, tag, id, type); + soap_putbase64(soap, a->__ptr, a->__size); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +void *xsd__base64Binary::soap_get(struct soap *soap, const char *tag, const char *type) +{ + return soap_get_xsd__base64Binary(soap, this, tag, type); +} + +SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_get_xsd__base64Binary(struct soap *soap, xsd__base64Binary *p, const char *tag, const char *type) +{ + if ((p = soap_in_xsd__base64Binary(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +void *xsd__base64Binary::soap_in(struct soap *soap, const char *tag, const char *type) +{ return soap_in_xsd__base64Binary(soap, tag, this, type); +} + +SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_in_xsd__base64Binary(struct soap *soap, const char *tag, xsd__base64Binary *a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":base64Binary") && soap_match_tag(soap, soap->type, ":base64")) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (xsd__base64Binary *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_xsd__base64Binary, sizeof(xsd__base64Binary), soap->type, soap->arrayType); + if (!a) + return NULL; + if (soap->alloced) + a->soap_default(soap); + if (soap->body && !*soap->href) + { + a->__ptr = soap_getbase64(soap, &a->__size, 0); + if ((!a->__ptr && soap->error) || soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (xsd__base64Binary *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_xsd__base64Binary, 0, sizeof(xsd__base64Binary), 0, soap_copy_xsd__base64Binary); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_new_xsd__base64Binary(struct soap *soap, int n) +{ return soap_instantiate_xsd__base64Binary(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__base64Binary(struct soap *soap, xsd__base64Binary *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_instantiate_xsd__base64Binary(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__base64Binary(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_xsd__base64Binary, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new xsd__base64Binary; + if (size) + *size = sizeof(xsd__base64Binary); + ((xsd__base64Binary*)cp->ptr)->soap = soap; + } + else + { cp->ptr = (void*)new xsd__base64Binary[n]; + if (size) + *size = n * sizeof(xsd__base64Binary); + for (int i = 0; i < n; i++) + ((xsd__base64Binary*)cp->ptr)[i].soap = soap; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (xsd__base64Binary*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__base64Binary(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying xsd__base64Binary %p -> %p\n", q, p)); + *(xsd__base64Binary*)p = *(xsd__base64Binary*)q; +} + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->faultcode, SOAP_TYPE__QName); + soap_serialize__QName(soap, &a->faultcode); + soap_embedded(soap, &a->faultstring, SOAP_TYPE_string); + soap_serialize_string(soap, &a->faultstring); + soap_embedded(soap, &a->faultactor, SOAP_TYPE_string); + soap_serialize_string(soap, &a->faultactor); + soap_embedded(soap, &a->detail, SOAP_TYPE_PointerToSOAP_ENV__Detail); + soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->detail); + soap_embedded(soap, &a->SOAP_ENV__Code, SOAP_TYPE_PointerToSOAP_ENV__Code); + soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Code); + soap_embedded(soap, &a->SOAP_ENV__Reason, SOAP_TYPE_string); + soap_serialize_string(soap, &a->SOAP_ENV__Reason); + soap_embedded(soap, &a->SOAP_ENV__Node, SOAP_TYPE_string); + soap_serialize_string(soap, &a->SOAP_ENV__Node); + soap_embedded(soap, &a->SOAP_ENV__Role, SOAP_TYPE_string); + soap_serialize_string(soap, &a->SOAP_ENV__Role); + soap_embedded(soap, &a->SOAP_ENV__Detail, SOAP_TYPE_PointerToSOAP_ENV__Detail); + soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->SOAP_ENV__Detail); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_default__QName(soap, &a->faultcode); + soap_default_string(soap, &a->faultstring); + soap_default_string(soap, &a->faultactor); + a->detail = NULL; + a->SOAP_ENV__Code = NULL; + soap_default_string(soap, &a->SOAP_ENV__Reason); + soap_default_string(soap, &a->SOAP_ENV__Node); + soap_default_string(soap, &a->SOAP_ENV__Role); + a->SOAP_ENV__Detail = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Fault); + if (soap_out_SOAP_ENV__Fault(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Fault *a, const char *type) +{ + const char *soap_tmp_faultcode = soap_QName2s(soap, a->faultcode); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Fault), type); + soap_out__QName(soap, "faultcode", -1, (char*const*)&soap_tmp_faultcode, ""); + soap_out_string(soap, "faultstring", -1, &a->faultstring, ""); + soap_out_string(soap, "faultactor", -1, &a->faultactor, ""); + soap_out_PointerToSOAP_ENV__Detail(soap, "detail", -1, &a->detail, ""); + soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", -1, &a->SOAP_ENV__Code, ""); + soap_out_string(soap, "SOAP-ENV:Reason", -1, &a->SOAP_ENV__Reason, ""); + soap_out_string(soap, "SOAP-ENV:Node", -1, &a->SOAP_ENV__Node, ""); + soap_out_string(soap, "SOAP-ENV:Role", -1, &a->SOAP_ENV__Role, ""); + soap_out_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", -1, &a->SOAP_ENV__Detail, ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p, const char *tag, const char *type) +{ + if ((p = soap_in_SOAP_ENV__Fault(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap *soap, const char *tag, struct SOAP_ENV__Fault *a, const char *type) +{ + short soap_flag_faultcode = 1, soap_flag_faultstring = 1, soap_flag_faultactor = 1, soap_flag_detail = 1, soap_flag_SOAP_ENV__Code = 1, soap_flag_SOAP_ENV__Reason = 1, soap_flag_SOAP_ENV__Node = 1, soap_flag_SOAP_ENV__Role = 1, soap_flag_SOAP_ENV__Detail = 1; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (struct SOAP_ENV__Fault *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default_SOAP_ENV__Fault(soap, a); + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_faultcode && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in__QName(soap, "faultcode", &a->faultcode, "")) + { soap_flag_faultcode = 0; + continue; + } + if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "faultstring", &a->faultstring, "")) + { soap_flag_faultstring = 0; + continue; + } + if (soap_flag_faultactor && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "faultactor", &a->faultactor, "")) + { soap_flag_faultactor = 0; + continue; + } + if (soap_flag_detail && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, "")) + { soap_flag_detail = 0; + continue; + } + if (soap_flag_SOAP_ENV__Code && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, "")) + { soap_flag_SOAP_ENV__Code = 0; + continue; + } + if (soap_flag_SOAP_ENV__Reason && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, "")) + { soap_flag_SOAP_ENV__Reason = 0; + continue; + } + if (soap_flag_SOAP_ENV__Node && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "SOAP-ENV:Node", &a->SOAP_ENV__Node, "")) + { soap_flag_SOAP_ENV__Node = 0; + continue; + } + if (soap_flag_SOAP_ENV__Role && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_string(soap, "SOAP-ENV:Role", &a->SOAP_ENV__Role, "")) + { soap_flag_SOAP_ENV__Role = 0; + continue; + } + if (soap_flag_SOAP_ENV__Detail && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, "")) + { soap_flag_SOAP_ENV__Detail = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (struct SOAP_ENV__Fault *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Fault, 0, sizeof(struct SOAP_ENV__Fault), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +#endif + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_markelement(soap, a->fault, a->__type); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->__type = 0; + a->fault = NULL; + a->__any = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Detail); + if (soap_out_SOAP_ENV__Detail(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Detail *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type); + soap_putelement(soap, a->fault, "fault", -1, a->__type); + soap_outliteral(soap, "-any", &a->__any); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p, const char *tag, const char *type) +{ + if ((p = soap_in_SOAP_ENV__Detail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap *soap, const char *tag, struct SOAP_ENV__Detail *a, const char *type) +{ + short soap_flag_fault = 1, soap_flag___any = 1; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default_SOAP_ENV__Detail(soap, a); + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH) + if ((a->fault = soap_getelement(soap, &a->__type))) + { soap_flag_fault = 0; + continue; + } + if (soap_flag___any && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_inliteral(soap, "-any", &a->__any)) + { soap_flag___any = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (struct SOAP_ENV__Detail *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, 0, sizeof(struct SOAP_ENV__Detail), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +#endif + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->SOAP_ENV__Value, SOAP_TYPE__QName); + soap_serialize__QName(soap, &a->SOAP_ENV__Value); + soap_embedded(soap, &a->SOAP_ENV__Subcode, SOAP_TYPE_PointerToSOAP_ENV__Code); + soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Subcode); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_default__QName(soap, &a->SOAP_ENV__Value); + a->SOAP_ENV__Subcode = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Code); + if (soap_out_SOAP_ENV__Code(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Code *a, const char *type) +{ + const char *soap_tmp_SOAP_ENV__Value = soap_QName2s(soap, a->SOAP_ENV__Value); + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Code), type); + soap_out__QName(soap, "SOAP-ENV:Value", -1, (char*const*)&soap_tmp_SOAP_ENV__Value, ""); + soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", -1, &a->SOAP_ENV__Subcode, ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p, const char *tag, const char *type) +{ + if ((p = soap_in_SOAP_ENV__Code(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap *soap, const char *tag, struct SOAP_ENV__Code *a, const char *type) +{ + short soap_flag_SOAP_ENV__Value = 1, soap_flag_SOAP_ENV__Subcode = 1; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (struct SOAP_ENV__Code *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default_SOAP_ENV__Code(soap, a); + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_SOAP_ENV__Value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in__QName(soap, "SOAP-ENV:Value", &a->SOAP_ENV__Value, "")) + { soap_flag_SOAP_ENV__Value = 0; + continue; + } + if (soap_flag_SOAP_ENV__Subcode && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, "")) + { soap_flag_SOAP_ENV__Subcode = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (struct SOAP_ENV__Code *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, 0, sizeof(struct SOAP_ENV__Code), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +#endif + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventsRequest(struct soap *soap, const struct __ngw__removeEventsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwe__removeEventsRequest, SOAP_TYPE_PointerTo_ngwe__removeEventsRequest); + soap_serialize_PointerTo_ngwe__removeEventsRequest(soap, &a->ngwe__removeEventsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventsRequest(struct soap *soap, struct __ngw__removeEventsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwe__removeEventsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventsRequest(struct soap *soap, const struct __ngw__removeEventsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeEventsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeEventsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwe__removeEventsRequest(soap, "ngwe:removeEventsRequest", -1, &a->ngwe__removeEventsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_get___ngw__removeEventsRequest(struct soap *soap, struct __ngw__removeEventsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_in___ngw__removeEventsRequest(struct soap *soap, const char *tag, struct __ngw__removeEventsRequest *a, const char *type) +{ + short soap_flag_ngwe__removeEventsRequest = 1; + a = (struct __ngw__removeEventsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeEventsRequest, sizeof(struct __ngw__removeEventsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeEventsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwe__removeEventsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwe__removeEventsRequest(soap, "ngwe:removeEventsRequest", &a->ngwe__removeEventsRequest, "")) + { soap_flag_ngwe__removeEventsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventConfigurationRequest(struct soap *soap, const struct __ngw__removeEventConfigurationRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwe__removeEventConfigurationRequest, SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest); + soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(soap, &a->ngwe__removeEventConfigurationRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventConfigurationRequest(struct soap *soap, struct __ngw__removeEventConfigurationRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwe__removeEventConfigurationRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventConfigurationRequest(struct soap *soap, const struct __ngw__removeEventConfigurationRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeEventConfigurationRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventConfigurationRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeEventConfigurationRequest *a, const char *type) +{ + soap_out_PointerTo_ngwe__removeEventConfigurationRequest(soap, "ngwe:removeEventConfigurationRequest", -1, &a->ngwe__removeEventConfigurationRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__removeEventConfigurationRequest(struct soap *soap, struct __ngw__removeEventConfigurationRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__removeEventConfigurationRequest(struct soap *soap, const char *tag, struct __ngw__removeEventConfigurationRequest *a, const char *type) +{ + short soap_flag_ngwe__removeEventConfigurationRequest = 1; + a = (struct __ngw__removeEventConfigurationRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeEventConfigurationRequest, sizeof(struct __ngw__removeEventConfigurationRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeEventConfigurationRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwe__removeEventConfigurationRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwe__removeEventConfigurationRequest(soap, "ngwe:removeEventConfigurationRequest", &a->ngwe__removeEventConfigurationRequest, "")) + { soap_flag_ngwe__removeEventConfigurationRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventsRequest(struct soap *soap, const struct __ngw__getEventsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwe__getEventsRequest, SOAP_TYPE_PointerTo_ngwe__getEventsRequest); + soap_serialize_PointerTo_ngwe__getEventsRequest(soap, &a->ngwe__getEventsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventsRequest(struct soap *soap, struct __ngw__getEventsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwe__getEventsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventsRequest(struct soap *soap, const struct __ngw__getEventsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getEventsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getEventsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwe__getEventsRequest(soap, "ngwe:getEventsRequest", -1, &a->ngwe__getEventsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_get___ngw__getEventsRequest(struct soap *soap, struct __ngw__getEventsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_in___ngw__getEventsRequest(struct soap *soap, const char *tag, struct __ngw__getEventsRequest *a, const char *type) +{ + short soap_flag_ngwe__getEventsRequest = 1; + a = (struct __ngw__getEventsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getEventsRequest, sizeof(struct __ngw__getEventsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getEventsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwe__getEventsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwe__getEventsRequest(soap, "ngwe:getEventsRequest", &a->ngwe__getEventsRequest, "")) + { soap_flag_ngwe__getEventsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventConfigurationRequest(struct soap *soap, const struct __ngw__getEventConfigurationRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwe__getEventConfigurationRequest, SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest); + soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(soap, &a->ngwe__getEventConfigurationRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventConfigurationRequest(struct soap *soap, struct __ngw__getEventConfigurationRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwe__getEventConfigurationRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventConfigurationRequest(struct soap *soap, const struct __ngw__getEventConfigurationRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getEventConfigurationRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventConfigurationRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getEventConfigurationRequest *a, const char *type) +{ + soap_out_PointerTo_ngwe__getEventConfigurationRequest(soap, "ngwe:getEventConfigurationRequest", -1, &a->ngwe__getEventConfigurationRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__getEventConfigurationRequest(struct soap *soap, struct __ngw__getEventConfigurationRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__getEventConfigurationRequest(struct soap *soap, const char *tag, struct __ngw__getEventConfigurationRequest *a, const char *type) +{ + short soap_flag_ngwe__getEventConfigurationRequest = 1; + a = (struct __ngw__getEventConfigurationRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getEventConfigurationRequest, sizeof(struct __ngw__getEventConfigurationRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getEventConfigurationRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwe__getEventConfigurationRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwe__getEventConfigurationRequest(soap, "ngwe:getEventConfigurationRequest", &a->ngwe__getEventConfigurationRequest, "")) + { soap_flag_ngwe__getEventConfigurationRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__configureEventsRequest(struct soap *soap, const struct __ngw__configureEventsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwe__configureEventsRequest, SOAP_TYPE_PointerTo_ngwe__configureEventsRequest); + soap_serialize_PointerTo_ngwe__configureEventsRequest(soap, &a->ngwe__configureEventsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__configureEventsRequest(struct soap *soap, struct __ngw__configureEventsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwe__configureEventsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__configureEventsRequest(struct soap *soap, const struct __ngw__configureEventsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__configureEventsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__configureEventsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__configureEventsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwe__configureEventsRequest(soap, "ngwe:configureEventsRequest", -1, &a->ngwe__configureEventsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_get___ngw__configureEventsRequest(struct soap *soap, struct __ngw__configureEventsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__configureEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_in___ngw__configureEventsRequest(struct soap *soap, const char *tag, struct __ngw__configureEventsRequest *a, const char *type) +{ + short soap_flag_ngwe__configureEventsRequest = 1; + a = (struct __ngw__configureEventsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__configureEventsRequest, sizeof(struct __ngw__configureEventsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__configureEventsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwe__configureEventsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwe__configureEventsRequest(soap, "ngwe:configureEventsRequest", &a->ngwe__configureEventsRequest, "")) + { soap_flag_ngwe__configureEventsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__cleanEventConfigurationRequest(struct soap *soap, const struct __ngw__cleanEventConfigurationRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwe__cleanEventConfigurationRequest, SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest); + soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(soap, &a->ngwe__cleanEventConfigurationRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__cleanEventConfigurationRequest(struct soap *soap, struct __ngw__cleanEventConfigurationRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwe__cleanEventConfigurationRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__cleanEventConfigurationRequest(struct soap *soap, const struct __ngw__cleanEventConfigurationRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__cleanEventConfigurationRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *tag, int id, const struct __ngw__cleanEventConfigurationRequest *a, const char *type) +{ + soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(soap, "ngwe:cleanEventConfigurationRequest", -1, &a->ngwe__cleanEventConfigurationRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__cleanEventConfigurationRequest(struct soap *soap, struct __ngw__cleanEventConfigurationRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__cleanEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *tag, struct __ngw__cleanEventConfigurationRequest *a, const char *type) +{ + short soap_flag_ngwe__cleanEventConfigurationRequest = 1; + a = (struct __ngw__cleanEventConfigurationRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__cleanEventConfigurationRequest, sizeof(struct __ngw__cleanEventConfigurationRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__cleanEventConfigurationRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwe__cleanEventConfigurationRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(soap, "ngwe:cleanEventConfigurationRequest", &a->ngwe__cleanEventConfigurationRequest, "")) + { soap_flag_ngwe__cleanEventConfigurationRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__updateVersionStatusRequest(struct soap *soap, const struct __ngw__updateVersionStatusRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__updateVersionStatusRequest, SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest); + soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(soap, &a->ngwm__updateVersionStatusRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__updateVersionStatusRequest(struct soap *soap, struct __ngw__updateVersionStatusRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__updateVersionStatusRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__updateVersionStatusRequest(struct soap *soap, const struct __ngw__updateVersionStatusRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__updateVersionStatusRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__updateVersionStatusRequest(struct soap *soap, const char *tag, int id, const struct __ngw__updateVersionStatusRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__updateVersionStatusRequest(soap, "ngwm:updateVersionStatusRequest", -1, &a->ngwm__updateVersionStatusRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_get___ngw__updateVersionStatusRequest(struct soap *soap, struct __ngw__updateVersionStatusRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__updateVersionStatusRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_in___ngw__updateVersionStatusRequest(struct soap *soap, const char *tag, struct __ngw__updateVersionStatusRequest *a, const char *type) +{ + short soap_flag_ngwm__updateVersionStatusRequest = 1; + a = (struct __ngw__updateVersionStatusRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__updateVersionStatusRequest, sizeof(struct __ngw__updateVersionStatusRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__updateVersionStatusRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__updateVersionStatusRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__updateVersionStatusRequest(soap, "ngwm:updateVersionStatusRequest", &a->ngwm__updateVersionStatusRequest, "")) + { soap_flag_ngwm__updateVersionStatusRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__uncompleteRequest(struct soap *soap, const struct __ngw__uncompleteRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__uncompleteRequest, SOAP_TYPE_PointerTo_ngwm__uncompleteRequest); + soap_serialize_PointerTo_ngwm__uncompleteRequest(soap, &a->ngwm__uncompleteRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__uncompleteRequest(struct soap *soap, struct __ngw__uncompleteRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__uncompleteRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__uncompleteRequest(struct soap *soap, const struct __ngw__uncompleteRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__uncompleteRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__uncompleteRequest(struct soap *soap, const char *tag, int id, const struct __ngw__uncompleteRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__uncompleteRequest(soap, "ngwm:uncompleteRequest", -1, &a->ngwm__uncompleteRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_get___ngw__uncompleteRequest(struct soap *soap, struct __ngw__uncompleteRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__uncompleteRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_in___ngw__uncompleteRequest(struct soap *soap, const char *tag, struct __ngw__uncompleteRequest *a, const char *type) +{ + short soap_flag_ngwm__uncompleteRequest = 1; + a = (struct __ngw__uncompleteRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__uncompleteRequest, sizeof(struct __ngw__uncompleteRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__uncompleteRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__uncompleteRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__uncompleteRequest(soap, "ngwm:uncompleteRequest", &a->ngwm__uncompleteRequest, "")) + { soap_flag_ngwm__uncompleteRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__unacceptRequest(struct soap *soap, const struct __ngw__unacceptRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__unacceptRequest, SOAP_TYPE_PointerTo_ngwm__unacceptRequest); + soap_serialize_PointerTo_ngwm__unacceptRequest(soap, &a->ngwm__unacceptRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__unacceptRequest(struct soap *soap, struct __ngw__unacceptRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__unacceptRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__unacceptRequest(struct soap *soap, const struct __ngw__unacceptRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__unacceptRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__unacceptRequest(struct soap *soap, const char *tag, int id, const struct __ngw__unacceptRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__unacceptRequest(soap, "ngwm:unacceptRequest", -1, &a->ngwm__unacceptRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_get___ngw__unacceptRequest(struct soap *soap, struct __ngw__unacceptRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__unacceptRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_in___ngw__unacceptRequest(struct soap *soap, const char *tag, struct __ngw__unacceptRequest *a, const char *type) +{ + short soap_flag_ngwm__unacceptRequest = 1; + a = (struct __ngw__unacceptRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__unacceptRequest, sizeof(struct __ngw__unacceptRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__unacceptRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__unacceptRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__unacceptRequest(soap, "ngwm:unacceptRequest", &a->ngwm__unacceptRequest, "")) + { soap_flag_ngwm__unacceptRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__startFreeBusySessionRequest(struct soap *soap, const struct __ngw__startFreeBusySessionRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__startFreeBusySessionRequest, SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest); + soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(soap, &a->ngwm__startFreeBusySessionRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__startFreeBusySessionRequest(struct soap *soap, struct __ngw__startFreeBusySessionRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__startFreeBusySessionRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__startFreeBusySessionRequest(struct soap *soap, const struct __ngw__startFreeBusySessionRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__startFreeBusySessionRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__startFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const struct __ngw__startFreeBusySessionRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__startFreeBusySessionRequest(soap, "ngwm:startFreeBusySessionRequest", -1, &a->ngwm__startFreeBusySessionRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__startFreeBusySessionRequest(struct soap *soap, struct __ngw__startFreeBusySessionRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__startFreeBusySessionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__startFreeBusySessionRequest(struct soap *soap, const char *tag, struct __ngw__startFreeBusySessionRequest *a, const char *type) +{ + short soap_flag_ngwm__startFreeBusySessionRequest = 1; + a = (struct __ngw__startFreeBusySessionRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__startFreeBusySessionRequest, sizeof(struct __ngw__startFreeBusySessionRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__startFreeBusySessionRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__startFreeBusySessionRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__startFreeBusySessionRequest(soap, "ngwm:startFreeBusySessionRequest", &a->ngwm__startFreeBusySessionRequest, "")) + { soap_flag_ngwm__startFreeBusySessionRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__setTimestampRequest(struct soap *soap, const struct __ngw__setTimestampRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__setTimestampRequest, SOAP_TYPE_PointerTo_ngwm__setTimestampRequest); + soap_serialize_PointerTo_ngwm__setTimestampRequest(soap, &a->ngwm__setTimestampRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__setTimestampRequest(struct soap *soap, struct __ngw__setTimestampRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__setTimestampRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__setTimestampRequest(struct soap *soap, const struct __ngw__setTimestampRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__setTimestampRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__setTimestampRequest(struct soap *soap, const char *tag, int id, const struct __ngw__setTimestampRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__setTimestampRequest(soap, "ngwm:setTimestampRequest", -1, &a->ngwm__setTimestampRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_get___ngw__setTimestampRequest(struct soap *soap, struct __ngw__setTimestampRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__setTimestampRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_in___ngw__setTimestampRequest(struct soap *soap, const char *tag, struct __ngw__setTimestampRequest *a, const char *type) +{ + short soap_flag_ngwm__setTimestampRequest = 1; + a = (struct __ngw__setTimestampRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__setTimestampRequest, sizeof(struct __ngw__setTimestampRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__setTimestampRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__setTimestampRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__setTimestampRequest(soap, "ngwm:setTimestampRequest", &a->ngwm__setTimestampRequest, "")) + { soap_flag_ngwm__setTimestampRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__sendItemRequest(struct soap *soap, const struct __ngw__sendItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__sendItemRequest, SOAP_TYPE_PointerTo_ngwm__sendItemRequest); + soap_serialize_PointerTo_ngwm__sendItemRequest(soap, &a->ngwm__sendItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__sendItemRequest(struct soap *soap, struct __ngw__sendItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__sendItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__sendItemRequest(struct soap *soap, const struct __ngw__sendItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__sendItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__sendItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__sendItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__sendItemRequest(soap, "ngwm:sendItemRequest", -1, &a->ngwm__sendItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_get___ngw__sendItemRequest(struct soap *soap, struct __ngw__sendItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__sendItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_in___ngw__sendItemRequest(struct soap *soap, const char *tag, struct __ngw__sendItemRequest *a, const char *type) +{ + short soap_flag_ngwm__sendItemRequest = 1; + a = (struct __ngw__sendItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__sendItemRequest, sizeof(struct __ngw__sendItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__sendItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__sendItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__sendItemRequest(soap, "ngwm:sendItemRequest", &a->ngwm__sendItemRequest, "")) + { soap_flag_ngwm__sendItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__retractRequest(struct soap *soap, const struct __ngw__retractRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__retractRequest, SOAP_TYPE_PointerTo_ngwm__retractRequest); + soap_serialize_PointerTo_ngwm__retractRequest(soap, &a->ngwm__retractRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__retractRequest(struct soap *soap, struct __ngw__retractRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__retractRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__retractRequest(struct soap *soap, const struct __ngw__retractRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__retractRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__retractRequest(struct soap *soap, const char *tag, int id, const struct __ngw__retractRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__retractRequest(soap, "ngwm:retractRequest", -1, &a->ngwm__retractRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_get___ngw__retractRequest(struct soap *soap, struct __ngw__retractRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__retractRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_in___ngw__retractRequest(struct soap *soap, const char *tag, struct __ngw__retractRequest *a, const char *type) +{ + short soap_flag_ngwm__retractRequest = 1; + a = (struct __ngw__retractRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__retractRequest, sizeof(struct __ngw__retractRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__retractRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__retractRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__retractRequest(soap, "ngwm:retractRequest", &a->ngwm__retractRequest, "")) + { soap_flag_ngwm__retractRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__replyRequest(struct soap *soap, const struct __ngw__replyRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__replyRequest, SOAP_TYPE_PointerTo_ngwm__replyRequest); + soap_serialize_PointerTo_ngwm__replyRequest(soap, &a->ngwm__replyRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__replyRequest(struct soap *soap, struct __ngw__replyRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__replyRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__replyRequest(struct soap *soap, const struct __ngw__replyRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__replyRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__replyRequest(struct soap *soap, const char *tag, int id, const struct __ngw__replyRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__replyRequest(soap, "ngwm:replyRequest", -1, &a->ngwm__replyRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_get___ngw__replyRequest(struct soap *soap, struct __ngw__replyRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__replyRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_in___ngw__replyRequest(struct soap *soap, const char *tag, struct __ngw__replyRequest *a, const char *type) +{ + short soap_flag_ngwm__replyRequest = 1; + a = (struct __ngw__replyRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__replyRequest, sizeof(struct __ngw__replyRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__replyRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__replyRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__replyRequest(soap, "ngwm:replyRequest", &a->ngwm__replyRequest, "")) + { soap_flag_ngwm__replyRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeSignatureRequest(struct soap *soap, const struct __ngw__removeSignatureRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeSignatureRequest, SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest); + soap_serialize_PointerTo_ngwm__removeSignatureRequest(soap, &a->ngwm__removeSignatureRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeSignatureRequest(struct soap *soap, struct __ngw__removeSignatureRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeSignatureRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeSignatureRequest(struct soap *soap, const struct __ngw__removeSignatureRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeSignatureRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeSignatureRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeSignatureRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeSignatureRequest(soap, "ngwm:removeSignatureRequest", -1, &a->ngwm__removeSignatureRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_get___ngw__removeSignatureRequest(struct soap *soap, struct __ngw__removeSignatureRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeSignatureRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_in___ngw__removeSignatureRequest(struct soap *soap, const char *tag, struct __ngw__removeSignatureRequest *a, const char *type) +{ + short soap_flag_ngwm__removeSignatureRequest = 1; + a = (struct __ngw__removeSignatureRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeSignatureRequest, sizeof(struct __ngw__removeSignatureRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeSignatureRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeSignatureRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeSignatureRequest(soap, "ngwm:removeSignatureRequest", &a->ngwm__removeSignatureRequest, "")) + { soap_flag_ngwm__removeSignatureRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyUserRequest(struct soap *soap, const struct __ngw__removeProxyUserRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeProxyUserRequest, SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest); + soap_serialize_PointerTo_ngwm__removeProxyUserRequest(soap, &a->ngwm__removeProxyUserRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyUserRequest(struct soap *soap, struct __ngw__removeProxyUserRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeProxyUserRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyUserRequest(struct soap *soap, const struct __ngw__removeProxyUserRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeProxyUserRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyUserRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeProxyUserRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeProxyUserRequest(soap, "ngwm:removeProxyUserRequest", -1, &a->ngwm__removeProxyUserRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_get___ngw__removeProxyUserRequest(struct soap *soap, struct __ngw__removeProxyUserRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeProxyUserRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_in___ngw__removeProxyUserRequest(struct soap *soap, const char *tag, struct __ngw__removeProxyUserRequest *a, const char *type) +{ + short soap_flag_ngwm__removeProxyUserRequest = 1; + a = (struct __ngw__removeProxyUserRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeProxyUserRequest, sizeof(struct __ngw__removeProxyUserRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeProxyUserRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeProxyUserRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeProxyUserRequest(soap, "ngwm:removeProxyUserRequest", &a->ngwm__removeProxyUserRequest, "")) + { soap_flag_ngwm__removeProxyUserRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyAccessRequest(struct soap *soap, const struct __ngw__removeProxyAccessRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeProxyAccessRequest, SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest); + soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(soap, &a->ngwm__removeProxyAccessRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyAccessRequest(struct soap *soap, struct __ngw__removeProxyAccessRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeProxyAccessRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyAccessRequest(struct soap *soap, const struct __ngw__removeProxyAccessRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeProxyAccessRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyAccessRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeProxyAccessRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeProxyAccessRequest(soap, "ngwm:removeProxyAccessRequest", -1, &a->ngwm__removeProxyAccessRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__removeProxyAccessRequest(struct soap *soap, struct __ngw__removeProxyAccessRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__removeProxyAccessRequest(struct soap *soap, const char *tag, struct __ngw__removeProxyAccessRequest *a, const char *type) +{ + short soap_flag_ngwm__removeProxyAccessRequest = 1; + a = (struct __ngw__removeProxyAccessRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeProxyAccessRequest, sizeof(struct __ngw__removeProxyAccessRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeProxyAccessRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeProxyAccessRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeProxyAccessRequest(soap, "ngwm:removeProxyAccessRequest", &a->ngwm__removeProxyAccessRequest, "")) + { soap_flag_ngwm__removeProxyAccessRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeMembersRequest(struct soap *soap, const struct __ngw__removeMembersRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeMembersRequest, SOAP_TYPE_PointerTo_ngwm__removeMembersRequest); + soap_serialize_PointerTo_ngwm__removeMembersRequest(soap, &a->ngwm__removeMembersRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeMembersRequest(struct soap *soap, struct __ngw__removeMembersRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeMembersRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeMembersRequest(struct soap *soap, const struct __ngw__removeMembersRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeMembersRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeMembersRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeMembersRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeMembersRequest(soap, "ngwm:removeMembersRequest", -1, &a->ngwm__removeMembersRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_get___ngw__removeMembersRequest(struct soap *soap, struct __ngw__removeMembersRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeMembersRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_in___ngw__removeMembersRequest(struct soap *soap, const char *tag, struct __ngw__removeMembersRequest *a, const char *type) +{ + short soap_flag_ngwm__removeMembersRequest = 1; + a = (struct __ngw__removeMembersRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeMembersRequest, sizeof(struct __ngw__removeMembersRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeMembersRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeMembersRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeMembersRequest(soap, "ngwm:removeMembersRequest", &a->ngwm__removeMembersRequest, "")) + { soap_flag_ngwm__removeMembersRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeJunkEntryRequest(struct soap *soap, const struct __ngw__removeJunkEntryRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeJunkEntryRequest, SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest); + soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(soap, &a->ngwm__removeJunkEntryRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeJunkEntryRequest(struct soap *soap, struct __ngw__removeJunkEntryRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeJunkEntryRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeJunkEntryRequest(struct soap *soap, const struct __ngw__removeJunkEntryRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeJunkEntryRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeJunkEntryRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeJunkEntryRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeJunkEntryRequest(soap, "ngwm:removeJunkEntryRequest", -1, &a->ngwm__removeJunkEntryRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__removeJunkEntryRequest(struct soap *soap, struct __ngw__removeJunkEntryRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__removeJunkEntryRequest(struct soap *soap, const char *tag, struct __ngw__removeJunkEntryRequest *a, const char *type) +{ + short soap_flag_ngwm__removeJunkEntryRequest = 1; + a = (struct __ngw__removeJunkEntryRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeJunkEntryRequest, sizeof(struct __ngw__removeJunkEntryRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeJunkEntryRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeJunkEntryRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeJunkEntryRequest(soap, "ngwm:removeJunkEntryRequest", &a->ngwm__removeJunkEntryRequest, "")) + { soap_flag_ngwm__removeJunkEntryRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemsRequest(struct soap *soap, const struct __ngw__removeItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeItemsRequest, SOAP_TYPE_PointerTo_ngwm__removeItemsRequest); + soap_serialize_PointerTo_ngwm__removeItemsRequest(soap, &a->ngwm__removeItemsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemsRequest(struct soap *soap, struct __ngw__removeItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeItemsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemsRequest(struct soap *soap, const struct __ngw__removeItemsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeItemsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeItemsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeItemsRequest(soap, "ngwm:removeItemsRequest", -1, &a->ngwm__removeItemsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_get___ngw__removeItemsRequest(struct soap *soap, struct __ngw__removeItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_in___ngw__removeItemsRequest(struct soap *soap, const char *tag, struct __ngw__removeItemsRequest *a, const char *type) +{ + short soap_flag_ngwm__removeItemsRequest = 1; + a = (struct __ngw__removeItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeItemsRequest, sizeof(struct __ngw__removeItemsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeItemsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeItemsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeItemsRequest(soap, "ngwm:removeItemsRequest", &a->ngwm__removeItemsRequest, "")) + { soap_flag_ngwm__removeItemsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemRequest(struct soap *soap, const struct __ngw__removeItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeItemRequest, SOAP_TYPE_PointerTo_ngwm__removeItemRequest); + soap_serialize_PointerTo_ngwm__removeItemRequest(soap, &a->ngwm__removeItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemRequest(struct soap *soap, struct __ngw__removeItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemRequest(struct soap *soap, const struct __ngw__removeItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeItemRequest(soap, "ngwm:removeItemRequest", -1, &a->ngwm__removeItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_get___ngw__removeItemRequest(struct soap *soap, struct __ngw__removeItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_in___ngw__removeItemRequest(struct soap *soap, const char *tag, struct __ngw__removeItemRequest *a, const char *type) +{ + short soap_flag_ngwm__removeItemRequest = 1; + a = (struct __ngw__removeItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeItemRequest, sizeof(struct __ngw__removeItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeItemRequest(soap, "ngwm:removeItemRequest", &a->ngwm__removeItemRequest, "")) + { soap_flag_ngwm__removeItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeCustomDefinitionRequest(struct soap *soap, const struct __ngw__removeCustomDefinitionRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__removeCustomDefinitionRequest, SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest); + soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(soap, &a->ngwm__removeCustomDefinitionRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeCustomDefinitionRequest(struct soap *soap, struct __ngw__removeCustomDefinitionRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__removeCustomDefinitionRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeCustomDefinitionRequest(struct soap *soap, const struct __ngw__removeCustomDefinitionRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__removeCustomDefinitionRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *tag, int id, const struct __ngw__removeCustomDefinitionRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(soap, "ngwm:removeCustomDefinitionRequest", -1, &a->ngwm__removeCustomDefinitionRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get___ngw__removeCustomDefinitionRequest(struct soap *soap, struct __ngw__removeCustomDefinitionRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__removeCustomDefinitionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *tag, struct __ngw__removeCustomDefinitionRequest *a, const char *type) +{ + short soap_flag_ngwm__removeCustomDefinitionRequest = 1; + a = (struct __ngw__removeCustomDefinitionRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__removeCustomDefinitionRequest, sizeof(struct __ngw__removeCustomDefinitionRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__removeCustomDefinitionRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__removeCustomDefinitionRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(soap, "ngwm:removeCustomDefinitionRequest", &a->ngwm__removeCustomDefinitionRequest, "")) + { soap_flag_ngwm__removeCustomDefinitionRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__readCursorRequest(struct soap *soap, const struct __ngw__readCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__readCursorRequest, SOAP_TYPE_PointerTo_ngwm__readCursorRequest); + soap_serialize_PointerTo_ngwm__readCursorRequest(soap, &a->ngwm__readCursorRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__readCursorRequest(struct soap *soap, struct __ngw__readCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__readCursorRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__readCursorRequest(struct soap *soap, const struct __ngw__readCursorRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__readCursorRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__readCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__readCursorRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__readCursorRequest(soap, "ngwm:readCursorRequest", -1, &a->ngwm__readCursorRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_get___ngw__readCursorRequest(struct soap *soap, struct __ngw__readCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__readCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_in___ngw__readCursorRequest(struct soap *soap, const char *tag, struct __ngw__readCursorRequest *a, const char *type) +{ + short soap_flag_ngwm__readCursorRequest = 1; + a = (struct __ngw__readCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__readCursorRequest, sizeof(struct __ngw__readCursorRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__readCursorRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__readCursorRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__readCursorRequest(soap, "ngwm:readCursorRequest", &a->ngwm__readCursorRequest, "")) + { soap_flag_ngwm__readCursorRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeRequest(struct soap *soap, const struct __ngw__purgeRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__purgeRequest, SOAP_TYPE_PointerTo_ngwm__purgeRequest); + soap_serialize_PointerTo_ngwm__purgeRequest(soap, &a->ngwm__purgeRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeRequest(struct soap *soap, struct __ngw__purgeRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__purgeRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeRequest(struct soap *soap, const struct __ngw__purgeRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__purgeRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeRequest(struct soap *soap, const char *tag, int id, const struct __ngw__purgeRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__purgeRequest(soap, "ngwm:purgeRequest", -1, &a->ngwm__purgeRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_get___ngw__purgeRequest(struct soap *soap, struct __ngw__purgeRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__purgeRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_in___ngw__purgeRequest(struct soap *soap, const char *tag, struct __ngw__purgeRequest *a, const char *type) +{ + short soap_flag_ngwm__purgeRequest = 1; + a = (struct __ngw__purgeRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__purgeRequest, sizeof(struct __ngw__purgeRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__purgeRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__purgeRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__purgeRequest(soap, "ngwm:purgeRequest", &a->ngwm__purgeRequest, "")) + { soap_flag_ngwm__purgeRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeDeletedItemsRequest(struct soap *soap, const struct __ngw__purgeDeletedItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__purgeDeletedItemsRequest, SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest); + soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(soap, &a->ngwm__purgeDeletedItemsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeDeletedItemsRequest(struct soap *soap, struct __ngw__purgeDeletedItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__purgeDeletedItemsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeDeletedItemsRequest(struct soap *soap, const struct __ngw__purgeDeletedItemsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__purgeDeletedItemsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__purgeDeletedItemsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(soap, "ngwm:purgeDeletedItemsRequest", -1, &a->ngwm__purgeDeletedItemsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get___ngw__purgeDeletedItemsRequest(struct soap *soap, struct __ngw__purgeDeletedItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__purgeDeletedItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *tag, struct __ngw__purgeDeletedItemsRequest *a, const char *type) +{ + short soap_flag_ngwm__purgeDeletedItemsRequest = 1; + a = (struct __ngw__purgeDeletedItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__purgeDeletedItemsRequest, sizeof(struct __ngw__purgeDeletedItemsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__purgeDeletedItemsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__purgeDeletedItemsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(soap, "ngwm:purgeDeletedItemsRequest", &a->ngwm__purgeDeletedItemsRequest, "")) + { soap_flag_ngwm__purgeDeletedItemsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__positionCursorRequest(struct soap *soap, const struct __ngw__positionCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__positionCursorRequest, SOAP_TYPE_PointerTo_ngwm__positionCursorRequest); + soap_serialize_PointerTo_ngwm__positionCursorRequest(soap, &a->ngwm__positionCursorRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__positionCursorRequest(struct soap *soap, struct __ngw__positionCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__positionCursorRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__positionCursorRequest(struct soap *soap, const struct __ngw__positionCursorRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__positionCursorRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__positionCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__positionCursorRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__positionCursorRequest(soap, "ngwm:positionCursorRequest", -1, &a->ngwm__positionCursorRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_get___ngw__positionCursorRequest(struct soap *soap, struct __ngw__positionCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__positionCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_in___ngw__positionCursorRequest(struct soap *soap, const char *tag, struct __ngw__positionCursorRequest *a, const char *type) +{ + short soap_flag_ngwm__positionCursorRequest = 1; + a = (struct __ngw__positionCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__positionCursorRequest, sizeof(struct __ngw__positionCursorRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__positionCursorRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__positionCursorRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__positionCursorRequest(soap, "ngwm:positionCursorRequest", &a->ngwm__positionCursorRequest, "")) + { soap_flag_ngwm__positionCursorRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__moveItemRequest(struct soap *soap, const struct __ngw__moveItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__moveItemRequest, SOAP_TYPE_PointerTo_ngwm__moveItemRequest); + soap_serialize_PointerTo_ngwm__moveItemRequest(soap, &a->ngwm__moveItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__moveItemRequest(struct soap *soap, struct __ngw__moveItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__moveItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__moveItemRequest(struct soap *soap, const struct __ngw__moveItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__moveItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__moveItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__moveItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__moveItemRequest(soap, "ngwm:moveItemRequest", -1, &a->ngwm__moveItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_get___ngw__moveItemRequest(struct soap *soap, struct __ngw__moveItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__moveItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_in___ngw__moveItemRequest(struct soap *soap, const char *tag, struct __ngw__moveItemRequest *a, const char *type) +{ + short soap_flag_ngwm__moveItemRequest = 1; + a = (struct __ngw__moveItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__moveItemRequest, sizeof(struct __ngw__moveItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__moveItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__moveItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__moveItemRequest(soap, "ngwm:moveItemRequest", &a->ngwm__moveItemRequest, "")) + { soap_flag_ngwm__moveItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySignaturesRequest(struct soap *soap, const struct __ngw__modifySignaturesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifySignaturesRequest, SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest); + soap_serialize_PointerTo_ngwm__modifySignaturesRequest(soap, &a->ngwm__modifySignaturesRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySignaturesRequest(struct soap *soap, struct __ngw__modifySignaturesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifySignaturesRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySignaturesRequest(struct soap *soap, const struct __ngw__modifySignaturesRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifySignaturesRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySignaturesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifySignaturesRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifySignaturesRequest(soap, "ngwm:modifySignaturesRequest", -1, &a->ngwm__modifySignaturesRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_get___ngw__modifySignaturesRequest(struct soap *soap, struct __ngw__modifySignaturesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifySignaturesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_in___ngw__modifySignaturesRequest(struct soap *soap, const char *tag, struct __ngw__modifySignaturesRequest *a, const char *type) +{ + short soap_flag_ngwm__modifySignaturesRequest = 1; + a = (struct __ngw__modifySignaturesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifySignaturesRequest, sizeof(struct __ngw__modifySignaturesRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifySignaturesRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifySignaturesRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifySignaturesRequest(soap, "ngwm:modifySignaturesRequest", &a->ngwm__modifySignaturesRequest, "")) + { soap_flag_ngwm__modifySignaturesRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySettingsRequest(struct soap *soap, const struct __ngw__modifySettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifySettingsRequest, SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest); + soap_serialize_PointerTo_ngwm__modifySettingsRequest(soap, &a->ngwm__modifySettingsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySettingsRequest(struct soap *soap, struct __ngw__modifySettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifySettingsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySettingsRequest(struct soap *soap, const struct __ngw__modifySettingsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifySettingsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifySettingsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifySettingsRequest(soap, "ngwm:modifySettingsRequest", -1, &a->ngwm__modifySettingsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_get___ngw__modifySettingsRequest(struct soap *soap, struct __ngw__modifySettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifySettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_in___ngw__modifySettingsRequest(struct soap *soap, const char *tag, struct __ngw__modifySettingsRequest *a, const char *type) +{ + short soap_flag_ngwm__modifySettingsRequest = 1; + a = (struct __ngw__modifySettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifySettingsRequest, sizeof(struct __ngw__modifySettingsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifySettingsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifySettingsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifySettingsRequest(soap, "ngwm:modifySettingsRequest", &a->ngwm__modifySettingsRequest, "")) + { soap_flag_ngwm__modifySettingsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyProxyAccessRequest(struct soap *soap, const struct __ngw__modifyProxyAccessRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifyProxyAccessRequest, SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest); + soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(soap, &a->ngwm__modifyProxyAccessRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyProxyAccessRequest(struct soap *soap, struct __ngw__modifyProxyAccessRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifyProxyAccessRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyProxyAccessRequest(struct soap *soap, const struct __ngw__modifyProxyAccessRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifyProxyAccessRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyProxyAccessRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyProxyAccessRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifyProxyAccessRequest(soap, "ngwm:modifyProxyAccessRequest", -1, &a->ngwm__modifyProxyAccessRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__modifyProxyAccessRequest(struct soap *soap, struct __ngw__modifyProxyAccessRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifyProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__modifyProxyAccessRequest(struct soap *soap, const char *tag, struct __ngw__modifyProxyAccessRequest *a, const char *type) +{ + short soap_flag_ngwm__modifyProxyAccessRequest = 1; + a = (struct __ngw__modifyProxyAccessRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyProxyAccessRequest, sizeof(struct __ngw__modifyProxyAccessRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifyProxyAccessRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifyProxyAccessRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifyProxyAccessRequest(soap, "ngwm:modifyProxyAccessRequest", &a->ngwm__modifyProxyAccessRequest, "")) + { soap_flag_ngwm__modifyProxyAccessRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyPasswordRequest(struct soap *soap, const struct __ngw__modifyPasswordRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifyPasswordRequest, SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest); + soap_serialize_PointerTo_ngwm__modifyPasswordRequest(soap, &a->ngwm__modifyPasswordRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyPasswordRequest(struct soap *soap, struct __ngw__modifyPasswordRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifyPasswordRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyPasswordRequest(struct soap *soap, const struct __ngw__modifyPasswordRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifyPasswordRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyPasswordRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyPasswordRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifyPasswordRequest(soap, "ngwm:modifyPasswordRequest", -1, &a->ngwm__modifyPasswordRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_get___ngw__modifyPasswordRequest(struct soap *soap, struct __ngw__modifyPasswordRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifyPasswordRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_in___ngw__modifyPasswordRequest(struct soap *soap, const char *tag, struct __ngw__modifyPasswordRequest *a, const char *type) +{ + short soap_flag_ngwm__modifyPasswordRequest = 1; + a = (struct __ngw__modifyPasswordRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyPasswordRequest, sizeof(struct __ngw__modifyPasswordRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifyPasswordRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifyPasswordRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifyPasswordRequest(soap, "ngwm:modifyPasswordRequest", &a->ngwm__modifyPasswordRequest, "")) + { soap_flag_ngwm__modifyPasswordRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const struct __ngw__modifyJunkMailSettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifyJunkMailSettingsRequest, SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest); + soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, &a->ngwm__modifyJunkMailSettingsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkMailSettingsRequest(struct soap *soap, struct __ngw__modifyJunkMailSettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifyJunkMailSettingsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const struct __ngw__modifyJunkMailSettingsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifyJunkMailSettingsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyJunkMailSettingsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, "ngwm:modifyJunkMailSettingsRequest", -1, &a->ngwm__modifyJunkMailSettingsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkMailSettingsRequest(struct soap *soap, struct __ngw__modifyJunkMailSettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifyJunkMailSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, struct __ngw__modifyJunkMailSettingsRequest *a, const char *type) +{ + short soap_flag_ngwm__modifyJunkMailSettingsRequest = 1; + a = (struct __ngw__modifyJunkMailSettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyJunkMailSettingsRequest, sizeof(struct __ngw__modifyJunkMailSettingsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifyJunkMailSettingsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifyJunkMailSettingsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, "ngwm:modifyJunkMailSettingsRequest", &a->ngwm__modifyJunkMailSettingsRequest, "")) + { soap_flag_ngwm__modifyJunkMailSettingsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkEntryRequest(struct soap *soap, const struct __ngw__modifyJunkEntryRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifyJunkEntryRequest, SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest); + soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(soap, &a->ngwm__modifyJunkEntryRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkEntryRequest(struct soap *soap, struct __ngw__modifyJunkEntryRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifyJunkEntryRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkEntryRequest(struct soap *soap, const struct __ngw__modifyJunkEntryRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifyJunkEntryRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkEntryRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyJunkEntryRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifyJunkEntryRequest(soap, "ngwm:modifyJunkEntryRequest", -1, &a->ngwm__modifyJunkEntryRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkEntryRequest(struct soap *soap, struct __ngw__modifyJunkEntryRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifyJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkEntryRequest(struct soap *soap, const char *tag, struct __ngw__modifyJunkEntryRequest *a, const char *type) +{ + short soap_flag_ngwm__modifyJunkEntryRequest = 1; + a = (struct __ngw__modifyJunkEntryRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyJunkEntryRequest, sizeof(struct __ngw__modifyJunkEntryRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifyJunkEntryRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifyJunkEntryRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifyJunkEntryRequest(soap, "ngwm:modifyJunkEntryRequest", &a->ngwm__modifyJunkEntryRequest, "")) + { soap_flag_ngwm__modifyJunkEntryRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyItemRequest(struct soap *soap, const struct __ngw__modifyItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__modifyItemRequest, SOAP_TYPE_PointerTo_ngwm__modifyItemRequest); + soap_serialize_PointerTo_ngwm__modifyItemRequest(soap, &a->ngwm__modifyItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyItemRequest(struct soap *soap, struct __ngw__modifyItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__modifyItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyItemRequest(struct soap *soap, const struct __ngw__modifyItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__modifyItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__modifyItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__modifyItemRequest(soap, "ngwm:modifyItemRequest", -1, &a->ngwm__modifyItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_get___ngw__modifyItemRequest(struct soap *soap, struct __ngw__modifyItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__modifyItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_in___ngw__modifyItemRequest(struct soap *soap, const char *tag, struct __ngw__modifyItemRequest *a, const char *type) +{ + short soap_flag_ngwm__modifyItemRequest = 1; + a = (struct __ngw__modifyItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__modifyItemRequest, sizeof(struct __ngw__modifyItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__modifyItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__modifyItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__modifyItemRequest(soap, "ngwm:modifyItemRequest", &a->ngwm__modifyItemRequest, "")) + { soap_flag_ngwm__modifyItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnReadRequest(struct soap *soap, const struct __ngw__markUnReadRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__markUnReadRequest, SOAP_TYPE_PointerTo_ngwm__markUnReadRequest); + soap_serialize_PointerTo_ngwm__markUnReadRequest(soap, &a->ngwm__markUnReadRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnReadRequest(struct soap *soap, struct __ngw__markUnReadRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__markUnReadRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnReadRequest(struct soap *soap, const struct __ngw__markUnReadRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__markUnReadRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnReadRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markUnReadRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__markUnReadRequest(soap, "ngwm:markUnReadRequest", -1, &a->ngwm__markUnReadRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_get___ngw__markUnReadRequest(struct soap *soap, struct __ngw__markUnReadRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__markUnReadRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_in___ngw__markUnReadRequest(struct soap *soap, const char *tag, struct __ngw__markUnReadRequest *a, const char *type) +{ + short soap_flag_ngwm__markUnReadRequest = 1; + a = (struct __ngw__markUnReadRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markUnReadRequest, sizeof(struct __ngw__markUnReadRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__markUnReadRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__markUnReadRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__markUnReadRequest(soap, "ngwm:markUnReadRequest", &a->ngwm__markUnReadRequest, "")) + { soap_flag_ngwm__markUnReadRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnPrivateRequest(struct soap *soap, const struct __ngw__markUnPrivateRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__markUnPrivateRequest, SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest); + soap_serialize_PointerTo_ngwm__markUnPrivateRequest(soap, &a->ngwm__markUnPrivateRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnPrivateRequest(struct soap *soap, struct __ngw__markUnPrivateRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__markUnPrivateRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnPrivateRequest(struct soap *soap, const struct __ngw__markUnPrivateRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__markUnPrivateRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnPrivateRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markUnPrivateRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__markUnPrivateRequest(soap, "ngwm:markUnPrivateRequest", -1, &a->ngwm__markUnPrivateRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_get___ngw__markUnPrivateRequest(struct soap *soap, struct __ngw__markUnPrivateRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__markUnPrivateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_in___ngw__markUnPrivateRequest(struct soap *soap, const char *tag, struct __ngw__markUnPrivateRequest *a, const char *type) +{ + short soap_flag_ngwm__markUnPrivateRequest = 1; + a = (struct __ngw__markUnPrivateRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markUnPrivateRequest, sizeof(struct __ngw__markUnPrivateRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__markUnPrivateRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__markUnPrivateRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__markUnPrivateRequest(soap, "ngwm:markUnPrivateRequest", &a->ngwm__markUnPrivateRequest, "")) + { soap_flag_ngwm__markUnPrivateRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markReadRequest(struct soap *soap, const struct __ngw__markReadRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__markReadRequest, SOAP_TYPE_PointerTo_ngwm__markReadRequest); + soap_serialize_PointerTo_ngwm__markReadRequest(soap, &a->ngwm__markReadRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markReadRequest(struct soap *soap, struct __ngw__markReadRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__markReadRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markReadRequest(struct soap *soap, const struct __ngw__markReadRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__markReadRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markReadRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markReadRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__markReadRequest(soap, "ngwm:markReadRequest", -1, &a->ngwm__markReadRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_get___ngw__markReadRequest(struct soap *soap, struct __ngw__markReadRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__markReadRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_in___ngw__markReadRequest(struct soap *soap, const char *tag, struct __ngw__markReadRequest *a, const char *type) +{ + short soap_flag_ngwm__markReadRequest = 1; + a = (struct __ngw__markReadRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markReadRequest, sizeof(struct __ngw__markReadRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__markReadRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__markReadRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__markReadRequest(soap, "ngwm:markReadRequest", &a->ngwm__markReadRequest, "")) + { soap_flag_ngwm__markReadRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markPrivateRequest(struct soap *soap, const struct __ngw__markPrivateRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__markPrivateRequest, SOAP_TYPE_PointerTo_ngwm__markPrivateRequest); + soap_serialize_PointerTo_ngwm__markPrivateRequest(soap, &a->ngwm__markPrivateRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markPrivateRequest(struct soap *soap, struct __ngw__markPrivateRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__markPrivateRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markPrivateRequest(struct soap *soap, const struct __ngw__markPrivateRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__markPrivateRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markPrivateRequest(struct soap *soap, const char *tag, int id, const struct __ngw__markPrivateRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__markPrivateRequest(soap, "ngwm:markPrivateRequest", -1, &a->ngwm__markPrivateRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_get___ngw__markPrivateRequest(struct soap *soap, struct __ngw__markPrivateRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__markPrivateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_in___ngw__markPrivateRequest(struct soap *soap, const char *tag, struct __ngw__markPrivateRequest *a, const char *type) +{ + short soap_flag_ngwm__markPrivateRequest = 1; + a = (struct __ngw__markPrivateRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__markPrivateRequest, sizeof(struct __ngw__markPrivateRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__markPrivateRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__markPrivateRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__markPrivateRequest(soap, "ngwm:markPrivateRequest", &a->ngwm__markPrivateRequest, "")) + { soap_flag_ngwm__markPrivateRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__logoutRequest(struct soap *soap, const struct __ngw__logoutRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__logoutRequest, SOAP_TYPE_PointerTo_ngwm__logoutRequest); + soap_serialize_PointerTo_ngwm__logoutRequest(soap, &a->ngwm__logoutRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__logoutRequest(struct soap *soap, struct __ngw__logoutRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__logoutRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__logoutRequest(struct soap *soap, const struct __ngw__logoutRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__logoutRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__logoutRequest(struct soap *soap, const char *tag, int id, const struct __ngw__logoutRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__logoutRequest(soap, "ngwm:logoutRequest", -1, &a->ngwm__logoutRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_get___ngw__logoutRequest(struct soap *soap, struct __ngw__logoutRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__logoutRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_in___ngw__logoutRequest(struct soap *soap, const char *tag, struct __ngw__logoutRequest *a, const char *type) +{ + short soap_flag_ngwm__logoutRequest = 1; + a = (struct __ngw__logoutRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__logoutRequest, sizeof(struct __ngw__logoutRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__logoutRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__logoutRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__logoutRequest(soap, "ngwm:logoutRequest", &a->ngwm__logoutRequest, "")) + { soap_flag_ngwm__logoutRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__loginRequest(struct soap *soap, const struct __ngw__loginRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__loginRequest, SOAP_TYPE_PointerTo_ngwm__loginRequest); + soap_serialize_PointerTo_ngwm__loginRequest(soap, &a->ngwm__loginRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__loginRequest(struct soap *soap, struct __ngw__loginRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__loginRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__loginRequest(struct soap *soap, const struct __ngw__loginRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__loginRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__loginRequest(struct soap *soap, const char *tag, int id, const struct __ngw__loginRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__loginRequest(soap, "ngwm:loginRequest", -1, &a->ngwm__loginRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_get___ngw__loginRequest(struct soap *soap, struct __ngw__loginRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__loginRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_in___ngw__loginRequest(struct soap *soap, const char *tag, struct __ngw__loginRequest *a, const char *type) +{ + short soap_flag_ngwm__loginRequest = 1; + a = (struct __ngw__loginRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__loginRequest, sizeof(struct __ngw__loginRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__loginRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__loginRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__loginRequest(soap, "ngwm:loginRequest", &a->ngwm__loginRequest, "")) + { soap_flag_ngwm__loginRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getUserListRequest(struct soap *soap, const struct __ngw__getUserListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getUserListRequest, SOAP_TYPE_PointerTo_ngwm__getUserListRequest); + soap_serialize_PointerTo_ngwm__getUserListRequest(soap, &a->ngwm__getUserListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getUserListRequest(struct soap *soap, struct __ngw__getUserListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getUserListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getUserListRequest(struct soap *soap, const struct __ngw__getUserListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getUserListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getUserListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getUserListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getUserListRequest(soap, "ngwm:getUserListRequest", -1, &a->ngwm__getUserListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_get___ngw__getUserListRequest(struct soap *soap, struct __ngw__getUserListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getUserListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_in___ngw__getUserListRequest(struct soap *soap, const char *tag, struct __ngw__getUserListRequest *a, const char *type) +{ + short soap_flag_ngwm__getUserListRequest = 1; + a = (struct __ngw__getUserListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getUserListRequest, sizeof(struct __ngw__getUserListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getUserListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getUserListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getUserListRequest(soap, "ngwm:getUserListRequest", &a->ngwm__getUserListRequest, "")) + { soap_flag_ngwm__getUserListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimezoneListRequest(struct soap *soap, const struct __ngw__getTimezoneListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getTimezoneListRequest, SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest); + soap_serialize_PointerTo_ngwm__getTimezoneListRequest(soap, &a->ngwm__getTimezoneListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimezoneListRequest(struct soap *soap, struct __ngw__getTimezoneListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getTimezoneListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimezoneListRequest(struct soap *soap, const struct __ngw__getTimezoneListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getTimezoneListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimezoneListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getTimezoneListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getTimezoneListRequest(soap, "ngwm:getTimezoneListRequest", -1, &a->ngwm__getTimezoneListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_get___ngw__getTimezoneListRequest(struct soap *soap, struct __ngw__getTimezoneListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getTimezoneListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_in___ngw__getTimezoneListRequest(struct soap *soap, const char *tag, struct __ngw__getTimezoneListRequest *a, const char *type) +{ + short soap_flag_ngwm__getTimezoneListRequest = 1; + a = (struct __ngw__getTimezoneListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getTimezoneListRequest, sizeof(struct __ngw__getTimezoneListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getTimezoneListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getTimezoneListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getTimezoneListRequest(soap, "ngwm:getTimezoneListRequest", &a->ngwm__getTimezoneListRequest, "")) + { soap_flag_ngwm__getTimezoneListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimestampRequest(struct soap *soap, const struct __ngw__getTimestampRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getTimestampRequest, SOAP_TYPE_PointerTo_ngwm__getTimestampRequest); + soap_serialize_PointerTo_ngwm__getTimestampRequest(soap, &a->ngwm__getTimestampRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimestampRequest(struct soap *soap, struct __ngw__getTimestampRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getTimestampRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimestampRequest(struct soap *soap, const struct __ngw__getTimestampRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getTimestampRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimestampRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getTimestampRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getTimestampRequest(soap, "ngwm:getTimestampRequest", -1, &a->ngwm__getTimestampRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_get___ngw__getTimestampRequest(struct soap *soap, struct __ngw__getTimestampRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getTimestampRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_in___ngw__getTimestampRequest(struct soap *soap, const char *tag, struct __ngw__getTimestampRequest *a, const char *type) +{ + short soap_flag_ngwm__getTimestampRequest = 1; + a = (struct __ngw__getTimestampRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getTimestampRequest, sizeof(struct __ngw__getTimestampRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getTimestampRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getTimestampRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getTimestampRequest(soap, "ngwm:getTimestampRequest", &a->ngwm__getTimestampRequest, "")) + { soap_flag_ngwm__getTimestampRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSignaturesRequest(struct soap *soap, const struct __ngw__getSignaturesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getSignaturesRequest, SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest); + soap_serialize_PointerTo_ngwm__getSignaturesRequest(soap, &a->ngwm__getSignaturesRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSignaturesRequest(struct soap *soap, struct __ngw__getSignaturesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getSignaturesRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSignaturesRequest(struct soap *soap, const struct __ngw__getSignaturesRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getSignaturesRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSignaturesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getSignaturesRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getSignaturesRequest(soap, "ngwm:getSignaturesRequest", -1, &a->ngwm__getSignaturesRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_get___ngw__getSignaturesRequest(struct soap *soap, struct __ngw__getSignaturesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getSignaturesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_in___ngw__getSignaturesRequest(struct soap *soap, const char *tag, struct __ngw__getSignaturesRequest *a, const char *type) +{ + short soap_flag_ngwm__getSignaturesRequest = 1; + a = (struct __ngw__getSignaturesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getSignaturesRequest, sizeof(struct __ngw__getSignaturesRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getSignaturesRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getSignaturesRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getSignaturesRequest(soap, "ngwm:getSignaturesRequest", &a->ngwm__getSignaturesRequest, "")) + { soap_flag_ngwm__getSignaturesRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSettingsRequest(struct soap *soap, const struct __ngw__getSettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getSettingsRequest, SOAP_TYPE_PointerTo_ngwm__getSettingsRequest); + soap_serialize_PointerTo_ngwm__getSettingsRequest(soap, &a->ngwm__getSettingsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSettingsRequest(struct soap *soap, struct __ngw__getSettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getSettingsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSettingsRequest(struct soap *soap, const struct __ngw__getSettingsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getSettingsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getSettingsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getSettingsRequest(soap, "ngwm:getSettingsRequest", -1, &a->ngwm__getSettingsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_get___ngw__getSettingsRequest(struct soap *soap, struct __ngw__getSettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_in___ngw__getSettingsRequest(struct soap *soap, const char *tag, struct __ngw__getSettingsRequest *a, const char *type) +{ + short soap_flag_ngwm__getSettingsRequest = 1; + a = (struct __ngw__getSettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getSettingsRequest, sizeof(struct __ngw__getSettingsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getSettingsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getSettingsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getSettingsRequest(soap, "ngwm:getSettingsRequest", &a->ngwm__getSettingsRequest, "")) + { soap_flag_ngwm__getSettingsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getRuleListRequest(struct soap *soap, const struct __ngw__getRuleListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getRuleListRequest, SOAP_TYPE_PointerTo_ngwm__getRuleListRequest); + soap_serialize_PointerTo_ngwm__getRuleListRequest(soap, &a->ngwm__getRuleListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getRuleListRequest(struct soap *soap, struct __ngw__getRuleListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getRuleListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getRuleListRequest(struct soap *soap, const struct __ngw__getRuleListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getRuleListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getRuleListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getRuleListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getRuleListRequest(soap, "ngwm:getRuleListRequest", -1, &a->ngwm__getRuleListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_get___ngw__getRuleListRequest(struct soap *soap, struct __ngw__getRuleListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getRuleListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_in___ngw__getRuleListRequest(struct soap *soap, const char *tag, struct __ngw__getRuleListRequest *a, const char *type) +{ + short soap_flag_ngwm__getRuleListRequest = 1; + a = (struct __ngw__getRuleListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getRuleListRequest, sizeof(struct __ngw__getRuleListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getRuleListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getRuleListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getRuleListRequest(soap, "ngwm:getRuleListRequest", &a->ngwm__getRuleListRequest, "")) + { soap_flag_ngwm__getRuleListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyListRequest(struct soap *soap, const struct __ngw__getProxyListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getProxyListRequest, SOAP_TYPE_PointerTo_ngwm__getProxyListRequest); + soap_serialize_PointerTo_ngwm__getProxyListRequest(soap, &a->ngwm__getProxyListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyListRequest(struct soap *soap, struct __ngw__getProxyListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getProxyListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyListRequest(struct soap *soap, const struct __ngw__getProxyListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getProxyListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getProxyListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getProxyListRequest(soap, "ngwm:getProxyListRequest", -1, &a->ngwm__getProxyListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_get___ngw__getProxyListRequest(struct soap *soap, struct __ngw__getProxyListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getProxyListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_in___ngw__getProxyListRequest(struct soap *soap, const char *tag, struct __ngw__getProxyListRequest *a, const char *type) +{ + short soap_flag_ngwm__getProxyListRequest = 1; + a = (struct __ngw__getProxyListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getProxyListRequest, sizeof(struct __ngw__getProxyListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getProxyListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getProxyListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getProxyListRequest(soap, "ngwm:getProxyListRequest", &a->ngwm__getProxyListRequest, "")) + { soap_flag_ngwm__getProxyListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyAccessListRequest(struct soap *soap, const struct __ngw__getProxyAccessListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getProxyAccessListRequest, SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest); + soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(soap, &a->ngwm__getProxyAccessListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyAccessListRequest(struct soap *soap, struct __ngw__getProxyAccessListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getProxyAccessListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyAccessListRequest(struct soap *soap, const struct __ngw__getProxyAccessListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getProxyAccessListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyAccessListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getProxyAccessListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getProxyAccessListRequest(soap, "ngwm:getProxyAccessListRequest", -1, &a->ngwm__getProxyAccessListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_get___ngw__getProxyAccessListRequest(struct soap *soap, struct __ngw__getProxyAccessListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getProxyAccessListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_in___ngw__getProxyAccessListRequest(struct soap *soap, const char *tag, struct __ngw__getProxyAccessListRequest *a, const char *type) +{ + short soap_flag_ngwm__getProxyAccessListRequest = 1; + a = (struct __ngw__getProxyAccessListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getProxyAccessListRequest, sizeof(struct __ngw__getProxyAccessListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getProxyAccessListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getProxyAccessListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getProxyAccessListRequest(soap, "ngwm:getProxyAccessListRequest", &a->ngwm__getProxyAccessListRequest, "")) + { soap_flag_ngwm__getProxyAccessListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getQuickMessagesRequest(struct soap *soap, const struct __ngw__getQuickMessagesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getQuickMessagesRequest, SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest); + soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(soap, &a->ngwm__getQuickMessagesRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getQuickMessagesRequest(struct soap *soap, struct __ngw__getQuickMessagesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getQuickMessagesRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getQuickMessagesRequest(struct soap *soap, const struct __ngw__getQuickMessagesRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getQuickMessagesRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getQuickMessagesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getQuickMessagesRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getQuickMessagesRequest(soap, "ngwm:getQuickMessagesRequest", -1, &a->ngwm__getQuickMessagesRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_get___ngw__getQuickMessagesRequest(struct soap *soap, struct __ngw__getQuickMessagesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getQuickMessagesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_in___ngw__getQuickMessagesRequest(struct soap *soap, const char *tag, struct __ngw__getQuickMessagesRequest *a, const char *type) +{ + short soap_flag_ngwm__getQuickMessagesRequest = 1; + a = (struct __ngw__getQuickMessagesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getQuickMessagesRequest, sizeof(struct __ngw__getQuickMessagesRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getQuickMessagesRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getQuickMessagesRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getQuickMessagesRequest(soap, "ngwm:getQuickMessagesRequest", &a->ngwm__getQuickMessagesRequest, "")) + { soap_flag_ngwm__getQuickMessagesRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryListRequest(struct soap *soap, const struct __ngw__getLibraryListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getLibraryListRequest, SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest); + soap_serialize_PointerTo_ngwm__getLibraryListRequest(soap, &a->ngwm__getLibraryListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryListRequest(struct soap *soap, struct __ngw__getLibraryListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getLibraryListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryListRequest(struct soap *soap, const struct __ngw__getLibraryListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getLibraryListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getLibraryListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getLibraryListRequest(soap, "ngwm:getLibraryListRequest", -1, &a->ngwm__getLibraryListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_get___ngw__getLibraryListRequest(struct soap *soap, struct __ngw__getLibraryListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getLibraryListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_in___ngw__getLibraryListRequest(struct soap *soap, const char *tag, struct __ngw__getLibraryListRequest *a, const char *type) +{ + short soap_flag_ngwm__getLibraryListRequest = 1; + a = (struct __ngw__getLibraryListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getLibraryListRequest, sizeof(struct __ngw__getLibraryListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getLibraryListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getLibraryListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getLibraryListRequest(soap, "ngwm:getLibraryListRequest", &a->ngwm__getLibraryListRequest, "")) + { soap_flag_ngwm__getLibraryListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryItemRequest(struct soap *soap, const struct __ngw__getLibraryItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getLibraryItemRequest, SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest); + soap_serialize_PointerTo_ngwm__getLibraryItemRequest(soap, &a->ngwm__getLibraryItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryItemRequest(struct soap *soap, struct __ngw__getLibraryItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getLibraryItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryItemRequest(struct soap *soap, const struct __ngw__getLibraryItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getLibraryItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getLibraryItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getLibraryItemRequest(soap, "ngwm:getLibraryItemRequest", -1, &a->ngwm__getLibraryItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_get___ngw__getLibraryItemRequest(struct soap *soap, struct __ngw__getLibraryItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getLibraryItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_in___ngw__getLibraryItemRequest(struct soap *soap, const char *tag, struct __ngw__getLibraryItemRequest *a, const char *type) +{ + short soap_flag_ngwm__getLibraryItemRequest = 1; + a = (struct __ngw__getLibraryItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getLibraryItemRequest, sizeof(struct __ngw__getLibraryItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getLibraryItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getLibraryItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getLibraryItemRequest(soap, "ngwm:getLibraryItemRequest", &a->ngwm__getLibraryItemRequest, "")) + { soap_flag_ngwm__getLibraryItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkMailSettingsRequest(struct soap *soap, const struct __ngw__getJunkMailSettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getJunkMailSettingsRequest, SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest); + soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(soap, &a->ngwm__getJunkMailSettingsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkMailSettingsRequest(struct soap *soap, struct __ngw__getJunkMailSettingsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getJunkMailSettingsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkMailSettingsRequest(struct soap *soap, const struct __ngw__getJunkMailSettingsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getJunkMailSettingsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getJunkMailSettingsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(soap, "ngwm:getJunkMailSettingsRequest", -1, &a->ngwm__getJunkMailSettingsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__getJunkMailSettingsRequest(struct soap *soap, struct __ngw__getJunkMailSettingsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getJunkMailSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *tag, struct __ngw__getJunkMailSettingsRequest *a, const char *type) +{ + short soap_flag_ngwm__getJunkMailSettingsRequest = 1; + a = (struct __ngw__getJunkMailSettingsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getJunkMailSettingsRequest, sizeof(struct __ngw__getJunkMailSettingsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getJunkMailSettingsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getJunkMailSettingsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(soap, "ngwm:getJunkMailSettingsRequest", &a->ngwm__getJunkMailSettingsRequest, "")) + { soap_flag_ngwm__getJunkMailSettingsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkEntriesRequest(struct soap *soap, const struct __ngw__getJunkEntriesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getJunkEntriesRequest, SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest); + soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(soap, &a->ngwm__getJunkEntriesRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkEntriesRequest(struct soap *soap, struct __ngw__getJunkEntriesRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getJunkEntriesRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkEntriesRequest(struct soap *soap, const struct __ngw__getJunkEntriesRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getJunkEntriesRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkEntriesRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getJunkEntriesRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getJunkEntriesRequest(soap, "ngwm:getJunkEntriesRequest", -1, &a->ngwm__getJunkEntriesRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_get___ngw__getJunkEntriesRequest(struct soap *soap, struct __ngw__getJunkEntriesRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getJunkEntriesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_in___ngw__getJunkEntriesRequest(struct soap *soap, const char *tag, struct __ngw__getJunkEntriesRequest *a, const char *type) +{ + short soap_flag_ngwm__getJunkEntriesRequest = 1; + a = (struct __ngw__getJunkEntriesRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getJunkEntriesRequest, sizeof(struct __ngw__getJunkEntriesRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getJunkEntriesRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getJunkEntriesRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getJunkEntriesRequest(soap, "ngwm:getJunkEntriesRequest", &a->ngwm__getJunkEntriesRequest, "")) + { soap_flag_ngwm__getJunkEntriesRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemsRequest(struct soap *soap, const struct __ngw__getItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getItemsRequest, SOAP_TYPE_PointerTo_ngwm__getItemsRequest); + soap_serialize_PointerTo_ngwm__getItemsRequest(soap, &a->ngwm__getItemsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemsRequest(struct soap *soap, struct __ngw__getItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getItemsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemsRequest(struct soap *soap, const struct __ngw__getItemsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getItemsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getItemsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getItemsRequest(soap, "ngwm:getItemsRequest", -1, &a->ngwm__getItemsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_get___ngw__getItemsRequest(struct soap *soap, struct __ngw__getItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_in___ngw__getItemsRequest(struct soap *soap, const char *tag, struct __ngw__getItemsRequest *a, const char *type) +{ + short soap_flag_ngwm__getItemsRequest = 1; + a = (struct __ngw__getItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getItemsRequest, sizeof(struct __ngw__getItemsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getItemsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getItemsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getItemsRequest(soap, "ngwm:getItemsRequest", &a->ngwm__getItemsRequest, "")) + { soap_flag_ngwm__getItemsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemRequest(struct soap *soap, const struct __ngw__getItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getItemRequest, SOAP_TYPE_PointerTo_ngwm__getItemRequest); + soap_serialize_PointerTo_ngwm__getItemRequest(soap, &a->ngwm__getItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemRequest(struct soap *soap, struct __ngw__getItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemRequest(struct soap *soap, const struct __ngw__getItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getItemRequest(soap, "ngwm:getItemRequest", -1, &a->ngwm__getItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_get___ngw__getItemRequest(struct soap *soap, struct __ngw__getItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_in___ngw__getItemRequest(struct soap *soap, const char *tag, struct __ngw__getItemRequest *a, const char *type) +{ + short soap_flag_ngwm__getItemRequest = 1; + a = (struct __ngw__getItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getItemRequest, sizeof(struct __ngw__getItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getItemRequest(soap, "ngwm:getItemRequest", &a->ngwm__getItemRequest, "")) + { soap_flag_ngwm__getItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFreeBusyRequest(struct soap *soap, const struct __ngw__getFreeBusyRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getFreeBusyRequest, SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest); + soap_serialize_PointerTo_ngwm__getFreeBusyRequest(soap, &a->ngwm__getFreeBusyRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFreeBusyRequest(struct soap *soap, struct __ngw__getFreeBusyRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getFreeBusyRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFreeBusyRequest(struct soap *soap, const struct __ngw__getFreeBusyRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getFreeBusyRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFreeBusyRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getFreeBusyRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getFreeBusyRequest(soap, "ngwm:getFreeBusyRequest", -1, &a->ngwm__getFreeBusyRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_get___ngw__getFreeBusyRequest(struct soap *soap, struct __ngw__getFreeBusyRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getFreeBusyRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_in___ngw__getFreeBusyRequest(struct soap *soap, const char *tag, struct __ngw__getFreeBusyRequest *a, const char *type) +{ + short soap_flag_ngwm__getFreeBusyRequest = 1; + a = (struct __ngw__getFreeBusyRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getFreeBusyRequest, sizeof(struct __ngw__getFreeBusyRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getFreeBusyRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getFreeBusyRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getFreeBusyRequest(soap, "ngwm:getFreeBusyRequest", &a->ngwm__getFreeBusyRequest, "")) + { soap_flag_ngwm__getFreeBusyRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderListRequest(struct soap *soap, const struct __ngw__getFolderListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getFolderListRequest, SOAP_TYPE_PointerTo_ngwm__getFolderListRequest); + soap_serialize_PointerTo_ngwm__getFolderListRequest(soap, &a->ngwm__getFolderListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderListRequest(struct soap *soap, struct __ngw__getFolderListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getFolderListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderListRequest(struct soap *soap, const struct __ngw__getFolderListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getFolderListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getFolderListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getFolderListRequest(soap, "ngwm:getFolderListRequest", -1, &a->ngwm__getFolderListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_get___ngw__getFolderListRequest(struct soap *soap, struct __ngw__getFolderListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getFolderListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_in___ngw__getFolderListRequest(struct soap *soap, const char *tag, struct __ngw__getFolderListRequest *a, const char *type) +{ + short soap_flag_ngwm__getFolderListRequest = 1; + a = (struct __ngw__getFolderListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getFolderListRequest, sizeof(struct __ngw__getFolderListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getFolderListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getFolderListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getFolderListRequest(soap, "ngwm:getFolderListRequest", &a->ngwm__getFolderListRequest, "")) + { soap_flag_ngwm__getFolderListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderRequest(struct soap *soap, const struct __ngw__getFolderRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getFolderRequest, SOAP_TYPE_PointerTo_ngwm__getFolderRequest); + soap_serialize_PointerTo_ngwm__getFolderRequest(soap, &a->ngwm__getFolderRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderRequest(struct soap *soap, struct __ngw__getFolderRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getFolderRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderRequest(struct soap *soap, const struct __ngw__getFolderRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getFolderRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getFolderRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getFolderRequest(soap, "ngwm:getFolderRequest", -1, &a->ngwm__getFolderRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_get___ngw__getFolderRequest(struct soap *soap, struct __ngw__getFolderRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getFolderRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_in___ngw__getFolderRequest(struct soap *soap, const char *tag, struct __ngw__getFolderRequest *a, const char *type) +{ + short soap_flag_ngwm__getFolderRequest = 1; + a = (struct __ngw__getFolderRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getFolderRequest, sizeof(struct __ngw__getFolderRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getFolderRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getFolderRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getFolderRequest(soap, "ngwm:getFolderRequest", &a->ngwm__getFolderRequest, "")) + { soap_flag_ngwm__getFolderRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDocumentTypeListRequest(struct soap *soap, const struct __ngw__getDocumentTypeListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getDocumentTypeListRequest, SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest); + soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(soap, &a->ngwm__getDocumentTypeListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDocumentTypeListRequest(struct soap *soap, struct __ngw__getDocumentTypeListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getDocumentTypeListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDocumentTypeListRequest(struct soap *soap, const struct __ngw__getDocumentTypeListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getDocumentTypeListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDocumentTypeListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getDocumentTypeListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getDocumentTypeListRequest(soap, "ngwm:getDocumentTypeListRequest", -1, &a->ngwm__getDocumentTypeListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_get___ngw__getDocumentTypeListRequest(struct soap *soap, struct __ngw__getDocumentTypeListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getDocumentTypeListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_in___ngw__getDocumentTypeListRequest(struct soap *soap, const char *tag, struct __ngw__getDocumentTypeListRequest *a, const char *type) +{ + short soap_flag_ngwm__getDocumentTypeListRequest = 1; + a = (struct __ngw__getDocumentTypeListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getDocumentTypeListRequest, sizeof(struct __ngw__getDocumentTypeListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getDocumentTypeListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getDocumentTypeListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getDocumentTypeListRequest(soap, "ngwm:getDocumentTypeListRequest", &a->ngwm__getDocumentTypeListRequest, "")) + { soap_flag_ngwm__getDocumentTypeListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltaInfoRequest(struct soap *soap, const struct __ngw__getDeltaInfoRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getDeltaInfoRequest, SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest); + soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(soap, &a->ngwm__getDeltaInfoRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltaInfoRequest(struct soap *soap, struct __ngw__getDeltaInfoRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getDeltaInfoRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltaInfoRequest(struct soap *soap, const struct __ngw__getDeltaInfoRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getDeltaInfoRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltaInfoRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getDeltaInfoRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getDeltaInfoRequest(soap, "ngwm:getDeltaInfoRequest", -1, &a->ngwm__getDeltaInfoRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_get___ngw__getDeltaInfoRequest(struct soap *soap, struct __ngw__getDeltaInfoRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getDeltaInfoRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_in___ngw__getDeltaInfoRequest(struct soap *soap, const char *tag, struct __ngw__getDeltaInfoRequest *a, const char *type) +{ + short soap_flag_ngwm__getDeltaInfoRequest = 1; + a = (struct __ngw__getDeltaInfoRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getDeltaInfoRequest, sizeof(struct __ngw__getDeltaInfoRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getDeltaInfoRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getDeltaInfoRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getDeltaInfoRequest(soap, "ngwm:getDeltaInfoRequest", &a->ngwm__getDeltaInfoRequest, "")) + { soap_flag_ngwm__getDeltaInfoRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltasRequest(struct soap *soap, const struct __ngw__getDeltasRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getDeltasRequest, SOAP_TYPE_PointerTo_ngwm__getDeltasRequest); + soap_serialize_PointerTo_ngwm__getDeltasRequest(soap, &a->ngwm__getDeltasRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltasRequest(struct soap *soap, struct __ngw__getDeltasRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getDeltasRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltasRequest(struct soap *soap, const struct __ngw__getDeltasRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getDeltasRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltasRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getDeltasRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getDeltasRequest(soap, "ngwm:getDeltasRequest", -1, &a->ngwm__getDeltasRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_get___ngw__getDeltasRequest(struct soap *soap, struct __ngw__getDeltasRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getDeltasRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_in___ngw__getDeltasRequest(struct soap *soap, const char *tag, struct __ngw__getDeltasRequest *a, const char *type) +{ + short soap_flag_ngwm__getDeltasRequest = 1; + a = (struct __ngw__getDeltasRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getDeltasRequest, sizeof(struct __ngw__getDeltasRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getDeltasRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getDeltasRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getDeltasRequest(soap, "ngwm:getDeltasRequest", &a->ngwm__getDeltasRequest, "")) + { soap_flag_ngwm__getDeltasRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCustomListRequest(struct soap *soap, const struct __ngw__getCustomListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getCustomListRequest, SOAP_TYPE_PointerTo_ngwm__getCustomListRequest); + soap_serialize_PointerTo_ngwm__getCustomListRequest(soap, &a->ngwm__getCustomListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCustomListRequest(struct soap *soap, struct __ngw__getCustomListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getCustomListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCustomListRequest(struct soap *soap, const struct __ngw__getCustomListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getCustomListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCustomListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getCustomListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getCustomListRequest(soap, "ngwm:getCustomListRequest", -1, &a->ngwm__getCustomListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_get___ngw__getCustomListRequest(struct soap *soap, struct __ngw__getCustomListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getCustomListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_in___ngw__getCustomListRequest(struct soap *soap, const char *tag, struct __ngw__getCustomListRequest *a, const char *type) +{ + short soap_flag_ngwm__getCustomListRequest = 1; + a = (struct __ngw__getCustomListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getCustomListRequest, sizeof(struct __ngw__getCustomListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getCustomListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getCustomListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getCustomListRequest(soap, "ngwm:getCustomListRequest", &a->ngwm__getCustomListRequest, "")) + { soap_flag_ngwm__getCustomListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCategoryListRequest(struct soap *soap, const struct __ngw__getCategoryListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getCategoryListRequest, SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest); + soap_serialize_PointerTo_ngwm__getCategoryListRequest(soap, &a->ngwm__getCategoryListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCategoryListRequest(struct soap *soap, struct __ngw__getCategoryListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getCategoryListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCategoryListRequest(struct soap *soap, const struct __ngw__getCategoryListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getCategoryListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCategoryListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getCategoryListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getCategoryListRequest(soap, "ngwm:getCategoryListRequest", -1, &a->ngwm__getCategoryListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_get___ngw__getCategoryListRequest(struct soap *soap, struct __ngw__getCategoryListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getCategoryListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_in___ngw__getCategoryListRequest(struct soap *soap, const char *tag, struct __ngw__getCategoryListRequest *a, const char *type) +{ + short soap_flag_ngwm__getCategoryListRequest = 1; + a = (struct __ngw__getCategoryListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getCategoryListRequest, sizeof(struct __ngw__getCategoryListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getCategoryListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getCategoryListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getCategoryListRequest(soap, "ngwm:getCategoryListRequest", &a->ngwm__getCategoryListRequest, "")) + { soap_flag_ngwm__getCategoryListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAttachmentRequestMessage(struct soap *soap, const struct __ngw__getAttachmentRequestMessage *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getAttachmentRequest, SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest); + soap_serialize_PointerTo_ngwm__getAttachmentRequest(soap, &a->ngwm__getAttachmentRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAttachmentRequestMessage(struct soap *soap, struct __ngw__getAttachmentRequestMessage *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getAttachmentRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAttachmentRequestMessage(struct soap *soap, const struct __ngw__getAttachmentRequestMessage *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getAttachmentRequestMessage(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAttachmentRequestMessage(struct soap *soap, const char *tag, int id, const struct __ngw__getAttachmentRequestMessage *a, const char *type) +{ + soap_out_PointerTo_ngwm__getAttachmentRequest(soap, "ngwm:getAttachmentRequest", -1, &a->ngwm__getAttachmentRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_get___ngw__getAttachmentRequestMessage(struct soap *soap, struct __ngw__getAttachmentRequestMessage *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getAttachmentRequestMessage(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_in___ngw__getAttachmentRequestMessage(struct soap *soap, const char *tag, struct __ngw__getAttachmentRequestMessage *a, const char *type) +{ + short soap_flag_ngwm__getAttachmentRequest = 1; + a = (struct __ngw__getAttachmentRequestMessage *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getAttachmentRequestMessage, sizeof(struct __ngw__getAttachmentRequestMessage), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getAttachmentRequestMessage(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getAttachmentRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getAttachmentRequest(soap, "ngwm:getAttachmentRequest", &a->ngwm__getAttachmentRequest, "")) + { soap_flag_ngwm__getAttachmentRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAddressBookListRequest(struct soap *soap, const struct __ngw__getAddressBookListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__getAddressBookListRequest, SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest); + soap_serialize_PointerTo_ngwm__getAddressBookListRequest(soap, &a->ngwm__getAddressBookListRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAddressBookListRequest(struct soap *soap, struct __ngw__getAddressBookListRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__getAddressBookListRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAddressBookListRequest(struct soap *soap, const struct __ngw__getAddressBookListRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__getAddressBookListRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAddressBookListRequest(struct soap *soap, const char *tag, int id, const struct __ngw__getAddressBookListRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__getAddressBookListRequest(soap, "ngwm:getAddressBookListRequest", -1, &a->ngwm__getAddressBookListRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_get___ngw__getAddressBookListRequest(struct soap *soap, struct __ngw__getAddressBookListRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__getAddressBookListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_in___ngw__getAddressBookListRequest(struct soap *soap, const char *tag, struct __ngw__getAddressBookListRequest *a, const char *type) +{ + short soap_flag_ngwm__getAddressBookListRequest = 1; + a = (struct __ngw__getAddressBookListRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__getAddressBookListRequest, sizeof(struct __ngw__getAddressBookListRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__getAddressBookListRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__getAddressBookListRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__getAddressBookListRequest(soap, "ngwm:getAddressBookListRequest", &a->ngwm__getAddressBookListRequest, "")) + { soap_flag_ngwm__getAddressBookListRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__forwardRequest(struct soap *soap, const struct __ngw__forwardRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__forwardRequest, SOAP_TYPE_PointerTo_ngwm__forwardRequest); + soap_serialize_PointerTo_ngwm__forwardRequest(soap, &a->ngwm__forwardRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__forwardRequest(struct soap *soap, struct __ngw__forwardRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__forwardRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__forwardRequest(struct soap *soap, const struct __ngw__forwardRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__forwardRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__forwardRequest(struct soap *soap, const char *tag, int id, const struct __ngw__forwardRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__forwardRequest(soap, "ngwm:forwardRequest", -1, &a->ngwm__forwardRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_get___ngw__forwardRequest(struct soap *soap, struct __ngw__forwardRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__forwardRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_in___ngw__forwardRequest(struct soap *soap, const char *tag, struct __ngw__forwardRequest *a, const char *type) +{ + short soap_flag_ngwm__forwardRequest = 1; + a = (struct __ngw__forwardRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__forwardRequest, sizeof(struct __ngw__forwardRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__forwardRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__forwardRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__forwardRequest(soap, "ngwm:forwardRequest", &a->ngwm__forwardRequest, "")) + { soap_flag_ngwm__forwardRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__executeRuleRequest(struct soap *soap, const struct __ngw__executeRuleRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__executeRuleRequest, SOAP_TYPE_PointerTo_ngwm__executeRuleRequest); + soap_serialize_PointerTo_ngwm__executeRuleRequest(soap, &a->ngwm__executeRuleRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__executeRuleRequest(struct soap *soap, struct __ngw__executeRuleRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__executeRuleRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__executeRuleRequest(struct soap *soap, const struct __ngw__executeRuleRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__executeRuleRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__executeRuleRequest(struct soap *soap, const char *tag, int id, const struct __ngw__executeRuleRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__executeRuleRequest(soap, "ngwm:executeRuleRequest", -1, &a->ngwm__executeRuleRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_get___ngw__executeRuleRequest(struct soap *soap, struct __ngw__executeRuleRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__executeRuleRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_in___ngw__executeRuleRequest(struct soap *soap, const char *tag, struct __ngw__executeRuleRequest *a, const char *type) +{ + short soap_flag_ngwm__executeRuleRequest = 1; + a = (struct __ngw__executeRuleRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__executeRuleRequest, sizeof(struct __ngw__executeRuleRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__executeRuleRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__executeRuleRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__executeRuleRequest(soap, "ngwm:executeRuleRequest", &a->ngwm__executeRuleRequest, "")) + { soap_flag_ngwm__executeRuleRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__destroyCursorRequest(struct soap *soap, const struct __ngw__destroyCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__destroyCursorRequest, SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest); + soap_serialize_PointerTo_ngwm__destroyCursorRequest(soap, &a->ngwm__destroyCursorRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__destroyCursorRequest(struct soap *soap, struct __ngw__destroyCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__destroyCursorRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__destroyCursorRequest(struct soap *soap, const struct __ngw__destroyCursorRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__destroyCursorRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__destroyCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__destroyCursorRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__destroyCursorRequest(soap, "ngwm:destroyCursorRequest", -1, &a->ngwm__destroyCursorRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_get___ngw__destroyCursorRequest(struct soap *soap, struct __ngw__destroyCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__destroyCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_in___ngw__destroyCursorRequest(struct soap *soap, const char *tag, struct __ngw__destroyCursorRequest *a, const char *type) +{ + short soap_flag_ngwm__destroyCursorRequest = 1; + a = (struct __ngw__destroyCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__destroyCursorRequest, sizeof(struct __ngw__destroyCursorRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__destroyCursorRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__destroyCursorRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__destroyCursorRequest(soap, "ngwm:destroyCursorRequest", &a->ngwm__destroyCursorRequest, "")) + { soap_flag_ngwm__destroyCursorRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__delegateRequest(struct soap *soap, const struct __ngw__delegateRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__delegateRequest, SOAP_TYPE_PointerTo_ngwm__delegateRequest); + soap_serialize_PointerTo_ngwm__delegateRequest(soap, &a->ngwm__delegateRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__delegateRequest(struct soap *soap, struct __ngw__delegateRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__delegateRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__delegateRequest(struct soap *soap, const struct __ngw__delegateRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__delegateRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__delegateRequest(struct soap *soap, const char *tag, int id, const struct __ngw__delegateRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__delegateRequest(soap, "ngwm:delegateRequest", -1, &a->ngwm__delegateRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_get___ngw__delegateRequest(struct soap *soap, struct __ngw__delegateRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__delegateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_in___ngw__delegateRequest(struct soap *soap, const char *tag, struct __ngw__delegateRequest *a, const char *type) +{ + short soap_flag_ngwm__delegateRequest = 1; + a = (struct __ngw__delegateRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__delegateRequest, sizeof(struct __ngw__delegateRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__delegateRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__delegateRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__delegateRequest(soap, "ngwm:delegateRequest", &a->ngwm__delegateRequest, "")) + { soap_flag_ngwm__delegateRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__declineRequest(struct soap *soap, const struct __ngw__declineRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__declineRequest, SOAP_TYPE_PointerTo_ngwm__declineRequest); + soap_serialize_PointerTo_ngwm__declineRequest(soap, &a->ngwm__declineRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__declineRequest(struct soap *soap, struct __ngw__declineRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__declineRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__declineRequest(struct soap *soap, const struct __ngw__declineRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__declineRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__declineRequest(struct soap *soap, const char *tag, int id, const struct __ngw__declineRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__declineRequest(soap, "ngwm:declineRequest", -1, &a->ngwm__declineRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_get___ngw__declineRequest(struct soap *soap, struct __ngw__declineRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__declineRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_in___ngw__declineRequest(struct soap *soap, const char *tag, struct __ngw__declineRequest *a, const char *type) +{ + short soap_flag_ngwm__declineRequest = 1; + a = (struct __ngw__declineRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__declineRequest, sizeof(struct __ngw__declineRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__declineRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__declineRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__declineRequest(soap, "ngwm:declineRequest", &a->ngwm__declineRequest, "")) + { soap_flag_ngwm__declineRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createSignatureRequest(struct soap *soap, const struct __ngw__createSignatureRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__createSignatureRequest, SOAP_TYPE_PointerTo_ngwm__createSignatureRequest); + soap_serialize_PointerTo_ngwm__createSignatureRequest(soap, &a->ngwm__createSignatureRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createSignatureRequest(struct soap *soap, struct __ngw__createSignatureRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__createSignatureRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createSignatureRequest(struct soap *soap, const struct __ngw__createSignatureRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__createSignatureRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createSignatureRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createSignatureRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__createSignatureRequest(soap, "ngwm:createSignatureRequest", -1, &a->ngwm__createSignatureRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_get___ngw__createSignatureRequest(struct soap *soap, struct __ngw__createSignatureRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__createSignatureRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_in___ngw__createSignatureRequest(struct soap *soap, const char *tag, struct __ngw__createSignatureRequest *a, const char *type) +{ + short soap_flag_ngwm__createSignatureRequest = 1; + a = (struct __ngw__createSignatureRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createSignatureRequest, sizeof(struct __ngw__createSignatureRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__createSignatureRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__createSignatureRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__createSignatureRequest(soap, "ngwm:createSignatureRequest", &a->ngwm__createSignatureRequest, "")) + { soap_flag_ngwm__createSignatureRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createProxyAccessRequest(struct soap *soap, const struct __ngw__createProxyAccessRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__createProxyAccessRequest, SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest); + soap_serialize_PointerTo_ngwm__createProxyAccessRequest(soap, &a->ngwm__createProxyAccessRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createProxyAccessRequest(struct soap *soap, struct __ngw__createProxyAccessRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__createProxyAccessRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createProxyAccessRequest(struct soap *soap, const struct __ngw__createProxyAccessRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__createProxyAccessRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createProxyAccessRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createProxyAccessRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__createProxyAccessRequest(soap, "ngwm:createProxyAccessRequest", -1, &a->ngwm__createProxyAccessRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__createProxyAccessRequest(struct soap *soap, struct __ngw__createProxyAccessRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__createProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__createProxyAccessRequest(struct soap *soap, const char *tag, struct __ngw__createProxyAccessRequest *a, const char *type) +{ + short soap_flag_ngwm__createProxyAccessRequest = 1; + a = (struct __ngw__createProxyAccessRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createProxyAccessRequest, sizeof(struct __ngw__createProxyAccessRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__createProxyAccessRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__createProxyAccessRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__createProxyAccessRequest(soap, "ngwm:createProxyAccessRequest", &a->ngwm__createProxyAccessRequest, "")) + { soap_flag_ngwm__createProxyAccessRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createJunkEntryRequest(struct soap *soap, const struct __ngw__createJunkEntryRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__createJunkEntryRequest, SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest); + soap_serialize_PointerTo_ngwm__createJunkEntryRequest(soap, &a->ngwm__createJunkEntryRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createJunkEntryRequest(struct soap *soap, struct __ngw__createJunkEntryRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__createJunkEntryRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createJunkEntryRequest(struct soap *soap, const struct __ngw__createJunkEntryRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__createJunkEntryRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createJunkEntryRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createJunkEntryRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__createJunkEntryRequest(soap, "ngwm:createJunkEntryRequest", -1, &a->ngwm__createJunkEntryRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__createJunkEntryRequest(struct soap *soap, struct __ngw__createJunkEntryRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__createJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__createJunkEntryRequest(struct soap *soap, const char *tag, struct __ngw__createJunkEntryRequest *a, const char *type) +{ + short soap_flag_ngwm__createJunkEntryRequest = 1; + a = (struct __ngw__createJunkEntryRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createJunkEntryRequest, sizeof(struct __ngw__createJunkEntryRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__createJunkEntryRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__createJunkEntryRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__createJunkEntryRequest(soap, "ngwm:createJunkEntryRequest", &a->ngwm__createJunkEntryRequest, "")) + { soap_flag_ngwm__createJunkEntryRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemsRequest(struct soap *soap, const struct __ngw__createItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__createItemsRequest, SOAP_TYPE_PointerTo_ngwm__createItemsRequest); + soap_serialize_PointerTo_ngwm__createItemsRequest(soap, &a->ngwm__createItemsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemsRequest(struct soap *soap, struct __ngw__createItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__createItemsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemsRequest(struct soap *soap, const struct __ngw__createItemsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__createItemsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createItemsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__createItemsRequest(soap, "ngwm:createItemsRequest", -1, &a->ngwm__createItemsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_get___ngw__createItemsRequest(struct soap *soap, struct __ngw__createItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__createItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_in___ngw__createItemsRequest(struct soap *soap, const char *tag, struct __ngw__createItemsRequest *a, const char *type) +{ + short soap_flag_ngwm__createItemsRequest = 1; + a = (struct __ngw__createItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createItemsRequest, sizeof(struct __ngw__createItemsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__createItemsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__createItemsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__createItemsRequest(soap, "ngwm:createItemsRequest", &a->ngwm__createItemsRequest, "")) + { soap_flag_ngwm__createItemsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemRequest(struct soap *soap, const struct __ngw__createItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__createItemRequest, SOAP_TYPE_PointerTo_ngwm__createItemRequest); + soap_serialize_PointerTo_ngwm__createItemRequest(soap, &a->ngwm__createItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemRequest(struct soap *soap, struct __ngw__createItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__createItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemRequest(struct soap *soap, const struct __ngw__createItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__createItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__createItemRequest(soap, "ngwm:createItemRequest", -1, &a->ngwm__createItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_get___ngw__createItemRequest(struct soap *soap, struct __ngw__createItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__createItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_in___ngw__createItemRequest(struct soap *soap, const char *tag, struct __ngw__createItemRequest *a, const char *type) +{ + short soap_flag_ngwm__createItemRequest = 1; + a = (struct __ngw__createItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createItemRequest, sizeof(struct __ngw__createItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__createItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__createItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__createItemRequest(soap, "ngwm:createItemRequest", &a->ngwm__createItemRequest, "")) + { soap_flag_ngwm__createItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createCursorRequest(struct soap *soap, const struct __ngw__createCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__createCursorRequest, SOAP_TYPE_PointerTo_ngwm__createCursorRequest); + soap_serialize_PointerTo_ngwm__createCursorRequest(soap, &a->ngwm__createCursorRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createCursorRequest(struct soap *soap, struct __ngw__createCursorRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__createCursorRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createCursorRequest(struct soap *soap, const struct __ngw__createCursorRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__createCursorRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createCursorRequest(struct soap *soap, const char *tag, int id, const struct __ngw__createCursorRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__createCursorRequest(soap, "ngwm:createCursorRequest", -1, &a->ngwm__createCursorRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_get___ngw__createCursorRequest(struct soap *soap, struct __ngw__createCursorRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__createCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_in___ngw__createCursorRequest(struct soap *soap, const char *tag, struct __ngw__createCursorRequest *a, const char *type) +{ + short soap_flag_ngwm__createCursorRequest = 1; + a = (struct __ngw__createCursorRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__createCursorRequest, sizeof(struct __ngw__createCursorRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__createCursorRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__createCursorRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__createCursorRequest(soap, "ngwm:createCursorRequest", &a->ngwm__createCursorRequest, "")) + { soap_flag_ngwm__createCursorRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__completeRequest(struct soap *soap, const struct __ngw__completeRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__completeRequest, SOAP_TYPE_PointerTo_ngwm__completeRequest); + soap_serialize_PointerTo_ngwm__completeRequest(soap, &a->ngwm__completeRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__completeRequest(struct soap *soap, struct __ngw__completeRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__completeRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__completeRequest(struct soap *soap, const struct __ngw__completeRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__completeRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__completeRequest(struct soap *soap, const char *tag, int id, const struct __ngw__completeRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__completeRequest(soap, "ngwm:completeRequest", -1, &a->ngwm__completeRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_get___ngw__completeRequest(struct soap *soap, struct __ngw__completeRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__completeRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_in___ngw__completeRequest(struct soap *soap, const char *tag, struct __ngw__completeRequest *a, const char *type) +{ + short soap_flag_ngwm__completeRequest = 1; + a = (struct __ngw__completeRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__completeRequest, sizeof(struct __ngw__completeRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__completeRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__completeRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__completeRequest(soap, "ngwm:completeRequest", &a->ngwm__completeRequest, "")) + { soap_flag_ngwm__completeRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__closeFreeBusySessionRequest(struct soap *soap, const struct __ngw__closeFreeBusySessionRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__closeFreeBusySessionRequest, SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest); + soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(soap, &a->ngwm__closeFreeBusySessionRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__closeFreeBusySessionRequest(struct soap *soap, struct __ngw__closeFreeBusySessionRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__closeFreeBusySessionRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__closeFreeBusySessionRequest(struct soap *soap, const struct __ngw__closeFreeBusySessionRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__closeFreeBusySessionRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *tag, int id, const struct __ngw__closeFreeBusySessionRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(soap, "ngwm:closeFreeBusySessionRequest", -1, &a->ngwm__closeFreeBusySessionRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__closeFreeBusySessionRequest(struct soap *soap, struct __ngw__closeFreeBusySessionRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__closeFreeBusySessionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *tag, struct __ngw__closeFreeBusySessionRequest *a, const char *type) +{ + short soap_flag_ngwm__closeFreeBusySessionRequest = 1; + a = (struct __ngw__closeFreeBusySessionRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__closeFreeBusySessionRequest, sizeof(struct __ngw__closeFreeBusySessionRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__closeFreeBusySessionRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__closeFreeBusySessionRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(soap, "ngwm:closeFreeBusySessionRequest", &a->ngwm__closeFreeBusySessionRequest, "")) + { soap_flag_ngwm__closeFreeBusySessionRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addMembersRequest(struct soap *soap, const struct __ngw__addMembersRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__addMembersRequest, SOAP_TYPE_PointerTo_ngwm__addMembersRequest); + soap_serialize_PointerTo_ngwm__addMembersRequest(soap, &a->ngwm__addMembersRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addMembersRequest(struct soap *soap, struct __ngw__addMembersRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__addMembersRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addMembersRequest(struct soap *soap, const struct __ngw__addMembersRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__addMembersRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addMembersRequest(struct soap *soap, const char *tag, int id, const struct __ngw__addMembersRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__addMembersRequest(soap, "ngwm:addMembersRequest", -1, &a->ngwm__addMembersRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_get___ngw__addMembersRequest(struct soap *soap, struct __ngw__addMembersRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__addMembersRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_in___ngw__addMembersRequest(struct soap *soap, const char *tag, struct __ngw__addMembersRequest *a, const char *type) +{ + short soap_flag_ngwm__addMembersRequest = 1; + a = (struct __ngw__addMembersRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__addMembersRequest, sizeof(struct __ngw__addMembersRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__addMembersRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__addMembersRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__addMembersRequest(soap, "ngwm:addMembersRequest", &a->ngwm__addMembersRequest, "")) + { soap_flag_ngwm__addMembersRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemsRequest(struct soap *soap, const struct __ngw__addItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__addItemsRequest, SOAP_TYPE_PointerTo_ngwm__addItemsRequest); + soap_serialize_PointerTo_ngwm__addItemsRequest(soap, &a->ngwm__addItemsRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemsRequest(struct soap *soap, struct __ngw__addItemsRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__addItemsRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemsRequest(struct soap *soap, const struct __ngw__addItemsRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__addItemsRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemsRequest(struct soap *soap, const char *tag, int id, const struct __ngw__addItemsRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__addItemsRequest(soap, "ngwm:addItemsRequest", -1, &a->ngwm__addItemsRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_get___ngw__addItemsRequest(struct soap *soap, struct __ngw__addItemsRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__addItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_in___ngw__addItemsRequest(struct soap *soap, const char *tag, struct __ngw__addItemsRequest *a, const char *type) +{ + short soap_flag_ngwm__addItemsRequest = 1; + a = (struct __ngw__addItemsRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__addItemsRequest, sizeof(struct __ngw__addItemsRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__addItemsRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__addItemsRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__addItemsRequest(soap, "ngwm:addItemsRequest", &a->ngwm__addItemsRequest, "")) + { soap_flag_ngwm__addItemsRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemRequest(struct soap *soap, const struct __ngw__addItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__addItemRequest, SOAP_TYPE_PointerTo_ngwm__addItemRequest); + soap_serialize_PointerTo_ngwm__addItemRequest(soap, &a->ngwm__addItemRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemRequest(struct soap *soap, struct __ngw__addItemRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__addItemRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemRequest(struct soap *soap, const struct __ngw__addItemRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__addItemRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemRequest(struct soap *soap, const char *tag, int id, const struct __ngw__addItemRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__addItemRequest(soap, "ngwm:addItemRequest", -1, &a->ngwm__addItemRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_get___ngw__addItemRequest(struct soap *soap, struct __ngw__addItemRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__addItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_in___ngw__addItemRequest(struct soap *soap, const char *tag, struct __ngw__addItemRequest *a, const char *type) +{ + short soap_flag_ngwm__addItemRequest = 1; + a = (struct __ngw__addItemRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__addItemRequest, sizeof(struct __ngw__addItemRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__addItemRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__addItemRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__addItemRequest(soap, "ngwm:addItemRequest", &a->ngwm__addItemRequest, "")) + { soap_flag_ngwm__addItemRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptShareRequest(struct soap *soap, const struct __ngw__acceptShareRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__acceptShareRequest, SOAP_TYPE_PointerTo_ngwm__acceptShareRequest); + soap_serialize_PointerTo_ngwm__acceptShareRequest(soap, &a->ngwm__acceptShareRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptShareRequest(struct soap *soap, struct __ngw__acceptShareRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__acceptShareRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptShareRequest(struct soap *soap, const struct __ngw__acceptShareRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__acceptShareRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptShareRequest(struct soap *soap, const char *tag, int id, const struct __ngw__acceptShareRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__acceptShareRequest(soap, "ngwm:acceptShareRequest", -1, &a->ngwm__acceptShareRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_get___ngw__acceptShareRequest(struct soap *soap, struct __ngw__acceptShareRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__acceptShareRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_in___ngw__acceptShareRequest(struct soap *soap, const char *tag, struct __ngw__acceptShareRequest *a, const char *type) +{ + short soap_flag_ngwm__acceptShareRequest = 1; + a = (struct __ngw__acceptShareRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__acceptShareRequest, sizeof(struct __ngw__acceptShareRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__acceptShareRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__acceptShareRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__acceptShareRequest(soap, "ngwm:acceptShareRequest", &a->ngwm__acceptShareRequest, "")) + { soap_flag_ngwm__acceptShareRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptRequest(struct soap *soap, const struct __ngw__acceptRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwm__acceptRequest, SOAP_TYPE_PointerTo_ngwm__acceptRequest); + soap_serialize_PointerTo_ngwm__acceptRequest(soap, &a->ngwm__acceptRequest); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptRequest(struct soap *soap, struct __ngw__acceptRequest *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + a->ngwm__acceptRequest = NULL; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptRequest(struct soap *soap, const struct __ngw__acceptRequest *a, const char *tag, const char *type) +{ + register int id = 0; + if (soap_out___ngw__acceptRequest(soap, tag, id, a, type)) + return soap->error; + return SOAP_OK; +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptRequest(struct soap *soap, const char *tag, int id, const struct __ngw__acceptRequest *a, const char *type) +{ + soap_out_PointerTo_ngwm__acceptRequest(soap, "ngwm:acceptRequest", -1, &a->ngwm__acceptRequest, ""); + return SOAP_OK; +} + +SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_get___ngw__acceptRequest(struct soap *soap, struct __ngw__acceptRequest *p, const char *tag, const char *type) +{ + if ((p = soap_in___ngw__acceptRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_in___ngw__acceptRequest(struct soap *soap, const char *tag, struct __ngw__acceptRequest *a, const char *type) +{ + short soap_flag_ngwm__acceptRequest = 1; + a = (struct __ngw__acceptRequest *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___ngw__acceptRequest, sizeof(struct __ngw__acceptRequest), 0, NULL, NULL, NULL); + if (!a) + return NULL; + soap_default___ngw__acceptRequest(soap, a); + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwm__acceptRequest && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_PointerTo_ngwm__acceptRequest(soap, "ngwm:acceptRequest", &a->ngwm__acceptRequest, "")) + { soap_flag_ngwm__acceptRequest = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + return a; +} + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_embedded(soap, &a->ngwt__gwTrace, SOAP_TYPE_bool); + soap_embedded(soap, &a->ngwt__session, SOAP_TYPE_std__string); + soap_serialize_std__string(soap, &a->ngwt__session); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *a) +{ + (void)soap; (void)a; /* appease -Wall -Werror */ + soap_default_bool(soap, &a->ngwt__gwTrace); + soap_default_std__string(soap, &a->ngwt__session); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Header); + if (soap_out_SOAP_ENV__Header(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Header *a, const char *type) +{ + soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Header), type); + soap_out_bool(soap, "ngwt:gwTrace", -1, &a->ngwt__gwTrace, ""); + soap_out_std__string(soap, "ngwt:session", -1, &a->ngwt__session, ""); + soap_element_end_out(soap, tag); + return SOAP_OK; +} + +SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p, const char *tag, const char *type) +{ + if ((p = soap_in_SOAP_ENV__Header(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap *soap, const char *tag, struct SOAP_ENV__Header *a, const char *type) +{ + short soap_flag_ngwt__gwTrace = 1, soap_flag_ngwt__session = 1; + if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type && soap_match_tag(soap, soap->type, type)) + { soap->error = SOAP_TYPE; + return NULL; + } + a = (struct SOAP_ENV__Header *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), soap->type, soap->arrayType); + if (!a) + return NULL; + soap_default_SOAP_ENV__Header(soap, a); + if (soap->body && !*soap->href) + { + for (;;) + { soap->error = SOAP_TAG_MISMATCH; + if (soap_flag_ngwt__gwTrace && soap->error == SOAP_TAG_MISMATCH) + if (soap_in_bool(soap, "ngwt:gwTrace", &a->ngwt__gwTrace, "")) + { soap_flag_ngwt__gwTrace = 0; + continue; + } + if (soap_flag_ngwt__session && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) + if (soap_in_std__string(soap, "ngwt:session", &a->ngwt__session, "")) + { soap_flag_ngwt__session = 0; + continue; + } + if (soap->error == SOAP_TAG_MISMATCH) + soap->error = soap_ignore_element(soap); + if (soap->error == SOAP_NO_TAG) + break; + if (soap->error) + return NULL; + } + if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ngwt__gwTrace || soap_flag_ngwt__session)) + { soap->error = SOAP_OCCURS; + return NULL; + } + if (soap_element_end_in(soap, tag)) + return NULL; + } + else + { a = (struct SOAP_ENV__Header *)soap_id_forward(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Header, 0, sizeof(struct SOAP_ENV__Header), 0, soap_copy_SOAP_ENV__Header); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_new_SOAP_ENV__Header(struct soap *soap, int n) +{ return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_instantiate_SOAP_ENV__Header(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new struct SOAP_ENV__Header; + if (size) + *size = sizeof(struct SOAP_ENV__Header); + } + else + { cp->ptr = (void*)new struct SOAP_ENV__Header[n]; + if (size) + *size = n * sizeof(struct SOAP_ENV__Header); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (struct SOAP_ENV__Header*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_SOAP_ENV__Header(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Header %p -> %p\n", q, p)); + *(struct SOAP_ENV__Header*)p = *(struct SOAP_ENV__Header*)q; +} + +#endif + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Detail)) + soap_serialize_SOAP_ENV__Detail(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Detail); + if (soap_out_PointerToSOAP_ENV__Detail(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Detail *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Detail); + if (id < 0) + return soap->error; + return soap_out_SOAP_ENV__Detail(soap, tag, id, *a, type); +} + +SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerToSOAP_ENV__Detail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap *soap, const char *tag, struct SOAP_ENV__Detail **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (struct SOAP_ENV__Detail **)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_SOAP_ENV__Detail(soap, tag, *a, type))) + return NULL; + } + else + { a = (struct SOAP_ENV__Detail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +#endif + +#ifndef WITH_NOGLOBAL + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Code)) + soap_serialize_SOAP_ENV__Code(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Code); + if (soap_out_PointerToSOAP_ENV__Code(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Code *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code); + if (id < 0) + return soap->error; + return soap_out_SOAP_ENV__Code(soap, tag, id, *a, type); +} + +SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerToSOAP_ENV__Code(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap *soap, const char *tag, struct SOAP_ENV__Code **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (struct SOAP_ENV__Code **)soap_malloc(soap, sizeof(struct SOAP_ENV__Code *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_SOAP_ENV__Code(soap, tag, *a, type))) + return NULL; + } + else + { a = (struct SOAP_ENV__Code **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +#endif + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventsResponse); + if (soap_out_PointerTo_ngwe__removeEventsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsResponse(struct soap *soap, const char *tag, int id, _ngwe__removeEventsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsResponse(struct soap *soap, _ngwe__removeEventsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__removeEventsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsResponse(struct soap *soap, const char *tag, _ngwe__removeEventsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__removeEventsResponse **)soap_malloc(soap, sizeof(_ngwe__removeEventsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__removeEventsResponse *)soap_instantiate__ngwe__removeEventsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__removeEventsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsResponse, sizeof(_ngwe__removeEventsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventsRequest); + if (soap_out_PointerTo_ngwe__removeEventsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsRequest(struct soap *soap, const char *tag, int id, _ngwe__removeEventsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsRequest(struct soap *soap, _ngwe__removeEventsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__removeEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsRequest(struct soap *soap, const char *tag, _ngwe__removeEventsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__removeEventsRequest **)soap_malloc(soap, sizeof(_ngwe__removeEventsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__removeEventsRequest *)soap_instantiate__ngwe__removeEventsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__removeEventsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventsRequest, sizeof(_ngwe__removeEventsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventConfigurationResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse); + if (soap_out_PointerTo_ngwe__removeEventConfigurationResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, int id, _ngwe__removeEventConfigurationResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventConfigurationResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, _ngwe__removeEventConfigurationResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__removeEventConfigurationResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__removeEventConfigurationResponse **)soap_malloc(soap, sizeof(_ngwe__removeEventConfigurationResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__removeEventConfigurationResponse *)soap_instantiate__ngwe__removeEventConfigurationResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__removeEventConfigurationResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationResponse, sizeof(_ngwe__removeEventConfigurationResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__removeEventConfigurationRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest); + if (soap_out_PointerTo_ngwe__removeEventConfigurationRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, int id, _ngwe__removeEventConfigurationRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__removeEventConfigurationRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, _ngwe__removeEventConfigurationRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__removeEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__removeEventConfigurationRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__removeEventConfigurationRequest **)soap_malloc(soap, sizeof(_ngwe__removeEventConfigurationRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__removeEventConfigurationRequest *)soap_instantiate__ngwe__removeEventConfigurationRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__removeEventConfigurationRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__removeEventConfigurationRequest, sizeof(_ngwe__removeEventConfigurationRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventsResponse); + if (soap_out_PointerTo_ngwe__getEventsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsResponse(struct soap *soap, const char *tag, int id, _ngwe__getEventsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsResponse(struct soap *soap, _ngwe__getEventsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__getEventsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsResponse(struct soap *soap, const char *tag, _ngwe__getEventsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__getEventsResponse **)soap_malloc(soap, sizeof(_ngwe__getEventsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__getEventsResponse *)soap_instantiate__ngwe__getEventsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__getEventsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsResponse, sizeof(_ngwe__getEventsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventsRequest); + if (soap_out_PointerTo_ngwe__getEventsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsRequest(struct soap *soap, const char *tag, int id, _ngwe__getEventsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsRequest(struct soap *soap, _ngwe__getEventsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__getEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsRequest(struct soap *soap, const char *tag, _ngwe__getEventsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__getEventsRequest **)soap_malloc(soap, sizeof(_ngwe__getEventsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__getEventsRequest *)soap_instantiate__ngwe__getEventsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__getEventsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventsRequest, sizeof(_ngwe__getEventsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventConfigurationResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse); + if (soap_out_PointerTo_ngwe__getEventConfigurationResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, int id, _ngwe__getEventConfigurationResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventConfigurationResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, _ngwe__getEventConfigurationResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__getEventConfigurationResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__getEventConfigurationResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__getEventConfigurationResponse **)soap_malloc(soap, sizeof(_ngwe__getEventConfigurationResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__getEventConfigurationResponse *)soap_instantiate__ngwe__getEventConfigurationResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__getEventConfigurationResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationResponse, sizeof(_ngwe__getEventConfigurationResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__getEventConfigurationRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest); + if (soap_out_PointerTo_ngwe__getEventConfigurationRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, int id, _ngwe__getEventConfigurationRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__getEventConfigurationRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, _ngwe__getEventConfigurationRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__getEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__getEventConfigurationRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__getEventConfigurationRequest **)soap_malloc(soap, sizeof(_ngwe__getEventConfigurationRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__getEventConfigurationRequest *)soap_instantiate__ngwe__getEventConfigurationRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__getEventConfigurationRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__getEventConfigurationRequest, sizeof(_ngwe__getEventConfigurationRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__configureEventsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__configureEventsResponse); + if (soap_out_PointerTo_ngwe__configureEventsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsResponse(struct soap *soap, const char *tag, int id, _ngwe__configureEventsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__configureEventsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsResponse(struct soap *soap, _ngwe__configureEventsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__configureEventsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsResponse(struct soap *soap, const char *tag, _ngwe__configureEventsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__configureEventsResponse **)soap_malloc(soap, sizeof(_ngwe__configureEventsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__configureEventsResponse *)soap_instantiate__ngwe__configureEventsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__configureEventsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsResponse, sizeof(_ngwe__configureEventsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__configureEventsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__configureEventsRequest); + if (soap_out_PointerTo_ngwe__configureEventsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsRequest(struct soap *soap, const char *tag, int id, _ngwe__configureEventsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__configureEventsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsRequest(struct soap *soap, _ngwe__configureEventsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__configureEventsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsRequest(struct soap *soap, const char *tag, _ngwe__configureEventsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__configureEventsRequest **)soap_malloc(soap, sizeof(_ngwe__configureEventsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__configureEventsRequest *)soap_instantiate__ngwe__configureEventsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__configureEventsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__configureEventsRequest, sizeof(_ngwe__configureEventsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse); + if (soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, int id, _ngwe__cleanEventConfigurationResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__cleanEventConfigurationResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, _ngwe__cleanEventConfigurationResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__cleanEventConfigurationResponse **)soap_malloc(soap, sizeof(_ngwe__cleanEventConfigurationResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__cleanEventConfigurationResponse *)soap_instantiate__ngwe__cleanEventConfigurationResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__cleanEventConfigurationResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationResponse, sizeof(_ngwe__cleanEventConfigurationResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest); + if (soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, int id, _ngwe__cleanEventConfigurationRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwe__cleanEventConfigurationRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, _ngwe__cleanEventConfigurationRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap *soap, const char *tag, _ngwe__cleanEventConfigurationRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwe__cleanEventConfigurationRequest **)soap_malloc(soap, sizeof(_ngwe__cleanEventConfigurationRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwe__cleanEventConfigurationRequest *)soap_instantiate__ngwe__cleanEventConfigurationRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwe__cleanEventConfigurationRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwe__cleanEventConfigurationRequest, sizeof(_ngwe__cleanEventConfigurationRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__updateVersionStatusResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse); + if (soap_out_PointerTo_ngwm__updateVersionStatusResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, int id, _ngwm__updateVersionStatusResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__updateVersionStatusResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, _ngwm__updateVersionStatusResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__updateVersionStatusResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusResponse(struct soap *soap, const char *tag, _ngwm__updateVersionStatusResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__updateVersionStatusResponse **)soap_malloc(soap, sizeof(_ngwm__updateVersionStatusResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__updateVersionStatusResponse *)soap_instantiate__ngwm__updateVersionStatusResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__updateVersionStatusResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusResponse, sizeof(_ngwm__updateVersionStatusResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__updateVersionStatusRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest); + if (soap_out_PointerTo_ngwm__updateVersionStatusRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, int id, _ngwm__updateVersionStatusRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__updateVersionStatusRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, _ngwm__updateVersionStatusRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__updateVersionStatusRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusRequest(struct soap *soap, const char *tag, _ngwm__updateVersionStatusRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__updateVersionStatusRequest **)soap_malloc(soap, sizeof(_ngwm__updateVersionStatusRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__updateVersionStatusRequest *)soap_instantiate__ngwm__updateVersionStatusRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__updateVersionStatusRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__updateVersionStatusRequest, sizeof(_ngwm__updateVersionStatusRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__uncompleteResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__uncompleteResponse); + if (soap_out_PointerTo_ngwm__uncompleteResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteResponse(struct soap *soap, const char *tag, int id, _ngwm__uncompleteResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__uncompleteResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteResponse(struct soap *soap, _ngwm__uncompleteResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__uncompleteResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteResponse(struct soap *soap, const char *tag, _ngwm__uncompleteResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__uncompleteResponse **)soap_malloc(soap, sizeof(_ngwm__uncompleteResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__uncompleteResponse *)soap_instantiate__ngwm__uncompleteResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__uncompleteResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteResponse, sizeof(_ngwm__uncompleteResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__uncompleteRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__uncompleteRequest); + if (soap_out_PointerTo_ngwm__uncompleteRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteRequest(struct soap *soap, const char *tag, int id, _ngwm__uncompleteRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__uncompleteRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteRequest(struct soap *soap, _ngwm__uncompleteRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__uncompleteRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteRequest(struct soap *soap, const char *tag, _ngwm__uncompleteRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__uncompleteRequest **)soap_malloc(soap, sizeof(_ngwm__uncompleteRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__uncompleteRequest *)soap_instantiate__ngwm__uncompleteRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__uncompleteRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__uncompleteRequest, sizeof(_ngwm__uncompleteRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__unacceptResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__unacceptResponse); + if (soap_out_PointerTo_ngwm__unacceptResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptResponse(struct soap *soap, const char *tag, int id, _ngwm__unacceptResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__unacceptResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptResponse(struct soap *soap, _ngwm__unacceptResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__unacceptResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptResponse(struct soap *soap, const char *tag, _ngwm__unacceptResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__unacceptResponse **)soap_malloc(soap, sizeof(_ngwm__unacceptResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__unacceptResponse *)soap_instantiate__ngwm__unacceptResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__unacceptResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptResponse, sizeof(_ngwm__unacceptResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__unacceptRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__unacceptRequest); + if (soap_out_PointerTo_ngwm__unacceptRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptRequest(struct soap *soap, const char *tag, int id, _ngwm__unacceptRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__unacceptRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptRequest(struct soap *soap, _ngwm__unacceptRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__unacceptRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptRequest(struct soap *soap, const char *tag, _ngwm__unacceptRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__unacceptRequest **)soap_malloc(soap, sizeof(_ngwm__unacceptRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__unacceptRequest *)soap_instantiate__ngwm__unacceptRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__unacceptRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__unacceptRequest, sizeof(_ngwm__unacceptRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__startFreeBusySessionResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse); + if (soap_out_PointerTo_ngwm__startFreeBusySessionResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, int id, _ngwm__startFreeBusySessionResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__startFreeBusySessionResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, _ngwm__startFreeBusySessionResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__startFreeBusySessionResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__startFreeBusySessionResponse **)soap_malloc(soap, sizeof(_ngwm__startFreeBusySessionResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__startFreeBusySessionResponse *)soap_instantiate__ngwm__startFreeBusySessionResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__startFreeBusySessionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionResponse, sizeof(_ngwm__startFreeBusySessionResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__startFreeBusySessionRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest); + if (soap_out_PointerTo_ngwm__startFreeBusySessionRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, int id, _ngwm__startFreeBusySessionRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__startFreeBusySessionRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, _ngwm__startFreeBusySessionRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__startFreeBusySessionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__startFreeBusySessionRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__startFreeBusySessionRequest **)soap_malloc(soap, sizeof(_ngwm__startFreeBusySessionRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__startFreeBusySessionRequest *)soap_instantiate__ngwm__startFreeBusySessionRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__startFreeBusySessionRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__startFreeBusySessionRequest, sizeof(_ngwm__startFreeBusySessionRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__setTimestampResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__setTimestampResponse); + if (soap_out_PointerTo_ngwm__setTimestampResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampResponse(struct soap *soap, const char *tag, int id, _ngwm__setTimestampResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__setTimestampResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampResponse(struct soap *soap, _ngwm__setTimestampResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__setTimestampResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampResponse(struct soap *soap, const char *tag, _ngwm__setTimestampResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__setTimestampResponse **)soap_malloc(soap, sizeof(_ngwm__setTimestampResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__setTimestampResponse *)soap_instantiate__ngwm__setTimestampResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__setTimestampResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampResponse, sizeof(_ngwm__setTimestampResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__setTimestampRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__setTimestampRequest); + if (soap_out_PointerTo_ngwm__setTimestampRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampRequest(struct soap *soap, const char *tag, int id, _ngwm__setTimestampRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__setTimestampRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampRequest(struct soap *soap, _ngwm__setTimestampRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__setTimestampRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampRequest(struct soap *soap, const char *tag, _ngwm__setTimestampRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__setTimestampRequest **)soap_malloc(soap, sizeof(_ngwm__setTimestampRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__setTimestampRequest *)soap_instantiate__ngwm__setTimestampRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__setTimestampRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__setTimestampRequest, sizeof(_ngwm__setTimestampRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__sendItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__sendItemResponse); + if (soap_out_PointerTo_ngwm__sendItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemResponse(struct soap *soap, const char *tag, int id, _ngwm__sendItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__sendItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemResponse(struct soap *soap, _ngwm__sendItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__sendItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemResponse(struct soap *soap, const char *tag, _ngwm__sendItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__sendItemResponse **)soap_malloc(soap, sizeof(_ngwm__sendItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__sendItemResponse *)soap_instantiate__ngwm__sendItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__sendItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemResponse, sizeof(_ngwm__sendItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__sendItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__sendItemRequest); + if (soap_out_PointerTo_ngwm__sendItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemRequest(struct soap *soap, const char *tag, int id, _ngwm__sendItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__sendItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemRequest(struct soap *soap, _ngwm__sendItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__sendItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemRequest(struct soap *soap, const char *tag, _ngwm__sendItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__sendItemRequest **)soap_malloc(soap, sizeof(_ngwm__sendItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__sendItemRequest *)soap_instantiate__ngwm__sendItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__sendItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__sendItemRequest, sizeof(_ngwm__sendItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__retractResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__retractResponse); + if (soap_out_PointerTo_ngwm__retractResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractResponse(struct soap *soap, const char *tag, int id, _ngwm__retractResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__retractResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractResponse(struct soap *soap, _ngwm__retractResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__retractResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractResponse(struct soap *soap, const char *tag, _ngwm__retractResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__retractResponse **)soap_malloc(soap, sizeof(_ngwm__retractResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__retractResponse *)soap_instantiate__ngwm__retractResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__retractResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractResponse, sizeof(_ngwm__retractResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__retractRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__retractRequest); + if (soap_out_PointerTo_ngwm__retractRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractRequest(struct soap *soap, const char *tag, int id, _ngwm__retractRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__retractRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractRequest(struct soap *soap, _ngwm__retractRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__retractRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractRequest(struct soap *soap, const char *tag, _ngwm__retractRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__retractRequest **)soap_malloc(soap, sizeof(_ngwm__retractRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__retractRequest *)soap_instantiate__ngwm__retractRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__retractRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__retractRequest, sizeof(_ngwm__retractRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__replyResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__replyResponse); + if (soap_out_PointerTo_ngwm__replyResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyResponse(struct soap *soap, const char *tag, int id, _ngwm__replyResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__replyResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyResponse(struct soap *soap, _ngwm__replyResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__replyResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyResponse(struct soap *soap, const char *tag, _ngwm__replyResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__replyResponse **)soap_malloc(soap, sizeof(_ngwm__replyResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__replyResponse *)soap_instantiate__ngwm__replyResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__replyResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyResponse, sizeof(_ngwm__replyResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__replyRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__replyRequest); + if (soap_out_PointerTo_ngwm__replyRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyRequest(struct soap *soap, const char *tag, int id, _ngwm__replyRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__replyRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyRequest(struct soap *soap, _ngwm__replyRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__replyRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyRequest(struct soap *soap, const char *tag, _ngwm__replyRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__replyRequest **)soap_malloc(soap, sizeof(_ngwm__replyRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__replyRequest *)soap_instantiate__ngwm__replyRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__replyRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__replyRequest, sizeof(_ngwm__replyRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeSignatureResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse); + if (soap_out_PointerTo_ngwm__removeSignatureResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, const char *tag, int id, _ngwm__removeSignatureResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeSignatureResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, _ngwm__removeSignatureResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeSignatureResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureResponse(struct soap *soap, const char *tag, _ngwm__removeSignatureResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeSignatureResponse **)soap_malloc(soap, sizeof(_ngwm__removeSignatureResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeSignatureResponse *)soap_instantiate__ngwm__removeSignatureResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeSignatureResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureResponse, sizeof(_ngwm__removeSignatureResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeSignatureRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest); + if (soap_out_PointerTo_ngwm__removeSignatureRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, const char *tag, int id, _ngwm__removeSignatureRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeSignatureRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, _ngwm__removeSignatureRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeSignatureRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureRequest(struct soap *soap, const char *tag, _ngwm__removeSignatureRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeSignatureRequest **)soap_malloc(soap, sizeof(_ngwm__removeSignatureRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeSignatureRequest *)soap_instantiate__ngwm__removeSignatureRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeSignatureRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeSignatureRequest, sizeof(_ngwm__removeSignatureRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyUserResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse); + if (soap_out_PointerTo_ngwm__removeProxyUserResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, int id, _ngwm__removeProxyUserResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyUserResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, _ngwm__removeProxyUserResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeProxyUserResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserResponse(struct soap *soap, const char *tag, _ngwm__removeProxyUserResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeProxyUserResponse **)soap_malloc(soap, sizeof(_ngwm__removeProxyUserResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeProxyUserResponse *)soap_instantiate__ngwm__removeProxyUserResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeProxyUserResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserResponse, sizeof(_ngwm__removeProxyUserResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyUserRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest); + if (soap_out_PointerTo_ngwm__removeProxyUserRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, int id, _ngwm__removeProxyUserRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyUserRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, _ngwm__removeProxyUserRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeProxyUserRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserRequest(struct soap *soap, const char *tag, _ngwm__removeProxyUserRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeProxyUserRequest **)soap_malloc(soap, sizeof(_ngwm__removeProxyUserRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeProxyUserRequest *)soap_instantiate__ngwm__removeProxyUserRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeProxyUserRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyUserRequest, sizeof(_ngwm__removeProxyUserRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyAccessResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse); + if (soap_out_PointerTo_ngwm__removeProxyAccessResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, int id, _ngwm__removeProxyAccessResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyAccessResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, _ngwm__removeProxyAccessResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeProxyAccessResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__removeProxyAccessResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeProxyAccessResponse **)soap_malloc(soap, sizeof(_ngwm__removeProxyAccessResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeProxyAccessResponse *)soap_instantiate__ngwm__removeProxyAccessResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeProxyAccessResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessResponse, sizeof(_ngwm__removeProxyAccessResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeProxyAccessRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest); + if (soap_out_PointerTo_ngwm__removeProxyAccessRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, int id, _ngwm__removeProxyAccessRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeProxyAccessRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, _ngwm__removeProxyAccessRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__removeProxyAccessRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeProxyAccessRequest **)soap_malloc(soap, sizeof(_ngwm__removeProxyAccessRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeProxyAccessRequest *)soap_instantiate__ngwm__removeProxyAccessRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeProxyAccessRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeProxyAccessRequest, sizeof(_ngwm__removeProxyAccessRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeMembersResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeMembersResponse); + if (soap_out_PointerTo_ngwm__removeMembersResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersResponse(struct soap *soap, const char *tag, int id, _ngwm__removeMembersResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeMembersResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersResponse(struct soap *soap, _ngwm__removeMembersResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeMembersResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersResponse(struct soap *soap, const char *tag, _ngwm__removeMembersResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeMembersResponse **)soap_malloc(soap, sizeof(_ngwm__removeMembersResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeMembersResponse *)soap_instantiate__ngwm__removeMembersResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeMembersResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersResponse, sizeof(_ngwm__removeMembersResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeMembersRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeMembersRequest); + if (soap_out_PointerTo_ngwm__removeMembersRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersRequest(struct soap *soap, const char *tag, int id, _ngwm__removeMembersRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeMembersRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersRequest(struct soap *soap, _ngwm__removeMembersRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeMembersRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersRequest(struct soap *soap, const char *tag, _ngwm__removeMembersRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeMembersRequest **)soap_malloc(soap, sizeof(_ngwm__removeMembersRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeMembersRequest *)soap_instantiate__ngwm__removeMembersRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeMembersRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeMembersRequest, sizeof(_ngwm__removeMembersRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeJunkEntryResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse); + if (soap_out_PointerTo_ngwm__removeJunkEntryResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, int id, _ngwm__removeJunkEntryResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeJunkEntryResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, _ngwm__removeJunkEntryResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeJunkEntryResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__removeJunkEntryResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeJunkEntryResponse **)soap_malloc(soap, sizeof(_ngwm__removeJunkEntryResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeJunkEntryResponse *)soap_instantiate__ngwm__removeJunkEntryResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeJunkEntryResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryResponse, sizeof(_ngwm__removeJunkEntryResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeJunkEntryRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest); + if (soap_out_PointerTo_ngwm__removeJunkEntryRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, int id, _ngwm__removeJunkEntryRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeJunkEntryRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, _ngwm__removeJunkEntryRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__removeJunkEntryRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeJunkEntryRequest **)soap_malloc(soap, sizeof(_ngwm__removeJunkEntryRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeJunkEntryRequest *)soap_instantiate__ngwm__removeJunkEntryRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeJunkEntryRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeJunkEntryRequest, sizeof(_ngwm__removeJunkEntryRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemsResponse); + if (soap_out_PointerTo_ngwm__removeItemsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__removeItemsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsResponse(struct soap *soap, _ngwm__removeItemsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsResponse(struct soap *soap, const char *tag, _ngwm__removeItemsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeItemsResponse **)soap_malloc(soap, sizeof(_ngwm__removeItemsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeItemsResponse *)soap_instantiate__ngwm__removeItemsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsResponse, sizeof(_ngwm__removeItemsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemsRequest); + if (soap_out_PointerTo_ngwm__removeItemsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__removeItemsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsRequest(struct soap *soap, _ngwm__removeItemsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsRequest(struct soap *soap, const char *tag, _ngwm__removeItemsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeItemsRequest **)soap_malloc(soap, sizeof(_ngwm__removeItemsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeItemsRequest *)soap_instantiate__ngwm__removeItemsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemsRequest, sizeof(_ngwm__removeItemsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemResponse); + if (soap_out_PointerTo_ngwm__removeItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemResponse(struct soap *soap, const char *tag, int id, _ngwm__removeItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemResponse(struct soap *soap, _ngwm__removeItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemResponse(struct soap *soap, const char *tag, _ngwm__removeItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeItemResponse **)soap_malloc(soap, sizeof(_ngwm__removeItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeItemResponse *)soap_instantiate__ngwm__removeItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemResponse, sizeof(_ngwm__removeItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeItemRequest); + if (soap_out_PointerTo_ngwm__removeItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemRequest(struct soap *soap, const char *tag, int id, _ngwm__removeItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemRequest(struct soap *soap, _ngwm__removeItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemRequest(struct soap *soap, const char *tag, _ngwm__removeItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeItemRequest **)soap_malloc(soap, sizeof(_ngwm__removeItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeItemRequest *)soap_instantiate__ngwm__removeItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeItemRequest, sizeof(_ngwm__removeItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse); + if (soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, int id, _ngwm__removeCustomDefinitionResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeCustomDefinitionResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, _ngwm__removeCustomDefinitionResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeCustomDefinitionResponse **)soap_malloc(soap, sizeof(_ngwm__removeCustomDefinitionResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeCustomDefinitionResponse *)soap_instantiate__ngwm__removeCustomDefinitionResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeCustomDefinitionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionResponse, sizeof(_ngwm__removeCustomDefinitionResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest); + if (soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, int id, _ngwm__removeCustomDefinitionRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__removeCustomDefinitionRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, _ngwm__removeCustomDefinitionRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap *soap, const char *tag, _ngwm__removeCustomDefinitionRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__removeCustomDefinitionRequest **)soap_malloc(soap, sizeof(_ngwm__removeCustomDefinitionRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__removeCustomDefinitionRequest *)soap_instantiate__ngwm__removeCustomDefinitionRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__removeCustomDefinitionRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__removeCustomDefinitionRequest, sizeof(_ngwm__removeCustomDefinitionRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__readCursorResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__readCursorResponse); + if (soap_out_PointerTo_ngwm__readCursorResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__readCursorResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__readCursorResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorResponse(struct soap *soap, _ngwm__readCursorResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__readCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorResponse(struct soap *soap, const char *tag, _ngwm__readCursorResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__readCursorResponse **)soap_malloc(soap, sizeof(_ngwm__readCursorResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__readCursorResponse *)soap_instantiate__ngwm__readCursorResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__readCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorResponse, sizeof(_ngwm__readCursorResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__readCursorRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__readCursorRequest); + if (soap_out_PointerTo_ngwm__readCursorRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__readCursorRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__readCursorRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorRequest(struct soap *soap, _ngwm__readCursorRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__readCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorRequest(struct soap *soap, const char *tag, _ngwm__readCursorRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__readCursorRequest **)soap_malloc(soap, sizeof(_ngwm__readCursorRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__readCursorRequest *)soap_instantiate__ngwm__readCursorRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__readCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__readCursorRequest, sizeof(_ngwm__readCursorRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeResponse); + if (soap_out_PointerTo_ngwm__purgeResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeResponse(struct soap *soap, const char *tag, int id, _ngwm__purgeResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeResponse(struct soap *soap, _ngwm__purgeResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__purgeResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeResponse(struct soap *soap, const char *tag, _ngwm__purgeResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__purgeResponse **)soap_malloc(soap, sizeof(_ngwm__purgeResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__purgeResponse *)soap_instantiate__ngwm__purgeResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__purgeResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeResponse, sizeof(_ngwm__purgeResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeRequest); + if (soap_out_PointerTo_ngwm__purgeRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeRequest(struct soap *soap, const char *tag, int id, _ngwm__purgeRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeRequest(struct soap *soap, _ngwm__purgeRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__purgeRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeRequest(struct soap *soap, const char *tag, _ngwm__purgeRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__purgeRequest **)soap_malloc(soap, sizeof(_ngwm__purgeRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__purgeRequest *)soap_instantiate__ngwm__purgeRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__purgeRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeRequest, sizeof(_ngwm__purgeRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse); + if (soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__purgeDeletedItemsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeDeletedItemsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, _ngwm__purgeDeletedItemsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__purgeDeletedItemsResponse **)soap_malloc(soap, sizeof(_ngwm__purgeDeletedItemsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__purgeDeletedItemsResponse *)soap_instantiate__ngwm__purgeDeletedItemsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__purgeDeletedItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsResponse, sizeof(_ngwm__purgeDeletedItemsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest); + if (soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__purgeDeletedItemsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__purgeDeletedItemsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, _ngwm__purgeDeletedItemsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap *soap, const char *tag, _ngwm__purgeDeletedItemsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__purgeDeletedItemsRequest **)soap_malloc(soap, sizeof(_ngwm__purgeDeletedItemsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__purgeDeletedItemsRequest *)soap_instantiate__ngwm__purgeDeletedItemsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__purgeDeletedItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__purgeDeletedItemsRequest, sizeof(_ngwm__purgeDeletedItemsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__positionCursorResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__positionCursorResponse); + if (soap_out_PointerTo_ngwm__positionCursorResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__positionCursorResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__positionCursorResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorResponse(struct soap *soap, _ngwm__positionCursorResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__positionCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorResponse(struct soap *soap, const char *tag, _ngwm__positionCursorResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__positionCursorResponse **)soap_malloc(soap, sizeof(_ngwm__positionCursorResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__positionCursorResponse *)soap_instantiate__ngwm__positionCursorResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__positionCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorResponse, sizeof(_ngwm__positionCursorResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__positionCursorRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__positionCursorRequest); + if (soap_out_PointerTo_ngwm__positionCursorRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__positionCursorRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__positionCursorRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorRequest(struct soap *soap, _ngwm__positionCursorRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__positionCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorRequest(struct soap *soap, const char *tag, _ngwm__positionCursorRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__positionCursorRequest **)soap_malloc(soap, sizeof(_ngwm__positionCursorRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__positionCursorRequest *)soap_instantiate__ngwm__positionCursorRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__positionCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__positionCursorRequest, sizeof(_ngwm__positionCursorRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__moveItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__moveItemResponse); + if (soap_out_PointerTo_ngwm__moveItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemResponse(struct soap *soap, const char *tag, int id, _ngwm__moveItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__moveItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemResponse(struct soap *soap, _ngwm__moveItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__moveItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemResponse(struct soap *soap, const char *tag, _ngwm__moveItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__moveItemResponse **)soap_malloc(soap, sizeof(_ngwm__moveItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__moveItemResponse *)soap_instantiate__ngwm__moveItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__moveItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemResponse, sizeof(_ngwm__moveItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__moveItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__moveItemRequest); + if (soap_out_PointerTo_ngwm__moveItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemRequest(struct soap *soap, const char *tag, int id, _ngwm__moveItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__moveItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemRequest(struct soap *soap, _ngwm__moveItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__moveItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemRequest(struct soap *soap, const char *tag, _ngwm__moveItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__moveItemRequest **)soap_malloc(soap, sizeof(_ngwm__moveItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__moveItemRequest *)soap_instantiate__ngwm__moveItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__moveItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__moveItemRequest, sizeof(_ngwm__moveItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySignaturesResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse); + if (soap_out_PointerTo_ngwm__modifySignaturesResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, int id, _ngwm__modifySignaturesResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySignaturesResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, _ngwm__modifySignaturesResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifySignaturesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesResponse(struct soap *soap, const char *tag, _ngwm__modifySignaturesResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifySignaturesResponse **)soap_malloc(soap, sizeof(_ngwm__modifySignaturesResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifySignaturesResponse *)soap_instantiate__ngwm__modifySignaturesResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifySignaturesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesResponse, sizeof(_ngwm__modifySignaturesResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySignaturesRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest); + if (soap_out_PointerTo_ngwm__modifySignaturesRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, int id, _ngwm__modifySignaturesRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySignaturesRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, _ngwm__modifySignaturesRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifySignaturesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesRequest(struct soap *soap, const char *tag, _ngwm__modifySignaturesRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifySignaturesRequest **)soap_malloc(soap, sizeof(_ngwm__modifySignaturesRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifySignaturesRequest *)soap_instantiate__ngwm__modifySignaturesRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifySignaturesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySignaturesRequest, sizeof(_ngwm__modifySignaturesRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySettingsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse); + if (soap_out_PointerTo_ngwm__modifySettingsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__modifySettingsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySettingsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, _ngwm__modifySettingsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifySettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsResponse(struct soap *soap, const char *tag, _ngwm__modifySettingsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifySettingsResponse **)soap_malloc(soap, sizeof(_ngwm__modifySettingsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifySettingsResponse *)soap_instantiate__ngwm__modifySettingsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifySettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsResponse, sizeof(_ngwm__modifySettingsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifySettingsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest); + if (soap_out_PointerTo_ngwm__modifySettingsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__modifySettingsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifySettingsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, _ngwm__modifySettingsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifySettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsRequest(struct soap *soap, const char *tag, _ngwm__modifySettingsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifySettingsRequest **)soap_malloc(soap, sizeof(_ngwm__modifySettingsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifySettingsRequest *)soap_instantiate__ngwm__modifySettingsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifySettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifySettingsRequest, sizeof(_ngwm__modifySettingsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyProxyAccessResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse); + if (soap_out_PointerTo_ngwm__modifyProxyAccessResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyProxyAccessResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyProxyAccessResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, _ngwm__modifyProxyAccessResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyProxyAccessResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyProxyAccessResponse **)soap_malloc(soap, sizeof(_ngwm__modifyProxyAccessResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyProxyAccessResponse *)soap_instantiate__ngwm__modifyProxyAccessResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyProxyAccessResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessResponse, sizeof(_ngwm__modifyProxyAccessResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyProxyAccessRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest); + if (soap_out_PointerTo_ngwm__modifyProxyAccessRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyProxyAccessRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyProxyAccessRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, _ngwm__modifyProxyAccessRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__modifyProxyAccessRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyProxyAccessRequest **)soap_malloc(soap, sizeof(_ngwm__modifyProxyAccessRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyProxyAccessRequest *)soap_instantiate__ngwm__modifyProxyAccessRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyProxyAccessRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyProxyAccessRequest, sizeof(_ngwm__modifyProxyAccessRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyPasswordResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse); + if (soap_out_PointerTo_ngwm__modifyPasswordResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyPasswordResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyPasswordResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, _ngwm__modifyPasswordResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyPasswordResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordResponse(struct soap *soap, const char *tag, _ngwm__modifyPasswordResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyPasswordResponse **)soap_malloc(soap, sizeof(_ngwm__modifyPasswordResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyPasswordResponse *)soap_instantiate__ngwm__modifyPasswordResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyPasswordResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordResponse, sizeof(_ngwm__modifyPasswordResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyPasswordRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest); + if (soap_out_PointerTo_ngwm__modifyPasswordRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyPasswordRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyPasswordRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, _ngwm__modifyPasswordRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyPasswordRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordRequest(struct soap *soap, const char *tag, _ngwm__modifyPasswordRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyPasswordRequest **)soap_malloc(soap, sizeof(_ngwm__modifyPasswordRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyPasswordRequest *)soap_instantiate__ngwm__modifyPasswordRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyPasswordRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyPasswordRequest, sizeof(_ngwm__modifyPasswordRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse); + if (soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkMailSettingsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, _ngwm__modifyJunkMailSettingsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyJunkMailSettingsResponse **)soap_malloc(soap, sizeof(_ngwm__modifyJunkMailSettingsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyJunkMailSettingsResponse *)soap_instantiate__ngwm__modifyJunkMailSettingsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyJunkMailSettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse, sizeof(_ngwm__modifyJunkMailSettingsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest); + if (soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkMailSettingsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, _ngwm__modifyJunkMailSettingsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkMailSettingsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyJunkMailSettingsRequest **)soap_malloc(soap, sizeof(_ngwm__modifyJunkMailSettingsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyJunkMailSettingsRequest *)soap_instantiate__ngwm__modifyJunkMailSettingsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyJunkMailSettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest, sizeof(_ngwm__modifyJunkMailSettingsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkEntryResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse); + if (soap_out_PointerTo_ngwm__modifyJunkEntryResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkEntryResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkEntryResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, _ngwm__modifyJunkEntryResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyJunkEntryResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyJunkEntryResponse **)soap_malloc(soap, sizeof(_ngwm__modifyJunkEntryResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyJunkEntryResponse *)soap_instantiate__ngwm__modifyJunkEntryResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyJunkEntryResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryResponse, sizeof(_ngwm__modifyJunkEntryResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyJunkEntryRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest); + if (soap_out_PointerTo_ngwm__modifyJunkEntryRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyJunkEntryRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyJunkEntryRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, _ngwm__modifyJunkEntryRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__modifyJunkEntryRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyJunkEntryRequest **)soap_malloc(soap, sizeof(_ngwm__modifyJunkEntryRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyJunkEntryRequest *)soap_instantiate__ngwm__modifyJunkEntryRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyJunkEntryRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyJunkEntryRequest, sizeof(_ngwm__modifyJunkEntryRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyItemResponse); + if (soap_out_PointerTo_ngwm__modifyItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemResponse(struct soap *soap, const char *tag, int id, _ngwm__modifyItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemResponse(struct soap *soap, _ngwm__modifyItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemResponse(struct soap *soap, const char *tag, _ngwm__modifyItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyItemResponse **)soap_malloc(soap, sizeof(_ngwm__modifyItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyItemResponse *)soap_instantiate__ngwm__modifyItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemResponse, sizeof(_ngwm__modifyItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__modifyItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__modifyItemRequest); + if (soap_out_PointerTo_ngwm__modifyItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemRequest(struct soap *soap, const char *tag, int id, _ngwm__modifyItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__modifyItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemRequest(struct soap *soap, _ngwm__modifyItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__modifyItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemRequest(struct soap *soap, const char *tag, _ngwm__modifyItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__modifyItemRequest **)soap_malloc(soap, sizeof(_ngwm__modifyItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__modifyItemRequest *)soap_instantiate__ngwm__modifyItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__modifyItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__modifyItemRequest, sizeof(_ngwm__modifyItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnReadResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnReadResponse); + if (soap_out_PointerTo_ngwm__markUnReadResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadResponse(struct soap *soap, const char *tag, int id, _ngwm__markUnReadResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnReadResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadResponse(struct soap *soap, _ngwm__markUnReadResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markUnReadResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadResponse(struct soap *soap, const char *tag, _ngwm__markUnReadResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markUnReadResponse **)soap_malloc(soap, sizeof(_ngwm__markUnReadResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markUnReadResponse *)soap_instantiate__ngwm__markUnReadResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markUnReadResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadResponse, sizeof(_ngwm__markUnReadResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnReadRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnReadRequest); + if (soap_out_PointerTo_ngwm__markUnReadRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadRequest(struct soap *soap, const char *tag, int id, _ngwm__markUnReadRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnReadRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadRequest(struct soap *soap, _ngwm__markUnReadRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markUnReadRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadRequest(struct soap *soap, const char *tag, _ngwm__markUnReadRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markUnReadRequest **)soap_malloc(soap, sizeof(_ngwm__markUnReadRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markUnReadRequest *)soap_instantiate__ngwm__markUnReadRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markUnReadRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnReadRequest, sizeof(_ngwm__markUnReadRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnPrivateResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse); + if (soap_out_PointerTo_ngwm__markUnPrivateResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, int id, _ngwm__markUnPrivateResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnPrivateResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, _ngwm__markUnPrivateResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markUnPrivateResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateResponse(struct soap *soap, const char *tag, _ngwm__markUnPrivateResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markUnPrivateResponse **)soap_malloc(soap, sizeof(_ngwm__markUnPrivateResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markUnPrivateResponse *)soap_instantiate__ngwm__markUnPrivateResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markUnPrivateResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateResponse, sizeof(_ngwm__markUnPrivateResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markUnPrivateRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest); + if (soap_out_PointerTo_ngwm__markUnPrivateRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, int id, _ngwm__markUnPrivateRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markUnPrivateRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, _ngwm__markUnPrivateRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markUnPrivateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateRequest(struct soap *soap, const char *tag, _ngwm__markUnPrivateRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markUnPrivateRequest **)soap_malloc(soap, sizeof(_ngwm__markUnPrivateRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markUnPrivateRequest *)soap_instantiate__ngwm__markUnPrivateRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markUnPrivateRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markUnPrivateRequest, sizeof(_ngwm__markUnPrivateRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markReadResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markReadResponse); + if (soap_out_PointerTo_ngwm__markReadResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadResponse(struct soap *soap, const char *tag, int id, _ngwm__markReadResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markReadResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadResponse(struct soap *soap, _ngwm__markReadResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markReadResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadResponse(struct soap *soap, const char *tag, _ngwm__markReadResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markReadResponse **)soap_malloc(soap, sizeof(_ngwm__markReadResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markReadResponse *)soap_instantiate__ngwm__markReadResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markReadResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadResponse, sizeof(_ngwm__markReadResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markReadRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markReadRequest); + if (soap_out_PointerTo_ngwm__markReadRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadRequest(struct soap *soap, const char *tag, int id, _ngwm__markReadRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markReadRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadRequest(struct soap *soap, _ngwm__markReadRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markReadRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadRequest(struct soap *soap, const char *tag, _ngwm__markReadRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markReadRequest **)soap_malloc(soap, sizeof(_ngwm__markReadRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markReadRequest *)soap_instantiate__ngwm__markReadRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markReadRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markReadRequest, sizeof(_ngwm__markReadRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markPrivateResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markPrivateResponse); + if (soap_out_PointerTo_ngwm__markPrivateResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateResponse(struct soap *soap, const char *tag, int id, _ngwm__markPrivateResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markPrivateResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateResponse(struct soap *soap, _ngwm__markPrivateResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markPrivateResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateResponse(struct soap *soap, const char *tag, _ngwm__markPrivateResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markPrivateResponse **)soap_malloc(soap, sizeof(_ngwm__markPrivateResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markPrivateResponse *)soap_instantiate__ngwm__markPrivateResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markPrivateResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateResponse, sizeof(_ngwm__markPrivateResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__markPrivateRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__markPrivateRequest); + if (soap_out_PointerTo_ngwm__markPrivateRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateRequest(struct soap *soap, const char *tag, int id, _ngwm__markPrivateRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__markPrivateRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateRequest(struct soap *soap, _ngwm__markPrivateRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__markPrivateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateRequest(struct soap *soap, const char *tag, _ngwm__markPrivateRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__markPrivateRequest **)soap_malloc(soap, sizeof(_ngwm__markPrivateRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__markPrivateRequest *)soap_instantiate__ngwm__markPrivateRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__markPrivateRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__markPrivateRequest, sizeof(_ngwm__markPrivateRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__logoutResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__logoutResponse); + if (soap_out_PointerTo_ngwm__logoutResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutResponse(struct soap *soap, const char *tag, int id, _ngwm__logoutResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__logoutResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutResponse(struct soap *soap, _ngwm__logoutResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__logoutResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutResponse(struct soap *soap, const char *tag, _ngwm__logoutResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__logoutResponse **)soap_malloc(soap, sizeof(_ngwm__logoutResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__logoutResponse *)soap_instantiate__ngwm__logoutResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__logoutResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutResponse, sizeof(_ngwm__logoutResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__logoutRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__logoutRequest); + if (soap_out_PointerTo_ngwm__logoutRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutRequest(struct soap *soap, const char *tag, int id, _ngwm__logoutRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__logoutRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutRequest(struct soap *soap, _ngwm__logoutRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__logoutRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutRequest(struct soap *soap, const char *tag, _ngwm__logoutRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__logoutRequest **)soap_malloc(soap, sizeof(_ngwm__logoutRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__logoutRequest *)soap_instantiate__ngwm__logoutRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__logoutRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__logoutRequest, sizeof(_ngwm__logoutRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__loginResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__loginResponse); + if (soap_out_PointerTo_ngwm__loginResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginResponse(struct soap *soap, const char *tag, int id, _ngwm__loginResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__loginResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginResponse(struct soap *soap, _ngwm__loginResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__loginResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginResponse(struct soap *soap, const char *tag, _ngwm__loginResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__loginResponse **)soap_malloc(soap, sizeof(_ngwm__loginResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__loginResponse *)soap_instantiate__ngwm__loginResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__loginResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginResponse, sizeof(_ngwm__loginResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__loginRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__loginRequest); + if (soap_out_PointerTo_ngwm__loginRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginRequest(struct soap *soap, const char *tag, int id, _ngwm__loginRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__loginRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginRequest(struct soap *soap, _ngwm__loginRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__loginRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginRequest(struct soap *soap, const char *tag, _ngwm__loginRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__loginRequest **)soap_malloc(soap, sizeof(_ngwm__loginRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__loginRequest *)soap_instantiate__ngwm__loginRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__loginRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__loginRequest, sizeof(_ngwm__loginRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getUserListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getUserListResponse); + if (soap_out_PointerTo_ngwm__getUserListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListResponse(struct soap *soap, const char *tag, int id, _ngwm__getUserListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getUserListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListResponse(struct soap *soap, _ngwm__getUserListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getUserListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListResponse(struct soap *soap, const char *tag, _ngwm__getUserListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getUserListResponse **)soap_malloc(soap, sizeof(_ngwm__getUserListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getUserListResponse *)soap_instantiate__ngwm__getUserListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getUserListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListResponse, sizeof(_ngwm__getUserListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getUserListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getUserListRequest); + if (soap_out_PointerTo_ngwm__getUserListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListRequest(struct soap *soap, const char *tag, int id, _ngwm__getUserListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getUserListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListRequest(struct soap *soap, _ngwm__getUserListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getUserListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListRequest(struct soap *soap, const char *tag, _ngwm__getUserListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getUserListRequest **)soap_malloc(soap, sizeof(_ngwm__getUserListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getUserListRequest *)soap_instantiate__ngwm__getUserListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getUserListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getUserListRequest, sizeof(_ngwm__getUserListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimezoneListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse); + if (soap_out_PointerTo_ngwm__getTimezoneListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, int id, _ngwm__getTimezoneListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimezoneListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, _ngwm__getTimezoneListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getTimezoneListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListResponse(struct soap *soap, const char *tag, _ngwm__getTimezoneListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getTimezoneListResponse **)soap_malloc(soap, sizeof(_ngwm__getTimezoneListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getTimezoneListResponse *)soap_instantiate__ngwm__getTimezoneListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getTimezoneListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListResponse, sizeof(_ngwm__getTimezoneListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimezoneListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest); + if (soap_out_PointerTo_ngwm__getTimezoneListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, int id, _ngwm__getTimezoneListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimezoneListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, _ngwm__getTimezoneListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getTimezoneListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListRequest(struct soap *soap, const char *tag, _ngwm__getTimezoneListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getTimezoneListRequest **)soap_malloc(soap, sizeof(_ngwm__getTimezoneListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getTimezoneListRequest *)soap_instantiate__ngwm__getTimezoneListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getTimezoneListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimezoneListRequest, sizeof(_ngwm__getTimezoneListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimestampResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimestampResponse); + if (soap_out_PointerTo_ngwm__getTimestampResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampResponse(struct soap *soap, const char *tag, int id, _ngwm__getTimestampResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimestampResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampResponse(struct soap *soap, _ngwm__getTimestampResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getTimestampResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampResponse(struct soap *soap, const char *tag, _ngwm__getTimestampResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getTimestampResponse **)soap_malloc(soap, sizeof(_ngwm__getTimestampResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getTimestampResponse *)soap_instantiate__ngwm__getTimestampResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getTimestampResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampResponse, sizeof(_ngwm__getTimestampResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getTimestampRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getTimestampRequest); + if (soap_out_PointerTo_ngwm__getTimestampRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampRequest(struct soap *soap, const char *tag, int id, _ngwm__getTimestampRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getTimestampRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampRequest(struct soap *soap, _ngwm__getTimestampRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getTimestampRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampRequest(struct soap *soap, const char *tag, _ngwm__getTimestampRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getTimestampRequest **)soap_malloc(soap, sizeof(_ngwm__getTimestampRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getTimestampRequest *)soap_instantiate__ngwm__getTimestampRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getTimestampRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getTimestampRequest, sizeof(_ngwm__getTimestampRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSignaturesResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse); + if (soap_out_PointerTo_ngwm__getSignaturesResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, const char *tag, int id, _ngwm__getSignaturesResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSignaturesResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, _ngwm__getSignaturesResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getSignaturesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesResponse(struct soap *soap, const char *tag, _ngwm__getSignaturesResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getSignaturesResponse **)soap_malloc(soap, sizeof(_ngwm__getSignaturesResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getSignaturesResponse *)soap_instantiate__ngwm__getSignaturesResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getSignaturesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesResponse, sizeof(_ngwm__getSignaturesResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSignaturesRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest); + if (soap_out_PointerTo_ngwm__getSignaturesRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, const char *tag, int id, _ngwm__getSignaturesRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSignaturesRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, _ngwm__getSignaturesRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getSignaturesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesRequest(struct soap *soap, const char *tag, _ngwm__getSignaturesRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getSignaturesRequest **)soap_malloc(soap, sizeof(_ngwm__getSignaturesRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getSignaturesRequest *)soap_instantiate__ngwm__getSignaturesRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getSignaturesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSignaturesRequest, sizeof(_ngwm__getSignaturesRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSettingsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSettingsResponse); + if (soap_out_PointerTo_ngwm__getSettingsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__getSettingsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSettingsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsResponse(struct soap *soap, _ngwm__getSettingsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getSettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsResponse(struct soap *soap, const char *tag, _ngwm__getSettingsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getSettingsResponse **)soap_malloc(soap, sizeof(_ngwm__getSettingsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getSettingsResponse *)soap_instantiate__ngwm__getSettingsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getSettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsResponse, sizeof(_ngwm__getSettingsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getSettingsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getSettingsRequest); + if (soap_out_PointerTo_ngwm__getSettingsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__getSettingsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getSettingsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsRequest(struct soap *soap, _ngwm__getSettingsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsRequest(struct soap *soap, const char *tag, _ngwm__getSettingsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getSettingsRequest **)soap_malloc(soap, sizeof(_ngwm__getSettingsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getSettingsRequest *)soap_instantiate__ngwm__getSettingsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getSettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getSettingsRequest, sizeof(_ngwm__getSettingsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getRuleListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getRuleListResponse); + if (soap_out_PointerTo_ngwm__getRuleListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListResponse(struct soap *soap, const char *tag, int id, _ngwm__getRuleListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getRuleListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListResponse(struct soap *soap, _ngwm__getRuleListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getRuleListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListResponse(struct soap *soap, const char *tag, _ngwm__getRuleListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getRuleListResponse **)soap_malloc(soap, sizeof(_ngwm__getRuleListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getRuleListResponse *)soap_instantiate__ngwm__getRuleListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getRuleListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListResponse, sizeof(_ngwm__getRuleListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getRuleListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getRuleListRequest); + if (soap_out_PointerTo_ngwm__getRuleListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListRequest(struct soap *soap, const char *tag, int id, _ngwm__getRuleListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getRuleListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListRequest(struct soap *soap, _ngwm__getRuleListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getRuleListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListRequest(struct soap *soap, const char *tag, _ngwm__getRuleListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getRuleListRequest **)soap_malloc(soap, sizeof(_ngwm__getRuleListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getRuleListRequest *)soap_instantiate__ngwm__getRuleListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getRuleListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getRuleListRequest, sizeof(_ngwm__getRuleListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyListResponse); + if (soap_out_PointerTo_ngwm__getProxyListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListResponse(struct soap *soap, const char *tag, int id, _ngwm__getProxyListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListResponse(struct soap *soap, _ngwm__getProxyListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getProxyListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListResponse(struct soap *soap, const char *tag, _ngwm__getProxyListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getProxyListResponse **)soap_malloc(soap, sizeof(_ngwm__getProxyListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getProxyListResponse *)soap_instantiate__ngwm__getProxyListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getProxyListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListResponse, sizeof(_ngwm__getProxyListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyListRequest); + if (soap_out_PointerTo_ngwm__getProxyListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListRequest(struct soap *soap, const char *tag, int id, _ngwm__getProxyListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListRequest(struct soap *soap, _ngwm__getProxyListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getProxyListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListRequest(struct soap *soap, const char *tag, _ngwm__getProxyListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getProxyListRequest **)soap_malloc(soap, sizeof(_ngwm__getProxyListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getProxyListRequest *)soap_instantiate__ngwm__getProxyListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getProxyListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyListRequest, sizeof(_ngwm__getProxyListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyAccessListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse); + if (soap_out_PointerTo_ngwm__getProxyAccessListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, int id, _ngwm__getProxyAccessListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyAccessListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, _ngwm__getProxyAccessListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getProxyAccessListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListResponse(struct soap *soap, const char *tag, _ngwm__getProxyAccessListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getProxyAccessListResponse **)soap_malloc(soap, sizeof(_ngwm__getProxyAccessListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getProxyAccessListResponse *)soap_instantiate__ngwm__getProxyAccessListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getProxyAccessListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListResponse, sizeof(_ngwm__getProxyAccessListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getProxyAccessListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest); + if (soap_out_PointerTo_ngwm__getProxyAccessListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, int id, _ngwm__getProxyAccessListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getProxyAccessListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, _ngwm__getProxyAccessListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getProxyAccessListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListRequest(struct soap *soap, const char *tag, _ngwm__getProxyAccessListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getProxyAccessListRequest **)soap_malloc(soap, sizeof(_ngwm__getProxyAccessListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getProxyAccessListRequest *)soap_instantiate__ngwm__getProxyAccessListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getProxyAccessListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getProxyAccessListRequest, sizeof(_ngwm__getProxyAccessListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getQuickMessagesResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse); + if (soap_out_PointerTo_ngwm__getQuickMessagesResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, int id, _ngwm__getQuickMessagesResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getQuickMessagesResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, _ngwm__getQuickMessagesResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getQuickMessagesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesResponse(struct soap *soap, const char *tag, _ngwm__getQuickMessagesResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getQuickMessagesResponse **)soap_malloc(soap, sizeof(_ngwm__getQuickMessagesResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getQuickMessagesResponse *)soap_instantiate__ngwm__getQuickMessagesResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getQuickMessagesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesResponse, sizeof(_ngwm__getQuickMessagesResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getQuickMessagesRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest); + if (soap_out_PointerTo_ngwm__getQuickMessagesRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, int id, _ngwm__getQuickMessagesRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getQuickMessagesRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, _ngwm__getQuickMessagesRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getQuickMessagesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesRequest(struct soap *soap, const char *tag, _ngwm__getQuickMessagesRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getQuickMessagesRequest **)soap_malloc(soap, sizeof(_ngwm__getQuickMessagesRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getQuickMessagesRequest *)soap_instantiate__ngwm__getQuickMessagesRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getQuickMessagesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getQuickMessagesRequest, sizeof(_ngwm__getQuickMessagesRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse); + if (soap_out_PointerTo_ngwm__getLibraryListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, const char *tag, int id, _ngwm__getLibraryListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, _ngwm__getLibraryListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getLibraryListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListResponse(struct soap *soap, const char *tag, _ngwm__getLibraryListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getLibraryListResponse **)soap_malloc(soap, sizeof(_ngwm__getLibraryListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getLibraryListResponse *)soap_instantiate__ngwm__getLibraryListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getLibraryListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListResponse, sizeof(_ngwm__getLibraryListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest); + if (soap_out_PointerTo_ngwm__getLibraryListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, const char *tag, int id, _ngwm__getLibraryListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, _ngwm__getLibraryListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getLibraryListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListRequest(struct soap *soap, const char *tag, _ngwm__getLibraryListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getLibraryListRequest **)soap_malloc(soap, sizeof(_ngwm__getLibraryListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getLibraryListRequest *)soap_instantiate__ngwm__getLibraryListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getLibraryListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryListRequest, sizeof(_ngwm__getLibraryListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse); + if (soap_out_PointerTo_ngwm__getLibraryItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, int id, _ngwm__getLibraryItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, _ngwm__getLibraryItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getLibraryItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemResponse(struct soap *soap, const char *tag, _ngwm__getLibraryItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getLibraryItemResponse **)soap_malloc(soap, sizeof(_ngwm__getLibraryItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getLibraryItemResponse *)soap_instantiate__ngwm__getLibraryItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getLibraryItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemResponse, sizeof(_ngwm__getLibraryItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getLibraryItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest); + if (soap_out_PointerTo_ngwm__getLibraryItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, int id, _ngwm__getLibraryItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getLibraryItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, _ngwm__getLibraryItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getLibraryItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemRequest(struct soap *soap, const char *tag, _ngwm__getLibraryItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getLibraryItemRequest **)soap_malloc(soap, sizeof(_ngwm__getLibraryItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getLibraryItemRequest *)soap_instantiate__ngwm__getLibraryItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getLibraryItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getLibraryItemRequest, sizeof(_ngwm__getLibraryItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse); + if (soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, int id, _ngwm__getJunkMailSettingsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkMailSettingsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, _ngwm__getJunkMailSettingsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getJunkMailSettingsResponse **)soap_malloc(soap, sizeof(_ngwm__getJunkMailSettingsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getJunkMailSettingsResponse *)soap_instantiate__ngwm__getJunkMailSettingsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getJunkMailSettingsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsResponse, sizeof(_ngwm__getJunkMailSettingsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest); + if (soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, int id, _ngwm__getJunkMailSettingsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkMailSettingsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, _ngwm__getJunkMailSettingsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap *soap, const char *tag, _ngwm__getJunkMailSettingsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getJunkMailSettingsRequest **)soap_malloc(soap, sizeof(_ngwm__getJunkMailSettingsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getJunkMailSettingsRequest *)soap_instantiate__ngwm__getJunkMailSettingsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getJunkMailSettingsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkMailSettingsRequest, sizeof(_ngwm__getJunkMailSettingsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkEntriesResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse); + if (soap_out_PointerTo_ngwm__getJunkEntriesResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, int id, _ngwm__getJunkEntriesResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkEntriesResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, _ngwm__getJunkEntriesResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getJunkEntriesResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesResponse(struct soap *soap, const char *tag, _ngwm__getJunkEntriesResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getJunkEntriesResponse **)soap_malloc(soap, sizeof(_ngwm__getJunkEntriesResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getJunkEntriesResponse *)soap_instantiate__ngwm__getJunkEntriesResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getJunkEntriesResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesResponse, sizeof(_ngwm__getJunkEntriesResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getJunkEntriesRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest); + if (soap_out_PointerTo_ngwm__getJunkEntriesRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, int id, _ngwm__getJunkEntriesRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getJunkEntriesRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, _ngwm__getJunkEntriesRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getJunkEntriesRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesRequest(struct soap *soap, const char *tag, _ngwm__getJunkEntriesRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getJunkEntriesRequest **)soap_malloc(soap, sizeof(_ngwm__getJunkEntriesRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getJunkEntriesRequest *)soap_instantiate__ngwm__getJunkEntriesRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getJunkEntriesRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getJunkEntriesRequest, sizeof(_ngwm__getJunkEntriesRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemsResponse); + if (soap_out_PointerTo_ngwm__getItemsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__getItemsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsResponse(struct soap *soap, _ngwm__getItemsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsResponse(struct soap *soap, const char *tag, _ngwm__getItemsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getItemsResponse **)soap_malloc(soap, sizeof(_ngwm__getItemsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getItemsResponse *)soap_instantiate__ngwm__getItemsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsResponse, sizeof(_ngwm__getItemsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemsRequest); + if (soap_out_PointerTo_ngwm__getItemsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__getItemsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsRequest(struct soap *soap, _ngwm__getItemsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsRequest(struct soap *soap, const char *tag, _ngwm__getItemsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getItemsRequest **)soap_malloc(soap, sizeof(_ngwm__getItemsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getItemsRequest *)soap_instantiate__ngwm__getItemsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemsRequest, sizeof(_ngwm__getItemsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemResponse); + if (soap_out_PointerTo_ngwm__getItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemResponse(struct soap *soap, const char *tag, int id, _ngwm__getItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemResponse(struct soap *soap, _ngwm__getItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemResponse(struct soap *soap, const char *tag, _ngwm__getItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getItemResponse **)soap_malloc(soap, sizeof(_ngwm__getItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getItemResponse *)soap_instantiate__ngwm__getItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemResponse, sizeof(_ngwm__getItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getItemRequest); + if (soap_out_PointerTo_ngwm__getItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemRequest(struct soap *soap, const char *tag, int id, _ngwm__getItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemRequest(struct soap *soap, _ngwm__getItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemRequest(struct soap *soap, const char *tag, _ngwm__getItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getItemRequest **)soap_malloc(soap, sizeof(_ngwm__getItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getItemRequest *)soap_instantiate__ngwm__getItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getItemRequest, sizeof(_ngwm__getItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFreeBusyResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse); + if (soap_out_PointerTo_ngwm__getFreeBusyResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, int id, _ngwm__getFreeBusyResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFreeBusyResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, _ngwm__getFreeBusyResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getFreeBusyResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyResponse(struct soap *soap, const char *tag, _ngwm__getFreeBusyResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getFreeBusyResponse **)soap_malloc(soap, sizeof(_ngwm__getFreeBusyResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getFreeBusyResponse *)soap_instantiate__ngwm__getFreeBusyResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getFreeBusyResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyResponse, sizeof(_ngwm__getFreeBusyResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFreeBusyRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest); + if (soap_out_PointerTo_ngwm__getFreeBusyRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, int id, _ngwm__getFreeBusyRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFreeBusyRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, _ngwm__getFreeBusyRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getFreeBusyRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyRequest(struct soap *soap, const char *tag, _ngwm__getFreeBusyRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getFreeBusyRequest **)soap_malloc(soap, sizeof(_ngwm__getFreeBusyRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getFreeBusyRequest *)soap_instantiate__ngwm__getFreeBusyRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getFreeBusyRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFreeBusyRequest, sizeof(_ngwm__getFreeBusyRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderListResponse); + if (soap_out_PointerTo_ngwm__getFolderListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListResponse(struct soap *soap, const char *tag, int id, _ngwm__getFolderListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListResponse(struct soap *soap, _ngwm__getFolderListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getFolderListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListResponse(struct soap *soap, const char *tag, _ngwm__getFolderListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getFolderListResponse **)soap_malloc(soap, sizeof(_ngwm__getFolderListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getFolderListResponse *)soap_instantiate__ngwm__getFolderListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getFolderListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListResponse, sizeof(_ngwm__getFolderListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderListRequest); + if (soap_out_PointerTo_ngwm__getFolderListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListRequest(struct soap *soap, const char *tag, int id, _ngwm__getFolderListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListRequest(struct soap *soap, _ngwm__getFolderListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getFolderListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListRequest(struct soap *soap, const char *tag, _ngwm__getFolderListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getFolderListRequest **)soap_malloc(soap, sizeof(_ngwm__getFolderListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getFolderListRequest *)soap_instantiate__ngwm__getFolderListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getFolderListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderListRequest, sizeof(_ngwm__getFolderListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderResponse); + if (soap_out_PointerTo_ngwm__getFolderResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderResponse(struct soap *soap, const char *tag, int id, _ngwm__getFolderResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderResponse(struct soap *soap, _ngwm__getFolderResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getFolderResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderResponse(struct soap *soap, const char *tag, _ngwm__getFolderResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getFolderResponse **)soap_malloc(soap, sizeof(_ngwm__getFolderResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getFolderResponse *)soap_instantiate__ngwm__getFolderResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getFolderResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderResponse, sizeof(_ngwm__getFolderResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getFolderRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getFolderRequest); + if (soap_out_PointerTo_ngwm__getFolderRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderRequest(struct soap *soap, const char *tag, int id, _ngwm__getFolderRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getFolderRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderRequest(struct soap *soap, _ngwm__getFolderRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getFolderRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderRequest(struct soap *soap, const char *tag, _ngwm__getFolderRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getFolderRequest **)soap_malloc(soap, sizeof(_ngwm__getFolderRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getFolderRequest *)soap_instantiate__ngwm__getFolderRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getFolderRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getFolderRequest, sizeof(_ngwm__getFolderRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDocumentTypeListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse); + if (soap_out_PointerTo_ngwm__getDocumentTypeListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, int id, _ngwm__getDocumentTypeListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDocumentTypeListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, _ngwm__getDocumentTypeListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getDocumentTypeListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListResponse(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getDocumentTypeListResponse **)soap_malloc(soap, sizeof(_ngwm__getDocumentTypeListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getDocumentTypeListResponse *)soap_instantiate__ngwm__getDocumentTypeListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getDocumentTypeListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListResponse, sizeof(_ngwm__getDocumentTypeListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDocumentTypeListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest); + if (soap_out_PointerTo_ngwm__getDocumentTypeListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, int id, _ngwm__getDocumentTypeListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDocumentTypeListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, _ngwm__getDocumentTypeListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getDocumentTypeListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListRequest(struct soap *soap, const char *tag, _ngwm__getDocumentTypeListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getDocumentTypeListRequest **)soap_malloc(soap, sizeof(_ngwm__getDocumentTypeListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getDocumentTypeListRequest *)soap_instantiate__ngwm__getDocumentTypeListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getDocumentTypeListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDocumentTypeListRequest, sizeof(_ngwm__getDocumentTypeListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltaInfoResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse); + if (soap_out_PointerTo_ngwm__getDeltaInfoResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, int id, _ngwm__getDeltaInfoResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltaInfoResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, _ngwm__getDeltaInfoResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getDeltaInfoResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoResponse(struct soap *soap, const char *tag, _ngwm__getDeltaInfoResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getDeltaInfoResponse **)soap_malloc(soap, sizeof(_ngwm__getDeltaInfoResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getDeltaInfoResponse *)soap_instantiate__ngwm__getDeltaInfoResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getDeltaInfoResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoResponse, sizeof(_ngwm__getDeltaInfoResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltaInfoRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest); + if (soap_out_PointerTo_ngwm__getDeltaInfoRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, int id, _ngwm__getDeltaInfoRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltaInfoRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, _ngwm__getDeltaInfoRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getDeltaInfoRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoRequest(struct soap *soap, const char *tag, _ngwm__getDeltaInfoRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getDeltaInfoRequest **)soap_malloc(soap, sizeof(_ngwm__getDeltaInfoRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getDeltaInfoRequest *)soap_instantiate__ngwm__getDeltaInfoRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getDeltaInfoRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltaInfoRequest, sizeof(_ngwm__getDeltaInfoRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltasResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltasResponse); + if (soap_out_PointerTo_ngwm__getDeltasResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasResponse(struct soap *soap, const char *tag, int id, _ngwm__getDeltasResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltasResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasResponse(struct soap *soap, _ngwm__getDeltasResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getDeltasResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasResponse(struct soap *soap, const char *tag, _ngwm__getDeltasResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getDeltasResponse **)soap_malloc(soap, sizeof(_ngwm__getDeltasResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getDeltasResponse *)soap_instantiate__ngwm__getDeltasResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getDeltasResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasResponse, sizeof(_ngwm__getDeltasResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getDeltasRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getDeltasRequest); + if (soap_out_PointerTo_ngwm__getDeltasRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasRequest(struct soap *soap, const char *tag, int id, _ngwm__getDeltasRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getDeltasRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasRequest(struct soap *soap, _ngwm__getDeltasRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getDeltasRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasRequest(struct soap *soap, const char *tag, _ngwm__getDeltasRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getDeltasRequest **)soap_malloc(soap, sizeof(_ngwm__getDeltasRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getDeltasRequest *)soap_instantiate__ngwm__getDeltasRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getDeltasRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getDeltasRequest, sizeof(_ngwm__getDeltasRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCustomListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCustomListResponse); + if (soap_out_PointerTo_ngwm__getCustomListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListResponse(struct soap *soap, const char *tag, int id, _ngwm__getCustomListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCustomListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListResponse(struct soap *soap, _ngwm__getCustomListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getCustomListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListResponse(struct soap *soap, const char *tag, _ngwm__getCustomListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getCustomListResponse **)soap_malloc(soap, sizeof(_ngwm__getCustomListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getCustomListResponse *)soap_instantiate__ngwm__getCustomListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getCustomListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListResponse, sizeof(_ngwm__getCustomListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCustomListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCustomListRequest); + if (soap_out_PointerTo_ngwm__getCustomListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListRequest(struct soap *soap, const char *tag, int id, _ngwm__getCustomListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCustomListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListRequest(struct soap *soap, _ngwm__getCustomListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getCustomListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListRequest(struct soap *soap, const char *tag, _ngwm__getCustomListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getCustomListRequest **)soap_malloc(soap, sizeof(_ngwm__getCustomListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getCustomListRequest *)soap_instantiate__ngwm__getCustomListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getCustomListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCustomListRequest, sizeof(_ngwm__getCustomListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCategoryListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse); + if (soap_out_PointerTo_ngwm__getCategoryListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, const char *tag, int id, _ngwm__getCategoryListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCategoryListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, _ngwm__getCategoryListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getCategoryListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListResponse(struct soap *soap, const char *tag, _ngwm__getCategoryListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getCategoryListResponse **)soap_malloc(soap, sizeof(_ngwm__getCategoryListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getCategoryListResponse *)soap_instantiate__ngwm__getCategoryListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getCategoryListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListResponse, sizeof(_ngwm__getCategoryListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getCategoryListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest); + if (soap_out_PointerTo_ngwm__getCategoryListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, const char *tag, int id, _ngwm__getCategoryListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getCategoryListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, _ngwm__getCategoryListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getCategoryListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListRequest(struct soap *soap, const char *tag, _ngwm__getCategoryListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getCategoryListRequest **)soap_malloc(soap, sizeof(_ngwm__getCategoryListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getCategoryListRequest *)soap_instantiate__ngwm__getCategoryListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getCategoryListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getCategoryListRequest, sizeof(_ngwm__getCategoryListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAttachmentResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse); + if (soap_out_PointerTo_ngwm__getAttachmentResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, const char *tag, int id, _ngwm__getAttachmentResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAttachmentResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, _ngwm__getAttachmentResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getAttachmentResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentResponse(struct soap *soap, const char *tag, _ngwm__getAttachmentResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getAttachmentResponse **)soap_malloc(soap, sizeof(_ngwm__getAttachmentResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getAttachmentResponse *)soap_instantiate__ngwm__getAttachmentResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getAttachmentResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentResponse, sizeof(_ngwm__getAttachmentResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAttachmentRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest); + if (soap_out_PointerTo_ngwm__getAttachmentRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, const char *tag, int id, _ngwm__getAttachmentRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAttachmentRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, _ngwm__getAttachmentRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getAttachmentRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentRequest(struct soap *soap, const char *tag, _ngwm__getAttachmentRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getAttachmentRequest **)soap_malloc(soap, sizeof(_ngwm__getAttachmentRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getAttachmentRequest *)soap_instantiate__ngwm__getAttachmentRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getAttachmentRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAttachmentRequest, sizeof(_ngwm__getAttachmentRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAddressBookListResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse); + if (soap_out_PointerTo_ngwm__getAddressBookListResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, int id, _ngwm__getAddressBookListResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAddressBookListResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, _ngwm__getAddressBookListResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getAddressBookListResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListResponse(struct soap *soap, const char *tag, _ngwm__getAddressBookListResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getAddressBookListResponse **)soap_malloc(soap, sizeof(_ngwm__getAddressBookListResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getAddressBookListResponse *)soap_instantiate__ngwm__getAddressBookListResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getAddressBookListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListResponse, sizeof(_ngwm__getAddressBookListResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__getAddressBookListRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest); + if (soap_out_PointerTo_ngwm__getAddressBookListRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, int id, _ngwm__getAddressBookListRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__getAddressBookListRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, _ngwm__getAddressBookListRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__getAddressBookListRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListRequest(struct soap *soap, const char *tag, _ngwm__getAddressBookListRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__getAddressBookListRequest **)soap_malloc(soap, sizeof(_ngwm__getAddressBookListRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__getAddressBookListRequest *)soap_instantiate__ngwm__getAddressBookListRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__getAddressBookListRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__getAddressBookListRequest, sizeof(_ngwm__getAddressBookListRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__forwardResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__forwardResponse); + if (soap_out_PointerTo_ngwm__forwardResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardResponse(struct soap *soap, const char *tag, int id, _ngwm__forwardResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__forwardResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardResponse(struct soap *soap, _ngwm__forwardResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__forwardResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardResponse(struct soap *soap, const char *tag, _ngwm__forwardResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__forwardResponse **)soap_malloc(soap, sizeof(_ngwm__forwardResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__forwardResponse *)soap_instantiate__ngwm__forwardResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__forwardResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardResponse, sizeof(_ngwm__forwardResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__forwardRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__forwardRequest); + if (soap_out_PointerTo_ngwm__forwardRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardRequest(struct soap *soap, const char *tag, int id, _ngwm__forwardRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__forwardRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardRequest(struct soap *soap, _ngwm__forwardRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__forwardRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardRequest(struct soap *soap, const char *tag, _ngwm__forwardRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__forwardRequest **)soap_malloc(soap, sizeof(_ngwm__forwardRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__forwardRequest *)soap_instantiate__ngwm__forwardRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__forwardRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__forwardRequest, sizeof(_ngwm__forwardRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__executeRuleResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__executeRuleResponse); + if (soap_out_PointerTo_ngwm__executeRuleResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleResponse(struct soap *soap, const char *tag, int id, _ngwm__executeRuleResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__executeRuleResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleResponse(struct soap *soap, _ngwm__executeRuleResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__executeRuleResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleResponse(struct soap *soap, const char *tag, _ngwm__executeRuleResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__executeRuleResponse **)soap_malloc(soap, sizeof(_ngwm__executeRuleResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__executeRuleResponse *)soap_instantiate__ngwm__executeRuleResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__executeRuleResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleResponse, sizeof(_ngwm__executeRuleResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__executeRuleRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__executeRuleRequest); + if (soap_out_PointerTo_ngwm__executeRuleRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleRequest(struct soap *soap, const char *tag, int id, _ngwm__executeRuleRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__executeRuleRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleRequest(struct soap *soap, _ngwm__executeRuleRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__executeRuleRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleRequest(struct soap *soap, const char *tag, _ngwm__executeRuleRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__executeRuleRequest **)soap_malloc(soap, sizeof(_ngwm__executeRuleRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__executeRuleRequest *)soap_instantiate__ngwm__executeRuleRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__executeRuleRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__executeRuleRequest, sizeof(_ngwm__executeRuleRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__destroyCursorResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse); + if (soap_out_PointerTo_ngwm__destroyCursorResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__destroyCursorResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__destroyCursorResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, _ngwm__destroyCursorResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__destroyCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorResponse(struct soap *soap, const char *tag, _ngwm__destroyCursorResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__destroyCursorResponse **)soap_malloc(soap, sizeof(_ngwm__destroyCursorResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__destroyCursorResponse *)soap_instantiate__ngwm__destroyCursorResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__destroyCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorResponse, sizeof(_ngwm__destroyCursorResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__destroyCursorRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest); + if (soap_out_PointerTo_ngwm__destroyCursorRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__destroyCursorRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__destroyCursorRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, _ngwm__destroyCursorRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__destroyCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorRequest(struct soap *soap, const char *tag, _ngwm__destroyCursorRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__destroyCursorRequest **)soap_malloc(soap, sizeof(_ngwm__destroyCursorRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__destroyCursorRequest *)soap_instantiate__ngwm__destroyCursorRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__destroyCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__destroyCursorRequest, sizeof(_ngwm__destroyCursorRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__delegateResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__delegateResponse); + if (soap_out_PointerTo_ngwm__delegateResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateResponse(struct soap *soap, const char *tag, int id, _ngwm__delegateResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__delegateResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateResponse(struct soap *soap, _ngwm__delegateResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__delegateResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateResponse(struct soap *soap, const char *tag, _ngwm__delegateResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__delegateResponse **)soap_malloc(soap, sizeof(_ngwm__delegateResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__delegateResponse *)soap_instantiate__ngwm__delegateResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__delegateResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateResponse, sizeof(_ngwm__delegateResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__delegateRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__delegateRequest); + if (soap_out_PointerTo_ngwm__delegateRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateRequest(struct soap *soap, const char *tag, int id, _ngwm__delegateRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__delegateRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateRequest(struct soap *soap, _ngwm__delegateRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__delegateRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateRequest(struct soap *soap, const char *tag, _ngwm__delegateRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__delegateRequest **)soap_malloc(soap, sizeof(_ngwm__delegateRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__delegateRequest *)soap_instantiate__ngwm__delegateRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__delegateRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__delegateRequest, sizeof(_ngwm__delegateRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__declineResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__declineResponse); + if (soap_out_PointerTo_ngwm__declineResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineResponse(struct soap *soap, const char *tag, int id, _ngwm__declineResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__declineResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineResponse(struct soap *soap, _ngwm__declineResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__declineResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineResponse(struct soap *soap, const char *tag, _ngwm__declineResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__declineResponse **)soap_malloc(soap, sizeof(_ngwm__declineResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__declineResponse *)soap_instantiate__ngwm__declineResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__declineResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineResponse, sizeof(_ngwm__declineResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__declineRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__declineRequest); + if (soap_out_PointerTo_ngwm__declineRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineRequest(struct soap *soap, const char *tag, int id, _ngwm__declineRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__declineRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineRequest(struct soap *soap, _ngwm__declineRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__declineRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineRequest(struct soap *soap, const char *tag, _ngwm__declineRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__declineRequest **)soap_malloc(soap, sizeof(_ngwm__declineRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__declineRequest *)soap_instantiate__ngwm__declineRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__declineRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__declineRequest, sizeof(_ngwm__declineRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createSignatureResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createSignatureResponse); + if (soap_out_PointerTo_ngwm__createSignatureResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureResponse(struct soap *soap, const char *tag, int id, _ngwm__createSignatureResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createSignatureResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureResponse(struct soap *soap, _ngwm__createSignatureResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createSignatureResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureResponse(struct soap *soap, const char *tag, _ngwm__createSignatureResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createSignatureResponse **)soap_malloc(soap, sizeof(_ngwm__createSignatureResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createSignatureResponse *)soap_instantiate__ngwm__createSignatureResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createSignatureResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureResponse, sizeof(_ngwm__createSignatureResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createSignatureRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createSignatureRequest); + if (soap_out_PointerTo_ngwm__createSignatureRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureRequest(struct soap *soap, const char *tag, int id, _ngwm__createSignatureRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createSignatureRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureRequest(struct soap *soap, _ngwm__createSignatureRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createSignatureRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureRequest(struct soap *soap, const char *tag, _ngwm__createSignatureRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createSignatureRequest **)soap_malloc(soap, sizeof(_ngwm__createSignatureRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createSignatureRequest *)soap_instantiate__ngwm__createSignatureRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createSignatureRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createSignatureRequest, sizeof(_ngwm__createSignatureRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createProxyAccessResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse); + if (soap_out_PointerTo_ngwm__createProxyAccessResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, int id, _ngwm__createProxyAccessResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createProxyAccessResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, _ngwm__createProxyAccessResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createProxyAccessResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessResponse(struct soap *soap, const char *tag, _ngwm__createProxyAccessResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createProxyAccessResponse **)soap_malloc(soap, sizeof(_ngwm__createProxyAccessResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createProxyAccessResponse *)soap_instantiate__ngwm__createProxyAccessResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createProxyAccessResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessResponse, sizeof(_ngwm__createProxyAccessResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createProxyAccessRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest); + if (soap_out_PointerTo_ngwm__createProxyAccessRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, int id, _ngwm__createProxyAccessRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createProxyAccessRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, _ngwm__createProxyAccessRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createProxyAccessRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessRequest(struct soap *soap, const char *tag, _ngwm__createProxyAccessRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createProxyAccessRequest **)soap_malloc(soap, sizeof(_ngwm__createProxyAccessRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createProxyAccessRequest *)soap_instantiate__ngwm__createProxyAccessRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createProxyAccessRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createProxyAccessRequest, sizeof(_ngwm__createProxyAccessRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createJunkEntryResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse); + if (soap_out_PointerTo_ngwm__createJunkEntryResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, int id, _ngwm__createJunkEntryResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createJunkEntryResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, _ngwm__createJunkEntryResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createJunkEntryResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryResponse(struct soap *soap, const char *tag, _ngwm__createJunkEntryResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createJunkEntryResponse **)soap_malloc(soap, sizeof(_ngwm__createJunkEntryResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createJunkEntryResponse *)soap_instantiate__ngwm__createJunkEntryResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createJunkEntryResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryResponse, sizeof(_ngwm__createJunkEntryResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createJunkEntryRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest); + if (soap_out_PointerTo_ngwm__createJunkEntryRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, int id, _ngwm__createJunkEntryRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createJunkEntryRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, _ngwm__createJunkEntryRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createJunkEntryRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryRequest(struct soap *soap, const char *tag, _ngwm__createJunkEntryRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createJunkEntryRequest **)soap_malloc(soap, sizeof(_ngwm__createJunkEntryRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createJunkEntryRequest *)soap_instantiate__ngwm__createJunkEntryRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createJunkEntryRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createJunkEntryRequest, sizeof(_ngwm__createJunkEntryRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemsResponse); + if (soap_out_PointerTo_ngwm__createItemsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__createItemsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsResponse(struct soap *soap, _ngwm__createItemsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsResponse(struct soap *soap, const char *tag, _ngwm__createItemsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createItemsResponse **)soap_malloc(soap, sizeof(_ngwm__createItemsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createItemsResponse *)soap_instantiate__ngwm__createItemsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsResponse, sizeof(_ngwm__createItemsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemsRequest); + if (soap_out_PointerTo_ngwm__createItemsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__createItemsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsRequest(struct soap *soap, _ngwm__createItemsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsRequest(struct soap *soap, const char *tag, _ngwm__createItemsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createItemsRequest **)soap_malloc(soap, sizeof(_ngwm__createItemsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createItemsRequest *)soap_instantiate__ngwm__createItemsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemsRequest, sizeof(_ngwm__createItemsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemResponse); + if (soap_out_PointerTo_ngwm__createItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemResponse(struct soap *soap, const char *tag, int id, _ngwm__createItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemResponse(struct soap *soap, _ngwm__createItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemResponse(struct soap *soap, const char *tag, _ngwm__createItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createItemResponse **)soap_malloc(soap, sizeof(_ngwm__createItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createItemResponse *)soap_instantiate__ngwm__createItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemResponse, sizeof(_ngwm__createItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createItemRequest); + if (soap_out_PointerTo_ngwm__createItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemRequest(struct soap *soap, const char *tag, int id, _ngwm__createItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemRequest(struct soap *soap, _ngwm__createItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemRequest(struct soap *soap, const char *tag, _ngwm__createItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createItemRequest **)soap_malloc(soap, sizeof(_ngwm__createItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createItemRequest *)soap_instantiate__ngwm__createItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createItemRequest, sizeof(_ngwm__createItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createCursorResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createCursorResponse); + if (soap_out_PointerTo_ngwm__createCursorResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorResponse(struct soap *soap, const char *tag, int id, _ngwm__createCursorResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createCursorResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorResponse(struct soap *soap, _ngwm__createCursorResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createCursorResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorResponse(struct soap *soap, const char *tag, _ngwm__createCursorResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createCursorResponse **)soap_malloc(soap, sizeof(_ngwm__createCursorResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createCursorResponse *)soap_instantiate__ngwm__createCursorResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createCursorResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorResponse, sizeof(_ngwm__createCursorResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__createCursorRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__createCursorRequest); + if (soap_out_PointerTo_ngwm__createCursorRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorRequest(struct soap *soap, const char *tag, int id, _ngwm__createCursorRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__createCursorRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorRequest(struct soap *soap, _ngwm__createCursorRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__createCursorRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorRequest(struct soap *soap, const char *tag, _ngwm__createCursorRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__createCursorRequest **)soap_malloc(soap, sizeof(_ngwm__createCursorRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__createCursorRequest *)soap_instantiate__ngwm__createCursorRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__createCursorRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__createCursorRequest, sizeof(_ngwm__createCursorRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__completeResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__completeResponse); + if (soap_out_PointerTo_ngwm__completeResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeResponse(struct soap *soap, const char *tag, int id, _ngwm__completeResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__completeResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeResponse(struct soap *soap, _ngwm__completeResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__completeResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeResponse(struct soap *soap, const char *tag, _ngwm__completeResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__completeResponse **)soap_malloc(soap, sizeof(_ngwm__completeResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__completeResponse *)soap_instantiate__ngwm__completeResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__completeResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeResponse, sizeof(_ngwm__completeResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__completeRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__completeRequest); + if (soap_out_PointerTo_ngwm__completeRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeRequest(struct soap *soap, const char *tag, int id, _ngwm__completeRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__completeRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeRequest(struct soap *soap, _ngwm__completeRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__completeRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeRequest(struct soap *soap, const char *tag, _ngwm__completeRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__completeRequest **)soap_malloc(soap, sizeof(_ngwm__completeRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__completeRequest *)soap_instantiate__ngwm__completeRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__completeRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__completeRequest, sizeof(_ngwm__completeRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse); + if (soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, int id, _ngwm__closeFreeBusySessionResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__closeFreeBusySessionResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, _ngwm__closeFreeBusySessionResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__closeFreeBusySessionResponse **)soap_malloc(soap, sizeof(_ngwm__closeFreeBusySessionResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__closeFreeBusySessionResponse *)soap_instantiate__ngwm__closeFreeBusySessionResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__closeFreeBusySessionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionResponse, sizeof(_ngwm__closeFreeBusySessionResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest); + if (soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, int id, _ngwm__closeFreeBusySessionRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__closeFreeBusySessionRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, _ngwm__closeFreeBusySessionRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap *soap, const char *tag, _ngwm__closeFreeBusySessionRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__closeFreeBusySessionRequest **)soap_malloc(soap, sizeof(_ngwm__closeFreeBusySessionRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__closeFreeBusySessionRequest *)soap_instantiate__ngwm__closeFreeBusySessionRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__closeFreeBusySessionRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__closeFreeBusySessionRequest, sizeof(_ngwm__closeFreeBusySessionRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addMembersResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addMembersResponse); + if (soap_out_PointerTo_ngwm__addMembersResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersResponse(struct soap *soap, const char *tag, int id, _ngwm__addMembersResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addMembersResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersResponse(struct soap *soap, _ngwm__addMembersResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__addMembersResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersResponse(struct soap *soap, const char *tag, _ngwm__addMembersResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__addMembersResponse **)soap_malloc(soap, sizeof(_ngwm__addMembersResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__addMembersResponse *)soap_instantiate__ngwm__addMembersResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__addMembersResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersResponse, sizeof(_ngwm__addMembersResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addMembersRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addMembersRequest); + if (soap_out_PointerTo_ngwm__addMembersRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersRequest(struct soap *soap, const char *tag, int id, _ngwm__addMembersRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addMembersRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersRequest(struct soap *soap, _ngwm__addMembersRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__addMembersRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersRequest(struct soap *soap, const char *tag, _ngwm__addMembersRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__addMembersRequest **)soap_malloc(soap, sizeof(_ngwm__addMembersRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__addMembersRequest *)soap_instantiate__ngwm__addMembersRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__addMembersRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addMembersRequest, sizeof(_ngwm__addMembersRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemsResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemsResponse); + if (soap_out_PointerTo_ngwm__addItemsResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsResponse(struct soap *soap, const char *tag, int id, _ngwm__addItemsResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemsResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsResponse(struct soap *soap, _ngwm__addItemsResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__addItemsResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsResponse(struct soap *soap, const char *tag, _ngwm__addItemsResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__addItemsResponse **)soap_malloc(soap, sizeof(_ngwm__addItemsResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__addItemsResponse *)soap_instantiate__ngwm__addItemsResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__addItemsResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsResponse, sizeof(_ngwm__addItemsResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemsRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemsRequest); + if (soap_out_PointerTo_ngwm__addItemsRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsRequest(struct soap *soap, const char *tag, int id, _ngwm__addItemsRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemsRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsRequest(struct soap *soap, _ngwm__addItemsRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__addItemsRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsRequest(struct soap *soap, const char *tag, _ngwm__addItemsRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__addItemsRequest **)soap_malloc(soap, sizeof(_ngwm__addItemsRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__addItemsRequest *)soap_instantiate__ngwm__addItemsRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__addItemsRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemsRequest, sizeof(_ngwm__addItemsRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemResponse); + if (soap_out_PointerTo_ngwm__addItemResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemResponse(struct soap *soap, const char *tag, int id, _ngwm__addItemResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemResponse(struct soap *soap, _ngwm__addItemResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__addItemResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemResponse(struct soap *soap, const char *tag, _ngwm__addItemResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__addItemResponse **)soap_malloc(soap, sizeof(_ngwm__addItemResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__addItemResponse *)soap_instantiate__ngwm__addItemResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__addItemResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemResponse, sizeof(_ngwm__addItemResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__addItemRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__addItemRequest); + if (soap_out_PointerTo_ngwm__addItemRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemRequest(struct soap *soap, const char *tag, int id, _ngwm__addItemRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__addItemRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemRequest(struct soap *soap, _ngwm__addItemRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__addItemRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemRequest(struct soap *soap, const char *tag, _ngwm__addItemRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__addItemRequest **)soap_malloc(soap, sizeof(_ngwm__addItemRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__addItemRequest *)soap_instantiate__ngwm__addItemRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__addItemRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__addItemRequest, sizeof(_ngwm__addItemRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptShareResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptShareResponse); + if (soap_out_PointerTo_ngwm__acceptShareResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareResponse(struct soap *soap, const char *tag, int id, _ngwm__acceptShareResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptShareResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareResponse(struct soap *soap, _ngwm__acceptShareResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__acceptShareResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareResponse(struct soap *soap, const char *tag, _ngwm__acceptShareResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__acceptShareResponse **)soap_malloc(soap, sizeof(_ngwm__acceptShareResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__acceptShareResponse *)soap_instantiate__ngwm__acceptShareResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__acceptShareResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareResponse, sizeof(_ngwm__acceptShareResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptShareRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptShareRequest); + if (soap_out_PointerTo_ngwm__acceptShareRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareRequest(struct soap *soap, const char *tag, int id, _ngwm__acceptShareRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptShareRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareRequest(struct soap *soap, _ngwm__acceptShareRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__acceptShareRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareRequest(struct soap *soap, const char *tag, _ngwm__acceptShareRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__acceptShareRequest **)soap_malloc(soap, sizeof(_ngwm__acceptShareRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__acceptShareRequest *)soap_instantiate__ngwm__acceptShareRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__acceptShareRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptShareRequest, sizeof(_ngwm__acceptShareRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptResponse)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptResponse); + if (soap_out_PointerTo_ngwm__acceptResponse(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptResponse(struct soap *soap, const char *tag, int id, _ngwm__acceptResponse *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptResponse); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptResponse(struct soap *soap, _ngwm__acceptResponse **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__acceptResponse(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptResponse(struct soap *soap, const char *tag, _ngwm__acceptResponse **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__acceptResponse **)soap_malloc(soap, sizeof(_ngwm__acceptResponse *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__acceptResponse *)soap_instantiate__ngwm__acceptResponse(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__acceptResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptResponse, sizeof(_ngwm__acceptResponse), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE__ngwm__acceptRequest)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ngwm__acceptRequest); + if (soap_out_PointerTo_ngwm__acceptRequest(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptRequest(struct soap *soap, const char *tag, int id, _ngwm__acceptRequest *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ngwm__acceptRequest); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptRequest(struct soap *soap, _ngwm__acceptRequest **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTo_ngwm__acceptRequest(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptRequest(struct soap *soap, const char *tag, _ngwm__acceptRequest **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (_ngwm__acceptRequest **)soap_malloc(soap, sizeof(_ngwm__acceptRequest *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (_ngwm__acceptRequest *)soap_instantiate__ngwm__acceptRequest(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (_ngwm__acceptRequest **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ngwm__acceptRequest, sizeof(_ngwm__acceptRequest), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Alarm(struct soap *soap, ngwt__Alarm *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Alarm)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Alarm(struct soap *soap, ngwt__Alarm *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Alarm); + if (soap_out_PointerTongwt__Alarm(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Alarm(struct soap *soap, const char *tag, int id, ngwt__Alarm *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Alarm); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_get_PointerTongwt__Alarm(struct soap *soap, ngwt__Alarm **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Alarm(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_in_PointerTongwt__Alarm(struct soap *soap, const char *tag, ngwt__Alarm **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Alarm **)soap_malloc(soap, sizeof(ngwt__Alarm *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Alarm *)soap_instantiate_ngwt__Alarm(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Alarm **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Alarm, sizeof(ngwt__Alarm), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PhoneFlags)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PhoneFlags); + if (soap_out_PointerTongwt__PhoneFlags(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneFlags(struct soap *soap, const char *tag, int id, ngwt__PhoneFlags *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PhoneFlags); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneFlags(struct soap *soap, ngwt__PhoneFlags **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__PhoneFlags(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneFlags(struct soap *soap, const char *tag, ngwt__PhoneFlags **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__PhoneFlags **)soap_malloc(soap, sizeof(ngwt__PhoneFlags *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__PhoneFlags *)soap_instantiate_ngwt__PhoneFlags(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__PhoneFlags **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneFlags, sizeof(ngwt__PhoneFlags), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecurrenceRule)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecurrenceRule); + if (soap_out_PointerTongwt__RecurrenceRule(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceRule(struct soap *soap, const char *tag, int id, ngwt__RecurrenceRule *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecurrenceRule); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceRule(struct soap *soap, ngwt__RecurrenceRule **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RecurrenceRule(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceRule(struct soap *soap, const char *tag, ngwt__RecurrenceRule **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RecurrenceRule **)soap_malloc(soap, sizeof(ngwt__RecurrenceRule *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RecurrenceRule *)soap_instantiate_ngwt__RecurrenceRule(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RecurrenceRule **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceRule, sizeof(ngwt__RecurrenceRule), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecurrenceDateType)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecurrenceDateType); + if (soap_out_PointerTongwt__RecurrenceDateType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceDateType(struct soap *soap, const char *tag, int id, ngwt__RecurrenceDateType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecurrenceDateType); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceDateType(struct soap *soap, ngwt__RecurrenceDateType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RecurrenceDateType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceDateType(struct soap *soap, const char *tag, ngwt__RecurrenceDateType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RecurrenceDateType **)soap_malloc(soap, sizeof(ngwt__RecurrenceDateType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RecurrenceDateType *)soap_instantiate_ngwt__RecurrenceDateType(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RecurrenceDateType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecurrenceDateType, sizeof(ngwt__RecurrenceDateType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SMimeOperation)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SMimeOperation); + if (soap_out_PointerTongwt__SMimeOperation(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SMimeOperation(struct soap *soap, const char *tag, int id, ngwt__SMimeOperation *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SMimeOperation); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_get_PointerTongwt__SMimeOperation(struct soap *soap, ngwt__SMimeOperation **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SMimeOperation(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_in_PointerTongwt__SMimeOperation(struct soap *soap, const char *tag, ngwt__SMimeOperation **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SMimeOperation **)soap_malloc(soap, sizeof(ngwt__SMimeOperation *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SMimeOperation *)soap_instantiate_ngwt__SMimeOperation(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SMimeOperation **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SMimeOperation, sizeof(ngwt__SMimeOperation), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__LinkInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LinkInfo(struct soap *soap, ngwt__LinkInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__LinkInfo); + if (soap_out_PointerTongwt__LinkInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LinkInfo(struct soap *soap, const char *tag, int id, ngwt__LinkInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__LinkInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_get_PointerTongwt__LinkInfo(struct soap *soap, ngwt__LinkInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__LinkInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_in_PointerTongwt__LinkInfo(struct soap *soap, const char *tag, ngwt__LinkInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__LinkInfo **)soap_malloc(soap, sizeof(ngwt__LinkInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__LinkInfo *)soap_instantiate_ngwt__LinkInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__LinkInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LinkInfo, sizeof(ngwt__LinkInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemOptions)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemOptions(struct soap *soap, ngwt__ItemOptions *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemOptions); + if (soap_out_PointerTongwt__ItemOptions(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemOptions(struct soap *soap, const char *tag, int id, ngwt__ItemOptions *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemOptions); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ItemOptions(struct soap *soap, ngwt__ItemOptions **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ItemOptions(struct soap *soap, const char *tag, ngwt__ItemOptions **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ItemOptions **)soap_malloc(soap, sizeof(ngwt__ItemOptions *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ItemOptions *)soap_instantiate_ngwt__ItemOptions(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ItemOptions **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemOptions, sizeof(ngwt__ItemOptions), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AttachmentInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AttachmentInfo); + if (soap_out_PointerTongwt__AttachmentInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentInfo(struct soap *soap, const char *tag, int id, ngwt__AttachmentInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AttachmentInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentInfo(struct soap *soap, ngwt__AttachmentInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AttachmentInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentInfo(struct soap *soap, const char *tag, ngwt__AttachmentInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AttachmentInfo **)soap_malloc(soap, sizeof(ngwt__AttachmentInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AttachmentInfo *)soap_instantiate_ngwt__AttachmentInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AttachmentInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentInfo, sizeof(ngwt__AttachmentInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageBody(struct soap *soap, ngwt__MessageBody *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__MessageBody)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageBody(struct soap *soap, ngwt__MessageBody *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MessageBody); + if (soap_out_PointerTongwt__MessageBody(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageBody(struct soap *soap, const char *tag, int id, ngwt__MessageBody *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MessageBody); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_get_PointerTongwt__MessageBody(struct soap *soap, ngwt__MessageBody **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__MessageBody(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_in_PointerTongwt__MessageBody(struct soap *soap, const char *tag, ngwt__MessageBody **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__MessageBody **)soap_malloc(soap, sizeof(ngwt__MessageBody *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__MessageBody *)soap_instantiate_ngwt__MessageBody(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__MessageBody **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageBody, sizeof(ngwt__MessageBody), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ReferenceInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ReferenceInfo); + if (soap_out_PointerTongwt__ReferenceInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReferenceInfo(struct soap *soap, const char *tag, int id, ngwt__ReferenceInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ReferenceInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_get_PointerTongwt__ReferenceInfo(struct soap *soap, ngwt__ReferenceInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ReferenceInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_in_PointerTongwt__ReferenceInfo(struct soap *soap, const char *tag, ngwt__ReferenceInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ReferenceInfo **)soap_malloc(soap, sizeof(ngwt__ReferenceInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ReferenceInfo *)soap_instantiate_ngwt__ReferenceInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ReferenceInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReferenceInfo, sizeof(ngwt__ReferenceInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PersonalInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PersonalInfo); + if (soap_out_PointerTongwt__PersonalInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PersonalInfo(struct soap *soap, const char *tag, int id, ngwt__PersonalInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PersonalInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_get_PointerTongwt__PersonalInfo(struct soap *soap, ngwt__PersonalInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__PersonalInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_in_PointerTongwt__PersonalInfo(struct soap *soap, const char *tag, ngwt__PersonalInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__PersonalInfo **)soap_malloc(soap, sizeof(ngwt__PersonalInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__PersonalInfo *)soap_instantiate_ngwt__PersonalInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__PersonalInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PersonalInfo, sizeof(ngwt__PersonalInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__OfficeInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__OfficeInfo); + if (soap_out_PointerTongwt__OfficeInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OfficeInfo(struct soap *soap, const char *tag, int id, ngwt__OfficeInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__OfficeInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_get_PointerTongwt__OfficeInfo(struct soap *soap, ngwt__OfficeInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__OfficeInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_in_PointerTongwt__OfficeInfo(struct soap *soap, const char *tag, ngwt__OfficeInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__OfficeInfo **)soap_malloc(soap, sizeof(ngwt__OfficeInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__OfficeInfo *)soap_instantiate_ngwt__OfficeInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__OfficeInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OfficeInfo, sizeof(ngwt__OfficeInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PostalAddressList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PostalAddressList); + if (soap_out_PointerTongwt__PostalAddressList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddressList(struct soap *soap, const char *tag, int id, ngwt__PostalAddressList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PostalAddressList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddressList(struct soap *soap, ngwt__PostalAddressList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__PostalAddressList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddressList(struct soap *soap, const char *tag, ngwt__PostalAddressList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__PostalAddressList **)soap_malloc(soap, sizeof(ngwt__PostalAddressList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__PostalAddressList *)soap_instantiate_ngwt__PostalAddressList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__PostalAddressList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddressList, sizeof(ngwt__PostalAddressList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneList(struct soap *soap, ngwt__PhoneList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PhoneList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneList(struct soap *soap, ngwt__PhoneList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PhoneList); + if (soap_out_PointerTongwt__PhoneList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneList(struct soap *soap, const char *tag, int id, ngwt__PhoneList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PhoneList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneList(struct soap *soap, ngwt__PhoneList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__PhoneList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneList(struct soap *soap, const char *tag, ngwt__PhoneList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__PhoneList **)soap_malloc(soap, sizeof(ngwt__PhoneList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__PhoneList *)soap_instantiate_ngwt__PhoneList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__PhoneList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneList, sizeof(ngwt__PhoneList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ImAddressList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddressList(struct soap *soap, ngwt__ImAddressList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ImAddressList); + if (soap_out_PointerTongwt__ImAddressList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddressList(struct soap *soap, const char *tag, int id, ngwt__ImAddressList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ImAddressList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddressList(struct soap *soap, ngwt__ImAddressList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ImAddressList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddressList(struct soap *soap, const char *tag, ngwt__ImAddressList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ImAddressList **)soap_malloc(soap, sizeof(ngwt__ImAddressList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ImAddressList *)soap_instantiate_ngwt__ImAddressList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ImAddressList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddressList, sizeof(ngwt__ImAddressList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__EmailAddressList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__EmailAddressList); + if (soap_out_PointerTongwt__EmailAddressList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__EmailAddressList(struct soap *soap, const char *tag, int id, ngwt__EmailAddressList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__EmailAddressList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__EmailAddressList(struct soap *soap, ngwt__EmailAddressList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__EmailAddressList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__EmailAddressList(struct soap *soap, const char *tag, ngwt__EmailAddressList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__EmailAddressList **)soap_malloc(soap, sizeof(ngwt__EmailAddressList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__EmailAddressList *)soap_instantiate_ngwt__EmailAddressList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__EmailAddressList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__EmailAddressList, sizeof(ngwt__EmailAddressList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FullName(struct soap *soap, ngwt__FullName *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FullName)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FullName(struct soap *soap, ngwt__FullName *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FullName); + if (soap_out_PointerTongwt__FullName(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FullName(struct soap *soap, const char *tag, int id, ngwt__FullName *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FullName); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_get_PointerTongwt__FullName(struct soap *soap, ngwt__FullName **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FullName(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_in_PointerTongwt__FullName(struct soap *soap, const char *tag, ngwt__FullName **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FullName **)soap_malloc(soap, sizeof(ngwt__FullName *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FullName *)soap_instantiate_ngwt__FullName(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FullName **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FullName, sizeof(ngwt__FullName), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__VersionStatus); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__VersionStatus); + if (soap_out_PointerTongwt__VersionStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__VersionStatus(struct soap *soap, const char *tag, int id, enum ngwt__VersionStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__VersionStatus); + if (id < 0) + return soap->error; + return soap_out_ngwt__VersionStatus(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_get_PointerTongwt__VersionStatus(struct soap *soap, enum ngwt__VersionStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__VersionStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_in_PointerTongwt__VersionStatus(struct soap *soap, const char *tag, enum ngwt__VersionStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__VersionStatus **)soap_malloc(soap, sizeof(enum ngwt__VersionStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__VersionStatus(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__VersionStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__VersionStatus, sizeof(enum ngwt__VersionStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACL(struct soap *soap, ngwt__FolderACL *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderACL)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACL(struct soap *soap, ngwt__FolderACL *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderACL); + if (soap_out_PointerTongwt__FolderACL(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACL(struct soap *soap, const char *tag, int id, ngwt__FolderACL *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderACL); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACL(struct soap *soap, ngwt__FolderACL **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FolderACL(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACL(struct soap *soap, const char *tag, ngwt__FolderACL **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FolderACL **)soap_malloc(soap, sizeof(ngwt__FolderACL *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FolderACL *)soap_instantiate_ngwt__FolderACL(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FolderACL **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACL, sizeof(ngwt__FolderACL), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RuleActionList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleActionList(struct soap *soap, ngwt__RuleActionList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RuleActionList); + if (soap_out_PointerTongwt__RuleActionList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleActionList(struct soap *soap, const char *tag, int id, ngwt__RuleActionList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RuleActionList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleActionList(struct soap *soap, ngwt__RuleActionList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RuleActionList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleActionList(struct soap *soap, const char *tag, ngwt__RuleActionList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RuleActionList **)soap_malloc(soap, sizeof(ngwt__RuleActionList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RuleActionList *)soap_instantiate_ngwt__RuleActionList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RuleActionList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleActionList, sizeof(ngwt__RuleActionList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Execution(struct soap *soap, enum ngwt__Execution *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__Execution); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Execution(struct soap *soap, enum ngwt__Execution *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Execution); + if (soap_out_PointerTongwt__Execution(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Execution(struct soap *soap, const char *tag, int id, enum ngwt__Execution *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Execution); + if (id < 0) + return soap->error; + return soap_out_ngwt__Execution(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_get_PointerTongwt__Execution(struct soap *soap, enum ngwt__Execution **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Execution(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_in_PointerTongwt__Execution(struct soap *soap, const char *tag, enum ngwt__Execution **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__Execution **)soap_malloc(soap, sizeof(enum ngwt__Execution *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__Execution(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__Execution **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Execution, sizeof(enum ngwt__Execution), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Query(struct soap *soap, ngwt__Query *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Query)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Query(struct soap *soap, ngwt__Query *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Query); + if (soap_out_PointerTongwt__Query(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Query(struct soap *soap, const char *tag, int id, ngwt__Query *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Query); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_get_PointerTongwt__Query(struct soap *soap, ngwt__Query **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Query(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_in_PointerTongwt__Query(struct soap *soap, const char *tag, ngwt__Query **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Query **)soap_malloc(soap, sizeof(ngwt__Query *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Query *)soap_instantiate_ngwt__Query(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Query **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Query, sizeof(ngwt__Query), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderACLStatus); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderACLStatus); + if (soap_out_PointerTongwt__FolderACLStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLStatus(struct soap *soap, const char *tag, int id, enum ngwt__FolderACLStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderACLStatus); + if (id < 0) + return soap->error; + return soap_out_ngwt__FolderACLStatus(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLStatus(struct soap *soap, enum ngwt__FolderACLStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FolderACLStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLStatus(struct soap *soap, const char *tag, enum ngwt__FolderACLStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__FolderACLStatus **)soap_malloc(soap, sizeof(enum ngwt__FolderACLStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__FolderACLStatus(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__FolderACLStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLStatus, sizeof(enum ngwt__FolderACLStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessControlList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlList(struct soap *soap, ngwt__AccessControlList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessControlList); + if (soap_out_PointerTongwt__AccessControlList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlList(struct soap *soap, const char *tag, int id, ngwt__AccessControlList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessControlList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlList(struct soap *soap, ngwt__AccessControlList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessControlList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlList(struct soap *soap, const char *tag, ngwt__AccessControlList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessControlList **)soap_malloc(soap, sizeof(ngwt__AccessControlList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessControlList *)soap_instantiate_ngwt__AccessControlList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessControlList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlList, sizeof(ngwt__AccessControlList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__WeekOfYear(struct soap *soap, short *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__WeekOfYear); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__WeekOfYear(struct soap *soap, short *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__WeekOfYear); + if (soap_out_PointerTongwt__WeekOfYear(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__WeekOfYear(struct soap *soap, const char *tag, int id, short *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__WeekOfYear); + if (id < 0) + return soap->error; + return soap_out_ngwt__WeekOfYear(soap, tag, id, *a, type); +} + +SOAP_FMAC3 short ** SOAP_FMAC4 soap_get_PointerTongwt__WeekOfYear(struct soap *soap, short **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__WeekOfYear(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 short ** SOAP_FMAC4 soap_in_PointerTongwt__WeekOfYear(struct soap *soap, const char *tag, short **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (short **)soap_malloc(soap, sizeof(short *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__WeekOfYear(soap, tag, *a, type))) + return NULL; + } + else + { a = (short **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__WeekOfYear, sizeof(short), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__OccurrenceType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__OccurrenceType); + if (soap_out_PointerTongwt__OccurrenceType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OccurrenceType(struct soap *soap, const char *tag, int id, enum ngwt__OccurrenceType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__OccurrenceType); + if (id < 0) + return soap->error; + return soap_out_ngwt__OccurrenceType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_get_PointerTongwt__OccurrenceType(struct soap *soap, enum ngwt__OccurrenceType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__OccurrenceType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_in_PointerTongwt__OccurrenceType(struct soap *soap, const char *tag, enum ngwt__OccurrenceType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__OccurrenceType **)soap_malloc(soap, sizeof(enum ngwt__OccurrenceType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__OccurrenceType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__OccurrenceType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__OccurrenceType, sizeof(enum ngwt__OccurrenceType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemSecurity); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemSecurity); + if (soap_out_PointerTongwt__ItemSecurity(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSecurity(struct soap *soap, const char *tag, int id, enum ngwt__ItemSecurity *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemSecurity); + if (id < 0) + return soap->error; + return soap_out_ngwt__ItemSecurity(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSecurity(struct soap *soap, enum ngwt__ItemSecurity **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemSecurity(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSecurity(struct soap *soap, const char *tag, enum ngwt__ItemSecurity **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__ItemSecurity **)soap_malloc(soap, sizeof(enum ngwt__ItemSecurity *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__ItemSecurity(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__ItemSecurity **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSecurity, sizeof(enum ngwt__ItemSecurity), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemClass); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemClass(struct soap *soap, enum ngwt__ItemClass *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemClass); + if (soap_out_PointerTongwt__ItemClass(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemClass(struct soap *soap, const char *tag, int id, enum ngwt__ItemClass *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemClass); + if (id < 0) + return soap->error; + return soap_out_ngwt__ItemClass(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_get_PointerTongwt__ItemClass(struct soap *soap, enum ngwt__ItemClass **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemClass(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_in_PointerTongwt__ItemClass(struct soap *soap, const char *tag, enum ngwt__ItemClass **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__ItemClass **)soap_malloc(soap, sizeof(enum ngwt__ItemClass *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__ItemClass(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__ItemClass **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemClass, sizeof(enum ngwt__ItemClass), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemSource); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSource(struct soap *soap, enum ngwt__ItemSource *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemSource); + if (soap_out_PointerTongwt__ItemSource(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSource(struct soap *soap, const char *tag, int id, enum ngwt__ItemSource *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemSource); + if (id < 0) + return soap->error; + return soap_out_ngwt__ItemSource(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSource(struct soap *soap, enum ngwt__ItemSource **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemSource(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSource(struct soap *soap, const char *tag, enum ngwt__ItemSource **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__ItemSource **)soap_malloc(soap, sizeof(enum ngwt__ItemSource *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__ItemSource(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__ItemSource **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSource, sizeof(enum ngwt__ItemSource), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemStatus)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemStatus(struct soap *soap, ngwt__ItemStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemStatus); + if (soap_out_PointerTongwt__ItemStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemStatus(struct soap *soap, const char *tag, int id, ngwt__ItemStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemStatus); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_get_PointerTongwt__ItemStatus(struct soap *soap, ngwt__ItemStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_in_PointerTongwt__ItemStatus(struct soap *soap, const char *tag, ngwt__ItemStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ItemStatus **)soap_malloc(soap, sizeof(ngwt__ItemStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ItemStatus *)soap_instantiate_ngwt__ItemStatus(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ItemStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemStatus, sizeof(ngwt__ItemStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__DeltaSyncType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DeltaSyncType); + if (soap_out_PointerTongwt__DeltaSyncType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaSyncType(struct soap *soap, const char *tag, int id, enum ngwt__DeltaSyncType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DeltaSyncType); + if (id < 0) + return soap->error; + return soap_out_ngwt__DeltaSyncType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaSyncType(struct soap *soap, enum ngwt__DeltaSyncType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DeltaSyncType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaSyncType(struct soap *soap, const char *tag, enum ngwt__DeltaSyncType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__DeltaSyncType **)soap_malloc(soap, sizeof(enum ngwt__DeltaSyncType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__DeltaSyncType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__DeltaSyncType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaSyncType, sizeof(enum ngwt__DeltaSyncType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecipientStatus)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecipientStatus); + if (soap_out_PointerTongwt__RecipientStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientStatus(struct soap *soap, const char *tag, int id, ngwt__RecipientStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecipientStatus); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientStatus(struct soap *soap, ngwt__RecipientStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RecipientStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientStatus(struct soap *soap, const char *tag, ngwt__RecipientStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RecipientStatus **)soap_malloc(soap, sizeof(ngwt__RecipientStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RecipientStatus *)soap_instantiate_ngwt__RecipientStatus(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RecipientStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientStatus, sizeof(ngwt__RecipientStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyBlockList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyBlockList); + if (soap_out_PointerTongwt__FreeBusyBlockList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlockList(struct soap *soap, const char *tag, int id, ngwt__FreeBusyBlockList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyBlockList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlockList(struct soap *soap, ngwt__FreeBusyBlockList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FreeBusyBlockList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlockList(struct soap *soap, const char *tag, ngwt__FreeBusyBlockList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FreeBusyBlockList **)soap_malloc(soap, sizeof(ngwt__FreeBusyBlockList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FreeBusyBlockList *)soap_instantiate_ngwt__FreeBusyBlockList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FreeBusyBlockList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlockList, sizeof(ngwt__FreeBusyBlockList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CalendarFolderAttribute)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CalendarFolderAttribute); + if (soap_out_PointerTongwt__CalendarFolderAttribute(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CalendarFolderAttribute(struct soap *soap, const char *tag, int id, ngwt__CalendarFolderAttribute *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CalendarFolderAttribute); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_get_PointerTongwt__CalendarFolderAttribute(struct soap *soap, ngwt__CalendarFolderAttribute **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CalendarFolderAttribute(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_in_PointerTongwt__CalendarFolderAttribute(struct soap *soap, const char *tag, ngwt__CalendarFolderAttribute **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__CalendarFolderAttribute **)soap_malloc(soap, sizeof(ngwt__CalendarFolderAttribute *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__CalendarFolderAttribute *)soap_instantiate_ngwt__CalendarFolderAttribute(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__CalendarFolderAttribute **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CalendarFolderAttribute, sizeof(ngwt__CalendarFolderAttribute), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__FilterDate); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterDate(struct soap *soap, enum ngwt__FilterDate *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FilterDate); + if (soap_out_PointerTongwt__FilterDate(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterDate(struct soap *soap, const char *tag, int id, enum ngwt__FilterDate *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FilterDate); + if (id < 0) + return soap->error; + return soap_out_ngwt__FilterDate(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_get_PointerTongwt__FilterDate(struct soap *soap, enum ngwt__FilterDate **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FilterDate(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_in_PointerTongwt__FilterDate(struct soap *soap, const char *tag, enum ngwt__FilterDate **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__FilterDate **)soap_malloc(soap, sizeof(enum ngwt__FilterDate *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__FilterDate(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__FilterDate **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterDate, sizeof(enum ngwt__FilterDate), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ContainerRef)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ContainerRef(struct soap *soap, ngwt__ContainerRef *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ContainerRef); + if (soap_out_PointerTongwt__ContainerRef(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ContainerRef(struct soap *soap, const char *tag, int id, ngwt__ContainerRef *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ContainerRef); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_get_PointerTongwt__ContainerRef(struct soap *soap, ngwt__ContainerRef **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ContainerRef(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_in_PointerTongwt__ContainerRef(struct soap *soap, const char *tag, ngwt__ContainerRef **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ContainerRef **)soap_malloc(soap, sizeof(ngwt__ContainerRef *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ContainerRef *)soap_instantiate_ngwt__ContainerRef(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ContainerRef **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ContainerRef, sizeof(ngwt__ContainerRef), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__CategoryType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryType(struct soap *soap, enum ngwt__CategoryType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CategoryType); + if (soap_out_PointerTongwt__CategoryType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryType(struct soap *soap, const char *tag, int id, enum ngwt__CategoryType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CategoryType); + if (id < 0) + return soap->error; + return soap_out_ngwt__CategoryType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryType(struct soap *soap, enum ngwt__CategoryType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CategoryType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryType(struct soap *soap, const char *tag, enum ngwt__CategoryType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__CategoryType **)soap_malloc(soap, sizeof(enum ngwt__CategoryType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__CategoryType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__CategoryType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryType, sizeof(enum ngwt__CategoryType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessMiscRight)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessMiscRight); + if (soap_out_PointerTongwt__AccessMiscRight(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessMiscRight(struct soap *soap, const char *tag, int id, ngwt__AccessMiscRight *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessMiscRight); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessMiscRight(struct soap *soap, ngwt__AccessMiscRight **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessMiscRight(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessMiscRight(struct soap *soap, const char *tag, ngwt__AccessMiscRight **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessMiscRight **)soap_malloc(soap, sizeof(ngwt__AccessMiscRight *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessMiscRight *)soap_instantiate_ngwt__AccessMiscRight(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessMiscRight **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessMiscRight, sizeof(ngwt__AccessMiscRight), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRight(struct soap *soap, ngwt__AccessRight *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRight)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRight(struct soap *soap, ngwt__AccessRight *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRight); + if (soap_out_PointerTongwt__AccessRight(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRight(struct soap *soap, const char *tag, int id, ngwt__AccessRight *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRight); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRight(struct soap *soap, ngwt__AccessRight **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessRight(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRight(struct soap *soap, const char *tag, ngwt__AccessRight **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessRight **)soap_malloc(soap, sizeof(ngwt__AccessRight *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessRight *)soap_instantiate_ngwt__AccessRight(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessRight **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRight, sizeof(ngwt__AccessRight), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rights(struct soap *soap, ngwt__Rights *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Rights)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rights(struct soap *soap, ngwt__Rights *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Rights); + if (soap_out_PointerTongwt__Rights(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rights(struct soap *soap, const char *tag, int id, ngwt__Rights *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Rights); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_get_PointerTongwt__Rights(struct soap *soap, ngwt__Rights **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Rights(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_in_PointerTongwt__Rights(struct soap *soap, const char *tag, ngwt__Rights **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Rights **)soap_malloc(soap, sizeof(ngwt__Rights *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Rights *)soap_instantiate_ngwt__Rights(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Rights **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rights, sizeof(ngwt__Rights), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventList(struct soap *soap, ngwe__EventList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventList(struct soap *soap, ngwe__EventList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventList); + if (soap_out_PointerTongwe__EventList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventList(struct soap *soap, const char *tag, int id, ngwe__EventList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_get_PointerTongwe__EventList(struct soap *soap, ngwe__EventList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__EventList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_in_PointerTongwe__EventList(struct soap *soap, const char *tag, ngwe__EventList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__EventList **)soap_malloc(soap, sizeof(ngwe__EventList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__EventList *)soap_instantiate_ngwe__EventList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__EventList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventList, sizeof(ngwe__EventList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventsList(struct soap *soap, ngwe__EventsList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventsList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventsList(struct soap *soap, ngwe__EventsList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventsList); + if (soap_out_PointerTongwe__EventsList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventsList(struct soap *soap, const char *tag, int id, ngwe__EventsList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventsList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_get_PointerTongwe__EventsList(struct soap *soap, ngwe__EventsList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__EventsList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_in_PointerTongwe__EventsList(struct soap *soap, const char *tag, ngwe__EventsList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__EventsList **)soap_malloc(soap, sizeof(ngwe__EventsList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__EventsList *)soap_instantiate_ngwe__EventsList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__EventsList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventsList, sizeof(ngwe__EventsList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Events(struct soap *soap, ngwe__Events *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__Events)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Events(struct soap *soap, ngwe__Events *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__Events); + if (soap_out_PointerTongwe__Events(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Events(struct soap *soap, const char *tag, int id, ngwe__Events *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__Events); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_get_PointerTongwe__Events(struct soap *soap, ngwe__Events **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__Events(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_in_PointerTongwe__Events(struct soap *soap, const char *tag, ngwe__Events **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__Events **)soap_malloc(soap, sizeof(ngwe__Events *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__Events *)soap_instantiate_ngwe__Events(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__Events **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Events, sizeof(ngwe__Events), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventDefinition)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventDefinition(struct soap *soap, ngwe__EventDefinition *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventDefinition); + if (soap_out_PointerTongwe__EventDefinition(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventDefinition(struct soap *soap, const char *tag, int id, ngwe__EventDefinition *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventDefinition); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_get_PointerTongwe__EventDefinition(struct soap *soap, ngwe__EventDefinition **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__EventDefinition(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_in_PointerTongwe__EventDefinition(struct soap *soap, const char *tag, ngwe__EventDefinition **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__EventDefinition **)soap_malloc(soap, sizeof(ngwe__EventDefinition *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__EventDefinition *)soap_instantiate_ngwe__EventDefinition(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__EventDefinition **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventDefinition, sizeof(ngwe__EventDefinition), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__duration(struct soap *soap, std::string *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_xsd__duration)) + soap_serialize_xsd__duration(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__duration(struct soap *soap, std::string *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToxsd__duration); + if (soap_out_PointerToxsd__duration(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__duration(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_xsd__duration); + if (id < 0) + return soap->error; + return soap_out_xsd__duration(soap, tag, id, *a, type); +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__duration(struct soap *soap, std::string **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerToxsd__duration(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__duration(struct soap *soap, const char *tag, std::string **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_xsd__duration(soap, tag, *a, type))) + return NULL; + } + else + { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__duration, sizeof(std::string), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Event(struct soap *soap, ngwe__Event *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__Event)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Event(struct soap *soap, ngwe__Event *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__Event); + if (soap_out_PointerTongwe__Event(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Event(struct soap *soap, const char *tag, int id, ngwe__Event *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__Event); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_get_PointerTongwe__Event(struct soap *soap, ngwe__Event **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__Event(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_in_PointerTongwe__Event(struct soap *soap, const char *tag, ngwe__Event **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__Event **)soap_malloc(soap, sizeof(ngwe__Event *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__Event *)soap_instantiate_ngwe__Event(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__Event **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__Event, sizeof(ngwe__Event), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ContainerList(struct soap *soap, ngwe__ContainerList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__ContainerList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ContainerList(struct soap *soap, ngwe__ContainerList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__ContainerList); + if (soap_out_PointerTongwe__ContainerList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ContainerList(struct soap *soap, const char *tag, int id, ngwe__ContainerList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__ContainerList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_get_PointerTongwe__ContainerList(struct soap *soap, ngwe__ContainerList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__ContainerList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_in_PointerTongwe__ContainerList(struct soap *soap, const char *tag, ngwe__ContainerList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__ContainerList **)soap_malloc(soap, sizeof(ngwe__ContainerList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__ContainerList *)soap_instantiate_ngwe__ContainerList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__ContainerList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ContainerList, sizeof(ngwe__ContainerList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwe__ItemTypeList); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__ItemTypeList); + if (soap_out_PointerTongwe__ItemTypeList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemTypeList(struct soap *soap, const char *tag, int id, enum ngwe__ItemTypeList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__ItemTypeList); + if (id < 0) + return soap->error; + return soap_out_ngwe__ItemTypeList(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__ItemTypeList(struct soap *soap, enum ngwe__ItemTypeList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__ItemTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__ItemTypeList(struct soap *soap, const char *tag, enum ngwe__ItemTypeList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwe__ItemTypeList **)soap_malloc(soap, sizeof(enum ngwe__ItemTypeList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwe__ItemTypeList(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwe__ItemTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemTypeList, sizeof(enum ngwe__ItemTypeList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwe__EventTypeList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventTypeList(struct soap *soap, ngwe__EventTypeList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__EventTypeList); + if (soap_out_PointerTongwe__EventTypeList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventTypeList(struct soap *soap, const char *tag, int id, ngwe__EventTypeList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__EventTypeList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__EventTypeList(struct soap *soap, ngwe__EventTypeList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__EventTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__EventTypeList(struct soap *soap, const char *tag, ngwe__EventTypeList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwe__EventTypeList **)soap_malloc(soap, sizeof(ngwe__EventTypeList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwe__EventTypeList *)soap_instantiate_ngwe__EventTypeList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwe__EventTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__EventTypeList, sizeof(ngwe__EventTypeList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemType(struct soap *soap, enum ngwe__ItemType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwe__ItemType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemType(struct soap *soap, enum ngwe__ItemType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__ItemType); + if (soap_out_PointerTongwe__ItemType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemType(struct soap *soap, const char *tag, int id, enum ngwe__ItemType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__ItemType); + if (id < 0) + return soap->error; + return soap_out_ngwe__ItemType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_get_PointerTongwe__ItemType(struct soap *soap, enum ngwe__ItemType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__ItemType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_in_PointerTongwe__ItemType(struct soap *soap, const char *tag, enum ngwe__ItemType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwe__ItemType **)soap_malloc(soap, sizeof(enum ngwe__ItemType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwe__ItemType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwe__ItemType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__ItemType, sizeof(enum ngwe__ItemType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__FieldList(struct soap *soap, enum ngwe__FieldList *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwe__FieldList); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__FieldList(struct soap *soap, enum ngwe__FieldList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwe__FieldList); + if (soap_out_PointerTongwe__FieldList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__FieldList(struct soap *soap, const char *tag, int id, enum ngwe__FieldList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwe__FieldList); + if (id < 0) + return soap->error; + return soap_out_ngwe__FieldList(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_get_PointerTongwe__FieldList(struct soap *soap, enum ngwe__FieldList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwe__FieldList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_in_PointerTongwe__FieldList(struct soap *soap, const char *tag, enum ngwe__FieldList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwe__FieldList **)soap_malloc(soap, sizeof(enum ngwe__FieldList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwe__FieldList(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwe__FieldList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwe__FieldList, sizeof(enum ngwe__FieldList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyUserList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyUserList); + if (soap_out_PointerTongwt__FreeBusyUserList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyUserList(struct soap *soap, const char *tag, int id, ngwt__FreeBusyUserList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyUserList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyUserList(struct soap *soap, ngwt__FreeBusyUserList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FreeBusyUserList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyUserList(struct soap *soap, const char *tag, ngwt__FreeBusyUserList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FreeBusyUserList **)soap_malloc(soap, sizeof(ngwt__FreeBusyUserList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FreeBusyUserList *)soap_instantiate_ngwt__FreeBusyUserList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FreeBusyUserList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyUserList, sizeof(ngwt__FreeBusyUserList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RetractType(struct soap *soap, enum ngwt__RetractType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__RetractType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RetractType(struct soap *soap, enum ngwt__RetractType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RetractType); + if (soap_out_PointerTongwt__RetractType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RetractType(struct soap *soap, const char *tag, int id, enum ngwt__RetractType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RetractType); + if (id < 0) + return soap->error; + return soap_out_ngwt__RetractType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_get_PointerTongwt__RetractType(struct soap *soap, enum ngwt__RetractType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RetractType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_in_PointerTongwt__RetractType(struct soap *soap, const char *tag, enum ngwt__RetractType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__RetractType **)soap_malloc(soap, sizeof(enum ngwt__RetractType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__RetractType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__RetractType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RetractType, sizeof(enum ngwt__RetractType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemList(struct soap *soap, ngwt__ItemList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemList(struct soap *soap, ngwt__ItemList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemList); + if (soap_out_PointerTongwt__ItemList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemList(struct soap *soap, const char *tag, int id, ngwt__ItemList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemList(struct soap *soap, ngwt__ItemList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemList(struct soap *soap, const char *tag, ngwt__ItemList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ItemList **)soap_malloc(soap, sizeof(ngwt__ItemList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ItemList *)soap_instantiate_ngwt__ItemList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ItemList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemList, sizeof(ngwt__ItemList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__CursorSeek); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CursorSeek); + if (soap_out_PointerTongwt__CursorSeek(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CursorSeek(struct soap *soap, const char *tag, int id, enum ngwt__CursorSeek *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CursorSeek); + if (id < 0) + return soap->error; + return soap_out_ngwt__CursorSeek(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_get_PointerTongwt__CursorSeek(struct soap *soap, enum ngwt__CursorSeek **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CursorSeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_in_PointerTongwt__CursorSeek(struct soap *soap, const char *tag, enum ngwt__CursorSeek **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__CursorSeek **)soap_malloc(soap, sizeof(enum ngwt__CursorSeek *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__CursorSeek(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__CursorSeek **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CursorSeek, sizeof(enum ngwt__CursorSeek), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRightChanges)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRightChanges); + if (soap_out_PointerTongwt__AccessRightChanges(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightChanges(struct soap *soap, const char *tag, int id, ngwt__AccessRightChanges *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRightChanges); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightChanges(struct soap *soap, ngwt__AccessRightChanges **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessRightChanges(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightChanges(struct soap *soap, const char *tag, ngwt__AccessRightChanges **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessRightChanges **)soap_malloc(soap, sizeof(ngwt__AccessRightChanges *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessRightChanges *)soap_instantiate_ngwt__AccessRightChanges(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessRightChanges **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightChanges, sizeof(ngwt__AccessRightChanges), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ModifyItem)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ModifyItem(struct soap *soap, ngwt__ModifyItem *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ModifyItem); + if (soap_out_PointerTongwt__ModifyItem(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ModifyItem(struct soap *soap, const char *tag, int id, ngwt__ModifyItem *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ModifyItem); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_get_PointerTongwt__ModifyItem(struct soap *soap, ngwt__ModifyItem **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ModifyItem(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_in_PointerTongwt__ModifyItem(struct soap *soap, const char *tag, ngwt__ModifyItem **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ModifyItem **)soap_malloc(soap, sizeof(ngwt__ModifyItem *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ModifyItem *)soap_instantiate_ngwt__ModifyItem(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ModifyItem **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ModifyItem, sizeof(ngwt__ModifyItem), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Host(struct soap *soap, ngwt__Host *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Host)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Host(struct soap *soap, ngwt__Host *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Host); + if (soap_out_PointerTongwt__Host(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Host(struct soap *soap, const char *tag, int id, ngwt__Host *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Host); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_get_PointerTongwt__Host(struct soap *soap, ngwt__Host **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Host(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_in_PointerTongwt__Host(struct soap *soap, const char *tag, ngwt__Host **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Host **)soap_malloc(soap, sizeof(ngwt__Host *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Host *)soap_instantiate_ngwt__Host(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Host **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Host, sizeof(ngwt__Host), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Authentication(struct soap *soap, ngwt__Authentication *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Authentication)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Authentication(struct soap *soap, ngwt__Authentication *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Authentication); + if (soap_out_PointerTongwt__Authentication(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Authentication(struct soap *soap, const char *tag, int id, ngwt__Authentication *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Authentication); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_get_PointerTongwt__Authentication(struct soap *soap, ngwt__Authentication **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Authentication(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_in_PointerTongwt__Authentication(struct soap *soap, const char *tag, ngwt__Authentication **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Authentication **)soap_malloc(soap, sizeof(ngwt__Authentication *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Authentication *)soap_instantiate_ngwt__Authentication(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Authentication **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Authentication, sizeof(ngwt__Authentication), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserList(struct soap *soap, ngwt__UserList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__UserList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserList(struct soap *soap, ngwt__UserList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__UserList); + if (soap_out_PointerTongwt__UserList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserList(struct soap *soap, const char *tag, int id, ngwt__UserList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__UserList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_get_PointerTongwt__UserList(struct soap *soap, ngwt__UserList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__UserList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_in_PointerTongwt__UserList(struct soap *soap, const char *tag, ngwt__UserList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__UserList **)soap_malloc(soap, sizeof(ngwt__UserList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__UserList *)soap_instantiate_ngwt__UserList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__UserList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserList, sizeof(ngwt__UserList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__TimezoneList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneList(struct soap *soap, ngwt__TimezoneList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__TimezoneList); + if (soap_out_PointerTongwt__TimezoneList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneList(struct soap *soap, const char *tag, int id, ngwt__TimezoneList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__TimezoneList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneList(struct soap *soap, ngwt__TimezoneList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__TimezoneList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneList(struct soap *soap, const char *tag, ngwt__TimezoneList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__TimezoneList **)soap_malloc(soap, sizeof(ngwt__TimezoneList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__TimezoneList *)soap_instantiate_ngwt__TimezoneList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__TimezoneList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneList, sizeof(ngwt__TimezoneList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signatures(struct soap *soap, ngwt__Signatures *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Signatures)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signatures(struct soap *soap, ngwt__Signatures *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Signatures); + if (soap_out_PointerTongwt__Signatures(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signatures(struct soap *soap, const char *tag, int id, ngwt__Signatures *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Signatures); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_get_PointerTongwt__Signatures(struct soap *soap, ngwt__Signatures **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Signatures(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_in_PointerTongwt__Signatures(struct soap *soap, const char *tag, ngwt__Signatures **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Signatures **)soap_malloc(soap, sizeof(ngwt__Signatures *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Signatures *)soap_instantiate_ngwt__Signatures(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Signatures **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signatures, sizeof(ngwt__Signatures), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Settings(struct soap *soap, ngwt__Settings *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Settings)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Settings(struct soap *soap, ngwt__Settings *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Settings); + if (soap_out_PointerTongwt__Settings(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Settings(struct soap *soap, const char *tag, int id, ngwt__Settings *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Settings); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_get_PointerTongwt__Settings(struct soap *soap, ngwt__Settings **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Settings(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_in_PointerTongwt__Settings(struct soap *soap, const char *tag, ngwt__Settings **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Settings **)soap_malloc(soap, sizeof(ngwt__Settings *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Settings *)soap_instantiate_ngwt__Settings(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Settings **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Settings, sizeof(ngwt__Settings), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleList(struct soap *soap, ngwt__RuleList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RuleList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleList(struct soap *soap, ngwt__RuleList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RuleList); + if (soap_out_PointerTongwt__RuleList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleList(struct soap *soap, const char *tag, int id, ngwt__RuleList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RuleList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleList(struct soap *soap, ngwt__RuleList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RuleList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleList(struct soap *soap, const char *tag, ngwt__RuleList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RuleList **)soap_malloc(soap, sizeof(ngwt__RuleList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RuleList *)soap_instantiate_ngwt__RuleList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RuleList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleList, sizeof(ngwt__RuleList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyList(struct soap *soap, ngwt__ProxyList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProxyList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyList(struct soap *soap, ngwt__ProxyList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProxyList); + if (soap_out_PointerTongwt__ProxyList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyList(struct soap *soap, const char *tag, int id, ngwt__ProxyList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProxyList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyList(struct soap *soap, ngwt__ProxyList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ProxyList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyList(struct soap *soap, const char *tag, ngwt__ProxyList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ProxyList **)soap_malloc(soap, sizeof(ngwt__ProxyList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ProxyList *)soap_instantiate_ngwt__ProxyList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ProxyList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyList, sizeof(ngwt__ProxyList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRightList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightList(struct soap *soap, ngwt__AccessRightList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRightList); + if (soap_out_PointerTongwt__AccessRightList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightList(struct soap *soap, const char *tag, int id, ngwt__AccessRightList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRightList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightList(struct soap *soap, ngwt__AccessRightList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessRightList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightList(struct soap *soap, const char *tag, ngwt__AccessRightList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessRightList **)soap_malloc(soap, sizeof(ngwt__AccessRightList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessRightList *)soap_instantiate_ngwt__AccessRightList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessRightList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightList, sizeof(ngwt__AccessRightList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LibraryList(struct soap *soap, ngwt__LibraryList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__LibraryList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LibraryList(struct soap *soap, ngwt__LibraryList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__LibraryList); + if (soap_out_PointerTongwt__LibraryList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LibraryList(struct soap *soap, const char *tag, int id, ngwt__LibraryList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__LibraryList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_get_PointerTongwt__LibraryList(struct soap *soap, ngwt__LibraryList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__LibraryList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_in_PointerTongwt__LibraryList(struct soap *soap, const char *tag, ngwt__LibraryList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__LibraryList **)soap_malloc(soap, sizeof(ngwt__LibraryList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__LibraryList *)soap_instantiate_ngwt__LibraryList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__LibraryList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__LibraryList, sizeof(ngwt__LibraryList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsList(struct soap *soap, ngwt__SettingsList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SettingsList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsList(struct soap *soap, ngwt__SettingsList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SettingsList); + if (soap_out_PointerTongwt__SettingsList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsList(struct soap *soap, const char *tag, int id, ngwt__SettingsList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SettingsList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsList(struct soap *soap, ngwt__SettingsList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SettingsList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsList(struct soap *soap, const char *tag, ngwt__SettingsList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SettingsList **)soap_malloc(soap, sizeof(ngwt__SettingsList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SettingsList *)soap_instantiate_ngwt__SettingsList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SettingsList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsList, sizeof(ngwt__SettingsList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__JunkHandlingList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__JunkHandlingList); + if (soap_out_PointerTongwt__JunkHandlingList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingList(struct soap *soap, const char *tag, int id, ngwt__JunkHandlingList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__JunkHandlingList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingList(struct soap *soap, ngwt__JunkHandlingList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__JunkHandlingList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingList(struct soap *soap, const char *tag, ngwt__JunkHandlingList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__JunkHandlingList **)soap_malloc(soap, sizeof(ngwt__JunkHandlingList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__JunkHandlingList *)soap_instantiate_ngwt__JunkHandlingList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__JunkHandlingList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingList, sizeof(ngwt__JunkHandlingList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyInfoList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyInfoList); + if (soap_out_PointerTongwt__FreeBusyInfoList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfoList(struct soap *soap, const char *tag, int id, ngwt__FreeBusyInfoList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyInfoList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfoList(struct soap *soap, ngwt__FreeBusyInfoList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FreeBusyInfoList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfoList(struct soap *soap, const char *tag, ngwt__FreeBusyInfoList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FreeBusyInfoList **)soap_malloc(soap, sizeof(ngwt__FreeBusyInfoList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FreeBusyInfoList *)soap_instantiate_ngwt__FreeBusyInfoList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FreeBusyInfoList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfoList, sizeof(ngwt__FreeBusyInfoList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyStats)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyStats); + if (soap_out_PointerTongwt__FreeBusyStats(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyStats(struct soap *soap, const char *tag, int id, ngwt__FreeBusyStats *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyStats); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyStats(struct soap *soap, ngwt__FreeBusyStats **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FreeBusyStats(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyStats(struct soap *soap, const char *tag, ngwt__FreeBusyStats **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FreeBusyStats **)soap_malloc(soap, sizeof(ngwt__FreeBusyStats *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FreeBusyStats *)soap_instantiate_ngwt__FreeBusyStats(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FreeBusyStats **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyStats, sizeof(ngwt__FreeBusyStats), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderList(struct soap *soap, ngwt__FolderList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderList(struct soap *soap, ngwt__FolderList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderList); + if (soap_out_PointerTongwt__FolderList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderList(struct soap *soap, const char *tag, int id, ngwt__FolderList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_get_PointerTongwt__FolderList(struct soap *soap, ngwt__FolderList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FolderList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_in_PointerTongwt__FolderList(struct soap *soap, const char *tag, ngwt__FolderList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FolderList **)soap_malloc(soap, sizeof(ngwt__FolderList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FolderList *)soap_instantiate_ngwt__FolderList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FolderList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderList, sizeof(ngwt__FolderList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemSourceList); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemSourceList); + if (soap_out_PointerTongwt__ItemSourceList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSourceList(struct soap *soap, const char *tag, int id, enum ngwt__ItemSourceList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemSourceList); + if (id < 0) + return soap->error; + return soap_out_ngwt__ItemSourceList(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSourceList(struct soap *soap, enum ngwt__ItemSourceList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemSourceList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSourceList(struct soap *soap, const char *tag, enum ngwt__ItemSourceList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__ItemSourceList **)soap_malloc(soap, sizeof(enum ngwt__ItemSourceList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__ItemSourceList(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__ItemSourceList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemSourceList, sizeof(enum ngwt__ItemSourceList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__MessageTypeList); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MessageTypeList); + if (soap_out_PointerTongwt__MessageTypeList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageTypeList(struct soap *soap, const char *tag, int id, enum ngwt__MessageTypeList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MessageTypeList); + if (id < 0) + return soap->error; + return soap_out_ngwt__MessageTypeList(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__MessageTypeList(struct soap *soap, enum ngwt__MessageTypeList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__MessageTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__MessageTypeList(struct soap *soap, const char *tag, enum ngwt__MessageTypeList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__MessageTypeList **)soap_malloc(soap, sizeof(enum ngwt__MessageTypeList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__MessageTypeList(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__MessageTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessageTypeList, sizeof(enum ngwt__MessageTypeList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderType(struct soap *soap, enum ngwt__FolderType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderType(struct soap *soap, enum ngwt__FolderType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderType); + if (soap_out_PointerTongwt__FolderType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderType(struct soap *soap, const char *tag, int id, enum ngwt__FolderType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderType); + if (id < 0) + return soap->error; + return soap_out_ngwt__FolderType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_get_PointerTongwt__FolderType(struct soap *soap, enum ngwt__FolderType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FolderType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_in_PointerTongwt__FolderType(struct soap *soap, const char *tag, enum ngwt__FolderType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__FolderType **)soap_malloc(soap, sizeof(enum ngwt__FolderType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__FolderType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__FolderType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderType, sizeof(enum ngwt__FolderType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DocumentTypeList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DocumentTypeList); + if (soap_out_PointerTongwt__DocumentTypeList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentTypeList(struct soap *soap, const char *tag, int id, ngwt__DocumentTypeList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DocumentTypeList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentTypeList(struct soap *soap, ngwt__DocumentTypeList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DocumentTypeList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentTypeList(struct soap *soap, const char *tag, ngwt__DocumentTypeList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DocumentTypeList **)soap_malloc(soap, sizeof(ngwt__DocumentTypeList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DocumentTypeList *)soap_instantiate_ngwt__DocumentTypeList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DocumentTypeList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentTypeList, sizeof(ngwt__DocumentTypeList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Items(struct soap *soap, ngwt__Items *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Items)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Items(struct soap *soap, ngwt__Items *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Items); + if (soap_out_PointerTongwt__Items(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Items(struct soap *soap, const char *tag, int id, ngwt__Items *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Items); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_get_PointerTongwt__Items(struct soap *soap, ngwt__Items **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Items(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_in_PointerTongwt__Items(struct soap *soap, const char *tag, ngwt__Items **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Items **)soap_malloc(soap, sizeof(ngwt__Items *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Items *)soap_instantiate_ngwt__Items(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Items **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Items, sizeof(ngwt__Items), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DeltaInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DeltaInfo); + if (soap_out_PointerTongwt__DeltaInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaInfo(struct soap *soap, const char *tag, int id, ngwt__DeltaInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DeltaInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaInfo(struct soap *soap, ngwt__DeltaInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DeltaInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaInfo(struct soap *soap, const char *tag, ngwt__DeltaInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DeltaInfo **)soap_malloc(soap, sizeof(ngwt__DeltaInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DeltaInfo *)soap_instantiate_ngwt__DeltaInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DeltaInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DeltaInfo, sizeof(ngwt__DeltaInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomList(struct soap *soap, ngwt__CustomList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CustomList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomList(struct soap *soap, ngwt__CustomList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CustomList); + if (soap_out_PointerTongwt__CustomList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomList(struct soap *soap, const char *tag, int id, ngwt__CustomList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CustomList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_get_PointerTongwt__CustomList(struct soap *soap, ngwt__CustomList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CustomList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_in_PointerTongwt__CustomList(struct soap *soap, const char *tag, ngwt__CustomList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__CustomList **)soap_malloc(soap, sizeof(ngwt__CustomList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__CustomList *)soap_instantiate_ngwt__CustomList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__CustomList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomList, sizeof(ngwt__CustomList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryList(struct soap *soap, ngwt__CategoryList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CategoryList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryList(struct soap *soap, ngwt__CategoryList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CategoryList); + if (soap_out_PointerTongwt__CategoryList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryList(struct soap *soap, const char *tag, int id, ngwt__CategoryList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CategoryList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryList(struct soap *soap, ngwt__CategoryList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CategoryList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryList(struct soap *soap, const char *tag, ngwt__CategoryList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__CategoryList **)soap_malloc(soap, sizeof(ngwt__CategoryList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__CategoryList *)soap_instantiate_ngwt__CategoryList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__CategoryList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryList, sizeof(ngwt__CategoryList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AddressBookList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBookList(struct soap *soap, ngwt__AddressBookList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AddressBookList); + if (soap_out_PointerTongwt__AddressBookList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBookList(struct soap *soap, const char *tag, int id, ngwt__AddressBookList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AddressBookList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBookList(struct soap *soap, ngwt__AddressBookList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AddressBookList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBookList(struct soap *soap, const char *tag, ngwt__AddressBookList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AddressBookList **)soap_malloc(soap, sizeof(ngwt__AddressBookList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AddressBookList *)soap_instantiate_ngwt__AddressBookList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AddressBookList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBookList, sizeof(ngwt__AddressBookList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Distribution(struct soap *soap, ngwt__Distribution *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Distribution)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Distribution(struct soap *soap, ngwt__Distribution *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Distribution); + if (soap_out_PointerTongwt__Distribution(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Distribution(struct soap *soap, const char *tag, int id, ngwt__Distribution *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Distribution); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_get_PointerTongwt__Distribution(struct soap *soap, ngwt__Distribution **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Distribution(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_in_PointerTongwt__Distribution(struct soap *soap, const char *tag, ngwt__Distribution **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Distribution **)soap_malloc(soap, sizeof(ngwt__Distribution *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Distribution *)soap_instantiate_ngwt__Distribution(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Distribution **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Distribution, sizeof(ngwt__Distribution), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__View(struct soap *soap, std::string *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__View)) + soap_serialize_ngwt__View(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__View(struct soap *soap, std::string *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__View); + if (soap_out_PointerTongwt__View(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__View(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__View); + if (id < 0) + return soap->error; + return soap_out_ngwt__View(soap, tag, id, *a, type); +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__View(struct soap *soap, std::string **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__View(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__View(struct soap *soap, const char *tag, std::string **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__View(soap, tag, *a, type))) + return NULL; + } + else + { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__View, sizeof(std::string), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Status(struct soap *soap, ngwt__Status *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Status)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Status(struct soap *soap, ngwt__Status *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Status); + if (soap_out_PointerTongwt__Status(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Status(struct soap *soap, const char *tag, int id, ngwt__Status *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Status); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_get_PointerTongwt__Status(struct soap *soap, ngwt__Status **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Status(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_in_PointerTongwt__Status(struct soap *soap, const char *tag, ngwt__Status **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Status **)soap_malloc(soap, sizeof(ngwt__Status *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Status *)soap_instantiate_ngwt__Status(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Status **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Status, sizeof(ngwt__Status), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemRefList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRefList(struct soap *soap, ngwt__ItemRefList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemRefList); + if (soap_out_PointerTongwt__ItemRefList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRefList(struct soap *soap, const char *tag, int id, ngwt__ItemRefList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemRefList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRefList(struct soap *soap, ngwt__ItemRefList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemRefList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRefList(struct soap *soap, const char *tag, ngwt__ItemRefList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ItemRefList **)soap_malloc(soap, sizeof(ngwt__ItemRefList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ItemRefList *)soap_instantiate_ngwt__ItemRefList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ItemRefList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemRefList, sizeof(ngwt__ItemRefList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserInfo(struct soap *soap, ngwt__UserInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__UserInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserInfo(struct soap *soap, ngwt__UserInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__UserInfo); + if (soap_out_PointerTongwt__UserInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserInfo(struct soap *soap, const char *tag, int id, ngwt__UserInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__UserInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_get_PointerTongwt__UserInfo(struct soap *soap, ngwt__UserInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__UserInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_in_PointerTongwt__UserInfo(struct soap *soap, const char *tag, ngwt__UserInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__UserInfo **)soap_malloc(soap, sizeof(ngwt__UserInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__UserInfo *)soap_instantiate_ngwt__UserInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__UserInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UserInfo, sizeof(ngwt__UserInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__RecipientType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientType(struct soap *soap, enum ngwt__RecipientType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecipientType); + if (soap_out_PointerTongwt__RecipientType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientType(struct soap *soap, const char *tag, int id, enum ngwt__RecipientType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecipientType); + if (id < 0) + return soap->error; + return soap_out_ngwt__RecipientType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientType(struct soap *soap, enum ngwt__RecipientType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RecipientType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientType(struct soap *soap, const char *tag, enum ngwt__RecipientType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__RecipientType **)soap_malloc(soap, sizeof(enum ngwt__RecipientType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__RecipientType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__RecipientType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientType, sizeof(enum ngwt__RecipientType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Timezone(struct soap *soap, ngwt__Timezone *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Timezone)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Timezone(struct soap *soap, ngwt__Timezone *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Timezone); + if (soap_out_PointerTongwt__Timezone(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Timezone(struct soap *soap, const char *tag, int id, ngwt__Timezone *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Timezone); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_get_PointerTongwt__Timezone(struct soap *soap, ngwt__Timezone **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Timezone(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_in_PointerTongwt__Timezone(struct soap *soap, const char *tag, ngwt__Timezone **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Timezone **)soap_malloc(soap, sizeof(ngwt__Timezone *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Timezone *)soap_instantiate_ngwt__Timezone(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Timezone **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Timezone, sizeof(ngwt__Timezone), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Minute(struct soap *soap, unsigned char *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__Minute); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Minute(struct soap *soap, unsigned char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Minute); + if (soap_out_PointerTongwt__Minute(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Minute(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Minute); + if (id < 0) + return soap->error; + return soap_out_ngwt__Minute(soap, tag, id, *a, type); +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Minute(struct soap *soap, unsigned char **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Minute(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Minute(struct soap *soap, const char *tag, unsigned char **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__Minute(soap, tag, *a, type))) + return NULL; + } + else + { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Minute, sizeof(unsigned char), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Hour(struct soap *soap, unsigned char *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__Hour); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Hour(struct soap *soap, unsigned char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Hour); + if (soap_out_PointerTongwt__Hour(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Hour(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Hour); + if (id < 0) + return soap->error; + return soap_out_ngwt__Hour(soap, tag, id, *a, type); +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Hour(struct soap *soap, unsigned char **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Hour(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Hour(struct soap *soap, const char *tag, unsigned char **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__Hour(soap, tag, *a, type))) + return NULL; + } + else + { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Hour, sizeof(unsigned char), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfWeek)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfWeek); + if (soap_out_PointerTongwt__DayOfWeek(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfWeek(struct soap *soap, const char *tag, int id, ngwt__DayOfWeek *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfWeek); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfWeek(struct soap *soap, ngwt__DayOfWeek **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DayOfWeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfWeek(struct soap *soap, const char *tag, ngwt__DayOfWeek **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DayOfWeek **)soap_malloc(soap, sizeof(ngwt__DayOfWeek *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DayOfWeek *)soap_instantiate_ngwt__DayOfWeek(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DayOfWeek **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfWeek, sizeof(ngwt__DayOfWeek), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Day(struct soap *soap, unsigned char *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__Day); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Day(struct soap *soap, unsigned char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Day); + if (soap_out_PointerTongwt__Day(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Day(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Day); + if (id < 0) + return soap->error; + return soap_out_ngwt__Day(soap, tag, id, *a, type); +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Day(struct soap *soap, unsigned char **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Day(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Day(struct soap *soap, const char *tag, unsigned char **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__Day(soap, tag, *a, type))) + return NULL; + } + else + { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Day, sizeof(unsigned char), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Month(struct soap *soap, unsigned char *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__Month); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Month(struct soap *soap, unsigned char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Month); + if (soap_out_PointerTongwt__Month(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Month(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Month); + if (id < 0) + return soap->error; + return soap_out_ngwt__Month(soap, tag, id, *a, type); +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Month(struct soap *soap, unsigned char **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Month(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Month(struct soap *soap, const char *tag, unsigned char **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__Month(soap, tag, *a, type))) + return NULL; + } + else + { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Month, sizeof(unsigned char), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__TimezoneComponent)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__TimezoneComponent); + if (soap_out_PointerTongwt__TimezoneComponent(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneComponent(struct soap *soap, const char *tag, int id, ngwt__TimezoneComponent *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__TimezoneComponent); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneComponent(struct soap *soap, ngwt__TimezoneComponent **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__TimezoneComponent(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneComponent(struct soap *soap, const char *tag, ngwt__TimezoneComponent **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__TimezoneComponent **)soap_malloc(soap, sizeof(ngwt__TimezoneComponent *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__TimezoneComponent *)soap_instantiate_ngwt__TimezoneComponent(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__TimezoneComponent **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TimezoneComponent, sizeof(ngwt__TimezoneComponent), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemList(struct soap *soap, ngwt__ProblemList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProblemList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemList(struct soap *soap, ngwt__ProblemList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProblemList); + if (soap_out_PointerTongwt__ProblemList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemList(struct soap *soap, const char *tag, int id, ngwt__ProblemList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProblemList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemList(struct soap *soap, ngwt__ProblemList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ProblemList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemList(struct soap *soap, const char *tag, ngwt__ProblemList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ProblemList **)soap_malloc(soap, sizeof(ngwt__ProblemList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ProblemList *)soap_instantiate_ngwt__ProblemList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ProblemList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemList, sizeof(ngwt__ProblemList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signature(struct soap *soap, ngwt__Signature *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Signature)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signature(struct soap *soap, ngwt__Signature *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Signature); + if (soap_out_PointerTongwt__Signature(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signature(struct soap *soap, const char *tag, int id, ngwt__Signature *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Signature); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_get_PointerTongwt__Signature(struct soap *soap, ngwt__Signature **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Signature(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_in_PointerTongwt__Signature(struct soap *soap, const char *tag, ngwt__Signature **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Signature **)soap_malloc(soap, sizeof(ngwt__Signature *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Signature *)soap_instantiate_ngwt__Signature(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Signature **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Signature, sizeof(ngwt__Signature), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SignatureData(struct soap *soap, ngwt__SignatureData *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SignatureData)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SignatureData(struct soap *soap, ngwt__SignatureData *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SignatureData); + if (soap_out_PointerTongwt__SignatureData(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SignatureData(struct soap *soap, const char *tag, int id, ngwt__SignatureData *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SignatureData); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_get_PointerTongwt__SignatureData(struct soap *soap, ngwt__SignatureData **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SignatureData(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_in_PointerTongwt__SignatureData(struct soap *soap, const char *tag, ngwt__SignatureData **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SignatureData **)soap_malloc(soap, sizeof(ngwt__SignatureData *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SignatureData *)soap_instantiate_ngwt__SignatureData(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SignatureData **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SignatureData, sizeof(ngwt__SignatureData), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SettingsGroup)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SettingsGroup); + if (soap_out_PointerTongwt__SettingsGroup(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsGroup(struct soap *soap, const char *tag, int id, ngwt__SettingsGroup *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SettingsGroup); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsGroup(struct soap *soap, ngwt__SettingsGroup **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SettingsGroup(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsGroup(struct soap *soap, const char *tag, ngwt__SettingsGroup **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SettingsGroup **)soap_malloc(soap, sizeof(ngwt__SettingsGroup *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SettingsGroup *)soap_instantiate_ngwt__SettingsGroup(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SettingsGroup **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SettingsGroup, sizeof(ngwt__SettingsGroup), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ReturnNotification)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ReturnNotification); + if (soap_out_PointerTongwt__ReturnNotification(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotification(struct soap *soap, const char *tag, int id, ngwt__ReturnNotification *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ReturnNotification); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotification(struct soap *soap, ngwt__ReturnNotification **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ReturnNotification(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotification(struct soap *soap, const char *tag, ngwt__ReturnNotification **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ReturnNotification **)soap_malloc(soap, sizeof(ngwt__ReturnNotification *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ReturnNotification *)soap_instantiate_ngwt__ReturnNotification(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ReturnNotification **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotification, sizeof(ngwt__ReturnNotification), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__StatusTracking)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__StatusTracking(struct soap *soap, ngwt__StatusTracking *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__StatusTracking); + if (soap_out_PointerTongwt__StatusTracking(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__StatusTracking(struct soap *soap, const char *tag, int id, ngwt__StatusTracking *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__StatusTracking); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_get_PointerTongwt__StatusTracking(struct soap *soap, ngwt__StatusTracking **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__StatusTracking(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_in_PointerTongwt__StatusTracking(struct soap *soap, const char *tag, ngwt__StatusTracking **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__StatusTracking **)soap_malloc(soap, sizeof(ngwt__StatusTracking *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__StatusTracking *)soap_instantiate_ngwt__StatusTracking(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__StatusTracking **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__StatusTracking, sizeof(ngwt__StatusTracking), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SendOptionsRequestReply)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SendOptionsRequestReply); + if (soap_out_PointerTongwt__SendOptionsRequestReply(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptionsRequestReply(struct soap *soap, const char *tag, int id, ngwt__SendOptionsRequestReply *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SendOptionsRequestReply); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptionsRequestReply(struct soap *soap, ngwt__SendOptionsRequestReply **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SendOptionsRequestReply(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptionsRequestReply(struct soap *soap, const char *tag, ngwt__SendOptionsRequestReply **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SendOptionsRequestReply **)soap_malloc(soap, sizeof(ngwt__SendOptionsRequestReply *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SendOptionsRequestReply *)soap_instantiate_ngwt__SendOptionsRequestReply(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SendOptionsRequestReply **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptionsRequestReply, sizeof(ngwt__SendOptionsRequestReply), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rule(struct soap *soap, ngwt__Rule *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Rule)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rule(struct soap *soap, ngwt__Rule *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Rule); + if (soap_out_PointerTongwt__Rule(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rule(struct soap *soap, const char *tag, int id, ngwt__Rule *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Rule); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_get_PointerTongwt__Rule(struct soap *soap, ngwt__Rule **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Rule(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_in_PointerTongwt__Rule(struct soap *soap, const char *tag, ngwt__Rule **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Rule **)soap_malloc(soap, sizeof(ngwt__Rule *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Rule *)soap_instantiate_ngwt__Rule(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Rule **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Rule, sizeof(ngwt__Rule), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleAction(struct soap *soap, ngwt__RuleAction *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RuleAction)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleAction(struct soap *soap, ngwt__RuleAction *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RuleAction); + if (soap_out_PointerTongwt__RuleAction(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleAction(struct soap *soap, const char *tag, int id, ngwt__RuleAction *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RuleAction); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_get_PointerTongwt__RuleAction(struct soap *soap, ngwt__RuleAction **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RuleAction(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_in_PointerTongwt__RuleAction(struct soap *soap, const char *tag, ngwt__RuleAction **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RuleAction **)soap_malloc(soap, sizeof(ngwt__RuleAction *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RuleAction *)soap_instantiate_ngwt__RuleAction(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RuleAction **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RuleAction, sizeof(ngwt__RuleAction), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CategoryRefList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CategoryRefList); + if (soap_out_PointerTongwt__CategoryRefList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryRefList(struct soap *soap, const char *tag, int id, ngwt__CategoryRefList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CategoryRefList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryRefList(struct soap *soap, ngwt__CategoryRefList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CategoryRefList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryRefList(struct soap *soap, const char *tag, ngwt__CategoryRefList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__CategoryRefList **)soap_malloc(soap, sizeof(ngwt__CategoryRefList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__CategoryRefList *)soap_instantiate_ngwt__CategoryRefList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__CategoryRefList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CategoryRefList, sizeof(ngwt__CategoryRefList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Mail(struct soap *soap, ngwt__Mail *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Mail)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Mail(struct soap *soap, ngwt__Mail *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Mail); + if (soap_out_PointerTongwt__Mail(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Mail(struct soap *soap, const char *tag, int id, ngwt__Mail *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Mail); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_get_PointerTongwt__Mail(struct soap *soap, ngwt__Mail **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Mail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_in_PointerTongwt__Mail(struct soap *soap, const char *tag, ngwt__Mail **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Mail **)soap_malloc(soap, sizeof(ngwt__Mail *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Mail *)soap_instantiate_ngwt__Mail(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Mail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Mail, sizeof(ngwt__Mail), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ReturnNotificationOptions)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ReturnNotificationOptions); + if (soap_out_PointerTongwt__ReturnNotificationOptions(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotificationOptions(struct soap *soap, const char *tag, int id, ngwt__ReturnNotificationOptions *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ReturnNotificationOptions); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotificationOptions(struct soap *soap, ngwt__ReturnNotificationOptions **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ReturnNotificationOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotificationOptions(struct soap *soap, const char *tag, ngwt__ReturnNotificationOptions **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ReturnNotificationOptions **)soap_malloc(soap, sizeof(ngwt__ReturnNotificationOptions *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ReturnNotificationOptions *)soap_instantiate_ngwt__ReturnNotificationOptions(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ReturnNotificationOptions **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ReturnNotificationOptions, sizeof(ngwt__ReturnNotificationOptions), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MonthList(struct soap *soap, ngwt__MonthList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__MonthList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MonthList(struct soap *soap, ngwt__MonthList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MonthList); + if (soap_out_PointerTongwt__MonthList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MonthList(struct soap *soap, const char *tag, int id, ngwt__MonthList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MonthList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_get_PointerTongwt__MonthList(struct soap *soap, ngwt__MonthList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__MonthList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_in_PointerTongwt__MonthList(struct soap *soap, const char *tag, ngwt__MonthList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__MonthList **)soap_malloc(soap, sizeof(ngwt__MonthList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__MonthList *)soap_instantiate_ngwt__MonthList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__MonthList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MonthList, sizeof(ngwt__MonthList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfYearList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfYearList); + if (soap_out_PointerTongwt__DayOfYearList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearList(struct soap *soap, const char *tag, int id, ngwt__DayOfYearList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfYearList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearList(struct soap *soap, ngwt__DayOfYearList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DayOfYearList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearList(struct soap *soap, const char *tag, ngwt__DayOfYearList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DayOfYearList **)soap_malloc(soap, sizeof(ngwt__DayOfYearList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DayOfYearList *)soap_instantiate_ngwt__DayOfYearList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DayOfYearList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearList, sizeof(ngwt__DayOfYearList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfMonthList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfMonthList); + if (soap_out_PointerTongwt__DayOfMonthList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfMonthList(struct soap *soap, const char *tag, int id, ngwt__DayOfMonthList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfMonthList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfMonthList(struct soap *soap, ngwt__DayOfMonthList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DayOfMonthList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfMonthList(struct soap *soap, const char *tag, ngwt__DayOfMonthList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DayOfMonthList **)soap_malloc(soap, sizeof(ngwt__DayOfMonthList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DayOfMonthList *)soap_instantiate_ngwt__DayOfMonthList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DayOfMonthList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfMonthList, sizeof(ngwt__DayOfMonthList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfYearWeekList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfYearWeekList); + if (soap_out_PointerTongwt__DayOfYearWeekList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeekList(struct soap *soap, const char *tag, int id, ngwt__DayOfYearWeekList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfYearWeekList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeekList(struct soap *soap, ngwt__DayOfYearWeekList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DayOfYearWeekList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeekList(struct soap *soap, const char *tag, ngwt__DayOfYearWeekList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DayOfYearWeekList **)soap_malloc(soap, sizeof(ngwt__DayOfYearWeekList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DayOfYearWeekList *)soap_instantiate_ngwt__DayOfYearWeekList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DayOfYearWeekList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearWeekList, sizeof(ngwt__DayOfYearWeekList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Frequency(struct soap *soap, enum ngwt__Frequency *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__Frequency); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Frequency(struct soap *soap, enum ngwt__Frequency *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Frequency); + if (soap_out_PointerTongwt__Frequency(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Frequency(struct soap *soap, const char *tag, int id, enum ngwt__Frequency *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Frequency); + if (id < 0) + return soap->error; + return soap_out_ngwt__Frequency(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_get_PointerTongwt__Frequency(struct soap *soap, enum ngwt__Frequency **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Frequency(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_in_PointerTongwt__Frequency(struct soap *soap, const char *tag, enum ngwt__Frequency **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__Frequency **)soap_malloc(soap, sizeof(enum ngwt__Frequency *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__Frequency(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__Frequency **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Frequency, sizeof(enum ngwt__Frequency), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DelegateeStatus)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DelegateeStatus); + if (soap_out_PointerTongwt__DelegateeStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, int id, ngwt__DelegateeStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DelegateeStatus); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegateeStatus(struct soap *soap, ngwt__DelegateeStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DelegateeStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, ngwt__DelegateeStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DelegateeStatus **)soap_malloc(soap, sizeof(ngwt__DelegateeStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DelegateeStatus *)soap_instantiate_ngwt__DelegateeStatus(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DelegateeStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DelegateeStatus, sizeof(ngwt__DelegateeStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DelegatedStatus)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DelegatedStatus); + if (soap_out_PointerTongwt__DelegatedStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegatedStatus(struct soap *soap, const char *tag, int id, ngwt__DelegatedStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DelegatedStatus); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegatedStatus(struct soap *soap, ngwt__DelegatedStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DelegatedStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegatedStatus(struct soap *soap, const char *tag, ngwt__DelegatedStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DelegatedStatus **)soap_malloc(soap, sizeof(ngwt__DelegatedStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DelegatedStatus *)soap_instantiate_ngwt__DelegatedStatus(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DelegatedStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DelegatedStatus, sizeof(ngwt__DelegatedStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__CommentStatus)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CommentStatus(struct soap *soap, ngwt__CommentStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CommentStatus); + if (soap_out_PointerTongwt__CommentStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CommentStatus(struct soap *soap, const char *tag, int id, ngwt__CommentStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CommentStatus); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_get_PointerTongwt__CommentStatus(struct soap *soap, ngwt__CommentStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CommentStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_in_PointerTongwt__CommentStatus(struct soap *soap, const char *tag, ngwt__CommentStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__CommentStatus **)soap_malloc(soap, sizeof(ngwt__CommentStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__CommentStatus *)soap_instantiate_ngwt__CommentStatus(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__CommentStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CommentStatus, sizeof(ngwt__CommentStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__TransferFailedStatus)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__TransferFailedStatus); + if (soap_out_PointerTongwt__TransferFailedStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TransferFailedStatus(struct soap *soap, const char *tag, int id, ngwt__TransferFailedStatus *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__TransferFailedStatus); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__TransferFailedStatus(struct soap *soap, ngwt__TransferFailedStatus **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__TransferFailedStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__TransferFailedStatus(struct soap *soap, const char *tag, ngwt__TransferFailedStatus **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__TransferFailedStatus **)soap_malloc(soap, sizeof(ngwt__TransferFailedStatus *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__TransferFailedStatus *)soap_instantiate_ngwt__TransferFailedStatus(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__TransferFailedStatus **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__TransferFailedStatus, sizeof(ngwt__TransferFailedStatus), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Recipient(struct soap *soap, ngwt__Recipient *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Recipient)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Recipient(struct soap *soap, ngwt__Recipient *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Recipient); + if (soap_out_PointerTongwt__Recipient(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Recipient(struct soap *soap, const char *tag, int id, ngwt__Recipient *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Recipient); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_get_PointerTongwt__Recipient(struct soap *soap, ngwt__Recipient **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Recipient(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_in_PointerTongwt__Recipient(struct soap *soap, const char *tag, ngwt__Recipient **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Recipient **)soap_malloc(soap, sizeof(ngwt__Recipient *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Recipient *)soap_instantiate_ngwt__Recipient(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Recipient **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Recipient, sizeof(ngwt__Recipient), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Filter(struct soap *soap, ngwt__Filter *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Filter)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Filter(struct soap *soap, ngwt__Filter *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Filter); + if (soap_out_PointerTongwt__Filter(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Filter(struct soap *soap, const char *tag, int id, ngwt__Filter *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Filter); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_get_PointerTongwt__Filter(struct soap *soap, ngwt__Filter **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Filter(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_in_PointerTongwt__Filter(struct soap *soap, const char *tag, ngwt__Filter **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Filter **)soap_malloc(soap, sizeof(ngwt__Filter *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Filter *)soap_instantiate_ngwt__Filter(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Filter **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Filter, sizeof(ngwt__Filter), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__QueryTarget)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__QueryTarget(struct soap *soap, ngwt__QueryTarget *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__QueryTarget); + if (soap_out_PointerTongwt__QueryTarget(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__QueryTarget(struct soap *soap, const char *tag, int id, ngwt__QueryTarget *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__QueryTarget); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_get_PointerTongwt__QueryTarget(struct soap *soap, ngwt__QueryTarget **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__QueryTarget(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_in_PointerTongwt__QueryTarget(struct soap *soap, const char *tag, ngwt__QueryTarget **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__QueryTarget **)soap_malloc(soap, sizeof(ngwt__QueryTarget *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__QueryTarget *)soap_instantiate_ngwt__QueryTarget(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__QueryTarget **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__QueryTarget, sizeof(ngwt__QueryTarget), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProxyUser)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyUser(struct soap *soap, ngwt__ProxyUser *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProxyUser); + if (soap_out_PointerTongwt__ProxyUser(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyUser(struct soap *soap, const char *tag, int id, ngwt__ProxyUser *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProxyUser); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyUser(struct soap *soap, ngwt__ProxyUser **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ProxyUser(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyUser(struct soap *soap, const char *tag, ngwt__ProxyUser **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ProxyUser **)soap_malloc(soap, sizeof(ngwt__ProxyUser *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ProxyUser *)soap_instantiate_ngwt__ProxyUser(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ProxyUser **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProxyUser, sizeof(ngwt__ProxyUser), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ProblemEntry)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ProblemEntry); + if (soap_out_PointerTongwt__ProblemEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemEntry(struct soap *soap, const char *tag, int id, ngwt__ProblemEntry *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ProblemEntry); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemEntry(struct soap *soap, ngwt__ProblemEntry **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ProblemEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemEntry(struct soap *soap, const char *tag, ngwt__ProblemEntry **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ProblemEntry **)soap_malloc(soap, sizeof(ngwt__ProblemEntry *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ProblemEntry *)soap_instantiate_ngwt__ProblemEntry(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ProblemEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ProblemEntry, sizeof(ngwt__ProblemEntry), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PostalAddress)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddress(struct soap *soap, ngwt__PostalAddress *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PostalAddress); + if (soap_out_PointerTongwt__PostalAddress(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddress(struct soap *soap, const char *tag, int id, ngwt__PostalAddress *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PostalAddress); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddress(struct soap *soap, ngwt__PostalAddress **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__PostalAddress(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddress(struct soap *soap, const char *tag, ngwt__PostalAddress **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__PostalAddress **)soap_malloc(soap, sizeof(ngwt__PostalAddress *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__PostalAddress *)soap_instantiate_ngwt__PostalAddress(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__PostalAddress **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PostalAddress, sizeof(ngwt__PostalAddress), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__PhoneNumber)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__PhoneNumber); + if (soap_out_PointerTongwt__PhoneNumber(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneNumber(struct soap *soap, const char *tag, int id, ngwt__PhoneNumber *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__PhoneNumber); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneNumber(struct soap *soap, ngwt__PhoneNumber **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__PhoneNumber(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneNumber(struct soap *soap, const char *tag, ngwt__PhoneNumber **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__PhoneNumber **)soap_malloc(soap, sizeof(ngwt__PhoneNumber *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__PhoneNumber *)soap_instantiate_ngwt__PhoneNumber(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__PhoneNumber **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__PhoneNumber, sizeof(ngwt__PhoneNumber), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__date(struct soap *soap, std::string *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_xsd__date)) + soap_serialize_xsd__date(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__date(struct soap *soap, std::string *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToxsd__date); + if (soap_out_PointerToxsd__date(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__date(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_xsd__date); + if (id < 0) + return soap->error; + return soap_out_xsd__date(soap, tag, id, *a, type); +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__date(struct soap *soap, std::string **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerToxsd__date(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__date(struct soap *soap, const char *tag, std::string **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_xsd__date(soap, tag, *a, type))) + return NULL; + } + else + { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__date, sizeof(std::string), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRef(struct soap *soap, ngwt__ItemRef *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemRef)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRef(struct soap *soap, ngwt__ItemRef *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemRef); + if (soap_out_PointerTongwt__ItemRef(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRef(struct soap *soap, const char *tag, int id, ngwt__ItemRef *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemRef); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRef(struct soap *soap, ngwt__ItemRef **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemRef(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRef(struct soap *soap, const char *tag, ngwt__ItemRef **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ItemRef **)soap_malloc(soap, sizeof(ngwt__ItemRef *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ItemRef *)soap_instantiate_ngwt__ItemRef(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ItemRef **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemRef, sizeof(ngwt__ItemRef), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UUID(struct soap *soap, std::string *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__UUID)) + soap_serialize_ngwt__UUID(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UUID(struct soap *soap, std::string *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__UUID); + if (soap_out_PointerTongwt__UUID(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UUID(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__UUID); + if (id < 0) + return soap->error; + return soap_out_ngwt__UUID(soap, tag, id, *a, type); +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__UUID(struct soap *soap, std::string **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__UUID(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__UUID(struct soap *soap, const char *tag, std::string **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__UUID(soap, tag, *a, type))) + return NULL; + } + else + { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__UUID, sizeof(std::string), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SharedFolderNotification)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SharedFolderNotification); + if (soap_out_PointerTongwt__SharedFolderNotification(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SharedFolderNotification(struct soap *soap, const char *tag, int id, ngwt__SharedFolderNotification *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SharedFolderNotification); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_get_PointerTongwt__SharedFolderNotification(struct soap *soap, ngwt__SharedFolderNotification **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SharedFolderNotification(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_in_PointerTongwt__SharedFolderNotification(struct soap *soap, const char *tag, ngwt__SharedFolderNotification **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SharedFolderNotification **)soap_malloc(soap, sizeof(ngwt__SharedFolderNotification *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SharedFolderNotification *)soap_instantiate_ngwt__SharedFolderNotification(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SharedFolderNotification **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SharedFolderNotification, sizeof(ngwt__SharedFolderNotification), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessagePart(struct soap *soap, ngwt__MessagePart *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__MessagePart)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessagePart(struct soap *soap, ngwt__MessagePart *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__MessagePart); + if (soap_out_PointerTongwt__MessagePart(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessagePart(struct soap *soap, const char *tag, int id, ngwt__MessagePart *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__MessagePart); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_get_PointerTongwt__MessagePart(struct soap *soap, ngwt__MessagePart **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__MessagePart(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_in_PointerTongwt__MessagePart(struct soap *soap, const char *tag, ngwt__MessagePart **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__MessagePart **)soap_malloc(soap, sizeof(ngwt__MessagePart *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__MessagePart *)soap_instantiate_ngwt__MessagePart(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__MessagePart **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__MessagePart, sizeof(ngwt__MessagePart), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Library(struct soap *soap, ngwt__Library *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Library)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Library(struct soap *soap, ngwt__Library *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Library); + if (soap_out_PointerTongwt__Library(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Library(struct soap *soap, const char *tag, int id, ngwt__Library *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Library); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_get_PointerTongwt__Library(struct soap *soap, ngwt__Library **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Library(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_in_PointerTongwt__Library(struct soap *soap, const char *tag, ngwt__Library **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Library **)soap_malloc(soap, sizeof(ngwt__Library *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Library *)soap_instantiate_ngwt__Library(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Library **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Library, sizeof(ngwt__Library), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__JunkEntry)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkEntry(struct soap *soap, ngwt__JunkEntry *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__JunkEntry); + if (soap_out_PointerTongwt__JunkEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkEntry(struct soap *soap, const char *tag, int id, ngwt__JunkEntry *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__JunkEntry); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_get_PointerTongwt__JunkEntry(struct soap *soap, ngwt__JunkEntry **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__JunkEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_in_PointerTongwt__JunkEntry(struct soap *soap, const char *tag, ngwt__JunkEntry **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__JunkEntry **)soap_malloc(soap, sizeof(ngwt__JunkEntry *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__JunkEntry *)soap_instantiate_ngwt__JunkEntry(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__JunkEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkEntry, sizeof(ngwt__JunkEntry), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__JunkHandlingListType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__JunkHandlingListType); + if (soap_out_PointerTongwt__JunkHandlingListType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingListType(struct soap *soap, const char *tag, int id, enum ngwt__JunkHandlingListType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__JunkHandlingListType); + if (id < 0) + return soap->error; + return soap_out_ngwt__JunkHandlingListType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingListType(struct soap *soap, enum ngwt__JunkHandlingListType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__JunkHandlingListType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingListType(struct soap *soap, const char *tag, enum ngwt__JunkHandlingListType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__JunkHandlingListType **)soap_malloc(soap, sizeof(enum ngwt__JunkHandlingListType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__JunkHandlingListType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__JunkHandlingListType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__JunkHandlingListType, sizeof(enum ngwt__JunkHandlingListType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Item(struct soap *soap, ngwt__Item *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Item)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Item(struct soap *soap, ngwt__Item *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Item); + if (soap_out_PointerTongwt__Item(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Item(struct soap *soap, const char *tag, int id, ngwt__Item *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Item); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_get_PointerTongwt__Item(struct soap *soap, ngwt__Item **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Item(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_in_PointerTongwt__Item(struct soap *soap, const char *tag, ngwt__Item **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Item **)soap_malloc(soap, sizeof(ngwt__Item *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Item *)soap_instantiate_ngwt__Item(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Item **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Item, sizeof(ngwt__Item), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ItemChanges)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemChanges(struct soap *soap, ngwt__ItemChanges *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ItemChanges); + if (soap_out_PointerTongwt__ItemChanges(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemChanges(struct soap *soap, const char *tag, int id, ngwt__ItemChanges *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ItemChanges); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_get_PointerTongwt__ItemChanges(struct soap *soap, ngwt__ItemChanges **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ItemChanges(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_in_PointerTongwt__ItemChanges(struct soap *soap, const char *tag, ngwt__ItemChanges **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ItemChanges **)soap_malloc(soap, sizeof(ngwt__ItemChanges *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ItemChanges *)soap_instantiate_ngwt__ItemChanges(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ItemChanges **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ItemChanges, sizeof(ngwt__ItemChanges), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddress(struct soap *soap, ngwt__ImAddress *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__ImAddress)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddress(struct soap *soap, ngwt__ImAddress *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__ImAddress); + if (soap_out_PointerTongwt__ImAddress(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddress(struct soap *soap, const char *tag, int id, ngwt__ImAddress *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__ImAddress); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddress(struct soap *soap, ngwt__ImAddress **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__ImAddress(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddress(struct soap *soap, const char *tag, ngwt__ImAddress **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__ImAddress **)soap_malloc(soap, sizeof(ngwt__ImAddress *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__ImAddress *)soap_instantiate_ngwt__ImAddress(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__ImAddress **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__ImAddress, sizeof(ngwt__ImAddress), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMember(struct soap *soap, ngwt__GroupMember *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__GroupMember)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMember(struct soap *soap, ngwt__GroupMember *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__GroupMember); + if (soap_out_PointerTongwt__GroupMember(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMember(struct soap *soap, const char *tag, int id, ngwt__GroupMember *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__GroupMember); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMember(struct soap *soap, ngwt__GroupMember **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__GroupMember(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMember(struct soap *soap, const char *tag, ngwt__GroupMember **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__GroupMember **)soap_malloc(soap, sizeof(ngwt__GroupMember *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__GroupMember *)soap_instantiate_ngwt__GroupMember(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__GroupMember **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMember, sizeof(ngwt__GroupMember), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__GroupMemberList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__GroupMemberList); + if (soap_out_PointerTongwt__GroupMemberList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMemberList(struct soap *soap, const char *tag, int id, ngwt__GroupMemberList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__GroupMemberList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMemberList(struct soap *soap, ngwt__GroupMemberList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__GroupMemberList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMemberList(struct soap *soap, const char *tag, ngwt__GroupMemberList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__GroupMemberList **)soap_malloc(soap, sizeof(ngwt__GroupMemberList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__GroupMemberList *)soap_instantiate_ngwt__GroupMemberList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__GroupMemberList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__GroupMemberList, sizeof(ngwt__GroupMemberList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyInfo); + if (soap_out_PointerTongwt__FreeBusyInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, int id, ngwt__FreeBusyInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfo(struct soap *soap, ngwt__FreeBusyInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FreeBusyInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, ngwt__FreeBusyInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FreeBusyInfo **)soap_malloc(soap, sizeof(ngwt__FreeBusyInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FreeBusyInfo *)soap_instantiate_ngwt__FreeBusyInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FreeBusyInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyInfo, sizeof(ngwt__FreeBusyInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__NameAndEmail)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__NameAndEmail); + if (soap_out_PointerTongwt__NameAndEmail(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__NameAndEmail(struct soap *soap, const char *tag, int id, ngwt__NameAndEmail *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__NameAndEmail); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_get_PointerTongwt__NameAndEmail(struct soap *soap, ngwt__NameAndEmail **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__NameAndEmail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_in_PointerTongwt__NameAndEmail(struct soap *soap, const char *tag, ngwt__NameAndEmail **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__NameAndEmail **)soap_malloc(soap, sizeof(ngwt__NameAndEmail *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__NameAndEmail *)soap_instantiate_ngwt__NameAndEmail(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__NameAndEmail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__NameAndEmail, sizeof(ngwt__NameAndEmail), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__AcceptLevel); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AcceptLevel); + if (soap_out_PointerTongwt__AcceptLevel(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AcceptLevel(struct soap *soap, const char *tag, int id, enum ngwt__AcceptLevel *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AcceptLevel); + if (id < 0) + return soap->error; + return soap_out_ngwt__AcceptLevel(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_get_PointerTongwt__AcceptLevel(struct soap *soap, enum ngwt__AcceptLevel **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AcceptLevel(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_in_PointerTongwt__AcceptLevel(struct soap *soap, const char *tag, enum ngwt__AcceptLevel **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__AcceptLevel **)soap_malloc(soap, sizeof(enum ngwt__AcceptLevel *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__AcceptLevel(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__AcceptLevel **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AcceptLevel, sizeof(enum ngwt__AcceptLevel), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FreeBusyBlock)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FreeBusyBlock); + if (soap_out_PointerTongwt__FreeBusyBlock(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, int id, ngwt__FreeBusyBlock *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FreeBusyBlock); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlock(struct soap *soap, ngwt__FreeBusyBlock **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FreeBusyBlock(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, ngwt__FreeBusyBlock **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FreeBusyBlock **)soap_malloc(soap, sizeof(ngwt__FreeBusyBlock *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FreeBusyBlock *)soap_instantiate_ngwt__FreeBusyBlock(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FreeBusyBlock **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FreeBusyBlock, sizeof(ngwt__FreeBusyBlock), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Folder(struct soap *soap, ngwt__Folder *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Folder)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Folder(struct soap *soap, ngwt__Folder *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Folder); + if (soap_out_PointerTongwt__Folder(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Folder(struct soap *soap, const char *tag, int id, ngwt__Folder *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Folder); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_get_PointerTongwt__Folder(struct soap *soap, ngwt__Folder **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Folder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_in_PointerTongwt__Folder(struct soap *soap, const char *tag, ngwt__Folder **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Folder **)soap_malloc(soap, sizeof(ngwt__Folder *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Folder *)soap_instantiate_ngwt__Folder(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Folder **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Folder, sizeof(ngwt__Folder), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FolderACLEntry)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FolderACLEntry); + if (soap_out_PointerTongwt__FolderACLEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, int id, ngwt__FolderACLEntry *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FolderACLEntry); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLEntry(struct soap *soap, ngwt__FolderACLEntry **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FolderACLEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, ngwt__FolderACLEntry **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FolderACLEntry **)soap_malloc(soap, sizeof(ngwt__FolderACLEntry *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FolderACLEntry *)soap_instantiate_ngwt__FolderACLEntry(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FolderACLEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FolderACLEntry, sizeof(ngwt__FolderACLEntry), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterElement(struct soap *soap, ngwt__FilterElement *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__FilterElement)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterElement(struct soap *soap, ngwt__FilterElement *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__FilterElement); + if (soap_out_PointerTongwt__FilterElement(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterElement(struct soap *soap, const char *tag, int id, ngwt__FilterElement *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__FilterElement); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_get_PointerTongwt__FilterElement(struct soap *soap, ngwt__FilterElement **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__FilterElement(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_in_PointerTongwt__FilterElement(struct soap *soap, const char *tag, ngwt__FilterElement **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__FilterElement **)soap_malloc(soap, sizeof(ngwt__FilterElement *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__FilterElement *)soap_instantiate_ngwt__FilterElement(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__FilterElement **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__FilterElement, sizeof(ngwt__FilterElement), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentType(struct soap *soap, ngwt__DocumentType *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DocumentType)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentType(struct soap *soap, ngwt__DocumentType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DocumentType); + if (soap_out_PointerTongwt__DocumentType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentType(struct soap *soap, const char *tag, int id, ngwt__DocumentType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DocumentType); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentType(struct soap *soap, ngwt__DocumentType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DocumentType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentType(struct soap *soap, const char *tag, ngwt__DocumentType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DocumentType **)soap_malloc(soap, sizeof(ngwt__DocumentType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DocumentType *)soap_instantiate_ngwt__DocumentType(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DocumentType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DocumentType, sizeof(ngwt__DocumentType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__AgeAction); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AgeAction(struct soap *soap, enum ngwt__AgeAction *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AgeAction); + if (soap_out_PointerTongwt__AgeAction(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AgeAction(struct soap *soap, const char *tag, int id, enum ngwt__AgeAction *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AgeAction); + if (id < 0) + return soap->error; + return soap_out_ngwt__AgeAction(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_get_PointerTongwt__AgeAction(struct soap *soap, enum ngwt__AgeAction **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AgeAction(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_in_PointerTongwt__AgeAction(struct soap *soap, const char *tag, enum ngwt__AgeAction **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__AgeAction **)soap_malloc(soap, sizeof(enum ngwt__AgeAction *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__AgeAction(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__AgeAction **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AgeAction, sizeof(enum ngwt__AgeAction), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptions(struct soap *soap, ngwt__SendOptions *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__SendOptions)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptions(struct soap *soap, ngwt__SendOptions *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__SendOptions); + if (soap_out_PointerTongwt__SendOptions(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptions(struct soap *soap, const char *tag, int id, ngwt__SendOptions *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__SendOptions); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptions(struct soap *soap, ngwt__SendOptions **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__SendOptions(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptions(struct soap *soap, const char *tag, ngwt__SendOptions **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__SendOptions **)soap_malloc(soap, sizeof(ngwt__SendOptions *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__SendOptions *)soap_instantiate_ngwt__SendOptions(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__SendOptions **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__SendOptions, sizeof(ngwt__SendOptions), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientList(struct soap *soap, ngwt__RecipientList *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__RecipientList)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientList(struct soap *soap, ngwt__RecipientList *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__RecipientList); + if (soap_out_PointerTongwt__RecipientList(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientList(struct soap *soap, const char *tag, int id, ngwt__RecipientList *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__RecipientList); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientList(struct soap *soap, ngwt__RecipientList **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__RecipientList(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientList(struct soap *soap, const char *tag, ngwt__RecipientList **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__RecipientList **)soap_malloc(soap, sizeof(ngwt__RecipientList *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__RecipientList *)soap_instantiate_ngwt__RecipientList(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__RecipientList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__RecipientList, sizeof(ngwt__RecipientList), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__From(struct soap *soap, ngwt__From *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__From)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__From(struct soap *soap, ngwt__From *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__From); + if (soap_out_PointerTongwt__From(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__From(struct soap *soap, const char *tag, int id, ngwt__From *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__From); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_get_PointerTongwt__From(struct soap *soap, ngwt__From **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__From(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_in_PointerTongwt__From(struct soap *soap, const char *tag, ngwt__From **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__From **)soap_malloc(soap, sizeof(ngwt__From *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__From *)soap_instantiate_ngwt__From(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__From **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__From, sizeof(ngwt__From), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToint(struct soap *soap, int *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_int); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToint(struct soap *soap, int *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToint); + if (soap_out_PointerToint(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToint(struct soap *soap, const char *tag, int id, int *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_int); + if (id < 0) + return soap->error; + return soap_out_int(soap, tag, id, *a, type); +} + +SOAP_FMAC3 int ** SOAP_FMAC4 soap_get_PointerToint(struct soap *soap, int **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerToint(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 int ** SOAP_FMAC4 soap_in_PointerToint(struct soap *soap, const char *tag, int **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (int **)soap_malloc(soap, sizeof(int *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_int(soap, tag, *a, type))) + return NULL; + } + else + { a = (int **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_int, sizeof(int), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__DayOfYearWeek)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__DayOfYearWeek); + if (soap_out_PointerTongwt__DayOfYearWeek(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, int id, ngwt__DayOfYearWeek *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__DayOfYearWeek); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeek(struct soap *soap, ngwt__DayOfYearWeek **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__DayOfYearWeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, ngwt__DayOfYearWeek **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__DayOfYearWeek **)soap_malloc(soap, sizeof(ngwt__DayOfYearWeek *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__DayOfYearWeek *)soap_instantiate_ngwt__DayOfYearWeek(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__DayOfYearWeek **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__DayOfYearWeek, sizeof(ngwt__DayOfYearWeek), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Custom(struct soap *soap, ngwt__Custom *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Custom)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Custom(struct soap *soap, ngwt__Custom *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Custom); + if (soap_out_PointerTongwt__Custom(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Custom(struct soap *soap, const char *tag, int id, ngwt__Custom *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Custom); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_get_PointerTongwt__Custom(struct soap *soap, ngwt__Custom **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Custom(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_in_PointerTongwt__Custom(struct soap *soap, const char *tag, ngwt__Custom **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Custom **)soap_malloc(soap, sizeof(ngwt__Custom *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Custom *)soap_instantiate_ngwt__Custom(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Custom **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Custom, sizeof(ngwt__Custom), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomType(struct soap *soap, enum ngwt__CustomType *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_ngwt__CustomType); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomType(struct soap *soap, enum ngwt__CustomType *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__CustomType); + if (soap_out_PointerTongwt__CustomType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomType(struct soap *soap, const char *tag, int id, enum ngwt__CustomType *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__CustomType); + if (id < 0) + return soap->error; + return soap_out_ngwt__CustomType(soap, tag, id, *a, type); +} + +SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_get_PointerTongwt__CustomType(struct soap *soap, enum ngwt__CustomType **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__CustomType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_in_PointerTongwt__CustomType(struct soap *soap, const char *tag, enum ngwt__CustomType **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (enum ngwt__CustomType **)soap_malloc(soap, sizeof(enum ngwt__CustomType *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__CustomType(soap, tag, *a, type))) + return NULL; + } + else + { a = (enum ngwt__CustomType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__CustomType, sizeof(enum ngwt__CustomType), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__uid(struct soap *soap, std::string *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__uid)) + soap_serialize_ngwt__uid(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__uid(struct soap *soap, std::string *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__uid); + if (soap_out_PointerTongwt__uid(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__uid(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__uid); + if (id < 0) + return soap->error; + return soap_out_ngwt__uid(soap, tag, id, *a, type); +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__uid(struct soap *soap, std::string **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__uid(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__uid(struct soap *soap, const char *tag, std::string **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_ngwt__uid(soap, tag, *a, type))) + return NULL; + } + else + { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__uid, sizeof(std::string), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Category(struct soap *soap, ngwt__Category *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__Category)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Category(struct soap *soap, ngwt__Category *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__Category); + if (soap_out_PointerTongwt__Category(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Category(struct soap *soap, const char *tag, int id, ngwt__Category *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__Category); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_get_PointerTongwt__Category(struct soap *soap, ngwt__Category **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__Category(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_in_PointerTongwt__Category(struct soap *soap, const char *tag, ngwt__Category **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__Category **)soap_malloc(soap, sizeof(ngwt__Category *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__Category *)soap_instantiate_ngwt__Category(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__Category **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__Category, sizeof(ngwt__Category), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__base64Binary(struct soap *soap, xsd__base64Binary *const*a) +{ + if (*a) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__base64Binary(struct soap *soap, xsd__base64Binary *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToxsd__base64Binary); + if (soap_out_PointerToxsd__base64Binary(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__base64Binary(struct soap *soap, const char *tag, int id, xsd__base64Binary *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, (struct soap_array*)&(*a)->__ptr, 1, type, SOAP_TYPE_xsd__base64Binary); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_get_PointerToxsd__base64Binary(struct soap *soap, xsd__base64Binary **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerToxsd__base64Binary(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_in_PointerToxsd__base64Binary(struct soap *soap, const char *tag, xsd__base64Binary **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (xsd__base64Binary **)soap_malloc(soap, sizeof(xsd__base64Binary *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (xsd__base64Binary *)soap_instantiate_xsd__base64Binary(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (xsd__base64Binary **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_xsd__base64Binary, sizeof(xsd__base64Binary), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedLong(struct soap *soap, unsigned long *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_unsignedLong); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedLong(struct soap *soap, unsigned long *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTounsignedLong); + if (soap_out_PointerTounsignedLong(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedLong(struct soap *soap, const char *tag, int id, unsigned long *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_unsignedLong); + if (id < 0) + return soap->error; + return soap_out_unsignedLong(soap, tag, id, *a, type); +} + +SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_get_PointerTounsignedLong(struct soap *soap, unsigned long **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTounsignedLong(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_in_PointerTounsignedLong(struct soap *soap, const char *tag, unsigned long **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (unsigned long **)soap_malloc(soap, sizeof(unsigned long *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_unsignedLong(soap, tag, *a, type))) + return NULL; + } + else + { a = (unsigned long **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_unsignedLong, sizeof(unsigned long), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostd__string(struct soap *soap, std::string *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_std__string)) + soap_serialize_std__string(soap, *a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostd__string(struct soap *soap, std::string *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTostd__string); + if (soap_out_PointerTostd__string(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostd__string(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_std__string); + if (id < 0) + return soap->error; + return soap_out_std__string(soap, tag, id, *a, type); +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTostd__string(struct soap *soap, std::string **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTostd__string(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTostd__string(struct soap *soap, const char *tag, std::string **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_std__string(soap, tag, *a, type))) + return NULL; + } + else + { a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_std__string, sizeof(std::string), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AttachmentID)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentID(struct soap *soap, ngwt__AttachmentID *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AttachmentID); + if (soap_out_PointerTongwt__AttachmentID(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentID(struct soap *soap, const char *tag, int id, ngwt__AttachmentID *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AttachmentID); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentID(struct soap *soap, ngwt__AttachmentID **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AttachmentID(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentID(struct soap *soap, const char *tag, ngwt__AttachmentID **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AttachmentID **)soap_malloc(soap, sizeof(ngwt__AttachmentID *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AttachmentID *)soap_instantiate_ngwt__AttachmentID(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AttachmentID **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentID, sizeof(ngwt__AttachmentID), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AttachmentItemInfo)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AttachmentItemInfo); + if (soap_out_PointerTongwt__AttachmentItemInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, int id, ngwt__AttachmentItemInfo *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AttachmentItemInfo); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentItemInfo(struct soap *soap, ngwt__AttachmentItemInfo **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AttachmentItemInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, ngwt__AttachmentItemInfo **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AttachmentItemInfo **)soap_malloc(soap, sizeof(ngwt__AttachmentItemInfo *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AttachmentItemInfo *)soap_instantiate_ngwt__AttachmentItemInfo(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AttachmentItemInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AttachmentItemInfo, sizeof(ngwt__AttachmentItemInfo), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBook(struct soap *soap, ngwt__AddressBook *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AddressBook)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBook(struct soap *soap, ngwt__AddressBook *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AddressBook); + if (soap_out_PointerTongwt__AddressBook(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBook(struct soap *soap, const char *tag, int id, ngwt__AddressBook *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AddressBook); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBook(struct soap *soap, ngwt__AddressBook **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AddressBook(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBook(struct soap *soap, const char *tag, ngwt__AddressBook **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AddressBook **)soap_malloc(soap, sizeof(ngwt__AddressBook *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AddressBook *)soap_instantiate_ngwt__AddressBook(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AddressBook **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AddressBook, sizeof(ngwt__AddressBook), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessRightEntry)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessRightEntry); + if (soap_out_PointerTongwt__AccessRightEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, int id, ngwt__AccessRightEntry *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessRightEntry); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightEntry(struct soap *soap, ngwt__AccessRightEntry **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessRightEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, ngwt__AccessRightEntry **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessRightEntry **)soap_malloc(soap, sizeof(ngwt__AccessRightEntry *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessRightEntry *)soap_instantiate_ngwt__AccessRightEntry(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessRightEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessRightEntry, sizeof(ngwt__AccessRightEntry), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTobool(struct soap *soap, bool *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_bool); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTobool(struct soap *soap, bool *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTobool); + if (soap_out_PointerTobool(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTobool(struct soap *soap, const char *tag, int id, bool *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_bool); + if (id < 0) + return soap->error; + return soap_out_bool(soap, tag, id, *a, type); +} + +SOAP_FMAC3 bool ** SOAP_FMAC4 soap_get_PointerTobool(struct soap *soap, bool **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTobool(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 bool ** SOAP_FMAC4 soap_in_PointerTobool(struct soap *soap, const char *tag, bool **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (bool **)soap_malloc(soap, sizeof(bool *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_bool(soap, tag, *a, type))) + return NULL; + } + else + { a = (bool **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_bool, sizeof(bool), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *const*a) +{ + if (!soap_reference(soap, *a, SOAP_TYPE_ngwt__AccessControlListEntry)) + (*a)->soap_serialize(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTongwt__AccessControlListEntry); + if (soap_out_PointerTongwt__AccessControlListEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, int id, ngwt__AccessControlListEntry *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ngwt__AccessControlListEntry); + if (id < 0) + return soap->error; + return (*a)->soap_out(soap, tag, id, type); +} + +SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlListEntry(struct soap *soap, ngwt__AccessControlListEntry **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTongwt__AccessControlListEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, ngwt__AccessControlListEntry **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (ngwt__AccessControlListEntry **)soap_malloc(soap, sizeof(ngwt__AccessControlListEntry *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = (ngwt__AccessControlListEntry *)soap_instantiate_ngwt__AccessControlListEntry(soap, -1, soap->type, soap->arrayType, NULL))) + return NULL; + (*a)->soap_default(soap); + if (!(*a)->soap_in(soap, tag, NULL)) + return NULL; + } + else + { a = (ngwt__AccessControlListEntry **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ngwt__AccessControlListEntry, sizeof(ngwt__AccessControlListEntry), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedByte(struct soap *soap, unsigned char *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_unsignedByte); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedByte(struct soap *soap, unsigned char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTounsignedByte); + if (soap_out_PointerTounsignedByte(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedByte(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type) +{ + id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_unsignedByte); + if (id < 0) + return soap->error; + return soap_out_unsignedByte(soap, tag, id, *a, type); +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTounsignedByte(struct soap *soap, unsigned char **p, const char *tag, const char *type) +{ + if ((p = soap_in_PointerTounsignedByte(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTounsignedByte(struct soap *soap, const char *tag, unsigned char **a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a) + if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *)))) + return NULL; + *a = NULL; + if (!soap->null && *soap->href != '#') + { soap_revert(soap); + if (!(*a = soap_in_unsignedByte(soap, tag, *a, type))) + return NULL; + } + else + { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_unsignedByte, sizeof(unsigned char), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + } + return a; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default__QName(struct soap *soap, char **a) +{ soap_default_string(soap, a); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap *soap, char *const*a) +{ soap_serialize_string(soap, a); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap *soap, char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE__QName); + if (soap_out__QName(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap *soap, const char *tag, int id, char *const*a, const char *type) +{ + return soap_outstring(soap, tag, id, a, type, SOAP_TYPE__QName); +} + +SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap *soap, char **p, const char *tag, const char *type) +{ + if ((p = soap_in__QName(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap *soap, const char *tag, char **a, const char *type) +{ + return soap_instring(soap, tag, a, type, SOAP_TYPE__QName, 2, 0, -1); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap *soap, char **a) +{ +(void)soap; /* appease -Wall -Werror */ +#ifdef SOAP_DEFAULT_string + *a = SOAP_DEFAULT_string; +#else + *a = (char *)0; +#endif +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a) +{ + soap_reference(soap, *a, SOAP_TYPE_string); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_string); + if (soap_out_string(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, int id, char *const*a, const char *type) +{ + return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_string); +} + +SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap *soap, char **p, const char *tag, const char *type) +{ + if ((p = soap_in_string(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag, char **a, const char *type) +{ + return soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, 0, -1); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__FilterElement(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement); + if (soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__FilterElement(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FilterElement(soap, -1))) + return NULL; + ngwt__FilterElement *n; + ngwt__FilterElement **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FilterElement, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement, sizeof(ngwt__FilterElement), 1)) + break; + if (!(p = soap_in_PointerTongwt__FilterElement(soap, tag, NULL, "ngwt:FilterElement"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__FilterElement(soap, tag, &n, "ngwt:FilterElement")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__ContainerRef(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef); + if (soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__ContainerRef(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, -1))) + return NULL; + ngwt__ContainerRef *n; + ngwt__ContainerRef **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ContainerRef, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef, sizeof(ngwt__ContainerRef), 1)) + break; + if (!(p = soap_in_PointerTongwt__ContainerRef(soap, tag, NULL, "ngwt:ContainerRef"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__ContainerRef(soap, tag, &n, "ngwt:ContainerRef")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwe__EventType(struct soap *soap, const std::vector*a) +{ +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwe__EventType(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwe__EventType(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwe__EventType); + if (soap_out_std__vectorTemplateOfngwe__EventType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwe__EventType(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_ngwe__EventType(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwe__EventType(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfngwe__EventType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwe__EventType(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfngwe__EventType(soap, -1))) + return NULL; + enum ngwe__EventType n; + enum ngwe__EventType *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwe__EventType, SOAP_TYPE_std__vectorTemplateOfngwe__EventType, sizeof(enum ngwe__EventType), 0)) + break; + if (!(p = soap_in_ngwe__EventType(soap, tag, NULL, ""))) + break; + } + else + { soap_default_ngwe__EventType(soap, &n); + if (!soap_in_ngwe__EventType(soap, tag, &n, "")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwe__EventType(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfngwe__EventType(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwe__EventType(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwe__EventType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwe__EventType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwe__EventType, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwe__EventType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwe__Events(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events); + if (soap_out_std__vectorTemplateOfPointerTongwe__Events(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwe__Events(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwe__Events(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwe__Events(soap, -1))) + return NULL; + ngwe__Events *n; + ngwe__Events **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwe__Events, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events, sizeof(ngwe__Events), 1)) + break; + if (!(p = soap_in_PointerTongwe__Events(soap, tag, NULL, "ngwe:Events"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwe__Events(soap, tag, &n, "ngwe:Events")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Events(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwe__Event(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event); + if (soap_out_std__vectorTemplateOfPointerTongwe__Event(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwe__Event(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwe__Event(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwe__Event(soap, -1))) + return NULL; + ngwe__Event *n; + ngwe__Event **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwe__Event, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event, sizeof(ngwe__Event), 1)) + break; + if (!(p = soap_in_PointerTongwe__Event(soap, tag, NULL, "ngwe:Event"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwe__Event(soap, tag, &n, "ngwe:Event")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Event(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstring(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_string(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstring(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstring(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfstring); + if (soap_out_std__vectorTemplateOfstring(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstring(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_string(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfstring(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfstring(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfstring(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfstring(soap, -1))) + return NULL; + char *n; + char **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_byte, SOAP_TYPE_std__vectorTemplateOfstring, sizeof(char), 1)) + break; + if (!(p = soap_in_string(soap, tag, NULL, ""))) + break; + } + else + { n = NULL; + if (!soap_in_string(soap, tag, &n, "")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfstring(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfstring(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstring(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstring(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfstring(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfstring, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstring(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__ModifyItem(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem); + if (soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__ModifyItem(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, -1))) + return NULL; + ngwt__ModifyItem *n; + ngwt__ModifyItem **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ModifyItem, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem, sizeof(ngwt__ModifyItem), 1)) + break; + if (!(p = soap_in_PointerTongwt__ModifyItem(soap, tag, NULL, "ngwt:ModifyItem"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__ModifyItem(soap, tag, &n, "ngwt:ModifyItem")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Host(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host); + if (soap_out_std__vectorTemplateOfPointerTongwt__Host(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Host(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Host(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Host(soap, -1))) + return NULL; + ngwt__Host *n; + ngwt__Host **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Host, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host, sizeof(ngwt__Host), 1)) + break; + if (!(p = soap_in_PointerTongwt__Host(soap, tag, NULL, "ngwt:Host"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Host(soap, tag, &n, "ngwt:Host")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Host(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__UserInfo(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo); + if (soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__UserInfo(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__UserInfo(soap, -1))) + return NULL; + ngwt__UserInfo *n; + ngwt__UserInfo **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__UserInfo, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo, sizeof(ngwt__UserInfo), 1)) + break; + if (!(p = soap_in_PointerTongwt__UserInfo(soap, tag, NULL, "ngwt:UserInfo"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__UserInfo(soap, tag, &n, "ngwt:UserInfo")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Timezone(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone); + if (soap_out_std__vectorTemplateOfPointerTongwt__Timezone(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Timezone(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Timezone(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Timezone(soap, -1))) + return NULL; + ngwt__Timezone *n; + ngwt__Timezone **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Timezone, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone, sizeof(ngwt__Timezone), 1)) + break; + if (!(p = soap_in_PointerTongwt__Timezone(soap, tag, NULL, "ngwt:Timezone"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Timezone(soap, tag, &n, "ngwt:Timezone")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Timezone(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Signature(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature); + if (soap_out_std__vectorTemplateOfPointerTongwt__Signature(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Signature(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Signature(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Signature(soap, -1))) + return NULL; + ngwt__Signature *n; + ngwt__Signature **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Signature, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature, sizeof(ngwt__Signature), 1)) + break; + if (!(p = soap_in_PointerTongwt__Signature(soap, tag, NULL, "ngwt:Signature"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Signature(soap, tag, &n, "ngwt:Signature")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Signature(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__SettingsGroup(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup); + if (soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__SettingsGroup(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, -1))) + return NULL; + ngwt__SettingsGroup *n; + ngwt__SettingsGroup **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__SettingsGroup, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup, sizeof(ngwt__SettingsGroup), 1)) + break; + if (!(p = soap_in_PointerTongwt__SettingsGroup(soap, tag, NULL, "ngwt:SettingsGroup"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__SettingsGroup(soap, tag, &n, "ngwt:SettingsGroup")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Rule(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule); + if (soap_out_std__vectorTemplateOfPointerTongwt__Rule(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Rule(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Rule(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Rule(soap, -1))) + return NULL; + ngwt__Rule *n; + ngwt__Rule **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Rule, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule, sizeof(ngwt__Rule), 1)) + break; + if (!(p = soap_in_PointerTongwt__Rule(soap, tag, NULL, "ngwt:Rule"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Rule(soap, tag, &n, "ngwt:Rule")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Rule(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__RuleAction(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction); + if (soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__RuleAction(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__RuleAction(soap, -1))) + return NULL; + ngwt__RuleAction *n; + ngwt__RuleAction **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__RuleAction, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction, sizeof(ngwt__RuleAction), 1)) + break; + if (!(p = soap_in_PointerTongwt__RuleAction(soap, tag, NULL, "ngwt:RuleAction"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__RuleAction(soap, tag, &n, "ngwt:RuleAction")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfxsd__date(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_xsd__date(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfxsd__date(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfxsd__date(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfxsd__date); + if (soap_out_std__vectorTemplateOfxsd__date(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfxsd__date(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_xsd__date(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfxsd__date(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfxsd__date(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfxsd__date(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfxsd__date(soap, -1))) + return NULL; + std::string n; + std::string *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_xsd__date, SOAP_TYPE_std__vectorTemplateOfxsd__date, sizeof(std::string), 0)) + break; + if (!(p = soap_in_xsd__date(soap, tag, NULL, "xsd:date"))) + break; + } + else + { soap_default_xsd__date(soap, &n); + if (!soap_in_xsd__date(soap, tag, &n, "xsd:date")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfxsd__date(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfxsd__date(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfxsd__date(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfxsd__date(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfxsd__date(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfxsd__date, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfxsd__date(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__DelegateeStatus(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus); + if (soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__DelegateeStatus(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, -1))) + return NULL; + ngwt__DelegateeStatus *n; + ngwt__DelegateeStatus **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DelegateeStatus, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus, sizeof(ngwt__DelegateeStatus), 1)) + break; + if (!(p = soap_in_PointerTongwt__DelegateeStatus(soap, tag, NULL, "ngwt:DelegateeStatus"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__DelegateeStatus(soap, tag, &n, "ngwt:DelegateeStatus")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Recipient(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient); + if (soap_out_std__vectorTemplateOfPointerTongwt__Recipient(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Recipient(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Recipient(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Recipient(soap, -1))) + return NULL; + ngwt__Recipient *n; + ngwt__Recipient **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Recipient, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient, sizeof(ngwt__Recipient), 1)) + break; + if (!(p = soap_in_PointerTongwt__Recipient(soap, tag, NULL, "ngwt:Recipient"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Recipient(soap, tag, &n, "ngwt:Recipient")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Recipient(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__ProxyUser(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser); + if (soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__ProxyUser(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, -1))) + return NULL; + ngwt__ProxyUser *n; + ngwt__ProxyUser **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ProxyUser, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser, sizeof(ngwt__ProxyUser), 1)) + break; + if (!(p = soap_in_PointerTongwt__ProxyUser(soap, tag, NULL, "ngwt:ProxyUser"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__ProxyUser(soap, tag, &n, "ngwt:ProxyUser")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__ProblemEntry(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry); + if (soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__ProblemEntry(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, -1))) + return NULL; + ngwt__ProblemEntry *n; + ngwt__ProblemEntry **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ProblemEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry, sizeof(ngwt__ProblemEntry), 1)) + break; + if (!(p = soap_in_PointerTongwt__ProblemEntry(soap, tag, NULL, "ngwt:ProblemEntry"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__ProblemEntry(soap, tag, &n, "ngwt:ProblemEntry")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__PostalAddress(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress); + if (soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__PostalAddress(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, -1))) + return NULL; + ngwt__PostalAddress *n; + ngwt__PostalAddress **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__PostalAddress, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress, sizeof(ngwt__PostalAddress), 1)) + break; + if (!(p = soap_in_PointerTongwt__PostalAddress(soap, tag, NULL, "ngwt:PostalAddress"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__PostalAddress(soap, tag, &n, "ngwt:PostalAddress")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__PhoneNumber(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber); + if (soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__PhoneNumber(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, -1))) + return NULL; + ngwt__PhoneNumber *n; + ngwt__PhoneNumber **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__PhoneNumber, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber, sizeof(ngwt__PhoneNumber), 1)) + break; + if (!(p = soap_in_PointerTongwt__PhoneNumber(soap, tag, NULL, "ngwt:PhoneNumber"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__PhoneNumber(soap, tag, &n, "ngwt:PhoneNumber")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__Month(struct soap *soap, const std::vector*a) +{ +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__Month(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__Month(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__Month); + if (soap_out_std__vectorTemplateOfngwt__Month(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__Month(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_ngwt__Month(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__Month(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfngwt__Month(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__Month(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfngwt__Month(soap, -1))) + return NULL; + unsigned char n; + unsigned char *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Month, SOAP_TYPE_std__vectorTemplateOfngwt__Month, sizeof(unsigned char), 0)) + break; + if (!(p = soap_in_ngwt__Month(soap, tag, NULL, "ngwt:Month"))) + break; + } + else + { soap_default_ngwt__Month(soap, &n); + if (!soap_in_ngwt__Month(soap, tag, &n, "ngwt:Month")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__Month(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfngwt__Month(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__Month(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__Month(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__Month(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__Month, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__Month(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__MessagePart(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart); + if (soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__MessagePart(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__MessagePart(soap, -1))) + return NULL; + ngwt__MessagePart *n; + ngwt__MessagePart **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__MessagePart, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart, sizeof(ngwt__MessagePart), 1)) + break; + if (!(p = soap_in_PointerTongwt__MessagePart(soap, tag, NULL, "ngwt:MessagePart"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__MessagePart(soap, tag, &n, "ngwt:MessagePart")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Library(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library); + if (soap_out_std__vectorTemplateOfPointerTongwt__Library(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Library(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Library(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Library(soap, -1))) + return NULL; + ngwt__Library *n; + ngwt__Library **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Library, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library, sizeof(ngwt__Library), 1)) + break; + if (!(p = soap_in_PointerTongwt__Library(soap, tag, NULL, "ngwt:Library"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Library(soap, tag, &n, "ngwt:Library")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Library(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__JunkEntry(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry); + if (soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__JunkEntry(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, -1))) + return NULL; + ngwt__JunkEntry *n; + ngwt__JunkEntry **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__JunkEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry, sizeof(ngwt__JunkEntry), 1)) + break; + if (!(p = soap_in_PointerTongwt__JunkEntry(soap, tag, NULL, "ngwt:JunkEntry"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__JunkEntry(soap, tag, &n, "ngwt:JunkEntry")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Item(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item); + if (soap_out_std__vectorTemplateOfPointerTongwt__Item(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Item(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Item(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Item(soap, -1))) + return NULL; + ngwt__Item *n; + ngwt__Item **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Item, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item, sizeof(ngwt__Item), 1)) + break; + if (!(p = soap_in_PointerTongwt__Item(soap, tag, NULL, "ngwt:Item"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Item(soap, tag, &n, "ngwt:Item")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Item(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__ImAddress(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress); + if (soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__ImAddress(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__ImAddress(soap, -1))) + return NULL; + ngwt__ImAddress *n; + ngwt__ImAddress **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__ImAddress, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress, sizeof(ngwt__ImAddress), 1)) + break; + if (!(p = soap_in_PointerTongwt__ImAddress(soap, tag, NULL, "ngwt:ImAddress"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__ImAddress(soap, tag, &n, "ngwt:ImAddress")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__GroupMember(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember); + if (soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__GroupMember(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__GroupMember(soap, -1))) + return NULL; + ngwt__GroupMember *n; + ngwt__GroupMember **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__GroupMember, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember, sizeof(ngwt__GroupMember), 1)) + break; + if (!(p = soap_in_PointerTongwt__GroupMember(soap, tag, NULL, "ngwt:GroupMember"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__GroupMember(soap, tag, &n, "ngwt:GroupMember")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__FreeBusyInfo(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo); + if (soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__FreeBusyInfo(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, -1))) + return NULL; + ngwt__FreeBusyInfo *n; + ngwt__FreeBusyInfo **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FreeBusyInfo, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo, sizeof(ngwt__FreeBusyInfo), 1)) + break; + if (!(p = soap_in_PointerTongwt__FreeBusyInfo(soap, tag, NULL, "ngwt:FreeBusyInfo"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__FreeBusyInfo(soap, tag, &n, "ngwt:FreeBusyInfo")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__NameAndEmail(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail); + if (soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__NameAndEmail(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, -1))) + return NULL; + ngwt__NameAndEmail *n; + ngwt__NameAndEmail **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__NameAndEmail, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail, sizeof(ngwt__NameAndEmail), 1)) + break; + if (!(p = soap_in_PointerTongwt__NameAndEmail(soap, tag, NULL, "ngwt:NameAndEmail"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__NameAndEmail(soap, tag, &n, "ngwt:NameAndEmail")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__FreeBusyBlock(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock); + if (soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__FreeBusyBlock(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, -1))) + return NULL; + ngwt__FreeBusyBlock *n; + ngwt__FreeBusyBlock **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FreeBusyBlock, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock, sizeof(ngwt__FreeBusyBlock), 1)) + break; + if (!(p = soap_in_PointerTongwt__FreeBusyBlock(soap, tag, NULL, "ngwt:FreeBusyBlock"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__FreeBusyBlock(soap, tag, &n, "ngwt:FreeBusyBlock")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Folder(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder); + if (soap_out_std__vectorTemplateOfPointerTongwt__Folder(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Folder(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Folder(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Folder(soap, -1))) + return NULL; + ngwt__Folder *n; + ngwt__Folder **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Folder, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder, sizeof(ngwt__Folder), 1)) + break; + if (!(p = soap_in_PointerTongwt__Folder(soap, tag, NULL, "ngwt:Folder"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Folder(soap, tag, &n, "ngwt:Folder")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Folder(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__FolderACLEntry(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry); + if (soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__FolderACLEntry(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, -1))) + return NULL; + ngwt__FolderACLEntry *n; + ngwt__FolderACLEntry **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__FolderACLEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry, sizeof(ngwt__FolderACLEntry), 1)) + break; + if (!(p = soap_in_PointerTongwt__FolderACLEntry(soap, tag, NULL, "ngwt:FolderACLEntry"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__FolderACLEntry(soap, tag, &n, "ngwt:FolderACLEntry")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstd__string(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_std__string(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstd__string(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstd__string(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfstd__string); + if (soap_out_std__vectorTemplateOfstd__string(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstd__string(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_std__string(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfstd__string(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfstd__string(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfstd__string(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfstd__string(soap, -1))) + return NULL; + std::string n; + std::string *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_std__string, SOAP_TYPE_std__vectorTemplateOfstd__string, sizeof(std::string), 0)) + break; + if (!(p = soap_in_std__string(soap, tag, NULL, ""))) + break; + } + else + { soap_default_std__string(soap, &n); + if (!soap_in_std__string(soap, tag, &n, "")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfstd__string(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfstd__string(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstd__string(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstd__string(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfstd__string(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfstd__string, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstd__string(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__DocumentType(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType); + if (soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__DocumentType(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__DocumentType(soap, -1))) + return NULL; + ngwt__DocumentType *n; + ngwt__DocumentType **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DocumentType, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType, sizeof(ngwt__DocumentType), 1)) + break; + if (!(p = soap_in_PointerTongwt__DocumentType(soap, tag, NULL, "ngwt:DocumentType"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__DocumentType(soap, tag, &n, "ngwt:DocumentType")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__DayOfYearWeek(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek); + if (soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__DayOfYearWeek(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, -1))) + return NULL; + ngwt__DayOfYearWeek *n; + ngwt__DayOfYearWeek **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DayOfYearWeek, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek, sizeof(ngwt__DayOfYearWeek), 1)) + break; + if (!(p = soap_in_PointerTongwt__DayOfYearWeek(soap, tag, NULL, "ngwt:DayOfYearWeek"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__DayOfYearWeek(soap, tag, &n, "ngwt:DayOfYearWeek")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const std::vector*a) +{ +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear); + if (soap_out_std__vectorTemplateOfngwt__DayOfYear(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_ngwt__DayOfYear(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfngwt__DayOfYear(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfngwt__DayOfYear(soap, -1))) + return NULL; + short n; + short *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DayOfYear, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear, sizeof(short), 0)) + break; + if (!(p = soap_in_ngwt__DayOfYear(soap, tag, NULL, "ngwt:DayOfYear"))) + break; + } + else + { soap_default_ngwt__DayOfYear(soap, &n); + if (!soap_in_ngwt__DayOfYear(soap, tag, &n, "ngwt:DayOfYear")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfYear(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const std::vector*a) +{ +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth); + if (soap_out_std__vectorTemplateOfngwt__DayOfMonth(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_ngwt__DayOfMonth(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfngwt__DayOfMonth(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfngwt__DayOfMonth(soap, -1))) + return NULL; + char n; + char *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__DayOfMonth, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth, sizeof(char), 0)) + break; + if (!(p = soap_in_ngwt__DayOfMonth(soap, tag, NULL, "ngwt:DayOfMonth"))) + break; + } + else + { soap_default_ngwt__DayOfMonth(soap, &n); + if (!soap_in_ngwt__DayOfMonth(soap, tag, &n, "ngwt:DayOfMonth")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfMonth(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Custom(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom); + if (soap_out_std__vectorTemplateOfPointerTongwt__Custom(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Custom(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Custom(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Custom(soap, -1))) + return NULL; + ngwt__Custom *n; + ngwt__Custom **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Custom, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom, sizeof(ngwt__Custom), 1)) + break; + if (!(p = soap_in_PointerTongwt__Custom(soap, tag, NULL, "ngwt:Custom"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Custom(soap, tag, &n, "ngwt:Custom")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Custom(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__uid(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_ngwt__uid(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__uid(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__uid(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__uid); + if (soap_out_std__vectorTemplateOfngwt__uid(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__uid(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_ngwt__uid(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__uid(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfngwt__uid(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__uid(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfngwt__uid(soap, -1))) + return NULL; + std::string n; + std::string *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__uid, SOAP_TYPE_std__vectorTemplateOfngwt__uid, sizeof(std::string), 0)) + break; + if (!(p = soap_in_ngwt__uid(soap, tag, NULL, "ngwt:uid"))) + break; + } + else + { soap_default_ngwt__uid(soap, &n); + if (!soap_in_ngwt__uid(soap, tag, &n, "ngwt:uid")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__uid(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfngwt__uid(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__uid(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__uid(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__uid(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__uid, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__uid(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__Category(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category); + if (soap_out_std__vectorTemplateOfPointerTongwt__Category(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__Category(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__Category(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__Category(soap, -1))) + return NULL; + ngwt__Category *n; + ngwt__Category **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__Category, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category, sizeof(ngwt__Category), 1)) + break; + if (!(p = soap_in_PointerTongwt__Category(soap, tag, NULL, "ngwt:Category"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__Category(soap, tag, &n, "ngwt:Category")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Category(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const std::vector*a) +{ +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags); + if (soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_ngwt__CalendarFolderFlags(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, -1))) + return NULL; + enum ngwt__CalendarFolderFlags n; + enum ngwt__CalendarFolderFlags *p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__CalendarFolderFlags, SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags, sizeof(enum ngwt__CalendarFolderFlags), 0)) + break; + if (!(p = soap_in_ngwt__CalendarFolderFlags(soap, tag, NULL, ""))) + break; + } + else + { soap_default_ngwt__CalendarFolderFlags(soap, &n); + if (!soap_in_ngwt__CalendarFolderFlags(soap, tag, &n, "")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__AttachmentItemInfo(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo); + if (soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__AttachmentItemInfo(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, -1))) + return NULL; + ngwt__AttachmentItemInfo *n; + ngwt__AttachmentItemInfo **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AttachmentItemInfo, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo, sizeof(ngwt__AttachmentItemInfo), 1)) + break; + if (!(p = soap_in_PointerTongwt__AttachmentItemInfo(soap, tag, NULL, "ngwt:AttachmentItemInfo"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__AttachmentItemInfo(soap, tag, &n, "ngwt:AttachmentItemInfo")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__AddressBook(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook); + if (soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__AddressBook(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AddressBook(soap, -1))) + return NULL; + ngwt__AddressBook *n; + ngwt__AddressBook **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AddressBook, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook, sizeof(ngwt__AddressBook), 1)) + break; + if (!(p = soap_in_PointerTongwt__AddressBook(soap, tag, NULL, "ngwt:AddressBook"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__AddressBook(soap, tag, &n, "ngwt:AddressBook")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__AccessRightEntry(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry); + if (soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__AccessRightEntry(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, -1))) + return NULL; + ngwt__AccessRightEntry *n; + ngwt__AccessRightEntry **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AccessRightEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry, sizeof(ngwt__AccessRightEntry), 1)) + break; + if (!(p = soap_in_PointerTongwt__AccessRightEntry(soap, tag, NULL, "ngwt:AccessRightEntry"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__AccessRightEntry(soap, tag, &n, "ngwt:AccessRightEntry")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const std::vector*a) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + soap_serialize_PointerTongwt__AccessControlListEntry(soap, &(*i)); +} + +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, std::vector*p) +{ + p->clear(); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const std::vector*a, const char *tag, const char *type) +{ + register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry); + if (soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, tag, id, a, type)) + return soap->error; + return soap_putindependent(soap); +} + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, int id, const std::vector*a, const char *type) +{ + for (std::vector::const_iterator i = a->begin(); i != a->end(); ++i) + { + if (soap_out_PointerTongwt__AccessControlListEntry(soap, tag, id, &(*i), "")) + return soap->error; + } + return SOAP_OK; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, std::vector*p, const char *tag, const char *type) +{ + if ((p = soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, tag, p, type))) + soap_getindependent(soap); + return p; +} + +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, const char *tag, std::vector*a, const char *type) +{ + if (soap_element_begin_in(soap, tag, 1)) + return NULL; + if (!a && !(a = soap_new_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, -1))) + return NULL; + ngwt__AccessControlListEntry *n; + ngwt__AccessControlListEntry **p; + do + { soap_revert(soap); + if (*soap->id || *soap->href) + { if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, SOAP_TYPE_ngwt__AccessControlListEntry, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry, sizeof(ngwt__AccessControlListEntry), 1)) + break; + if (!(p = soap_in_PointerTongwt__AccessControlListEntry(soap, tag, NULL, "ngwt:AccessControlListEntry"))) + break; + } + else + { n = NULL; + if (!soap_in_PointerTongwt__AccessControlListEntry(soap, tag, &n, "ngwt:AccessControlListEntry")) + break; + a->insert(a->end(), n); + } + } + while (!soap_element_begin_in(soap, tag, 1)); + if (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG) + { soap->error = SOAP_OK; + return a; + } + return NULL; +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, int n) +{ return soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(soap, n, NULL, NULL, NULL); +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, std::vector*p) +{ soap_delete(soap, p); +} + +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); + struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry, n, soap_fdelete); + if (!cp) + return NULL; + if (n < 0) + { cp->ptr = (void*)new std::vector; + if (size) + *size = sizeof(std::vector); + } + else + { cp->ptr = (void*)new std::vector[n]; + if (size) + *size = n * sizeof(std::vector); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); + return (std::vector*)cp->ptr; +} + +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector %p -> %p\n", q, p)); + *(std::vector*)p = *(std::vector*)q; +} + +/* End of soapC.cpp */ diff --git a/kresources/groupwise/soap/soapClient.cpp b/kresources/groupwise/soap/soapClient.cpp new file mode 100644 index 000000000..53ed1d224 --- /dev/null +++ b/kresources/groupwise/soap/soapClient.cpp @@ -0,0 +1,4162 @@ +/* soapClient.cpp + Generated by gSOAP 2.7.3 from ./groupwise.h + Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved. + This part of the software is released under one of the following licenses: + GPL, the gSOAP public license, or Genivia's license for commercial use. +*/ +#include "soapH.h" + +SOAP_SOURCE_STAMP("@(#) soapClient.cpp ver 2.7.3 2006-05-18 13:53:46 GMT") + + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse) +{ struct __ngw__acceptRequest soap_tmp___ngw__acceptRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "acceptRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__acceptRequest.ngwm__acceptRequest = ngwm__acceptRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__acceptRequest(soap, &soap_tmp___ngw__acceptRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__acceptRequest(soap, &soap_tmp___ngw__acceptRequest, "-ngw:acceptRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__acceptRequest(soap, &soap_tmp___ngw__acceptRequest, "-ngw:acceptRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__acceptResponse) + return soap_closesock(soap); + ngwm__acceptResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__acceptResponse->soap_get(soap, "ngwm:acceptResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptShareRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse) +{ struct __ngw__acceptShareRequest soap_tmp___ngw__acceptShareRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "acceptShareRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__acceptShareRequest.ngwm__acceptShareRequest = ngwm__acceptShareRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__acceptShareRequest(soap, &soap_tmp___ngw__acceptShareRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__acceptShareRequest(soap, &soap_tmp___ngw__acceptShareRequest, "-ngw:acceptShareRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__acceptShareRequest(soap, &soap_tmp___ngw__acceptShareRequest, "-ngw:acceptShareRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__acceptShareResponse) + return soap_closesock(soap); + ngwm__acceptShareResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__acceptShareResponse->soap_get(soap, "ngwm:acceptShareResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse) +{ struct __ngw__addItemRequest soap_tmp___ngw__addItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "addItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__addItemRequest.ngwm__addItemRequest = ngwm__addItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__addItemRequest(soap, &soap_tmp___ngw__addItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__addItemRequest(soap, &soap_tmp___ngw__addItemRequest, "-ngw:addItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__addItemRequest(soap, &soap_tmp___ngw__addItemRequest, "-ngw:addItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__addItemResponse) + return soap_closesock(soap); + ngwm__addItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__addItemResponse->soap_get(soap, "ngwm:addItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse) +{ struct __ngw__addItemsRequest soap_tmp___ngw__addItemsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "addItemsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__addItemsRequest.ngwm__addItemsRequest = ngwm__addItemsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__addItemsRequest(soap, &soap_tmp___ngw__addItemsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__addItemsRequest(soap, &soap_tmp___ngw__addItemsRequest, "-ngw:addItemsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__addItemsRequest(soap, &soap_tmp___ngw__addItemsRequest, "-ngw:addItemsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__addItemsResponse) + return soap_closesock(soap); + ngwm__addItemsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__addItemsResponse->soap_get(soap, "ngwm:addItemsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse) +{ struct __ngw__addMembersRequest soap_tmp___ngw__addMembersRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "addMembersRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__addMembersRequest.ngwm__addMembersRequest = ngwm__addMembersRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__addMembersRequest(soap, &soap_tmp___ngw__addMembersRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__addMembersRequest(soap, &soap_tmp___ngw__addMembersRequest, "-ngw:addMembersRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__addMembersRequest(soap, &soap_tmp___ngw__addMembersRequest, "-ngw:addMembersRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__addMembersResponse) + return soap_closesock(soap); + ngwm__addMembersResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__addMembersResponse->soap_get(soap, "ngwm:addMembersResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse) +{ struct __ngw__closeFreeBusySessionRequest soap_tmp___ngw__closeFreeBusySessionRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "closeFreeBusySessionRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__closeFreeBusySessionRequest.ngwm__closeFreeBusySessionRequest = ngwm__closeFreeBusySessionRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__closeFreeBusySessionRequest(soap, &soap_tmp___ngw__closeFreeBusySessionRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__closeFreeBusySessionRequest(soap, &soap_tmp___ngw__closeFreeBusySessionRequest, "-ngw:closeFreeBusySessionRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__closeFreeBusySessionRequest(soap, &soap_tmp___ngw__closeFreeBusySessionRequest, "-ngw:closeFreeBusySessionRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__closeFreeBusySessionResponse) + return soap_closesock(soap); + ngwm__closeFreeBusySessionResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__closeFreeBusySessionResponse->soap_get(soap, "ngwm:closeFreeBusySessionResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__completeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse) +{ struct __ngw__completeRequest soap_tmp___ngw__completeRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "completeRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__completeRequest.ngwm__completeRequest = ngwm__completeRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__completeRequest(soap, &soap_tmp___ngw__completeRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__completeRequest(soap, &soap_tmp___ngw__completeRequest, "-ngw:completeRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__completeRequest(soap, &soap_tmp___ngw__completeRequest, "-ngw:completeRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__completeResponse) + return soap_closesock(soap); + ngwm__completeResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__completeResponse->soap_get(soap, "ngwm:completeResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse) +{ struct __ngw__createCursorRequest soap_tmp___ngw__createCursorRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "createCursorRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__createCursorRequest.ngwm__createCursorRequest = ngwm__createCursorRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__createCursorRequest(soap, &soap_tmp___ngw__createCursorRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__createCursorRequest(soap, &soap_tmp___ngw__createCursorRequest, "-ngw:createCursorRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__createCursorRequest(soap, &soap_tmp___ngw__createCursorRequest, "-ngw:createCursorRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__createCursorResponse) + return soap_closesock(soap); + ngwm__createCursorResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__createCursorResponse->soap_get(soap, "ngwm:createCursorResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse) +{ struct __ngw__createItemRequest soap_tmp___ngw__createItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "createItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__createItemRequest.ngwm__createItemRequest = ngwm__createItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__createItemRequest(soap, &soap_tmp___ngw__createItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__createItemRequest(soap, &soap_tmp___ngw__createItemRequest, "-ngw:createItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__createItemRequest(soap, &soap_tmp___ngw__createItemRequest, "-ngw:createItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__createItemResponse) + return soap_closesock(soap); + ngwm__createItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__createItemResponse->soap_get(soap, "ngwm:createItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse) +{ struct __ngw__createItemsRequest soap_tmp___ngw__createItemsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "createItemsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__createItemsRequest.ngwm__createItemsRequest = ngwm__createItemsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__createItemsRequest(soap, &soap_tmp___ngw__createItemsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__createItemsRequest(soap, &soap_tmp___ngw__createItemsRequest, "-ngw:createItemsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__createItemsRequest(soap, &soap_tmp___ngw__createItemsRequest, "-ngw:createItemsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__createItemsResponse) + return soap_closesock(soap); + ngwm__createItemsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__createItemsResponse->soap_get(soap, "ngwm:createItemsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse) +{ struct __ngw__createJunkEntryRequest soap_tmp___ngw__createJunkEntryRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "createJunkEntryRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__createJunkEntryRequest.ngwm__createJunkEntryRequest = ngwm__createJunkEntryRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__createJunkEntryRequest(soap, &soap_tmp___ngw__createJunkEntryRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__createJunkEntryRequest(soap, &soap_tmp___ngw__createJunkEntryRequest, "-ngw:createJunkEntryRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__createJunkEntryRequest(soap, &soap_tmp___ngw__createJunkEntryRequest, "-ngw:createJunkEntryRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__createJunkEntryResponse) + return soap_closesock(soap); + ngwm__createJunkEntryResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__createJunkEntryResponse->soap_get(soap, "ngwm:createJunkEntryResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse) +{ struct __ngw__createProxyAccessRequest soap_tmp___ngw__createProxyAccessRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "createProxyAccessRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__createProxyAccessRequest.ngwm__createProxyAccessRequest = ngwm__createProxyAccessRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__createProxyAccessRequest(soap, &soap_tmp___ngw__createProxyAccessRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__createProxyAccessRequest(soap, &soap_tmp___ngw__createProxyAccessRequest, "-ngw:createProxyAccessRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__createProxyAccessRequest(soap, &soap_tmp___ngw__createProxyAccessRequest, "-ngw:createProxyAccessRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__createProxyAccessResponse) + return soap_closesock(soap); + ngwm__createProxyAccessResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__createProxyAccessResponse->soap_get(soap, "ngwm:createProxyAccessResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse) +{ struct __ngw__createSignatureRequest soap_tmp___ngw__createSignatureRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "createSignatureRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__createSignatureRequest.ngwm__createSignatureRequest = ngwm__createSignatureRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__createSignatureRequest(soap, &soap_tmp___ngw__createSignatureRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__createSignatureRequest(soap, &soap_tmp___ngw__createSignatureRequest, "-ngw:createSignatureRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__createSignatureRequest(soap, &soap_tmp___ngw__createSignatureRequest, "-ngw:createSignatureRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__createSignatureResponse) + return soap_closesock(soap); + ngwm__createSignatureResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__createSignatureResponse->soap_get(soap, "ngwm:createSignatureResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__declineRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse) +{ struct __ngw__declineRequest soap_tmp___ngw__declineRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "declineRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__declineRequest.ngwm__declineRequest = ngwm__declineRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__declineRequest(soap, &soap_tmp___ngw__declineRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__declineRequest(soap, &soap_tmp___ngw__declineRequest, "-ngw:declineRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__declineRequest(soap, &soap_tmp___ngw__declineRequest, "-ngw:declineRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__declineResponse) + return soap_closesock(soap); + ngwm__declineResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__declineResponse->soap_get(soap, "ngwm:declineResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__delegateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse) +{ struct __ngw__delegateRequest soap_tmp___ngw__delegateRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "delegateRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__delegateRequest.ngwm__delegateRequest = ngwm__delegateRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__delegateRequest(soap, &soap_tmp___ngw__delegateRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__delegateRequest(soap, &soap_tmp___ngw__delegateRequest, "-ngw:delegateRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__delegateRequest(soap, &soap_tmp___ngw__delegateRequest, "-ngw:delegateRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__delegateResponse) + return soap_closesock(soap); + ngwm__delegateResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__delegateResponse->soap_get(soap, "ngwm:delegateResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__destroyCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse) +{ struct __ngw__destroyCursorRequest soap_tmp___ngw__destroyCursorRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "destroyCursorRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__destroyCursorRequest.ngwm__destroyCursorRequest = ngwm__destroyCursorRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__destroyCursorRequest(soap, &soap_tmp___ngw__destroyCursorRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__destroyCursorRequest(soap, &soap_tmp___ngw__destroyCursorRequest, "-ngw:destroyCursorRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__destroyCursorRequest(soap, &soap_tmp___ngw__destroyCursorRequest, "-ngw:destroyCursorRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__destroyCursorResponse) + return soap_closesock(soap); + ngwm__destroyCursorResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__destroyCursorResponse->soap_get(soap, "ngwm:destroyCursorResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__executeRuleRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse) +{ struct __ngw__executeRuleRequest soap_tmp___ngw__executeRuleRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "executeRuleRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__executeRuleRequest.ngwm__executeRuleRequest = ngwm__executeRuleRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__executeRuleRequest(soap, &soap_tmp___ngw__executeRuleRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__executeRuleRequest(soap, &soap_tmp___ngw__executeRuleRequest, "-ngw:executeRuleRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__executeRuleRequest(soap, &soap_tmp___ngw__executeRuleRequest, "-ngw:executeRuleRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__executeRuleResponse) + return soap_closesock(soap); + ngwm__executeRuleResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__executeRuleResponse->soap_get(soap, "ngwm:executeRuleResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__forwardRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse) +{ struct __ngw__forwardRequest soap_tmp___ngw__forwardRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "forwardRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__forwardRequest.ngwm__forwardRequest = ngwm__forwardRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__forwardRequest(soap, &soap_tmp___ngw__forwardRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__forwardRequest(soap, &soap_tmp___ngw__forwardRequest, "-ngw:forwardRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__forwardRequest(soap, &soap_tmp___ngw__forwardRequest, "-ngw:forwardRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__forwardResponse) + return soap_closesock(soap); + ngwm__forwardResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__forwardResponse->soap_get(soap, "ngwm:forwardResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAddressBookListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse) +{ struct __ngw__getAddressBookListRequest soap_tmp___ngw__getAddressBookListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getAddressBookListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getAddressBookListRequest.ngwm__getAddressBookListRequest = ngwm__getAddressBookListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getAddressBookListRequest(soap, &soap_tmp___ngw__getAddressBookListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getAddressBookListRequest(soap, &soap_tmp___ngw__getAddressBookListRequest, "-ngw:getAddressBookListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getAddressBookListRequest(soap, &soap_tmp___ngw__getAddressBookListRequest, "-ngw:getAddressBookListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getAddressBookListResponse) + return soap_closesock(soap); + ngwm__getAddressBookListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getAddressBookListResponse->soap_get(soap, "ngwm:getAddressBookListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAttachmentRequestMessage(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse) +{ struct __ngw__getAttachmentRequestMessage soap_tmp___ngw__getAttachmentRequestMessage; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getAttachmentRequestMessage"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getAttachmentRequestMessage.ngwm__getAttachmentRequest = ngwm__getAttachmentRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getAttachmentRequestMessage(soap, &soap_tmp___ngw__getAttachmentRequestMessage); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getAttachmentRequestMessage(soap, &soap_tmp___ngw__getAttachmentRequestMessage, "-ngw:getAttachmentRequestMessage", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getAttachmentRequestMessage(soap, &soap_tmp___ngw__getAttachmentRequestMessage, "-ngw:getAttachmentRequestMessage", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getAttachmentResponse) + return soap_closesock(soap); + ngwm__getAttachmentResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getAttachmentResponse->soap_get(soap, "ngwm:getAttachmentResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCategoryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse) +{ struct __ngw__getCategoryListRequest soap_tmp___ngw__getCategoryListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getCategoryListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getCategoryListRequest.ngwm__getCategoryListRequest = ngwm__getCategoryListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getCategoryListRequest(soap, &soap_tmp___ngw__getCategoryListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getCategoryListRequest(soap, &soap_tmp___ngw__getCategoryListRequest, "-ngw:getCategoryListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getCategoryListRequest(soap, &soap_tmp___ngw__getCategoryListRequest, "-ngw:getCategoryListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getCategoryListResponse) + return soap_closesock(soap); + ngwm__getCategoryListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getCategoryListResponse->soap_get(soap, "ngwm:getCategoryListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCustomListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse) +{ struct __ngw__getCustomListRequest soap_tmp___ngw__getCustomListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getCustomListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getCustomListRequest.ngwm__getCustomListRequest = ngwm__getCustomListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getCustomListRequest(soap, &soap_tmp___ngw__getCustomListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getCustomListRequest(soap, &soap_tmp___ngw__getCustomListRequest, "-ngw:getCustomListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getCustomListRequest(soap, &soap_tmp___ngw__getCustomListRequest, "-ngw:getCustomListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getCustomListResponse) + return soap_closesock(soap); + ngwm__getCustomListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getCustomListResponse->soap_get(soap, "ngwm:getCustomListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltasRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse) +{ struct __ngw__getDeltasRequest soap_tmp___ngw__getDeltasRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getDeltasRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getDeltasRequest.ngwm__getDeltasRequest = ngwm__getDeltasRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getDeltasRequest(soap, &soap_tmp___ngw__getDeltasRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getDeltasRequest(soap, &soap_tmp___ngw__getDeltasRequest, "-ngw:getDeltasRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getDeltasRequest(soap, &soap_tmp___ngw__getDeltasRequest, "-ngw:getDeltasRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getDeltasResponse) + return soap_closesock(soap); + ngwm__getDeltasResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getDeltasResponse->soap_get(soap, "ngwm:getDeltasResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltaInfoRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse) +{ struct __ngw__getDeltaInfoRequest soap_tmp___ngw__getDeltaInfoRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getDeltaInfoRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getDeltaInfoRequest.ngwm__getDeltaInfoRequest = ngwm__getDeltaInfoRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getDeltaInfoRequest(soap, &soap_tmp___ngw__getDeltaInfoRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getDeltaInfoRequest(soap, &soap_tmp___ngw__getDeltaInfoRequest, "-ngw:getDeltaInfoRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getDeltaInfoRequest(soap, &soap_tmp___ngw__getDeltaInfoRequest, "-ngw:getDeltaInfoRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getDeltaInfoResponse) + return soap_closesock(soap); + ngwm__getDeltaInfoResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getDeltaInfoResponse->soap_get(soap, "ngwm:getDeltaInfoResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDocumentTypeListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse) +{ struct __ngw__getDocumentTypeListRequest soap_tmp___ngw__getDocumentTypeListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getDocumentTypeListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getDocumentTypeListRequest.ngwm__getDocumentTypeListRequest = ngwm__getDocumentTypeListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getDocumentTypeListRequest(soap, &soap_tmp___ngw__getDocumentTypeListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getDocumentTypeListRequest(soap, &soap_tmp___ngw__getDocumentTypeListRequest, "-ngw:getDocumentTypeListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getDocumentTypeListRequest(soap, &soap_tmp___ngw__getDocumentTypeListRequest, "-ngw:getDocumentTypeListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getDocumentTypeListResponse) + return soap_closesock(soap); + ngwm__getDocumentTypeListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getDocumentTypeListResponse->soap_get(soap, "ngwm:getDocumentTypeListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse) +{ struct __ngw__getFolderRequest soap_tmp___ngw__getFolderRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getFolderRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getFolderRequest.ngwm__getFolderRequest = ngwm__getFolderRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getFolderRequest(soap, &soap_tmp___ngw__getFolderRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getFolderRequest(soap, &soap_tmp___ngw__getFolderRequest, "-ngw:getFolderRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getFolderRequest(soap, &soap_tmp___ngw__getFolderRequest, "-ngw:getFolderRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getFolderResponse) + return soap_closesock(soap); + ngwm__getFolderResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getFolderResponse->soap_get(soap, "ngwm:getFolderResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse) +{ struct __ngw__getFolderListRequest soap_tmp___ngw__getFolderListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getFolderListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getFolderListRequest.ngwm__getFolderListRequest = ngwm__getFolderListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getFolderListRequest(soap, &soap_tmp___ngw__getFolderListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getFolderListRequest(soap, &soap_tmp___ngw__getFolderListRequest, "-ngw:getFolderListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getFolderListRequest(soap, &soap_tmp___ngw__getFolderListRequest, "-ngw:getFolderListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getFolderListResponse) + return soap_closesock(soap); + ngwm__getFolderListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getFolderListResponse->soap_get(soap, "ngwm:getFolderListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFreeBusyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse) +{ struct __ngw__getFreeBusyRequest soap_tmp___ngw__getFreeBusyRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getFreeBusyRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getFreeBusyRequest.ngwm__getFreeBusyRequest = ngwm__getFreeBusyRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getFreeBusyRequest(soap, &soap_tmp___ngw__getFreeBusyRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getFreeBusyRequest(soap, &soap_tmp___ngw__getFreeBusyRequest, "-ngw:getFreeBusyRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getFreeBusyRequest(soap, &soap_tmp___ngw__getFreeBusyRequest, "-ngw:getFreeBusyRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getFreeBusyResponse) + return soap_closesock(soap); + ngwm__getFreeBusyResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getFreeBusyResponse->soap_get(soap, "ngwm:getFreeBusyResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse) +{ struct __ngw__getItemRequest soap_tmp___ngw__getItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getItemRequest.ngwm__getItemRequest = ngwm__getItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getItemRequest(soap, &soap_tmp___ngw__getItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getItemRequest(soap, &soap_tmp___ngw__getItemRequest, "-ngw:getItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getItemRequest(soap, &soap_tmp___ngw__getItemRequest, "-ngw:getItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getItemResponse) + return soap_closesock(soap); + ngwm__getItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getItemResponse->soap_get(soap, "ngwm:getItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse) +{ struct __ngw__getItemsRequest soap_tmp___ngw__getItemsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getItemsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getItemsRequest.ngwm__getItemsRequest = ngwm__getItemsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getItemsRequest(soap, &soap_tmp___ngw__getItemsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getItemsRequest(soap, &soap_tmp___ngw__getItemsRequest, "-ngw:getItemsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getItemsRequest(soap, &soap_tmp___ngw__getItemsRequest, "-ngw:getItemsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getItemsResponse) + return soap_closesock(soap); + ngwm__getItemsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getItemsResponse->soap_get(soap, "ngwm:getItemsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkEntriesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse) +{ struct __ngw__getJunkEntriesRequest soap_tmp___ngw__getJunkEntriesRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getJunkEntriesRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getJunkEntriesRequest.ngwm__getJunkEntriesRequest = ngwm__getJunkEntriesRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getJunkEntriesRequest(soap, &soap_tmp___ngw__getJunkEntriesRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getJunkEntriesRequest(soap, &soap_tmp___ngw__getJunkEntriesRequest, "-ngw:getJunkEntriesRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getJunkEntriesRequest(soap, &soap_tmp___ngw__getJunkEntriesRequest, "-ngw:getJunkEntriesRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getJunkEntriesResponse) + return soap_closesock(soap); + ngwm__getJunkEntriesResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getJunkEntriesResponse->soap_get(soap, "ngwm:getJunkEntriesResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse) +{ struct __ngw__getJunkMailSettingsRequest soap_tmp___ngw__getJunkMailSettingsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getJunkMailSettingsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getJunkMailSettingsRequest.ngwm__getJunkMailSettingsRequest = ngwm__getJunkMailSettingsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getJunkMailSettingsRequest(soap, &soap_tmp___ngw__getJunkMailSettingsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getJunkMailSettingsRequest(soap, &soap_tmp___ngw__getJunkMailSettingsRequest, "-ngw:getJunkMailSettingsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getJunkMailSettingsRequest(soap, &soap_tmp___ngw__getJunkMailSettingsRequest, "-ngw:getJunkMailSettingsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getJunkMailSettingsResponse) + return soap_closesock(soap); + ngwm__getJunkMailSettingsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getJunkMailSettingsResponse->soap_get(soap, "ngwm:getJunkMailSettingsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse) +{ struct __ngw__getLibraryItemRequest soap_tmp___ngw__getLibraryItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getLibraryItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getLibraryItemRequest.ngwm__getLibraryItemRequest = ngwm__getLibraryItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getLibraryItemRequest(soap, &soap_tmp___ngw__getLibraryItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getLibraryItemRequest(soap, &soap_tmp___ngw__getLibraryItemRequest, "-ngw:getLibraryItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getLibraryItemRequest(soap, &soap_tmp___ngw__getLibraryItemRequest, "-ngw:getLibraryItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getLibraryItemResponse) + return soap_closesock(soap); + ngwm__getLibraryItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getLibraryItemResponse->soap_get(soap, "ngwm:getLibraryItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse) +{ struct __ngw__getLibraryListRequest soap_tmp___ngw__getLibraryListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getLibraryListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getLibraryListRequest.ngwm__getLibraryListRequest = ngwm__getLibraryListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getLibraryListRequest(soap, &soap_tmp___ngw__getLibraryListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getLibraryListRequest(soap, &soap_tmp___ngw__getLibraryListRequest, "-ngw:getLibraryListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getLibraryListRequest(soap, &soap_tmp___ngw__getLibraryListRequest, "-ngw:getLibraryListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getLibraryListResponse) + return soap_closesock(soap); + ngwm__getLibraryListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getLibraryListResponse->soap_get(soap, "ngwm:getLibraryListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getQuickMessagesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse) +{ struct __ngw__getQuickMessagesRequest soap_tmp___ngw__getQuickMessagesRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getQuickMessagesRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getQuickMessagesRequest.ngwm__getQuickMessagesRequest = ngwm__getQuickMessagesRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getQuickMessagesRequest(soap, &soap_tmp___ngw__getQuickMessagesRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getQuickMessagesRequest(soap, &soap_tmp___ngw__getQuickMessagesRequest, "-ngw:getQuickMessagesRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getQuickMessagesRequest(soap, &soap_tmp___ngw__getQuickMessagesRequest, "-ngw:getQuickMessagesRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getQuickMessagesResponse) + return soap_closesock(soap); + ngwm__getQuickMessagesResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getQuickMessagesResponse->soap_get(soap, "ngwm:getQuickMessagesResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyAccessListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse) +{ struct __ngw__getProxyAccessListRequest soap_tmp___ngw__getProxyAccessListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getProxyAccessListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getProxyAccessListRequest.ngwm__getProxyAccessListRequest = ngwm__getProxyAccessListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getProxyAccessListRequest(soap, &soap_tmp___ngw__getProxyAccessListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getProxyAccessListRequest(soap, &soap_tmp___ngw__getProxyAccessListRequest, "-ngw:getProxyAccessListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getProxyAccessListRequest(soap, &soap_tmp___ngw__getProxyAccessListRequest, "-ngw:getProxyAccessListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getProxyAccessListResponse) + return soap_closesock(soap); + ngwm__getProxyAccessListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getProxyAccessListResponse->soap_get(soap, "ngwm:getProxyAccessListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse) +{ struct __ngw__getProxyListRequest soap_tmp___ngw__getProxyListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getProxyListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getProxyListRequest.ngwm__getProxyListRequest = ngwm__getProxyListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getProxyListRequest(soap, &soap_tmp___ngw__getProxyListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getProxyListRequest(soap, &soap_tmp___ngw__getProxyListRequest, "-ngw:getProxyListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getProxyListRequest(soap, &soap_tmp___ngw__getProxyListRequest, "-ngw:getProxyListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getProxyListResponse) + return soap_closesock(soap); + ngwm__getProxyListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getProxyListResponse->soap_get(soap, "ngwm:getProxyListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getRuleListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse) +{ struct __ngw__getRuleListRequest soap_tmp___ngw__getRuleListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getRuleListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getRuleListRequest.ngwm__getRuleListRequest = ngwm__getRuleListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getRuleListRequest(soap, &soap_tmp___ngw__getRuleListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getRuleListRequest(soap, &soap_tmp___ngw__getRuleListRequest, "-ngw:getRuleListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getRuleListRequest(soap, &soap_tmp___ngw__getRuleListRequest, "-ngw:getRuleListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getRuleListResponse) + return soap_closesock(soap); + ngwm__getRuleListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getRuleListResponse->soap_get(soap, "ngwm:getRuleListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse) +{ struct __ngw__getSettingsRequest soap_tmp___ngw__getSettingsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getSettingsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getSettingsRequest.ngwm__getSettingsRequest = ngwm__getSettingsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getSettingsRequest(soap, &soap_tmp___ngw__getSettingsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getSettingsRequest(soap, &soap_tmp___ngw__getSettingsRequest, "-ngw:getSettingsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getSettingsRequest(soap, &soap_tmp___ngw__getSettingsRequest, "-ngw:getSettingsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getSettingsResponse) + return soap_closesock(soap); + ngwm__getSettingsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getSettingsResponse->soap_get(soap, "ngwm:getSettingsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse) +{ struct __ngw__getSignaturesRequest soap_tmp___ngw__getSignaturesRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getSignaturesRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getSignaturesRequest.ngwm__getSignaturesRequest = ngwm__getSignaturesRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getSignaturesRequest(soap, &soap_tmp___ngw__getSignaturesRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getSignaturesRequest(soap, &soap_tmp___ngw__getSignaturesRequest, "-ngw:getSignaturesRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getSignaturesRequest(soap, &soap_tmp___ngw__getSignaturesRequest, "-ngw:getSignaturesRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getSignaturesResponse) + return soap_closesock(soap); + ngwm__getSignaturesResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getSignaturesResponse->soap_get(soap, "ngwm:getSignaturesResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse) +{ struct __ngw__getTimestampRequest soap_tmp___ngw__getTimestampRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getTimestampRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getTimestampRequest.ngwm__getTimestampRequest = ngwm__getTimestampRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getTimestampRequest(soap, &soap_tmp___ngw__getTimestampRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getTimestampRequest(soap, &soap_tmp___ngw__getTimestampRequest, "-ngw:getTimestampRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getTimestampRequest(soap, &soap_tmp___ngw__getTimestampRequest, "-ngw:getTimestampRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getTimestampResponse) + return soap_closesock(soap); + ngwm__getTimestampResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getTimestampResponse->soap_get(soap, "ngwm:getTimestampResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimezoneListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse) +{ struct __ngw__getTimezoneListRequest soap_tmp___ngw__getTimezoneListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getTimezoneListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getTimezoneListRequest.ngwm__getTimezoneListRequest = ngwm__getTimezoneListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getTimezoneListRequest(soap, &soap_tmp___ngw__getTimezoneListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getTimezoneListRequest(soap, &soap_tmp___ngw__getTimezoneListRequest, "-ngw:getTimezoneListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getTimezoneListRequest(soap, &soap_tmp___ngw__getTimezoneListRequest, "-ngw:getTimezoneListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getTimezoneListResponse) + return soap_closesock(soap); + ngwm__getTimezoneListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getTimezoneListResponse->soap_get(soap, "ngwm:getTimezoneListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getUserListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse) +{ struct __ngw__getUserListRequest soap_tmp___ngw__getUserListRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getUserListRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getUserListRequest.ngwm__getUserListRequest = ngwm__getUserListRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getUserListRequest(soap, &soap_tmp___ngw__getUserListRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getUserListRequest(soap, &soap_tmp___ngw__getUserListRequest, "-ngw:getUserListRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getUserListRequest(soap, &soap_tmp___ngw__getUserListRequest, "-ngw:getUserListRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__getUserListResponse) + return soap_closesock(soap); + ngwm__getUserListResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__getUserListResponse->soap_get(soap, "ngwm:getUserListResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__loginRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse) +{ struct __ngw__loginRequest soap_tmp___ngw__loginRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "loginRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__loginRequest.ngwm__loginRequest = ngwm__loginRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__loginRequest(soap, &soap_tmp___ngw__loginRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__loginRequest(soap, &soap_tmp___ngw__loginRequest, "-ngw:loginRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__loginRequest(soap, &soap_tmp___ngw__loginRequest, "-ngw:loginRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__loginResponse) + return soap_closesock(soap); + ngwm__loginResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__loginResponse->soap_get(soap, "ngwm:loginResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__logoutRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse) +{ struct __ngw__logoutRequest soap_tmp___ngw__logoutRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "logoutRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__logoutRequest.ngwm__logoutRequest = ngwm__logoutRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__logoutRequest(soap, &soap_tmp___ngw__logoutRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__logoutRequest(soap, &soap_tmp___ngw__logoutRequest, "-ngw:logoutRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__logoutRequest(soap, &soap_tmp___ngw__logoutRequest, "-ngw:logoutRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__logoutResponse) + return soap_closesock(soap); + ngwm__logoutResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__logoutResponse->soap_get(soap, "ngwm:logoutResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse) +{ struct __ngw__markPrivateRequest soap_tmp___ngw__markPrivateRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "markPrivateRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__markPrivateRequest.ngwm__markPrivateRequest = ngwm__markPrivateRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__markPrivateRequest(soap, &soap_tmp___ngw__markPrivateRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__markPrivateRequest(soap, &soap_tmp___ngw__markPrivateRequest, "-ngw:markPrivateRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__markPrivateRequest(soap, &soap_tmp___ngw__markPrivateRequest, "-ngw:markPrivateRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__markPrivateResponse) + return soap_closesock(soap); + ngwm__markPrivateResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__markPrivateResponse->soap_get(soap, "ngwm:markPrivateResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse) +{ struct __ngw__markReadRequest soap_tmp___ngw__markReadRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "markReadRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__markReadRequest.ngwm__markReadRequest = ngwm__markReadRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__markReadRequest(soap, &soap_tmp___ngw__markReadRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__markReadRequest(soap, &soap_tmp___ngw__markReadRequest, "-ngw:markReadRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__markReadRequest(soap, &soap_tmp___ngw__markReadRequest, "-ngw:markReadRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__markReadResponse) + return soap_closesock(soap); + ngwm__markReadResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__markReadResponse->soap_get(soap, "ngwm:markReadResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse) +{ struct __ngw__markUnPrivateRequest soap_tmp___ngw__markUnPrivateRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "markUnPrivateRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__markUnPrivateRequest.ngwm__markUnPrivateRequest = ngwm__markUnPrivateRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__markUnPrivateRequest(soap, &soap_tmp___ngw__markUnPrivateRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__markUnPrivateRequest(soap, &soap_tmp___ngw__markUnPrivateRequest, "-ngw:markUnPrivateRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__markUnPrivateRequest(soap, &soap_tmp___ngw__markUnPrivateRequest, "-ngw:markUnPrivateRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__markUnPrivateResponse) + return soap_closesock(soap); + ngwm__markUnPrivateResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__markUnPrivateResponse->soap_get(soap, "ngwm:markUnPrivateResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse) +{ struct __ngw__markUnReadRequest soap_tmp___ngw__markUnReadRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "markUnReadRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__markUnReadRequest.ngwm__markUnReadRequest = ngwm__markUnReadRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__markUnReadRequest(soap, &soap_tmp___ngw__markUnReadRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__markUnReadRequest(soap, &soap_tmp___ngw__markUnReadRequest, "-ngw:markUnReadRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__markUnReadRequest(soap, &soap_tmp___ngw__markUnReadRequest, "-ngw:markUnReadRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__markUnReadResponse) + return soap_closesock(soap); + ngwm__markUnReadResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__markUnReadResponse->soap_get(soap, "ngwm:markUnReadResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse) +{ struct __ngw__modifyItemRequest soap_tmp___ngw__modifyItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifyItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifyItemRequest.ngwm__modifyItemRequest = ngwm__modifyItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifyItemRequest(soap, &soap_tmp___ngw__modifyItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifyItemRequest(soap, &soap_tmp___ngw__modifyItemRequest, "-ngw:modifyItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifyItemRequest(soap, &soap_tmp___ngw__modifyItemRequest, "-ngw:modifyItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifyItemResponse) + return soap_closesock(soap); + ngwm__modifyItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifyItemResponse->soap_get(soap, "ngwm:modifyItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse) +{ struct __ngw__modifyJunkEntryRequest soap_tmp___ngw__modifyJunkEntryRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifyJunkEntryRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifyJunkEntryRequest.ngwm__modifyJunkEntryRequest = ngwm__modifyJunkEntryRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifyJunkEntryRequest(soap, &soap_tmp___ngw__modifyJunkEntryRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifyJunkEntryRequest(soap, &soap_tmp___ngw__modifyJunkEntryRequest, "-ngw:modifyJunkEntryRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifyJunkEntryRequest(soap, &soap_tmp___ngw__modifyJunkEntryRequest, "-ngw:modifyJunkEntryRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifyJunkEntryResponse) + return soap_closesock(soap); + ngwm__modifyJunkEntryResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifyJunkEntryResponse->soap_get(soap, "ngwm:modifyJunkEntryResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse) +{ struct __ngw__modifyJunkMailSettingsRequest soap_tmp___ngw__modifyJunkMailSettingsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifyJunkMailSettingsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifyJunkMailSettingsRequest.ngwm__modifyJunkMailSettingsRequest = ngwm__modifyJunkMailSettingsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifyJunkMailSettingsRequest(soap, &soap_tmp___ngw__modifyJunkMailSettingsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifyJunkMailSettingsRequest(soap, &soap_tmp___ngw__modifyJunkMailSettingsRequest, "-ngw:modifyJunkMailSettingsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifyJunkMailSettingsRequest(soap, &soap_tmp___ngw__modifyJunkMailSettingsRequest, "-ngw:modifyJunkMailSettingsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifyJunkMailSettingsResponse) + return soap_closesock(soap); + ngwm__modifyJunkMailSettingsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifyJunkMailSettingsResponse->soap_get(soap, "ngwm:modifyJunkMailSettingsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyPasswordRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse) +{ struct __ngw__modifyPasswordRequest soap_tmp___ngw__modifyPasswordRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifyPasswordRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifyPasswordRequest.ngwm__modifyPasswordRequest = ngwm__modifyPasswordRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifyPasswordRequest(soap, &soap_tmp___ngw__modifyPasswordRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifyPasswordRequest(soap, &soap_tmp___ngw__modifyPasswordRequest, "-ngw:modifyPasswordRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifyPasswordRequest(soap, &soap_tmp___ngw__modifyPasswordRequest, "-ngw:modifyPasswordRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifyPasswordResponse) + return soap_closesock(soap); + ngwm__modifyPasswordResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifyPasswordResponse->soap_get(soap, "ngwm:modifyPasswordResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse) +{ struct __ngw__modifyProxyAccessRequest soap_tmp___ngw__modifyProxyAccessRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifyProxyAccessRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifyProxyAccessRequest.ngwm__modifyProxyAccessRequest = ngwm__modifyProxyAccessRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifyProxyAccessRequest(soap, &soap_tmp___ngw__modifyProxyAccessRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifyProxyAccessRequest(soap, &soap_tmp___ngw__modifyProxyAccessRequest, "-ngw:modifyProxyAccessRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifyProxyAccessRequest(soap, &soap_tmp___ngw__modifyProxyAccessRequest, "-ngw:modifyProxyAccessRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifyProxyAccessResponse) + return soap_closesock(soap); + ngwm__modifyProxyAccessResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifyProxyAccessResponse->soap_get(soap, "ngwm:modifyProxyAccessResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse) +{ struct __ngw__modifySettingsRequest soap_tmp___ngw__modifySettingsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifySettingsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifySettingsRequest.ngwm__modifySettingsRequest = ngwm__modifySettingsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifySettingsRequest(soap, &soap_tmp___ngw__modifySettingsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifySettingsRequest(soap, &soap_tmp___ngw__modifySettingsRequest, "-ngw:modifySettingsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifySettingsRequest(soap, &soap_tmp___ngw__modifySettingsRequest, "-ngw:modifySettingsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifySettingsResponse) + return soap_closesock(soap); + ngwm__modifySettingsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifySettingsResponse->soap_get(soap, "ngwm:modifySettingsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse) +{ struct __ngw__modifySignaturesRequest soap_tmp___ngw__modifySignaturesRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "modifySignaturesRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__modifySignaturesRequest.ngwm__modifySignaturesRequest = ngwm__modifySignaturesRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__modifySignaturesRequest(soap, &soap_tmp___ngw__modifySignaturesRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__modifySignaturesRequest(soap, &soap_tmp___ngw__modifySignaturesRequest, "-ngw:modifySignaturesRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__modifySignaturesRequest(soap, &soap_tmp___ngw__modifySignaturesRequest, "-ngw:modifySignaturesRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__modifySignaturesResponse) + return soap_closesock(soap); + ngwm__modifySignaturesResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__modifySignaturesResponse->soap_get(soap, "ngwm:modifySignaturesResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__moveItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse) +{ struct __ngw__moveItemRequest soap_tmp___ngw__moveItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "moveItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__moveItemRequest.ngwm__moveItemRequest = ngwm__moveItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__moveItemRequest(soap, &soap_tmp___ngw__moveItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__moveItemRequest(soap, &soap_tmp___ngw__moveItemRequest, "-ngw:moveItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__moveItemRequest(soap, &soap_tmp___ngw__moveItemRequest, "-ngw:moveItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__moveItemResponse) + return soap_closesock(soap); + ngwm__moveItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__moveItemResponse->soap_get(soap, "ngwm:moveItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__positionCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse) +{ struct __ngw__positionCursorRequest soap_tmp___ngw__positionCursorRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "positionCursorRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__positionCursorRequest.ngwm__positionCursorRequest = ngwm__positionCursorRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__positionCursorRequest(soap, &soap_tmp___ngw__positionCursorRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__positionCursorRequest(soap, &soap_tmp___ngw__positionCursorRequest, "-ngw:positionCursorRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__positionCursorRequest(soap, &soap_tmp___ngw__positionCursorRequest, "-ngw:positionCursorRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__positionCursorResponse) + return soap_closesock(soap); + ngwm__positionCursorResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__positionCursorResponse->soap_get(soap, "ngwm:positionCursorResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse) +{ struct __ngw__purgeDeletedItemsRequest soap_tmp___ngw__purgeDeletedItemsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "purgeDeletedItemsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__purgeDeletedItemsRequest.ngwm__purgeDeletedItemsRequest = ngwm__purgeDeletedItemsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__purgeDeletedItemsRequest(soap, &soap_tmp___ngw__purgeDeletedItemsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__purgeDeletedItemsRequest(soap, &soap_tmp___ngw__purgeDeletedItemsRequest, "-ngw:purgeDeletedItemsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__purgeDeletedItemsRequest(soap, &soap_tmp___ngw__purgeDeletedItemsRequest, "-ngw:purgeDeletedItemsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__purgeDeletedItemsResponse) + return soap_closesock(soap); + ngwm__purgeDeletedItemsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__purgeDeletedItemsResponse->soap_get(soap, "ngwm:purgeDeletedItemsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse) +{ struct __ngw__purgeRequest soap_tmp___ngw__purgeRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "purgeRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__purgeRequest.ngwm__purgeRequest = ngwm__purgeRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__purgeRequest(soap, &soap_tmp___ngw__purgeRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__purgeRequest(soap, &soap_tmp___ngw__purgeRequest, "-ngw:purgeRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__purgeRequest(soap, &soap_tmp___ngw__purgeRequest, "-ngw:purgeRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__purgeResponse) + return soap_closesock(soap); + ngwm__purgeResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__purgeResponse->soap_get(soap, "ngwm:purgeResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__readCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse) +{ struct __ngw__readCursorRequest soap_tmp___ngw__readCursorRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "readCursorRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__readCursorRequest.ngwm__readCursorRequest = ngwm__readCursorRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__readCursorRequest(soap, &soap_tmp___ngw__readCursorRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__readCursorRequest(soap, &soap_tmp___ngw__readCursorRequest, "-ngw:readCursorRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__readCursorRequest(soap, &soap_tmp___ngw__readCursorRequest, "-ngw:readCursorRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__readCursorResponse) + return soap_closesock(soap); + ngwm__readCursorResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__readCursorResponse->soap_get(soap, "ngwm:readCursorResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse) +{ struct __ngw__removeCustomDefinitionRequest soap_tmp___ngw__removeCustomDefinitionRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeCustomDefinitionRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeCustomDefinitionRequest.ngwm__removeCustomDefinitionRequest = ngwm__removeCustomDefinitionRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeCustomDefinitionRequest(soap, &soap_tmp___ngw__removeCustomDefinitionRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeCustomDefinitionRequest(soap, &soap_tmp___ngw__removeCustomDefinitionRequest, "-ngw:removeCustomDefinitionRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeCustomDefinitionRequest(soap, &soap_tmp___ngw__removeCustomDefinitionRequest, "-ngw:removeCustomDefinitionRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeCustomDefinitionResponse) + return soap_closesock(soap); + ngwm__removeCustomDefinitionResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeCustomDefinitionResponse->soap_get(soap, "ngwm:removeCustomDefinitionResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse) +{ struct __ngw__removeItemRequest soap_tmp___ngw__removeItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeItemRequest.ngwm__removeItemRequest = ngwm__removeItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeItemRequest(soap, &soap_tmp___ngw__removeItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeItemRequest(soap, &soap_tmp___ngw__removeItemRequest, "-ngw:removeItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeItemRequest(soap, &soap_tmp___ngw__removeItemRequest, "-ngw:removeItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeItemResponse) + return soap_closesock(soap); + ngwm__removeItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeItemResponse->soap_get(soap, "ngwm:removeItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse) +{ struct __ngw__removeItemsRequest soap_tmp___ngw__removeItemsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeItemsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeItemsRequest.ngwm__removeItemsRequest = ngwm__removeItemsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeItemsRequest(soap, &soap_tmp___ngw__removeItemsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeItemsRequest(soap, &soap_tmp___ngw__removeItemsRequest, "-ngw:removeItemsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeItemsRequest(soap, &soap_tmp___ngw__removeItemsRequest, "-ngw:removeItemsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeItemsResponse) + return soap_closesock(soap); + ngwm__removeItemsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeItemsResponse->soap_get(soap, "ngwm:removeItemsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse) +{ struct __ngw__removeJunkEntryRequest soap_tmp___ngw__removeJunkEntryRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeJunkEntryRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeJunkEntryRequest.ngwm__removeJunkEntryRequest = ngwm__removeJunkEntryRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeJunkEntryRequest(soap, &soap_tmp___ngw__removeJunkEntryRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeJunkEntryRequest(soap, &soap_tmp___ngw__removeJunkEntryRequest, "-ngw:removeJunkEntryRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeJunkEntryRequest(soap, &soap_tmp___ngw__removeJunkEntryRequest, "-ngw:removeJunkEntryRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeJunkEntryResponse) + return soap_closesock(soap); + ngwm__removeJunkEntryResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeJunkEntryResponse->soap_get(soap, "ngwm:removeJunkEntryResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse) +{ struct __ngw__removeMembersRequest soap_tmp___ngw__removeMembersRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeMembersRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeMembersRequest.ngwm__removeMembersRequest = ngwm__removeMembersRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeMembersRequest(soap, &soap_tmp___ngw__removeMembersRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeMembersRequest(soap, &soap_tmp___ngw__removeMembersRequest, "-ngw:removeMembersRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeMembersRequest(soap, &soap_tmp___ngw__removeMembersRequest, "-ngw:removeMembersRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeMembersResponse) + return soap_closesock(soap); + ngwm__removeMembersResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeMembersResponse->soap_get(soap, "ngwm:removeMembersResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse) +{ struct __ngw__removeProxyAccessRequest soap_tmp___ngw__removeProxyAccessRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeProxyAccessRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeProxyAccessRequest.ngwm__removeProxyAccessRequest = ngwm__removeProxyAccessRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeProxyAccessRequest(soap, &soap_tmp___ngw__removeProxyAccessRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeProxyAccessRequest(soap, &soap_tmp___ngw__removeProxyAccessRequest, "-ngw:removeProxyAccessRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeProxyAccessRequest(soap, &soap_tmp___ngw__removeProxyAccessRequest, "-ngw:removeProxyAccessRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeProxyAccessResponse) + return soap_closesock(soap); + ngwm__removeProxyAccessResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeProxyAccessResponse->soap_get(soap, "ngwm:removeProxyAccessResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyUserRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse) +{ struct __ngw__removeProxyUserRequest soap_tmp___ngw__removeProxyUserRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeProxyUserRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeProxyUserRequest.ngwm__removeProxyUserRequest = ngwm__removeProxyUserRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeProxyUserRequest(soap, &soap_tmp___ngw__removeProxyUserRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeProxyUserRequest(soap, &soap_tmp___ngw__removeProxyUserRequest, "-ngw:removeProxyUserRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeProxyUserRequest(soap, &soap_tmp___ngw__removeProxyUserRequest, "-ngw:removeProxyUserRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeProxyUserResponse) + return soap_closesock(soap); + ngwm__removeProxyUserResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeProxyUserResponse->soap_get(soap, "ngwm:removeProxyUserResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse) +{ struct __ngw__removeSignatureRequest soap_tmp___ngw__removeSignatureRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeSignatureRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeSignatureRequest.ngwm__removeSignatureRequest = ngwm__removeSignatureRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeSignatureRequest(soap, &soap_tmp___ngw__removeSignatureRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeSignatureRequest(soap, &soap_tmp___ngw__removeSignatureRequest, "-ngw:removeSignatureRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeSignatureRequest(soap, &soap_tmp___ngw__removeSignatureRequest, "-ngw:removeSignatureRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__removeSignatureResponse) + return soap_closesock(soap); + ngwm__removeSignatureResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__removeSignatureResponse->soap_get(soap, "ngwm:removeSignatureResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__replyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse) +{ struct __ngw__replyRequest soap_tmp___ngw__replyRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "replyRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__replyRequest.ngwm__replyRequest = ngwm__replyRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__replyRequest(soap, &soap_tmp___ngw__replyRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__replyRequest(soap, &soap_tmp___ngw__replyRequest, "-ngw:replyRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__replyRequest(soap, &soap_tmp___ngw__replyRequest, "-ngw:replyRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__replyResponse) + return soap_closesock(soap); + ngwm__replyResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__replyResponse->soap_get(soap, "ngwm:replyResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__retractRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse) +{ struct __ngw__retractRequest soap_tmp___ngw__retractRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "retractRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__retractRequest.ngwm__retractRequest = ngwm__retractRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__retractRequest(soap, &soap_tmp___ngw__retractRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__retractRequest(soap, &soap_tmp___ngw__retractRequest, "-ngw:retractRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__retractRequest(soap, &soap_tmp___ngw__retractRequest, "-ngw:retractRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__retractResponse) + return soap_closesock(soap); + ngwm__retractResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__retractResponse->soap_get(soap, "ngwm:retractResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__sendItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse) +{ struct __ngw__sendItemRequest soap_tmp___ngw__sendItemRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "sendItemRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__sendItemRequest.ngwm__sendItemRequest = ngwm__sendItemRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__sendItemRequest(soap, &soap_tmp___ngw__sendItemRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__sendItemRequest(soap, &soap_tmp___ngw__sendItemRequest, "-ngw:sendItemRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__sendItemRequest(soap, &soap_tmp___ngw__sendItemRequest, "-ngw:sendItemRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__sendItemResponse) + return soap_closesock(soap); + ngwm__sendItemResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__sendItemResponse->soap_get(soap, "ngwm:sendItemResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__setTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse) +{ struct __ngw__setTimestampRequest soap_tmp___ngw__setTimestampRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "setTimestampRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__setTimestampRequest.ngwm__setTimestampRequest = ngwm__setTimestampRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__setTimestampRequest(soap, &soap_tmp___ngw__setTimestampRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__setTimestampRequest(soap, &soap_tmp___ngw__setTimestampRequest, "-ngw:setTimestampRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__setTimestampRequest(soap, &soap_tmp___ngw__setTimestampRequest, "-ngw:setTimestampRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__setTimestampResponse) + return soap_closesock(soap); + ngwm__setTimestampResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__setTimestampResponse->soap_get(soap, "ngwm:setTimestampResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__startFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse) +{ struct __ngw__startFreeBusySessionRequest soap_tmp___ngw__startFreeBusySessionRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "startFreeBusySessionRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__startFreeBusySessionRequest.ngwm__startFreeBusySessionRequest = ngwm__startFreeBusySessionRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__startFreeBusySessionRequest(soap, &soap_tmp___ngw__startFreeBusySessionRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__startFreeBusySessionRequest(soap, &soap_tmp___ngw__startFreeBusySessionRequest, "-ngw:startFreeBusySessionRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__startFreeBusySessionRequest(soap, &soap_tmp___ngw__startFreeBusySessionRequest, "-ngw:startFreeBusySessionRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__startFreeBusySessionResponse) + return soap_closesock(soap); + ngwm__startFreeBusySessionResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__startFreeBusySessionResponse->soap_get(soap, "ngwm:startFreeBusySessionResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__unacceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse) +{ struct __ngw__unacceptRequest soap_tmp___ngw__unacceptRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "unacceptRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__unacceptRequest.ngwm__unacceptRequest = ngwm__unacceptRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__unacceptRequest(soap, &soap_tmp___ngw__unacceptRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__unacceptRequest(soap, &soap_tmp___ngw__unacceptRequest, "-ngw:unacceptRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__unacceptRequest(soap, &soap_tmp___ngw__unacceptRequest, "-ngw:unacceptRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__unacceptResponse) + return soap_closesock(soap); + ngwm__unacceptResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__unacceptResponse->soap_get(soap, "ngwm:unacceptResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__uncompleteRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse) +{ struct __ngw__uncompleteRequest soap_tmp___ngw__uncompleteRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "uncompleteRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__uncompleteRequest.ngwm__uncompleteRequest = ngwm__uncompleteRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__uncompleteRequest(soap, &soap_tmp___ngw__uncompleteRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__uncompleteRequest(soap, &soap_tmp___ngw__uncompleteRequest, "-ngw:uncompleteRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__uncompleteRequest(soap, &soap_tmp___ngw__uncompleteRequest, "-ngw:uncompleteRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__uncompleteResponse) + return soap_closesock(soap); + ngwm__uncompleteResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__uncompleteResponse->soap_get(soap, "ngwm:uncompleteResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__updateVersionStatusRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse) +{ struct __ngw__updateVersionStatusRequest soap_tmp___ngw__updateVersionStatusRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "updateVersionStatusRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__updateVersionStatusRequest.ngwm__updateVersionStatusRequest = ngwm__updateVersionStatusRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__updateVersionStatusRequest(soap, &soap_tmp___ngw__updateVersionStatusRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__updateVersionStatusRequest(soap, &soap_tmp___ngw__updateVersionStatusRequest, "-ngw:updateVersionStatusRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__updateVersionStatusRequest(soap, &soap_tmp___ngw__updateVersionStatusRequest, "-ngw:updateVersionStatusRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwm__updateVersionStatusResponse) + return soap_closesock(soap); + ngwm__updateVersionStatusResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwm__updateVersionStatusResponse->soap_get(soap, "ngwm:updateVersionStatusResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse) +{ struct __ngw__cleanEventConfigurationRequest soap_tmp___ngw__cleanEventConfigurationRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "cleanEventConfigurationRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__cleanEventConfigurationRequest.ngwe__cleanEventConfigurationRequest = ngwe__cleanEventConfigurationRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__cleanEventConfigurationRequest(soap, &soap_tmp___ngw__cleanEventConfigurationRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__cleanEventConfigurationRequest(soap, &soap_tmp___ngw__cleanEventConfigurationRequest, "-ngw:cleanEventConfigurationRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__cleanEventConfigurationRequest(soap, &soap_tmp___ngw__cleanEventConfigurationRequest, "-ngw:cleanEventConfigurationRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwe__cleanEventConfigurationResponse) + return soap_closesock(soap); + ngwe__cleanEventConfigurationResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwe__cleanEventConfigurationResponse->soap_get(soap, "ngwe:cleanEventConfigurationResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__configureEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse) +{ struct __ngw__configureEventsRequest soap_tmp___ngw__configureEventsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "configureEventsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__configureEventsRequest.ngwe__configureEventsRequest = ngwe__configureEventsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__configureEventsRequest(soap, &soap_tmp___ngw__configureEventsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__configureEventsRequest(soap, &soap_tmp___ngw__configureEventsRequest, "-ngw:configureEventsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__configureEventsRequest(soap, &soap_tmp___ngw__configureEventsRequest, "-ngw:configureEventsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwe__configureEventsResponse) + return soap_closesock(soap); + ngwe__configureEventsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwe__configureEventsResponse->soap_get(soap, "ngwe:configureEventsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse) +{ struct __ngw__getEventConfigurationRequest soap_tmp___ngw__getEventConfigurationRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getEventConfigurationRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getEventConfigurationRequest.ngwe__getEventConfigurationRequest = ngwe__getEventConfigurationRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getEventConfigurationRequest(soap, &soap_tmp___ngw__getEventConfigurationRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getEventConfigurationRequest(soap, &soap_tmp___ngw__getEventConfigurationRequest, "-ngw:getEventConfigurationRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getEventConfigurationRequest(soap, &soap_tmp___ngw__getEventConfigurationRequest, "-ngw:getEventConfigurationRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwe__getEventConfigurationResponse) + return soap_closesock(soap); + ngwe__getEventConfigurationResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwe__getEventConfigurationResponse->soap_get(soap, "ngwe:getEventConfigurationResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse) +{ struct __ngw__getEventsRequest soap_tmp___ngw__getEventsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "getEventsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__getEventsRequest.ngwe__getEventsRequest = ngwe__getEventsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__getEventsRequest(soap, &soap_tmp___ngw__getEventsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__getEventsRequest(soap, &soap_tmp___ngw__getEventsRequest, "-ngw:getEventsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__getEventsRequest(soap, &soap_tmp___ngw__getEventsRequest, "-ngw:getEventsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwe__getEventsResponse) + return soap_closesock(soap); + ngwe__getEventsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwe__getEventsResponse->soap_get(soap, "ngwe:getEventsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse) +{ struct __ngw__removeEventConfigurationRequest soap_tmp___ngw__removeEventConfigurationRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeEventConfigurationRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeEventConfigurationRequest.ngwe__removeEventConfigurationRequest = ngwe__removeEventConfigurationRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeEventConfigurationRequest(soap, &soap_tmp___ngw__removeEventConfigurationRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeEventConfigurationRequest(soap, &soap_tmp___ngw__removeEventConfigurationRequest, "-ngw:removeEventConfigurationRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeEventConfigurationRequest(soap, &soap_tmp___ngw__removeEventConfigurationRequest, "-ngw:removeEventConfigurationRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwe__removeEventConfigurationResponse) + return soap_closesock(soap); + ngwe__removeEventConfigurationResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwe__removeEventConfigurationResponse->soap_get(soap, "ngwe:removeEventConfigurationResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse) +{ struct __ngw__removeEventsRequest soap_tmp___ngw__removeEventsRequest; + if (!soap_endpoint) + soap_endpoint = "http://localhost:8080"; + if (!soap_action) + soap_action = "removeEventsRequest"; + soap->encodingStyle = NULL; + soap_tmp___ngw__removeEventsRequest.ngwe__removeEventsRequest = ngwe__removeEventsRequest; + soap_begin(soap); + soap_serializeheader(soap); + soap_serialize___ngw__removeEventsRequest(soap, &soap_tmp___ngw__removeEventsRequest); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_put___ngw__removeEventsRequest(soap, &soap_tmp___ngw__removeEventsRequest, "-ngw:removeEventsRequest", ""); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_connect(soap, soap_endpoint, soap_action) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_put___ngw__removeEventsRequest(soap, &soap_tmp___ngw__removeEventsRequest, "-ngw:removeEventsRequest", "") + || soap_body_end_out(soap) + || soap_envelope_end_out(soap) + || soap_end_send(soap)) + return soap_closesock(soap); + if (!ngwe__removeEventsResponse) + return soap_closesock(soap); + ngwe__removeEventsResponse->soap_default(soap); + if (soap_begin_recv(soap) + || soap_envelope_begin_in(soap) + || soap_recv_header(soap) + || soap_body_begin_in(soap)) + return soap_closesock(soap); + ngwe__removeEventsResponse->soap_get(soap, "ngwe:removeEventsResponse", ""); + if (soap->error) + { if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2) + return soap_recv_fault(soap); + return soap_closesock(soap); + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + return soap_closesock(soap); +} + +/* End of soapClient.cpp */ diff --git a/kresources/groupwise/soap/soapGroupWiseBindingProxy.h b/kresources/groupwise/soap/soapGroupWiseBindingProxy.h new file mode 100644 index 000000000..cf6184593 --- /dev/null +++ b/kresources/groupwise/soap/soapGroupWiseBindingProxy.h @@ -0,0 +1,114 @@ +/* soapGroupWiseBindingProxy.h + Generated by gSOAP 2.7.3 from ./groupwise.h + Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved. + This part of the software is released under one of the following licenses: + GPL, the gSOAP public license, or Genivia's license for commercial use. +*/ + +#ifndef soapGroupWiseBinding_H +#define soapGroupWiseBinding_H +#include "soapH.h" +class GroupWiseBinding +{ public: + struct soap *soap; + const char *endpoint; + GroupWiseBinding() + { soap = soap_new(); endpoint = "http://localhost:8080"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] = +{ + {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL}, + {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL}, + {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL}, + {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL}, + {"ngwt", "http://schemas.novell.com/2005/01/GroupWise/types", NULL, NULL}, + {"ngwm", "http://schemas.novell.com/2005/01/GroupWise/methods", NULL, NULL}, + {"ngw", "http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl", NULL, NULL}, + {"ngwe", "http://schemas.novell.com/2005/01/GroupWise/events", NULL, NULL}, + {NULL, NULL, NULL, NULL} +}; + soap->namespaces = namespaces; } }; + virtual ~GroupWiseBinding() { if (soap) { soap_destroy(soap); soap_end(soap); soap_done(soap); free((void*)soap); } }; + virtual int __ngw__acceptRequest(_ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse) { return soap ? soap_call___ngw__acceptRequest(soap, endpoint, NULL, ngwm__acceptRequest, ngwm__acceptResponse) : SOAP_EOM; }; + virtual int __ngw__acceptShareRequest(_ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse) { return soap ? soap_call___ngw__acceptShareRequest(soap, endpoint, NULL, ngwm__acceptShareRequest, ngwm__acceptShareResponse) : SOAP_EOM; }; + virtual int __ngw__addItemRequest(_ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse) { return soap ? soap_call___ngw__addItemRequest(soap, endpoint, NULL, ngwm__addItemRequest, ngwm__addItemResponse) : SOAP_EOM; }; + virtual int __ngw__addItemsRequest(_ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse) { return soap ? soap_call___ngw__addItemsRequest(soap, endpoint, NULL, ngwm__addItemsRequest, ngwm__addItemsResponse) : SOAP_EOM; }; + virtual int __ngw__addMembersRequest(_ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse) { return soap ? soap_call___ngw__addMembersRequest(soap, endpoint, NULL, ngwm__addMembersRequest, ngwm__addMembersResponse) : SOAP_EOM; }; + virtual int __ngw__closeFreeBusySessionRequest(_ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse) { return soap ? soap_call___ngw__closeFreeBusySessionRequest(soap, endpoint, NULL, ngwm__closeFreeBusySessionRequest, ngwm__closeFreeBusySessionResponse) : SOAP_EOM; }; + virtual int __ngw__completeRequest(_ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse) { return soap ? soap_call___ngw__completeRequest(soap, endpoint, NULL, ngwm__completeRequest, ngwm__completeResponse) : SOAP_EOM; }; + virtual int __ngw__createCursorRequest(_ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse) { return soap ? soap_call___ngw__createCursorRequest(soap, endpoint, NULL, ngwm__createCursorRequest, ngwm__createCursorResponse) : SOAP_EOM; }; + virtual int __ngw__createItemRequest(_ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse) { return soap ? soap_call___ngw__createItemRequest(soap, endpoint, NULL, ngwm__createItemRequest, ngwm__createItemResponse) : SOAP_EOM; }; + virtual int __ngw__createItemsRequest(_ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse) { return soap ? soap_call___ngw__createItemsRequest(soap, endpoint, NULL, ngwm__createItemsRequest, ngwm__createItemsResponse) : SOAP_EOM; }; + virtual int __ngw__createJunkEntryRequest(_ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse) { return soap ? soap_call___ngw__createJunkEntryRequest(soap, endpoint, NULL, ngwm__createJunkEntryRequest, ngwm__createJunkEntryResponse) : SOAP_EOM; }; + virtual int __ngw__createProxyAccessRequest(_ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse) { return soap ? soap_call___ngw__createProxyAccessRequest(soap, endpoint, NULL, ngwm__createProxyAccessRequest, ngwm__createProxyAccessResponse) : SOAP_EOM; }; + virtual int __ngw__createSignatureRequest(_ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse) { return soap ? soap_call___ngw__createSignatureRequest(soap, endpoint, NULL, ngwm__createSignatureRequest, ngwm__createSignatureResponse) : SOAP_EOM; }; + virtual int __ngw__declineRequest(_ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse) { return soap ? soap_call___ngw__declineRequest(soap, endpoint, NULL, ngwm__declineRequest, ngwm__declineResponse) : SOAP_EOM; }; + virtual int __ngw__delegateRequest(_ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse) { return soap ? soap_call___ngw__delegateRequest(soap, endpoint, NULL, ngwm__delegateRequest, ngwm__delegateResponse) : SOAP_EOM; }; + virtual int __ngw__destroyCursorRequest(_ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse) { return soap ? soap_call___ngw__destroyCursorRequest(soap, endpoint, NULL, ngwm__destroyCursorRequest, ngwm__destroyCursorResponse) : SOAP_EOM; }; + virtual int __ngw__executeRuleRequest(_ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse) { return soap ? soap_call___ngw__executeRuleRequest(soap, endpoint, NULL, ngwm__executeRuleRequest, ngwm__executeRuleResponse) : SOAP_EOM; }; + virtual int __ngw__forwardRequest(_ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse) { return soap ? soap_call___ngw__forwardRequest(soap, endpoint, NULL, ngwm__forwardRequest, ngwm__forwardResponse) : SOAP_EOM; }; + virtual int __ngw__getAddressBookListRequest(_ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse) { return soap ? soap_call___ngw__getAddressBookListRequest(soap, endpoint, NULL, ngwm__getAddressBookListRequest, ngwm__getAddressBookListResponse) : SOAP_EOM; }; + virtual int __ngw__getAttachmentRequestMessage(_ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse) { return soap ? soap_call___ngw__getAttachmentRequestMessage(soap, endpoint, NULL, ngwm__getAttachmentRequest, ngwm__getAttachmentResponse) : SOAP_EOM; }; + virtual int __ngw__getCategoryListRequest(_ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse) { return soap ? soap_call___ngw__getCategoryListRequest(soap, endpoint, NULL, ngwm__getCategoryListRequest, ngwm__getCategoryListResponse) : SOAP_EOM; }; + virtual int __ngw__getCustomListRequest(_ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse) { return soap ? soap_call___ngw__getCustomListRequest(soap, endpoint, NULL, ngwm__getCustomListRequest, ngwm__getCustomListResponse) : SOAP_EOM; }; + virtual int __ngw__getDeltasRequest(_ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse) { return soap ? soap_call___ngw__getDeltasRequest(soap, endpoint, NULL, ngwm__getDeltasRequest, ngwm__getDeltasResponse) : SOAP_EOM; }; + virtual int __ngw__getDeltaInfoRequest(_ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse) { return soap ? soap_call___ngw__getDeltaInfoRequest(soap, endpoint, NULL, ngwm__getDeltaInfoRequest, ngwm__getDeltaInfoResponse) : SOAP_EOM; }; + virtual int __ngw__getDocumentTypeListRequest(_ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse) { return soap ? soap_call___ngw__getDocumentTypeListRequest(soap, endpoint, NULL, ngwm__getDocumentTypeListRequest, ngwm__getDocumentTypeListResponse) : SOAP_EOM; }; + virtual int __ngw__getFolderRequest(_ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse) { return soap ? soap_call___ngw__getFolderRequest(soap, endpoint, NULL, ngwm__getFolderRequest, ngwm__getFolderResponse) : SOAP_EOM; }; + virtual int __ngw__getFolderListRequest(_ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse) { return soap ? soap_call___ngw__getFolderListRequest(soap, endpoint, NULL, ngwm__getFolderListRequest, ngwm__getFolderListResponse) : SOAP_EOM; }; + virtual int __ngw__getFreeBusyRequest(_ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse) { return soap ? soap_call___ngw__getFreeBusyRequest(soap, endpoint, NULL, ngwm__getFreeBusyRequest, ngwm__getFreeBusyResponse) : SOAP_EOM; }; + virtual int __ngw__getItemRequest(_ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse) { return soap ? soap_call___ngw__getItemRequest(soap, endpoint, NULL, ngwm__getItemRequest, ngwm__getItemResponse) : SOAP_EOM; }; + virtual int __ngw__getItemsRequest(_ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse) { return soap ? soap_call___ngw__getItemsRequest(soap, endpoint, NULL, ngwm__getItemsRequest, ngwm__getItemsResponse) : SOAP_EOM; }; + virtual int __ngw__getJunkEntriesRequest(_ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse) { return soap ? soap_call___ngw__getJunkEntriesRequest(soap, endpoint, NULL, ngwm__getJunkEntriesRequest, ngwm__getJunkEntriesResponse) : SOAP_EOM; }; + virtual int __ngw__getJunkMailSettingsRequest(_ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse) { return soap ? soap_call___ngw__getJunkMailSettingsRequest(soap, endpoint, NULL, ngwm__getJunkMailSettingsRequest, ngwm__getJunkMailSettingsResponse) : SOAP_EOM; }; + virtual int __ngw__getLibraryItemRequest(_ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse) { return soap ? soap_call___ngw__getLibraryItemRequest(soap, endpoint, NULL, ngwm__getLibraryItemRequest, ngwm__getLibraryItemResponse) : SOAP_EOM; }; + virtual int __ngw__getLibraryListRequest(_ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse) { return soap ? soap_call___ngw__getLibraryListRequest(soap, endpoint, NULL, ngwm__getLibraryListRequest, ngwm__getLibraryListResponse) : SOAP_EOM; }; + virtual int __ngw__getQuickMessagesRequest(_ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse) { return soap ? soap_call___ngw__getQuickMessagesRequest(soap, endpoint, NULL, ngwm__getQuickMessagesRequest, ngwm__getQuickMessagesResponse) : SOAP_EOM; }; + virtual int __ngw__getProxyAccessListRequest(_ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse) { return soap ? soap_call___ngw__getProxyAccessListRequest(soap, endpoint, NULL, ngwm__getProxyAccessListRequest, ngwm__getProxyAccessListResponse) : SOAP_EOM; }; + virtual int __ngw__getProxyListRequest(_ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse) { return soap ? soap_call___ngw__getProxyListRequest(soap, endpoint, NULL, ngwm__getProxyListRequest, ngwm__getProxyListResponse) : SOAP_EOM; }; + virtual int __ngw__getRuleListRequest(_ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse) { return soap ? soap_call___ngw__getRuleListRequest(soap, endpoint, NULL, ngwm__getRuleListRequest, ngwm__getRuleListResponse) : SOAP_EOM; }; + virtual int __ngw__getSettingsRequest(_ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse) { return soap ? soap_call___ngw__getSettingsRequest(soap, endpoint, NULL, ngwm__getSettingsRequest, ngwm__getSettingsResponse) : SOAP_EOM; }; + virtual int __ngw__getSignaturesRequest(_ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse) { return soap ? soap_call___ngw__getSignaturesRequest(soap, endpoint, NULL, ngwm__getSignaturesRequest, ngwm__getSignaturesResponse) : SOAP_EOM; }; + virtual int __ngw__getTimestampRequest(_ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse) { return soap ? soap_call___ngw__getTimestampRequest(soap, endpoint, NULL, ngwm__getTimestampRequest, ngwm__getTimestampResponse) : SOAP_EOM; }; + virtual int __ngw__getTimezoneListRequest(_ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse) { return soap ? soap_call___ngw__getTimezoneListRequest(soap, endpoint, NULL, ngwm__getTimezoneListRequest, ngwm__getTimezoneListResponse) : SOAP_EOM; }; + virtual int __ngw__getUserListRequest(_ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse) { return soap ? soap_call___ngw__getUserListRequest(soap, endpoint, NULL, ngwm__getUserListRequest, ngwm__getUserListResponse) : SOAP_EOM; }; + virtual int __ngw__loginRequest(_ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse) { return soap ? soap_call___ngw__loginRequest(soap, endpoint, NULL, ngwm__loginRequest, ngwm__loginResponse) : SOAP_EOM; }; + virtual int __ngw__logoutRequest(_ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse) { return soap ? soap_call___ngw__logoutRequest(soap, endpoint, NULL, ngwm__logoutRequest, ngwm__logoutResponse) : SOAP_EOM; }; + virtual int __ngw__markPrivateRequest(_ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse) { return soap ? soap_call___ngw__markPrivateRequest(soap, endpoint, NULL, ngwm__markPrivateRequest, ngwm__markPrivateResponse) : SOAP_EOM; }; + virtual int __ngw__markReadRequest(_ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse) { return soap ? soap_call___ngw__markReadRequest(soap, endpoint, NULL, ngwm__markReadRequest, ngwm__markReadResponse) : SOAP_EOM; }; + virtual int __ngw__markUnPrivateRequest(_ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse) { return soap ? soap_call___ngw__markUnPrivateRequest(soap, endpoint, NULL, ngwm__markUnPrivateRequest, ngwm__markUnPrivateResponse) : SOAP_EOM; }; + virtual int __ngw__markUnReadRequest(_ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse) { return soap ? soap_call___ngw__markUnReadRequest(soap, endpoint, NULL, ngwm__markUnReadRequest, ngwm__markUnReadResponse) : SOAP_EOM; }; + virtual int __ngw__modifyItemRequest(_ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse) { return soap ? soap_call___ngw__modifyItemRequest(soap, endpoint, NULL, ngwm__modifyItemRequest, ngwm__modifyItemResponse) : SOAP_EOM; }; + virtual int __ngw__modifyJunkEntryRequest(_ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse) { return soap ? soap_call___ngw__modifyJunkEntryRequest(soap, endpoint, NULL, ngwm__modifyJunkEntryRequest, ngwm__modifyJunkEntryResponse) : SOAP_EOM; }; + virtual int __ngw__modifyJunkMailSettingsRequest(_ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse) { return soap ? soap_call___ngw__modifyJunkMailSettingsRequest(soap, endpoint, NULL, ngwm__modifyJunkMailSettingsRequest, ngwm__modifyJunkMailSettingsResponse) : SOAP_EOM; }; + virtual int __ngw__modifyPasswordRequest(_ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse) { return soap ? soap_call___ngw__modifyPasswordRequest(soap, endpoint, NULL, ngwm__modifyPasswordRequest, ngwm__modifyPasswordResponse) : SOAP_EOM; }; + virtual int __ngw__modifyProxyAccessRequest(_ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse) { return soap ? soap_call___ngw__modifyProxyAccessRequest(soap, endpoint, NULL, ngwm__modifyProxyAccessRequest, ngwm__modifyProxyAccessResponse) : SOAP_EOM; }; + virtual int __ngw__modifySettingsRequest(_ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse) { return soap ? soap_call___ngw__modifySettingsRequest(soap, endpoint, NULL, ngwm__modifySettingsRequest, ngwm__modifySettingsResponse) : SOAP_EOM; }; + virtual int __ngw__modifySignaturesRequest(_ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse) { return soap ? soap_call___ngw__modifySignaturesRequest(soap, endpoint, NULL, ngwm__modifySignaturesRequest, ngwm__modifySignaturesResponse) : SOAP_EOM; }; + virtual int __ngw__moveItemRequest(_ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse) { return soap ? soap_call___ngw__moveItemRequest(soap, endpoint, NULL, ngwm__moveItemRequest, ngwm__moveItemResponse) : SOAP_EOM; }; + virtual int __ngw__positionCursorRequest(_ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse) { return soap ? soap_call___ngw__positionCursorRequest(soap, endpoint, NULL, ngwm__positionCursorRequest, ngwm__positionCursorResponse) : SOAP_EOM; }; + virtual int __ngw__purgeDeletedItemsRequest(_ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse) { return soap ? soap_call___ngw__purgeDeletedItemsRequest(soap, endpoint, NULL, ngwm__purgeDeletedItemsRequest, ngwm__purgeDeletedItemsResponse) : SOAP_EOM; }; + virtual int __ngw__purgeRequest(_ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse) { return soap ? soap_call___ngw__purgeRequest(soap, endpoint, NULL, ngwm__purgeRequest, ngwm__purgeResponse) : SOAP_EOM; }; + virtual int __ngw__readCursorRequest(_ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse) { return soap ? soap_call___ngw__readCursorRequest(soap, endpoint, NULL, ngwm__readCursorRequest, ngwm__readCursorResponse) : SOAP_EOM; }; + virtual int __ngw__removeCustomDefinitionRequest(_ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse) { return soap ? soap_call___ngw__removeCustomDefinitionRequest(soap, endpoint, NULL, ngwm__removeCustomDefinitionRequest, ngwm__removeCustomDefinitionResponse) : SOAP_EOM; }; + virtual int __ngw__removeItemRequest(_ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse) { return soap ? soap_call___ngw__removeItemRequest(soap, endpoint, NULL, ngwm__removeItemRequest, ngwm__removeItemResponse) : SOAP_EOM; }; + virtual int __ngw__removeItemsRequest(_ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse) { return soap ? soap_call___ngw__removeItemsRequest(soap, endpoint, NULL, ngwm__removeItemsRequest, ngwm__removeItemsResponse) : SOAP_EOM; }; + virtual int __ngw__removeJunkEntryRequest(_ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse) { return soap ? soap_call___ngw__removeJunkEntryRequest(soap, endpoint, NULL, ngwm__removeJunkEntryRequest, ngwm__removeJunkEntryResponse) : SOAP_EOM; }; + virtual int __ngw__removeMembersRequest(_ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse) { return soap ? soap_call___ngw__removeMembersRequest(soap, endpoint, NULL, ngwm__removeMembersRequest, ngwm__removeMembersResponse) : SOAP_EOM; }; + virtual int __ngw__removeProxyAccessRequest(_ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse) { return soap ? soap_call___ngw__removeProxyAccessRequest(soap, endpoint, NULL, ngwm__removeProxyAccessRequest, ngwm__removeProxyAccessResponse) : SOAP_EOM; }; + virtual int __ngw__removeProxyUserRequest(_ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse) { return soap ? soap_call___ngw__removeProxyUserRequest(soap, endpoint, NULL, ngwm__removeProxyUserRequest, ngwm__removeProxyUserResponse) : SOAP_EOM; }; + virtual int __ngw__removeSignatureRequest(_ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse) { return soap ? soap_call___ngw__removeSignatureRequest(soap, endpoint, NULL, ngwm__removeSignatureRequest, ngwm__removeSignatureResponse) : SOAP_EOM; }; + virtual int __ngw__replyRequest(_ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse) { return soap ? soap_call___ngw__replyRequest(soap, endpoint, NULL, ngwm__replyRequest, ngwm__replyResponse) : SOAP_EOM; }; + virtual int __ngw__retractRequest(_ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse) { return soap ? soap_call___ngw__retractRequest(soap, endpoint, NULL, ngwm__retractRequest, ngwm__retractResponse) : SOAP_EOM; }; + virtual int __ngw__sendItemRequest(_ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse) { return soap ? soap_call___ngw__sendItemRequest(soap, endpoint, NULL, ngwm__sendItemRequest, ngwm__sendItemResponse) : SOAP_EOM; }; + virtual int __ngw__setTimestampRequest(_ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse) { return soap ? soap_call___ngw__setTimestampRequest(soap, endpoint, NULL, ngwm__setTimestampRequest, ngwm__setTimestampResponse) : SOAP_EOM; }; + virtual int __ngw__startFreeBusySessionRequest(_ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse) { return soap ? soap_call___ngw__startFreeBusySessionRequest(soap, endpoint, NULL, ngwm__startFreeBusySessionRequest, ngwm__startFreeBusySessionResponse) : SOAP_EOM; }; + virtual int __ngw__unacceptRequest(_ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse) { return soap ? soap_call___ngw__unacceptRequest(soap, endpoint, NULL, ngwm__unacceptRequest, ngwm__unacceptResponse) : SOAP_EOM; }; + virtual int __ngw__uncompleteRequest(_ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse) { return soap ? soap_call___ngw__uncompleteRequest(soap, endpoint, NULL, ngwm__uncompleteRequest, ngwm__uncompleteResponse) : SOAP_EOM; }; + virtual int __ngw__updateVersionStatusRequest(_ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse) { return soap ? soap_call___ngw__updateVersionStatusRequest(soap, endpoint, NULL, ngwm__updateVersionStatusRequest, ngwm__updateVersionStatusResponse) : SOAP_EOM; }; + virtual int __ngw__cleanEventConfigurationRequest(_ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse) { return soap ? soap_call___ngw__cleanEventConfigurationRequest(soap, endpoint, NULL, ngwe__cleanEventConfigurationRequest, ngwe__cleanEventConfigurationResponse) : SOAP_EOM; }; + virtual int __ngw__configureEventsRequest(_ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse) { return soap ? soap_call___ngw__configureEventsRequest(soap, endpoint, NULL, ngwe__configureEventsRequest, ngwe__configureEventsResponse) : SOAP_EOM; }; + virtual int __ngw__getEventConfigurationRequest(_ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse) { return soap ? soap_call___ngw__getEventConfigurationRequest(soap, endpoint, NULL, ngwe__getEventConfigurationRequest, ngwe__getEventConfigurationResponse) : SOAP_EOM; }; + virtual int __ngw__getEventsRequest(_ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse) { return soap ? soap_call___ngw__getEventsRequest(soap, endpoint, NULL, ngwe__getEventsRequest, ngwe__getEventsResponse) : SOAP_EOM; }; + virtual int __ngw__removeEventConfigurationRequest(_ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse) { return soap ? soap_call___ngw__removeEventConfigurationRequest(soap, endpoint, NULL, ngwe__removeEventConfigurationRequest, ngwe__removeEventConfigurationResponse) : SOAP_EOM; }; + virtual int __ngw__removeEventsRequest(_ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse) { return soap ? soap_call___ngw__removeEventsRequest(soap, endpoint, NULL, ngwe__removeEventsRequest, ngwe__removeEventsResponse) : SOAP_EOM; }; +}; +#endif diff --git a/kresources/groupwise/soap/soapH.h b/kresources/groupwise/soap/soapH.h new file mode 100644 index 000000000..41b9a0ff1 --- /dev/null +++ b/kresources/groupwise/soap/soapH.h @@ -0,0 +1,9201 @@ +/* soapH.h + Generated by gSOAP 2.7.3 from ./groupwise.h + Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved. + This part of the software is released under one of the following licenses: + GPL, the gSOAP public license, or Genivia's license for commercial use. +*/ + +#ifndef soapH_H +#define soapH_H +#include "soapStub.h" +SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*); +#ifndef WITH_NOIDREF +SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*); +SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*); +SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int); +SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int); +SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap*, int*); +#endif + +SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC3 void SOAP_FMAC4 soap_fdelete(struct soap_clist*); +SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap*, const char*, void*, int, size_t, const char*, const char*); + +SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap*, const char*, void*, int, int, size_t, unsigned int); + +SOAP_FMAC3 void SOAP_FMAC4 soap_container_insert(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DayOfMonth +#define SOAP_TYPE_ngwt__DayOfMonth (350) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfMonth(struct soap*, char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfMonth(struct soap*, const char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonth(struct soap*, const char*, int, const char *, const char*); +SOAP_FMAC3 char * SOAP_FMAC4 soap_get_ngwt__DayOfMonth(struct soap*, char *, const char*, const char*); +SOAP_FMAC3 char * SOAP_FMAC4 soap_in_ngwt__DayOfMonth(struct soap*, const char*, char *, const char*); + +#ifndef SOAP_TYPE_byte +#define SOAP_TYPE_byte (2) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*); +SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*); +SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*); + +#ifndef SOAP_TYPE_ngwt__WeekOfYear +#define SOAP_TYPE_ngwt__WeekOfYear (387) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekOfYear(struct soap*, short *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekOfYear(struct soap*, const short *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekOfYear(struct soap*, const char*, int, const short *, const char*); +SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__WeekOfYear(struct soap*, short *, const char*, const char*); +SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__WeekOfYear(struct soap*, const char*, short *, const char*); + +#ifndef SOAP_TYPE_ngwt__DayOfYear +#define SOAP_TYPE_ngwt__DayOfYear (352) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DayOfYear(struct soap*, short *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DayOfYear(struct soap*, const short *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYear(struct soap*, const char*, int, const short *, const char*); +SOAP_FMAC3 short * SOAP_FMAC4 soap_get_ngwt__DayOfYear(struct soap*, short *, const char*, const char*); +SOAP_FMAC3 short * SOAP_FMAC4 soap_in_ngwt__DayOfYear(struct soap*, const char*, short *, const char*); + +#ifndef SOAP_TYPE_short +#define SOAP_TYPE_short (351) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_short(struct soap*, short *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_short(struct soap*, const short *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_short(struct soap*, const char*, int, const short *, const char*); +SOAP_FMAC3 short * SOAP_FMAC4 soap_get_short(struct soap*, short *, const char*, const char*); +SOAP_FMAC3 short * SOAP_FMAC4 soap_in_short(struct soap*, const char*, short *, const char*); + +#ifndef SOAP_TYPE_ngwt__GMTOffset +#define SOAP_TYPE_ngwt__GMTOffset (361) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__GMTOffset(struct soap*, int *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__GMTOffset(struct soap*, const int *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GMTOffset(struct soap*, const char*, int, const int *, const char*); +SOAP_FMAC3 int * SOAP_FMAC4 soap_get_ngwt__GMTOffset(struct soap*, int *, const char*, const char*); +SOAP_FMAC3 int * SOAP_FMAC4 soap_in_ngwt__GMTOffset(struct soap*, const char*, int *, const char*); + +#ifndef SOAP_TYPE_int +#define SOAP_TYPE_int (1) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*); +SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*); +SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*); + +#ifndef SOAP_TYPE_long +#define SOAP_TYPE_long (403) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_long(struct soap*, long *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_long(struct soap*, const long *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_long(struct soap*, const char*, int, const long *, const char*); +SOAP_FMAC3 long * SOAP_FMAC4 soap_get_long(struct soap*, long *, const char*, const char*); +SOAP_FMAC3 long * SOAP_FMAC4 soap_in_long(struct soap*, const char*, long *, const char*); + +#ifndef SOAP_TYPE_ngwt__Month +#define SOAP_TYPE_ngwt__Month (373) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Month(struct soap*, unsigned char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Month(struct soap*, const unsigned char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Month(struct soap*, const char*, int, const unsigned char *, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Month(struct soap*, unsigned char *, const char*, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Month(struct soap*, const char*, unsigned char *, const char*); + +#ifndef SOAP_TYPE_ngwt__Minute +#define SOAP_TYPE_ngwt__Minute (372) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Minute(struct soap*, unsigned char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Minute(struct soap*, const unsigned char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Minute(struct soap*, const char*, int, const unsigned char *, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Minute(struct soap*, unsigned char *, const char*, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Minute(struct soap*, const char*, unsigned char *, const char*); + +#ifndef SOAP_TYPE_ngwt__Hour +#define SOAP_TYPE_ngwt__Hour (362) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Hour(struct soap*, unsigned char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Hour(struct soap*, const unsigned char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Hour(struct soap*, const char*, int, const unsigned char *, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Hour(struct soap*, unsigned char *, const char*, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Hour(struct soap*, const char*, unsigned char *, const char*); + +#ifndef SOAP_TYPE_ngwt__Day +#define SOAP_TYPE_ngwt__Day (349) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Day(struct soap*, unsigned char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Day(struct soap*, const unsigned char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Day(struct soap*, const char*, int, const unsigned char *, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_ngwt__Day(struct soap*, unsigned char *, const char*, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_ngwt__Day(struct soap*, const char*, unsigned char *, const char*); + +#ifndef SOAP_TYPE_unsignedByte +#define SOAP_TYPE_unsignedByte (9) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedByte(struct soap*, unsigned char *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap*, const unsigned char *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap*, const char*, int, const unsigned char *, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap*, unsigned char *, const char*, const char*); +SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap*, const char*, unsigned char *, const char*); + +#ifndef SOAP_TYPE_unsignedInt +#define SOAP_TYPE_unsignedInt (8) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedInt(struct soap*, unsigned int *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap*, const unsigned int *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap*, const char*, int, const unsigned int *, const char*); +SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap*, unsigned int *, const char*, const char*); +SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap*, const char*, unsigned int *, const char*); + +#ifndef SOAP_TYPE_unsignedLong +#define SOAP_TYPE_unsignedLong (404) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedLong(struct soap*, unsigned long *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedLong(struct soap*, const unsigned long *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedLong(struct soap*, const char*, int, const unsigned long *, const char*); +SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_get_unsignedLong(struct soap*, unsigned long *, const char*, const char*); +SOAP_FMAC3 unsigned long * SOAP_FMAC4 soap_in_unsignedLong(struct soap*, const char*, unsigned long *, const char*); + +#ifndef SOAP_TYPE_bool +#define SOAP_TYPE_bool (393) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_bool(struct soap*, bool *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap*, const bool *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap*, const char*, int, const bool *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap*, bool); +SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap*, bool *, const char*, const char*); +SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap*, const char*, bool *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap*, const char*, bool *); + +#ifndef SOAP_TYPE_ngwe__ItemType +#define SOAP_TYPE_ngwe__ItemType (390) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemType(struct soap*, enum ngwe__ItemType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemType(struct soap*, const enum ngwe__ItemType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemType(struct soap*, const char*, int, const enum ngwe__ItemType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__ItemType2s(struct soap*, enum ngwe__ItemType); +SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_get_ngwe__ItemType(struct soap*, enum ngwe__ItemType *, const char*, const char*); +SOAP_FMAC3 enum ngwe__ItemType * SOAP_FMAC4 soap_in_ngwe__ItemType(struct soap*, const char*, enum ngwe__ItemType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__ItemType(struct soap*, const char*, enum ngwe__ItemType *); + +#ifndef SOAP_TYPE_ngwe__Field +#define SOAP_TYPE_ngwe__Field (389) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__Field(struct soap*, enum ngwe__Field *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__Field(struct soap*, const enum ngwe__Field *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Field(struct soap*, const char*, int, const enum ngwe__Field *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__Field2s(struct soap*, enum ngwe__Field); +SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_get_ngwe__Field(struct soap*, enum ngwe__Field *, const char*, const char*); +SOAP_FMAC3 enum ngwe__Field * SOAP_FMAC4 soap_in_ngwe__Field(struct soap*, const char*, enum ngwe__Field *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__Field(struct soap*, const char*, enum ngwe__Field *); + +#ifndef SOAP_TYPE_ngwe__EventType +#define SOAP_TYPE_ngwe__EventType (388) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__EventType(struct soap*, enum ngwe__EventType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__EventType(struct soap*, const enum ngwe__EventType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventType(struct soap*, const char*, int, const enum ngwe__EventType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwe__EventType2s(struct soap*, enum ngwe__EventType); +SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_get_ngwe__EventType(struct soap*, enum ngwe__EventType *, const char*, const char*); +SOAP_FMAC3 enum ngwe__EventType * SOAP_FMAC4 soap_in_ngwe__EventType(struct soap*, const char*, enum ngwe__EventType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwe__EventType(struct soap*, const char*, enum ngwe__EventType *); + +#ifndef SOAP_TYPE_ngwt__WeekDay +#define SOAP_TYPE_ngwt__WeekDay (386) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__WeekDay(struct soap*, enum ngwt__WeekDay *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__WeekDay(struct soap*, const enum ngwt__WeekDay *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__WeekDay(struct soap*, const char*, int, const enum ngwt__WeekDay *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__WeekDay2s(struct soap*, enum ngwt__WeekDay); +SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_get_ngwt__WeekDay(struct soap*, enum ngwt__WeekDay *, const char*, const char*); +SOAP_FMAC3 enum ngwt__WeekDay * SOAP_FMAC4 soap_in_ngwt__WeekDay(struct soap*, const char*, enum ngwt__WeekDay *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__WeekDay(struct soap*, const char*, enum ngwt__WeekDay *); + +#ifndef SOAP_TYPE_ngwt__VersionStatus +#define SOAP_TYPE_ngwt__VersionStatus (385) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionStatus(struct soap*, const enum ngwt__VersionStatus *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionStatus(struct soap*, const char*, int, const enum ngwt__VersionStatus *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionStatus2s(struct soap*, enum ngwt__VersionStatus); +SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_get_ngwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *, const char*, const char*); +SOAP_FMAC3 enum ngwt__VersionStatus * SOAP_FMAC4 soap_in_ngwt__VersionStatus(struct soap*, const char*, enum ngwt__VersionStatus *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionStatus(struct soap*, const char*, enum ngwt__VersionStatus *); + +#ifndef SOAP_TYPE_ngwt__VersionEventType +#define SOAP_TYPE_ngwt__VersionEventType (384) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__VersionEventType(struct soap*, enum ngwt__VersionEventType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__VersionEventType(struct soap*, const enum ngwt__VersionEventType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEventType(struct soap*, const char*, int, const enum ngwt__VersionEventType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__VersionEventType2s(struct soap*, enum ngwt__VersionEventType); +SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_get_ngwt__VersionEventType(struct soap*, enum ngwt__VersionEventType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__VersionEventType * SOAP_FMAC4 soap_in_ngwt__VersionEventType(struct soap*, const char*, enum ngwt__VersionEventType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__VersionEventType(struct soap*, const char*, enum ngwt__VersionEventType *); + +#ifndef SOAP_TYPE_ngwt__StatusTrackingOptions +#define SOAP_TYPE_ngwt__StatusTrackingOptions (381) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__StatusTrackingOptions(struct soap*, enum ngwt__StatusTrackingOptions *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__StatusTrackingOptions(struct soap*, const enum ngwt__StatusTrackingOptions *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTrackingOptions(struct soap*, const char*, int, const enum ngwt__StatusTrackingOptions *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__StatusTrackingOptions2s(struct soap*, enum ngwt__StatusTrackingOptions); +SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_get_ngwt__StatusTrackingOptions(struct soap*, enum ngwt__StatusTrackingOptions *, const char*, const char*); +SOAP_FMAC3 enum ngwt__StatusTrackingOptions * SOAP_FMAC4 soap_in_ngwt__StatusTrackingOptions(struct soap*, const char*, enum ngwt__StatusTrackingOptions *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__StatusTrackingOptions(struct soap*, const char*, enum ngwt__StatusTrackingOptions *); + +#ifndef SOAP_TYPE_ngwt__RuleActionType +#define SOAP_TYPE_ngwt__RuleActionType (380) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RuleActionType(struct soap*, enum ngwt__RuleActionType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RuleActionType(struct soap*, const enum ngwt__RuleActionType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionType(struct soap*, const char*, int, const enum ngwt__RuleActionType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RuleActionType2s(struct soap*, enum ngwt__RuleActionType); +SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_get_ngwt__RuleActionType(struct soap*, enum ngwt__RuleActionType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__RuleActionType * SOAP_FMAC4 soap_in_ngwt__RuleActionType(struct soap*, const char*, enum ngwt__RuleActionType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RuleActionType(struct soap*, const char*, enum ngwt__RuleActionType *); + +#ifndef SOAP_TYPE_ngwt__RetractType +#define SOAP_TYPE_ngwt__RetractType (379) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RetractType(struct soap*, enum ngwt__RetractType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RetractType(struct soap*, const enum ngwt__RetractType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RetractType(struct soap*, const char*, int, const enum ngwt__RetractType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RetractType2s(struct soap*, enum ngwt__RetractType); +SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_get_ngwt__RetractType(struct soap*, enum ngwt__RetractType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__RetractType * SOAP_FMAC4 soap_in_ngwt__RetractType(struct soap*, const char*, enum ngwt__RetractType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RetractType(struct soap*, const char*, enum ngwt__RetractType *); + +#ifndef SOAP_TYPE_ngwt__RecipientType +#define SOAP_TYPE_ngwt__RecipientType (378) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__RecipientType(struct soap*, enum ngwt__RecipientType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__RecipientType(struct soap*, const enum ngwt__RecipientType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientType(struct soap*, const char*, int, const enum ngwt__RecipientType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__RecipientType2s(struct soap*, enum ngwt__RecipientType); +SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_get_ngwt__RecipientType(struct soap*, enum ngwt__RecipientType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__RecipientType * SOAP_FMAC4 soap_in_ngwt__RecipientType(struct soap*, const char*, enum ngwt__RecipientType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__RecipientType(struct soap*, const char*, enum ngwt__RecipientType *); + +#ifndef SOAP_TYPE_ngwt__PostalAddressType +#define SOAP_TYPE_ngwt__PostalAddressType (377) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PostalAddressType(struct soap*, enum ngwt__PostalAddressType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PostalAddressType(struct soap*, const enum ngwt__PostalAddressType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressType(struct soap*, const char*, int, const enum ngwt__PostalAddressType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PostalAddressType2s(struct soap*, enum ngwt__PostalAddressType); +SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_get_ngwt__PostalAddressType(struct soap*, enum ngwt__PostalAddressType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__PostalAddressType * SOAP_FMAC4 soap_in_ngwt__PostalAddressType(struct soap*, const char*, enum ngwt__PostalAddressType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PostalAddressType(struct soap*, const char*, enum ngwt__PostalAddressType *); + +#ifndef SOAP_TYPE_ngwt__PhoneNumberType +#define SOAP_TYPE_ngwt__PhoneNumberType (376) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__PhoneNumberType(struct soap*, enum ngwt__PhoneNumberType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__PhoneNumberType(struct soap*, const enum ngwt__PhoneNumberType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumberType(struct soap*, const char*, int, const enum ngwt__PhoneNumberType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__PhoneNumberType2s(struct soap*, enum ngwt__PhoneNumberType); +SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_get_ngwt__PhoneNumberType(struct soap*, enum ngwt__PhoneNumberType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__PhoneNumberType * SOAP_FMAC4 soap_in_ngwt__PhoneNumberType(struct soap*, const char*, enum ngwt__PhoneNumberType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__PhoneNumberType(struct soap*, const char*, enum ngwt__PhoneNumberType *); + +#ifndef SOAP_TYPE_ngwt__OccurrenceType +#define SOAP_TYPE_ngwt__OccurrenceType (375) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__OccurrenceType(struct soap*, const enum ngwt__OccurrenceType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OccurrenceType(struct soap*, const char*, int, const enum ngwt__OccurrenceType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__OccurrenceType2s(struct soap*, enum ngwt__OccurrenceType); +SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_get_ngwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__OccurrenceType * SOAP_FMAC4 soap_in_ngwt__OccurrenceType(struct soap*, const char*, enum ngwt__OccurrenceType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__OccurrenceType(struct soap*, const char*, enum ngwt__OccurrenceType *); + +#ifndef SOAP_TYPE_ngwt__NotificationType +#define SOAP_TYPE_ngwt__NotificationType (374) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__NotificationType(struct soap*, enum ngwt__NotificationType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__NotificationType(struct soap*, const enum ngwt__NotificationType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NotificationType(struct soap*, const char*, int, const enum ngwt__NotificationType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__NotificationType2s(struct soap*, enum ngwt__NotificationType); +SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_get_ngwt__NotificationType(struct soap*, enum ngwt__NotificationType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__NotificationType * SOAP_FMAC4 soap_in_ngwt__NotificationType(struct soap*, const char*, enum ngwt__NotificationType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__NotificationType(struct soap*, const char*, enum ngwt__NotificationType *); + +#ifndef SOAP_TYPE_ngwt__MessageType +#define SOAP_TYPE_ngwt__MessageType (371) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageType(struct soap*, enum ngwt__MessageType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageType(struct soap*, const enum ngwt__MessageType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageType(struct soap*, const char*, int, const enum ngwt__MessageType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageType2s(struct soap*, enum ngwt__MessageType); +SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_get_ngwt__MessageType(struct soap*, enum ngwt__MessageType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__MessageType * SOAP_FMAC4 soap_in_ngwt__MessageType(struct soap*, const char*, enum ngwt__MessageType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageType(struct soap*, const char*, enum ngwt__MessageType *); + +#ifndef SOAP_TYPE_ngwt__MessageList +#define SOAP_TYPE_ngwt__MessageList (370) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageList(struct soap*, enum ngwt__MessageList *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageList(struct soap*, const enum ngwt__MessageList *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageList(struct soap*, const char*, int, const enum ngwt__MessageList *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__MessageList2s(struct soap*, enum ngwt__MessageList); +SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_get_ngwt__MessageList(struct soap*, enum ngwt__MessageList *, const char*, const char*); +SOAP_FMAC3 enum ngwt__MessageList * SOAP_FMAC4 soap_in_ngwt__MessageList(struct soap*, const char*, enum ngwt__MessageList *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__MessageList(struct soap*, const char*, enum ngwt__MessageList *); + +#ifndef SOAP_TYPE_ngwt__LinkType +#define SOAP_TYPE_ngwt__LinkType (369) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__LinkType(struct soap*, enum ngwt__LinkType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__LinkType(struct soap*, const enum ngwt__LinkType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkType(struct soap*, const char*, int, const enum ngwt__LinkType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__LinkType2s(struct soap*, enum ngwt__LinkType); +SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_get_ngwt__LinkType(struct soap*, enum ngwt__LinkType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__LinkType * SOAP_FMAC4 soap_in_ngwt__LinkType(struct soap*, const char*, enum ngwt__LinkType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__LinkType(struct soap*, const char*, enum ngwt__LinkType *); + +#ifndef SOAP_TYPE_ngwt__JunkMatchType +#define SOAP_TYPE_ngwt__JunkMatchType (368) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkMatchType(struct soap*, enum ngwt__JunkMatchType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkMatchType(struct soap*, const enum ngwt__JunkMatchType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkMatchType(struct soap*, const char*, int, const enum ngwt__JunkMatchType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkMatchType2s(struct soap*, enum ngwt__JunkMatchType); +SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_get_ngwt__JunkMatchType(struct soap*, enum ngwt__JunkMatchType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__JunkMatchType * SOAP_FMAC4 soap_in_ngwt__JunkMatchType(struct soap*, const char*, enum ngwt__JunkMatchType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkMatchType(struct soap*, const char*, enum ngwt__JunkMatchType *); + +#ifndef SOAP_TYPE_ngwt__JunkHandlingListType +#define SOAP_TYPE_ngwt__JunkHandlingListType (367) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__JunkHandlingListType(struct soap*, const enum ngwt__JunkHandlingListType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingListType(struct soap*, const char*, int, const enum ngwt__JunkHandlingListType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__JunkHandlingListType2s(struct soap*, enum ngwt__JunkHandlingListType); +SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_get_ngwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__JunkHandlingListType * SOAP_FMAC4 soap_in_ngwt__JunkHandlingListType(struct soap*, const char*, enum ngwt__JunkHandlingListType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__JunkHandlingListType(struct soap*, const char*, enum ngwt__JunkHandlingListType *); + +#ifndef SOAP_TYPE_ngwt__ItemSource +#define SOAP_TYPE_ngwt__ItemSource (366) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSource(struct soap*, enum ngwt__ItemSource *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSource(struct soap*, const enum ngwt__ItemSource *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSource(struct soap*, const char*, int, const enum ngwt__ItemSource *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSource2s(struct soap*, enum ngwt__ItemSource); +SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_get_ngwt__ItemSource(struct soap*, enum ngwt__ItemSource *, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemSource * SOAP_FMAC4 soap_in_ngwt__ItemSource(struct soap*, const char*, enum ngwt__ItemSource *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSource(struct soap*, const char*, enum ngwt__ItemSource *); + +#ifndef SOAP_TYPE_ngwt__ItemSecurity +#define SOAP_TYPE_ngwt__ItemSecurity (365) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSecurity(struct soap*, const enum ngwt__ItemSecurity *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSecurity(struct soap*, const char*, int, const enum ngwt__ItemSecurity *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemSecurity2s(struct soap*, enum ngwt__ItemSecurity); +SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_get_ngwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemSecurity * SOAP_FMAC4 soap_in_ngwt__ItemSecurity(struct soap*, const char*, enum ngwt__ItemSecurity *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemSecurity(struct soap*, const char*, enum ngwt__ItemSecurity *); + +#ifndef SOAP_TYPE_ngwt__ItemOptionsPriority +#define SOAP_TYPE_ngwt__ItemOptionsPriority (364) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemOptionsPriority(struct soap*, enum ngwt__ItemOptionsPriority *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemOptionsPriority(struct soap*, const enum ngwt__ItemOptionsPriority *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptionsPriority(struct soap*, const char*, int, const enum ngwt__ItemOptionsPriority *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemOptionsPriority2s(struct soap*, enum ngwt__ItemOptionsPriority); +SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_get_ngwt__ItemOptionsPriority(struct soap*, enum ngwt__ItemOptionsPriority *, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemOptionsPriority * SOAP_FMAC4 soap_in_ngwt__ItemOptionsPriority(struct soap*, const char*, enum ngwt__ItemOptionsPriority *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemOptionsPriority(struct soap*, const char*, enum ngwt__ItemOptionsPriority *); + +#ifndef SOAP_TYPE_ngwt__ItemClass +#define SOAP_TYPE_ngwt__ItemClass (363) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemClass(struct soap*, enum ngwt__ItemClass *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemClass(struct soap*, const enum ngwt__ItemClass *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemClass(struct soap*, const char*, int, const enum ngwt__ItemClass *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ItemClass2s(struct soap*, enum ngwt__ItemClass); +SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_get_ngwt__ItemClass(struct soap*, enum ngwt__ItemClass *, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemClass * SOAP_FMAC4 soap_in_ngwt__ItemClass(struct soap*, const char*, enum ngwt__ItemClass *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ItemClass(struct soap*, const char*, enum ngwt__ItemClass *); + +#ifndef SOAP_TYPE_ngwt__Frequency +#define SOAP_TYPE_ngwt__Frequency (360) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Frequency(struct soap*, enum ngwt__Frequency *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Frequency(struct soap*, const enum ngwt__Frequency *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Frequency(struct soap*, const char*, int, const enum ngwt__Frequency *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Frequency2s(struct soap*, enum ngwt__Frequency); +SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_get_ngwt__Frequency(struct soap*, enum ngwt__Frequency *, const char*, const char*); +SOAP_FMAC3 enum ngwt__Frequency * SOAP_FMAC4 soap_in_ngwt__Frequency(struct soap*, const char*, enum ngwt__Frequency *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Frequency(struct soap*, const char*, enum ngwt__Frequency *); + +#ifndef SOAP_TYPE_ngwt__FolderType +#define SOAP_TYPE_ngwt__FolderType (359) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderType(struct soap*, enum ngwt__FolderType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderType(struct soap*, const enum ngwt__FolderType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderType(struct soap*, const char*, int, const enum ngwt__FolderType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderType2s(struct soap*, enum ngwt__FolderType); +SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_get_ngwt__FolderType(struct soap*, enum ngwt__FolderType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__FolderType * SOAP_FMAC4 soap_in_ngwt__FolderType(struct soap*, const char*, enum ngwt__FolderType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderType(struct soap*, const char*, enum ngwt__FolderType *); + +#ifndef SOAP_TYPE_ngwt__FolderACLStatus +#define SOAP_TYPE_ngwt__FolderACLStatus (358) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FolderACLStatus(struct soap*, const enum ngwt__FolderACLStatus *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLStatus(struct soap*, const char*, int, const enum ngwt__FolderACLStatus *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FolderACLStatus2s(struct soap*, enum ngwt__FolderACLStatus); +SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_get_ngwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *, const char*, const char*); +SOAP_FMAC3 enum ngwt__FolderACLStatus * SOAP_FMAC4 soap_in_ngwt__FolderACLStatus(struct soap*, const char*, enum ngwt__FolderACLStatus *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FolderACLStatus(struct soap*, const char*, enum ngwt__FolderACLStatus *); + +#ifndef SOAP_TYPE_ngwt__FilterOp +#define SOAP_TYPE_ngwt__FilterOp (357) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterOp(struct soap*, enum ngwt__FilterOp *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterOp(struct soap*, const enum ngwt__FilterOp *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterOp(struct soap*, const char*, int, const enum ngwt__FilterOp *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterOp2s(struct soap*, enum ngwt__FilterOp); +SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_get_ngwt__FilterOp(struct soap*, enum ngwt__FilterOp *, const char*, const char*); +SOAP_FMAC3 enum ngwt__FilterOp * SOAP_FMAC4 soap_in_ngwt__FilterOp(struct soap*, const char*, enum ngwt__FilterOp *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterOp(struct soap*, const char*, enum ngwt__FilterOp *); + +#ifndef SOAP_TYPE_ngwt__FilterDate +#define SOAP_TYPE_ngwt__FilterDate (356) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__FilterDate(struct soap*, enum ngwt__FilterDate *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__FilterDate(struct soap*, const enum ngwt__FilterDate *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterDate(struct soap*, const char*, int, const enum ngwt__FilterDate *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__FilterDate2s(struct soap*, enum ngwt__FilterDate); +SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_get_ngwt__FilterDate(struct soap*, enum ngwt__FilterDate *, const char*, const char*); +SOAP_FMAC3 enum ngwt__FilterDate * SOAP_FMAC4 soap_in_ngwt__FilterDate(struct soap*, const char*, enum ngwt__FilterDate *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__FilterDate(struct soap*, const char*, enum ngwt__FilterDate *); + +#ifndef SOAP_TYPE_ngwt__Execution +#define SOAP_TYPE_ngwt__Execution (355) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__Execution(struct soap*, enum ngwt__Execution *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__Execution(struct soap*, const enum ngwt__Execution *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Execution(struct soap*, const char*, int, const enum ngwt__Execution *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__Execution2s(struct soap*, enum ngwt__Execution); +SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_get_ngwt__Execution(struct soap*, enum ngwt__Execution *, const char*, const char*); +SOAP_FMAC3 enum ngwt__Execution * SOAP_FMAC4 soap_in_ngwt__Execution(struct soap*, const char*, enum ngwt__Execution *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__Execution(struct soap*, const char*, enum ngwt__Execution *); + +#ifndef SOAP_TYPE_ngwt__DistributionType +#define SOAP_TYPE_ngwt__DistributionType (354) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DistributionType(struct soap*, enum ngwt__DistributionType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DistributionType(struct soap*, const enum ngwt__DistributionType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DistributionType(struct soap*, const char*, int, const enum ngwt__DistributionType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DistributionType2s(struct soap*, enum ngwt__DistributionType); +SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_get_ngwt__DistributionType(struct soap*, enum ngwt__DistributionType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__DistributionType * SOAP_FMAC4 soap_in_ngwt__DistributionType(struct soap*, const char*, enum ngwt__DistributionType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DistributionType(struct soap*, const char*, enum ngwt__DistributionType *); + +#ifndef SOAP_TYPE_ngwt__DeltaSyncType +#define SOAP_TYPE_ngwt__DeltaSyncType (353) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__DeltaSyncType(struct soap*, const enum ngwt__DeltaSyncType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaSyncType(struct soap*, const char*, int, const enum ngwt__DeltaSyncType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__DeltaSyncType2s(struct soap*, enum ngwt__DeltaSyncType); +SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_get_ngwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__DeltaSyncType * SOAP_FMAC4 soap_in_ngwt__DeltaSyncType(struct soap*, const char*, enum ngwt__DeltaSyncType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__DeltaSyncType(struct soap*, const char*, enum ngwt__DeltaSyncType *); + +#ifndef SOAP_TYPE_ngwt__CustomType +#define SOAP_TYPE_ngwt__CustomType (348) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CustomType(struct soap*, enum ngwt__CustomType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CustomType(struct soap*, const enum ngwt__CustomType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomType(struct soap*, const char*, int, const enum ngwt__CustomType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CustomType2s(struct soap*, enum ngwt__CustomType); +SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_get_ngwt__CustomType(struct soap*, enum ngwt__CustomType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__CustomType * SOAP_FMAC4 soap_in_ngwt__CustomType(struct soap*, const char*, enum ngwt__CustomType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CustomType(struct soap*, const char*, enum ngwt__CustomType *); + +#ifndef SOAP_TYPE_ngwt__CursorSeek +#define SOAP_TYPE_ngwt__CursorSeek (347) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CursorSeek(struct soap*, const enum ngwt__CursorSeek *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CursorSeek(struct soap*, const char*, int, const enum ngwt__CursorSeek *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CursorSeek2s(struct soap*, enum ngwt__CursorSeek); +SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_get_ngwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *, const char*, const char*); +SOAP_FMAC3 enum ngwt__CursorSeek * SOAP_FMAC4 soap_in_ngwt__CursorSeek(struct soap*, const char*, enum ngwt__CursorSeek *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CursorSeek(struct soap*, const char*, enum ngwt__CursorSeek *); + +#ifndef SOAP_TYPE_ngwt__ContactType +#define SOAP_TYPE_ngwt__ContactType (346) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ContactType(struct soap*, enum ngwt__ContactType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ContactType(struct soap*, const enum ngwt__ContactType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactType(struct soap*, const char*, int, const enum ngwt__ContactType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__ContactType2s(struct soap*, enum ngwt__ContactType); +SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_get_ngwt__ContactType(struct soap*, enum ngwt__ContactType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__ContactType * SOAP_FMAC4 soap_in_ngwt__ContactType(struct soap*, const char*, enum ngwt__ContactType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__ContactType(struct soap*, const char*, enum ngwt__ContactType *); + +#ifndef SOAP_TYPE_ngwt__CategoryType +#define SOAP_TYPE_ngwt__CategoryType (345) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CategoryType(struct soap*, enum ngwt__CategoryType *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CategoryType(struct soap*, const enum ngwt__CategoryType *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryType(struct soap*, const char*, int, const enum ngwt__CategoryType *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CategoryType2s(struct soap*, enum ngwt__CategoryType); +SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_get_ngwt__CategoryType(struct soap*, enum ngwt__CategoryType *, const char*, const char*); +SOAP_FMAC3 enum ngwt__CategoryType * SOAP_FMAC4 soap_in_ngwt__CategoryType(struct soap*, const char*, enum ngwt__CategoryType *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CategoryType(struct soap*, const char*, enum ngwt__CategoryType *); + +#ifndef SOAP_TYPE_ngwt__CalendarFolderFlags +#define SOAP_TYPE_ngwt__CalendarFolderFlags (344) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__CalendarFolderFlags(struct soap*, enum ngwt__CalendarFolderFlags *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__CalendarFolderFlags(struct soap*, const enum ngwt__CalendarFolderFlags *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderFlags(struct soap*, const char*, int, const enum ngwt__CalendarFolderFlags *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__CalendarFolderFlags2s(struct soap*, enum ngwt__CalendarFolderFlags); +SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_get_ngwt__CalendarFolderFlags(struct soap*, enum ngwt__CalendarFolderFlags *, const char*, const char*); +SOAP_FMAC3 enum ngwt__CalendarFolderFlags * SOAP_FMAC4 soap_in_ngwt__CalendarFolderFlags(struct soap*, const char*, enum ngwt__CalendarFolderFlags *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__CalendarFolderFlags(struct soap*, const char*, enum ngwt__CalendarFolderFlags *); + +#ifndef SOAP_TYPE_ngwt__AppointmentConflict +#define SOAP_TYPE_ngwt__AppointmentConflict (343) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AppointmentConflict(struct soap*, enum ngwt__AppointmentConflict *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AppointmentConflict(struct soap*, const enum ngwt__AppointmentConflict *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AppointmentConflict(struct soap*, const char*, int, const enum ngwt__AppointmentConflict *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AppointmentConflict2s(struct soap*, enum ngwt__AppointmentConflict); +SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_get_ngwt__AppointmentConflict(struct soap*, enum ngwt__AppointmentConflict *, const char*, const char*); +SOAP_FMAC3 enum ngwt__AppointmentConflict * SOAP_FMAC4 soap_in_ngwt__AppointmentConflict(struct soap*, const char*, enum ngwt__AppointmentConflict *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AppointmentConflict(struct soap*, const char*, enum ngwt__AppointmentConflict *); + +#ifndef SOAP_TYPE_ngwt__AgeAction +#define SOAP_TYPE_ngwt__AgeAction (342) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AgeAction(struct soap*, enum ngwt__AgeAction *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AgeAction(struct soap*, const enum ngwt__AgeAction *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AgeAction(struct soap*, const char*, int, const enum ngwt__AgeAction *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AgeAction2s(struct soap*, enum ngwt__AgeAction); +SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_get_ngwt__AgeAction(struct soap*, enum ngwt__AgeAction *, const char*, const char*); +SOAP_FMAC3 enum ngwt__AgeAction * SOAP_FMAC4 soap_in_ngwt__AgeAction(struct soap*, const char*, enum ngwt__AgeAction *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AgeAction(struct soap*, const char*, enum ngwt__AgeAction *); + +#ifndef SOAP_TYPE_ngwt__AcceptLevel +#define SOAP_TYPE_ngwt__AcceptLevel (341) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__AcceptLevel(struct soap*, const enum ngwt__AcceptLevel *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AcceptLevel(struct soap*, const char*, int, const enum ngwt__AcceptLevel *, const char*); + +SOAP_FMAC3S const char* SOAP_FMAC4S soap_ngwt__AcceptLevel2s(struct soap*, enum ngwt__AcceptLevel); +SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_get_ngwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *, const char*, const char*); +SOAP_FMAC3 enum ngwt__AcceptLevel * SOAP_FMAC4 soap_in_ngwt__AcceptLevel(struct soap*, const char*, enum ngwt__AcceptLevel *, const char*); + +SOAP_FMAC3S int SOAP_FMAC4S soap_s2ngwt__AcceptLevel(struct soap*, const char*, enum ngwt__AcceptLevel *); + +#ifndef SOAP_TYPE_ngwe__ItemTypeList +#define SOAP_TYPE_ngwe__ItemTypeList (340) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__ItemTypeList(struct soap*, const enum ngwe__ItemTypeList *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ItemTypeList(struct soap*, const char*, int, const enum ngwe__ItemTypeList *, const char*); +SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_get_ngwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *, const char*, const char*); +SOAP_FMAC3 enum ngwe__ItemTypeList * SOAP_FMAC4 soap_in_ngwe__ItemTypeList(struct soap*, const char*, enum ngwe__ItemTypeList *, const char*); + +#ifndef SOAP_TYPE_ngwe__FieldList +#define SOAP_TYPE_ngwe__FieldList (339) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwe__FieldList(struct soap*, enum ngwe__FieldList *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwe__FieldList(struct soap*, const enum ngwe__FieldList *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__FieldList(struct soap*, const char*, int, const enum ngwe__FieldList *, const char*); +SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_get_ngwe__FieldList(struct soap*, enum ngwe__FieldList *, const char*, const char*); +SOAP_FMAC3 enum ngwe__FieldList * SOAP_FMAC4 soap_in_ngwe__FieldList(struct soap*, const char*, enum ngwe__FieldList *, const char*); + +#ifndef SOAP_TYPE_ngwt__MessageTypeList +#define SOAP_TYPE_ngwt__MessageTypeList (337) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__MessageTypeList(struct soap*, const enum ngwt__MessageTypeList *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageTypeList(struct soap*, const char*, int, const enum ngwt__MessageTypeList *, const char*); +SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_get_ngwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *, const char*, const char*); +SOAP_FMAC3 enum ngwt__MessageTypeList * SOAP_FMAC4 soap_in_ngwt__MessageTypeList(struct soap*, const char*, enum ngwt__MessageTypeList *, const char*); + +#ifndef SOAP_TYPE_ngwt__ItemSourceList +#define SOAP_TYPE_ngwt__ItemSourceList (336) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__ItemSourceList(struct soap*, const enum ngwt__ItemSourceList *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemSourceList(struct soap*, const char*, int, const enum ngwt__ItemSourceList *, const char*); +SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_get_ngwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemSourceList * SOAP_FMAC4 soap_in_ngwt__ItemSourceList(struct soap*, const char*, enum ngwt__ItemSourceList *, const char*); + +#ifndef SOAP_TYPE_ngwt__UUID +#define SOAP_TYPE_ngwt__UUID (383) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__UUID(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__UUID(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__UUID(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UUID(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__UUID(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_ngwt__UUID(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__UUID(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UUID(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__UUID(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UUID(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__uid +#define SOAP_TYPE_ngwt__uid (382) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__uid(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__uid(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__uid(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__uid(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__uid(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_ngwt__uid(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__uid(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__uid(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__uid(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__uid(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__View +#define SOAP_TYPE_ngwt__View (338) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ngwt__View(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_ngwt__View(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_ngwt__View(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__View(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_ngwt__View(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_ngwt__View(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_ngwt__View(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__View(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_ngwt__View(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__View(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__removeEventsResponse +#define SOAP_TYPE__ngwe__removeEventsResponse (335) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsResponse(struct soap*, const char*, int, const _ngwe__removeEventsResponse *, const char*); +SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_get__ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventsResponse * SOAP_FMAC4 soap_in__ngwe__removeEventsResponse(struct soap*, const char*, _ngwe__removeEventsResponse *, const char*); +SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_new__ngwe__removeEventsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse*); +SOAP_FMAC5 _ngwe__removeEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__removeEventsRequest +#define SOAP_TYPE__ngwe__removeEventsRequest (334) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventsRequest(struct soap*, const char*, int, const _ngwe__removeEventsRequest *, const char*); +SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_get__ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventsRequest * SOAP_FMAC4 soap_in__ngwe__removeEventsRequest(struct soap*, const char*, _ngwe__removeEventsRequest *, const char*); +SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_new__ngwe__removeEventsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest*); +SOAP_FMAC5 _ngwe__removeEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__removeEventConfigurationResponse +#define SOAP_TYPE__ngwe__removeEventConfigurationResponse (333) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationResponse(struct soap*, const char*, int, const _ngwe__removeEventConfigurationResponse *, const char*); +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse *, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationResponse(struct soap*, const char*, _ngwe__removeEventConfigurationResponse *, const char*); +SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse*); +SOAP_FMAC5 _ngwe__removeEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__removeEventConfigurationRequest +#define SOAP_TYPE__ngwe__removeEventConfigurationRequest (332) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__removeEventConfigurationRequest(struct soap*, const char*, int, const _ngwe__removeEventConfigurationRequest *, const char*); +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__removeEventConfigurationRequest(struct soap*, const char*, _ngwe__removeEventConfigurationRequest *, const char*); +SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__removeEventConfigurationRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest*); +SOAP_FMAC5 _ngwe__removeEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__removeEventConfigurationRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__removeEventConfigurationRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__getEventsResponse +#define SOAP_TYPE__ngwe__getEventsResponse (331) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsResponse(struct soap*, const char*, int, const _ngwe__getEventsResponse *, const char*); +SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_get__ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventsResponse * SOAP_FMAC4 soap_in__ngwe__getEventsResponse(struct soap*, const char*, _ngwe__getEventsResponse *, const char*); +SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_new__ngwe__getEventsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse*); +SOAP_FMAC5 _ngwe__getEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__getEventsRequest +#define SOAP_TYPE__ngwe__getEventsRequest (330) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventsRequest(struct soap*, const char*, int, const _ngwe__getEventsRequest *, const char*); +SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_get__ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventsRequest * SOAP_FMAC4 soap_in__ngwe__getEventsRequest(struct soap*, const char*, _ngwe__getEventsRequest *, const char*); +SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_new__ngwe__getEventsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest*); +SOAP_FMAC5 _ngwe__getEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__getEventConfigurationResponse +#define SOAP_TYPE__ngwe__getEventConfigurationResponse (329) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationResponse(struct soap*, const char*, int, const _ngwe__getEventConfigurationResponse *, const char*); +SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse *, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationResponse(struct soap*, const char*, _ngwe__getEventConfigurationResponse *, const char*); +SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse*); +SOAP_FMAC5 _ngwe__getEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__getEventConfigurationRequest +#define SOAP_TYPE__ngwe__getEventConfigurationRequest (328) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__getEventConfigurationRequest(struct soap*, const char*, int, const _ngwe__getEventConfigurationRequest *, const char*); +SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__getEventConfigurationRequest(struct soap*, const char*, _ngwe__getEventConfigurationRequest *, const char*); +SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__getEventConfigurationRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest*); +SOAP_FMAC5 _ngwe__getEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__getEventConfigurationRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__getEventConfigurationRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__configureEventsResponse +#define SOAP_TYPE__ngwe__configureEventsResponse (327) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsResponse(struct soap*, const char*, int, const _ngwe__configureEventsResponse *, const char*); +SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_get__ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwe__configureEventsResponse * SOAP_FMAC4 soap_in__ngwe__configureEventsResponse(struct soap*, const char*, _ngwe__configureEventsResponse *, const char*); +SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_new__ngwe__configureEventsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse*); +SOAP_FMAC5 _ngwe__configureEventsResponse * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__configureEventsRequest +#define SOAP_TYPE__ngwe__configureEventsRequest (326) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__configureEventsRequest(struct soap*, const char*, int, const _ngwe__configureEventsRequest *, const char*); +SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_get__ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwe__configureEventsRequest * SOAP_FMAC4 soap_in__ngwe__configureEventsRequest(struct soap*, const char*, _ngwe__configureEventsRequest *, const char*); +SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_new__ngwe__configureEventsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest*); +SOAP_FMAC5 _ngwe__configureEventsRequest * SOAP_FMAC6 soap_instantiate__ngwe__configureEventsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__configureEventsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationResponse +#define SOAP_TYPE__ngwe__cleanEventConfigurationResponse (325) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationResponse(struct soap*, const char*, int, const _ngwe__cleanEventConfigurationResponse *, const char*); +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse *, const char*, const char*); +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationResponse(struct soap*, const char*, _ngwe__cleanEventConfigurationResponse *, const char*); +SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse*); +SOAP_FMAC5 _ngwe__cleanEventConfigurationResponse * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationRequest +#define SOAP_TYPE__ngwe__cleanEventConfigurationRequest (324) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwe__cleanEventConfigurationRequest(struct soap*, const char*, int, const _ngwe__cleanEventConfigurationRequest *, const char*); +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get__ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in__ngwe__cleanEventConfigurationRequest(struct soap*, const char*, _ngwe__cleanEventConfigurationRequest *, const char*); +SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_new__ngwe__cleanEventConfigurationRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest*); +SOAP_FMAC5 _ngwe__cleanEventConfigurationRequest * SOAP_FMAC6 soap_instantiate__ngwe__cleanEventConfigurationRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwe__cleanEventConfigurationRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__Notify +#define SOAP_TYPE_ngwe__Notify (323) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Notify(struct soap*, const char*, int, const ngwe__Notify *, const char*); +SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_get_ngwe__Notify(struct soap*, ngwe__Notify *, const char*, const char*); +SOAP_FMAC3 ngwe__Notify * SOAP_FMAC4 soap_in_ngwe__Notify(struct soap*, const char*, ngwe__Notify *, const char*); +SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_new_ngwe__Notify(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Notify(struct soap*, ngwe__Notify*); +SOAP_FMAC5 ngwe__Notify * SOAP_FMAC6 soap_instantiate_ngwe__Notify(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Notify(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__EventTypeList +#define SOAP_TYPE_ngwe__EventTypeList (322) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventTypeList(struct soap*, const char*, int, const ngwe__EventTypeList *, const char*); +SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_get_ngwe__EventTypeList(struct soap*, ngwe__EventTypeList *, const char*, const char*); +SOAP_FMAC3 ngwe__EventTypeList * SOAP_FMAC4 soap_in_ngwe__EventTypeList(struct soap*, const char*, ngwe__EventTypeList *, const char*); +SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_new_ngwe__EventTypeList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventTypeList(struct soap*, ngwe__EventTypeList*); +SOAP_FMAC5 ngwe__EventTypeList * SOAP_FMAC6 soap_instantiate_ngwe__EventTypeList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventTypeList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__EventsList +#define SOAP_TYPE_ngwe__EventsList (321) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventsList(struct soap*, const char*, int, const ngwe__EventsList *, const char*); +SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_get_ngwe__EventsList(struct soap*, ngwe__EventsList *, const char*, const char*); +SOAP_FMAC3 ngwe__EventsList * SOAP_FMAC4 soap_in_ngwe__EventsList(struct soap*, const char*, ngwe__EventsList *, const char*); +SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_new_ngwe__EventsList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventsList(struct soap*, ngwe__EventsList*); +SOAP_FMAC5 ngwe__EventsList * SOAP_FMAC6 soap_instantiate_ngwe__EventsList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventsList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__Events +#define SOAP_TYPE_ngwe__Events (320) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Events(struct soap*, const char*, int, const ngwe__Events *, const char*); +SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_get_ngwe__Events(struct soap*, ngwe__Events *, const char*, const char*); +SOAP_FMAC3 ngwe__Events * SOAP_FMAC4 soap_in_ngwe__Events(struct soap*, const char*, ngwe__Events *, const char*); +SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_new_ngwe__Events(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Events(struct soap*, ngwe__Events*); +SOAP_FMAC5 ngwe__Events * SOAP_FMAC6 soap_instantiate_ngwe__Events(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Events(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__EventList +#define SOAP_TYPE_ngwe__EventList (319) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventList(struct soap*, const char*, int, const ngwe__EventList *, const char*); +SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_get_ngwe__EventList(struct soap*, ngwe__EventList *, const char*, const char*); +SOAP_FMAC3 ngwe__EventList * SOAP_FMAC4 soap_in_ngwe__EventList(struct soap*, const char*, ngwe__EventList *, const char*); +SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_new_ngwe__EventList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventList(struct soap*, ngwe__EventList*); +SOAP_FMAC5 ngwe__EventList * SOAP_FMAC6 soap_instantiate_ngwe__EventList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__EventDefinition +#define SOAP_TYPE_ngwe__EventDefinition (318) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__EventDefinition(struct soap*, const char*, int, const ngwe__EventDefinition *, const char*); +SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_get_ngwe__EventDefinition(struct soap*, ngwe__EventDefinition *, const char*, const char*); +SOAP_FMAC3 ngwe__EventDefinition * SOAP_FMAC4 soap_in_ngwe__EventDefinition(struct soap*, const char*, ngwe__EventDefinition *, const char*); +SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_new_ngwe__EventDefinition(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__EventDefinition(struct soap*, ngwe__EventDefinition*); +SOAP_FMAC5 ngwe__EventDefinition * SOAP_FMAC6 soap_instantiate_ngwe__EventDefinition(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__EventDefinition(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__Event +#define SOAP_TYPE_ngwe__Event (317) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__Event(struct soap*, const char*, int, const ngwe__Event *, const char*); +SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_get_ngwe__Event(struct soap*, ngwe__Event *, const char*, const char*); +SOAP_FMAC3 ngwe__Event * SOAP_FMAC4 soap_in_ngwe__Event(struct soap*, const char*, ngwe__Event *, const char*); +SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_new_ngwe__Event(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__Event(struct soap*, ngwe__Event*); +SOAP_FMAC5 ngwe__Event * SOAP_FMAC6 soap_instantiate_ngwe__Event(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__Event(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwe__ContainerList +#define SOAP_TYPE_ngwe__ContainerList (316) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwe__ContainerList(struct soap*, const char*, int, const ngwe__ContainerList *, const char*); +SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_get_ngwe__ContainerList(struct soap*, ngwe__ContainerList *, const char*, const char*); +SOAP_FMAC3 ngwe__ContainerList * SOAP_FMAC4 soap_in_ngwe__ContainerList(struct soap*, const char*, ngwe__ContainerList *, const char*); +SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_new_ngwe__ContainerList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwe__ContainerList(struct soap*, ngwe__ContainerList*); +SOAP_FMAC5 ngwe__ContainerList * SOAP_FMAC6 soap_instantiate_ngwe__ContainerList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwe__ContainerList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__updateVersionStatusResponse +#define SOAP_TYPE__ngwm__updateVersionStatusResponse (315) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusResponse(struct soap*, const char*, int, const _ngwm__updateVersionStatusResponse *, const char*); +SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__updateVersionStatusResponse * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusResponse(struct soap*, const char*, _ngwm__updateVersionStatusResponse *, const char*); +SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse*); +SOAP_FMAC5 _ngwm__updateVersionStatusResponse * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__updateVersionStatusRequest +#define SOAP_TYPE__ngwm__updateVersionStatusRequest (314) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__updateVersionStatusRequest(struct soap*, const char*, int, const _ngwm__updateVersionStatusRequest *, const char*); +SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_get__ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__updateVersionStatusRequest * SOAP_FMAC4 soap_in__ngwm__updateVersionStatusRequest(struct soap*, const char*, _ngwm__updateVersionStatusRequest *, const char*); +SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_new__ngwm__updateVersionStatusRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest*); +SOAP_FMAC5 _ngwm__updateVersionStatusRequest * SOAP_FMAC6 soap_instantiate__ngwm__updateVersionStatusRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__updateVersionStatusRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__uncompleteResponse +#define SOAP_TYPE__ngwm__uncompleteResponse (313) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteResponse(struct soap*, const char*, int, const _ngwm__uncompleteResponse *, const char*); +SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_get__ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__uncompleteResponse * SOAP_FMAC4 soap_in__ngwm__uncompleteResponse(struct soap*, const char*, _ngwm__uncompleteResponse *, const char*); +SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_new__ngwm__uncompleteResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse*); +SOAP_FMAC5 _ngwm__uncompleteResponse * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__uncompleteRequest +#define SOAP_TYPE__ngwm__uncompleteRequest (312) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__uncompleteRequest(struct soap*, const char*, int, const _ngwm__uncompleteRequest *, const char*); +SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_get__ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__uncompleteRequest * SOAP_FMAC4 soap_in__ngwm__uncompleteRequest(struct soap*, const char*, _ngwm__uncompleteRequest *, const char*); +SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_new__ngwm__uncompleteRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest*); +SOAP_FMAC5 _ngwm__uncompleteRequest * SOAP_FMAC6 soap_instantiate__ngwm__uncompleteRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__uncompleteRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__unacceptResponse +#define SOAP_TYPE__ngwm__unacceptResponse (311) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptResponse(struct soap*, const char*, int, const _ngwm__unacceptResponse *, const char*); +SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_get__ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__unacceptResponse * SOAP_FMAC4 soap_in__ngwm__unacceptResponse(struct soap*, const char*, _ngwm__unacceptResponse *, const char*); +SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_new__ngwm__unacceptResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse*); +SOAP_FMAC5 _ngwm__unacceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__unacceptResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__unacceptRequest +#define SOAP_TYPE__ngwm__unacceptRequest (310) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__unacceptRequest(struct soap*, const char*, int, const _ngwm__unacceptRequest *, const char*); +SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_get__ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__unacceptRequest * SOAP_FMAC4 soap_in__ngwm__unacceptRequest(struct soap*, const char*, _ngwm__unacceptRequest *, const char*); +SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_new__ngwm__unacceptRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest*); +SOAP_FMAC5 _ngwm__unacceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__unacceptRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__unacceptRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__startFreeBusySessionResponse +#define SOAP_TYPE__ngwm__startFreeBusySessionResponse (309) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionResponse(struct soap*, const char*, int, const _ngwm__startFreeBusySessionResponse *, const char*); +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionResponse(struct soap*, const char*, _ngwm__startFreeBusySessionResponse *, const char*); +SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse*); +SOAP_FMAC5 _ngwm__startFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__startFreeBusySessionRequest +#define SOAP_TYPE__ngwm__startFreeBusySessionRequest (308) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__startFreeBusySessionRequest(struct soap*, const char*, int, const _ngwm__startFreeBusySessionRequest *, const char*); +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__startFreeBusySessionRequest(struct soap*, const char*, _ngwm__startFreeBusySessionRequest *, const char*); +SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__startFreeBusySessionRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest*); +SOAP_FMAC5 _ngwm__startFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__startFreeBusySessionRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__startFreeBusySessionRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__setTimestampResponse +#define SOAP_TYPE__ngwm__setTimestampResponse (307) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampResponse(struct soap*, const char*, int, const _ngwm__setTimestampResponse *, const char*); +SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_get__ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__setTimestampResponse * SOAP_FMAC4 soap_in__ngwm__setTimestampResponse(struct soap*, const char*, _ngwm__setTimestampResponse *, const char*); +SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_new__ngwm__setTimestampResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse*); +SOAP_FMAC5 _ngwm__setTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__setTimestampRequest +#define SOAP_TYPE__ngwm__setTimestampRequest (306) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__setTimestampRequest(struct soap*, const char*, int, const _ngwm__setTimestampRequest *, const char*); +SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_get__ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__setTimestampRequest * SOAP_FMAC4 soap_in__ngwm__setTimestampRequest(struct soap*, const char*, _ngwm__setTimestampRequest *, const char*); +SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_new__ngwm__setTimestampRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest*); +SOAP_FMAC5 _ngwm__setTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__setTimestampRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__setTimestampRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__sendItemResponse +#define SOAP_TYPE__ngwm__sendItemResponse (305) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemResponse(struct soap*, const char*, int, const _ngwm__sendItemResponse *, const char*); +SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_get__ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__sendItemResponse * SOAP_FMAC4 soap_in__ngwm__sendItemResponse(struct soap*, const char*, _ngwm__sendItemResponse *, const char*); +SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_new__ngwm__sendItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse*); +SOAP_FMAC5 _ngwm__sendItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__sendItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__sendItemRequest +#define SOAP_TYPE__ngwm__sendItemRequest (304) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__sendItemRequest(struct soap*, const char*, int, const _ngwm__sendItemRequest *, const char*); +SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_get__ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__sendItemRequest * SOAP_FMAC4 soap_in__ngwm__sendItemRequest(struct soap*, const char*, _ngwm__sendItemRequest *, const char*); +SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_new__ngwm__sendItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest*); +SOAP_FMAC5 _ngwm__sendItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__sendItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__sendItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__retractResponse +#define SOAP_TYPE__ngwm__retractResponse (303) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractResponse(struct soap*, const char*, int, const _ngwm__retractResponse *, const char*); +SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_get__ngwm__retractResponse(struct soap*, _ngwm__retractResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__retractResponse * SOAP_FMAC4 soap_in__ngwm__retractResponse(struct soap*, const char*, _ngwm__retractResponse *, const char*); +SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_new__ngwm__retractResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractResponse(struct soap*, _ngwm__retractResponse*); +SOAP_FMAC5 _ngwm__retractResponse * SOAP_FMAC6 soap_instantiate__ngwm__retractResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__retractRequest +#define SOAP_TYPE__ngwm__retractRequest (302) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__retractRequest(struct soap*, const char*, int, const _ngwm__retractRequest *, const char*); +SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_get__ngwm__retractRequest(struct soap*, _ngwm__retractRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__retractRequest * SOAP_FMAC4 soap_in__ngwm__retractRequest(struct soap*, const char*, _ngwm__retractRequest *, const char*); +SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_new__ngwm__retractRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__retractRequest(struct soap*, _ngwm__retractRequest*); +SOAP_FMAC5 _ngwm__retractRequest * SOAP_FMAC6 soap_instantiate__ngwm__retractRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__retractRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__replyResponse +#define SOAP_TYPE__ngwm__replyResponse (301) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyResponse(struct soap*, const char*, int, const _ngwm__replyResponse *, const char*); +SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_get__ngwm__replyResponse(struct soap*, _ngwm__replyResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__replyResponse * SOAP_FMAC4 soap_in__ngwm__replyResponse(struct soap*, const char*, _ngwm__replyResponse *, const char*); +SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_new__ngwm__replyResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyResponse(struct soap*, _ngwm__replyResponse*); +SOAP_FMAC5 _ngwm__replyResponse * SOAP_FMAC6 soap_instantiate__ngwm__replyResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__replyRequest +#define SOAP_TYPE__ngwm__replyRequest (300) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__replyRequest(struct soap*, const char*, int, const _ngwm__replyRequest *, const char*); +SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_get__ngwm__replyRequest(struct soap*, _ngwm__replyRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__replyRequest * SOAP_FMAC4 soap_in__ngwm__replyRequest(struct soap*, const char*, _ngwm__replyRequest *, const char*); +SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_new__ngwm__replyRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__replyRequest(struct soap*, _ngwm__replyRequest*); +SOAP_FMAC5 _ngwm__replyRequest * SOAP_FMAC6 soap_instantiate__ngwm__replyRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__replyRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeSignatureResponse +#define SOAP_TYPE__ngwm__removeSignatureResponse (299) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureResponse(struct soap*, const char*, int, const _ngwm__removeSignatureResponse *, const char*); +SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_get__ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeSignatureResponse * SOAP_FMAC4 soap_in__ngwm__removeSignatureResponse(struct soap*, const char*, _ngwm__removeSignatureResponse *, const char*); +SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_new__ngwm__removeSignatureResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse*); +SOAP_FMAC5 _ngwm__removeSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeSignatureRequest +#define SOAP_TYPE__ngwm__removeSignatureRequest (298) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeSignatureRequest(struct soap*, const char*, int, const _ngwm__removeSignatureRequest *, const char*); +SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_get__ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeSignatureRequest * SOAP_FMAC4 soap_in__ngwm__removeSignatureRequest(struct soap*, const char*, _ngwm__removeSignatureRequest *, const char*); +SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_new__ngwm__removeSignatureRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest*); +SOAP_FMAC5 _ngwm__removeSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeSignatureRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeSignatureRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeProxyUserResponse +#define SOAP_TYPE__ngwm__removeProxyUserResponse (297) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserResponse(struct soap*, const char*, int, const _ngwm__removeProxyUserResponse *, const char*); +SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyUserResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyUserResponse(struct soap*, const char*, _ngwm__removeProxyUserResponse *, const char*); +SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyUserResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse*); +SOAP_FMAC5 _ngwm__removeProxyUserResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeProxyUserRequest +#define SOAP_TYPE__ngwm__removeProxyUserRequest (296) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyUserRequest(struct soap*, const char*, int, const _ngwm__removeProxyUserRequest *, const char*); +SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyUserRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyUserRequest(struct soap*, const char*, _ngwm__removeProxyUserRequest *, const char*); +SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyUserRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest*); +SOAP_FMAC5 _ngwm__removeProxyUserRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyUserRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyUserRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeProxyAccessResponse +#define SOAP_TYPE__ngwm__removeProxyAccessResponse (295) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessResponse(struct soap*, const char*, int, const _ngwm__removeProxyAccessResponse *, const char*); +SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessResponse(struct soap*, const char*, _ngwm__removeProxyAccessResponse *, const char*); +SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse*); +SOAP_FMAC5 _ngwm__removeProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeProxyAccessRequest +#define SOAP_TYPE__ngwm__removeProxyAccessRequest (294) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeProxyAccessRequest(struct soap*, const char*, int, const _ngwm__removeProxyAccessRequest *, const char*); +SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__removeProxyAccessRequest(struct soap*, const char*, _ngwm__removeProxyAccessRequest *, const char*); +SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__removeProxyAccessRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest*); +SOAP_FMAC5 _ngwm__removeProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeProxyAccessRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeProxyAccessRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeMembersResponse +#define SOAP_TYPE__ngwm__removeMembersResponse (293) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersResponse(struct soap*, const char*, int, const _ngwm__removeMembersResponse *, const char*); +SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_get__ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeMembersResponse * SOAP_FMAC4 soap_in__ngwm__removeMembersResponse(struct soap*, const char*, _ngwm__removeMembersResponse *, const char*); +SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_new__ngwm__removeMembersResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse*); +SOAP_FMAC5 _ngwm__removeMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeMembersRequest +#define SOAP_TYPE__ngwm__removeMembersRequest (292) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeMembersRequest(struct soap*, const char*, int, const _ngwm__removeMembersRequest *, const char*); +SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_get__ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeMembersRequest * SOAP_FMAC4 soap_in__ngwm__removeMembersRequest(struct soap*, const char*, _ngwm__removeMembersRequest *, const char*); +SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_new__ngwm__removeMembersRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest*); +SOAP_FMAC5 _ngwm__removeMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeMembersRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeMembersRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeJunkEntryResponse +#define SOAP_TYPE__ngwm__removeJunkEntryResponse (291) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryResponse(struct soap*, const char*, int, const _ngwm__removeJunkEntryResponse *, const char*); +SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryResponse(struct soap*, const char*, _ngwm__removeJunkEntryResponse *, const char*); +SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse*); +SOAP_FMAC5 _ngwm__removeJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeJunkEntryRequest +#define SOAP_TYPE__ngwm__removeJunkEntryRequest (290) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeJunkEntryRequest(struct soap*, const char*, int, const _ngwm__removeJunkEntryRequest *, const char*); +SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__removeJunkEntryRequest(struct soap*, const char*, _ngwm__removeJunkEntryRequest *, const char*); +SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__removeJunkEntryRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest*); +SOAP_FMAC5 _ngwm__removeJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeJunkEntryRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeJunkEntryRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeItemsResponse +#define SOAP_TYPE__ngwm__removeItemsResponse (289) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsResponse(struct soap*, const char*, int, const _ngwm__removeItemsResponse *, const char*); +SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_get__ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemsResponse * SOAP_FMAC4 soap_in__ngwm__removeItemsResponse(struct soap*, const char*, _ngwm__removeItemsResponse *, const char*); +SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_new__ngwm__removeItemsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse*); +SOAP_FMAC5 _ngwm__removeItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeItemsRequest +#define SOAP_TYPE__ngwm__removeItemsRequest (288) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemsRequest(struct soap*, const char*, int, const _ngwm__removeItemsRequest *, const char*); +SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_get__ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemsRequest * SOAP_FMAC4 soap_in__ngwm__removeItemsRequest(struct soap*, const char*, _ngwm__removeItemsRequest *, const char*); +SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_new__ngwm__removeItemsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest*); +SOAP_FMAC5 _ngwm__removeItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeItemResponse +#define SOAP_TYPE__ngwm__removeItemResponse (287) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemResponse(struct soap*, const char*, int, const _ngwm__removeItemResponse *, const char*); +SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_get__ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemResponse * SOAP_FMAC4 soap_in__ngwm__removeItemResponse(struct soap*, const char*, _ngwm__removeItemResponse *, const char*); +SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_new__ngwm__removeItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse*); +SOAP_FMAC5 _ngwm__removeItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeItemRequest +#define SOAP_TYPE__ngwm__removeItemRequest (286) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeItemRequest(struct soap*, const char*, int, const _ngwm__removeItemRequest *, const char*); +SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_get__ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemRequest * SOAP_FMAC4 soap_in__ngwm__removeItemRequest(struct soap*, const char*, _ngwm__removeItemRequest *, const char*); +SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_new__ngwm__removeItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest*); +SOAP_FMAC5 _ngwm__removeItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionResponse +#define SOAP_TYPE__ngwm__removeCustomDefinitionResponse (285) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionResponse(struct soap*, const char*, int, const _ngwm__removeCustomDefinitionResponse *, const char*); +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionResponse(struct soap*, const char*, _ngwm__removeCustomDefinitionResponse *, const char*); +SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse*); +SOAP_FMAC5 _ngwm__removeCustomDefinitionResponse * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionRequest +#define SOAP_TYPE__ngwm__removeCustomDefinitionRequest (284) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__removeCustomDefinitionRequest(struct soap*, const char*, int, const _ngwm__removeCustomDefinitionRequest *, const char*); +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get__ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in__ngwm__removeCustomDefinitionRequest(struct soap*, const char*, _ngwm__removeCustomDefinitionRequest *, const char*); +SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_new__ngwm__removeCustomDefinitionRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest*); +SOAP_FMAC5 _ngwm__removeCustomDefinitionRequest * SOAP_FMAC6 soap_instantiate__ngwm__removeCustomDefinitionRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__removeCustomDefinitionRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__readCursorResponse +#define SOAP_TYPE__ngwm__readCursorResponse (283) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorResponse(struct soap*, const char*, int, const _ngwm__readCursorResponse *, const char*); +SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_get__ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__readCursorResponse * SOAP_FMAC4 soap_in__ngwm__readCursorResponse(struct soap*, const char*, _ngwm__readCursorResponse *, const char*); +SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_new__ngwm__readCursorResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse*); +SOAP_FMAC5 _ngwm__readCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__readCursorResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__readCursorRequest +#define SOAP_TYPE__ngwm__readCursorRequest (282) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__readCursorRequest(struct soap*, const char*, int, const _ngwm__readCursorRequest *, const char*); +SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_get__ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__readCursorRequest * SOAP_FMAC4 soap_in__ngwm__readCursorRequest(struct soap*, const char*, _ngwm__readCursorRequest *, const char*); +SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_new__ngwm__readCursorRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest*); +SOAP_FMAC5 _ngwm__readCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__readCursorRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__readCursorRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__purgeResponse +#define SOAP_TYPE__ngwm__purgeResponse (281) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeResponse(struct soap*, const char*, int, const _ngwm__purgeResponse *, const char*); +SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_get__ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeResponse * SOAP_FMAC4 soap_in__ngwm__purgeResponse(struct soap*, const char*, _ngwm__purgeResponse *, const char*); +SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_new__ngwm__purgeResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse*); +SOAP_FMAC5 _ngwm__purgeResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__purgeRequest +#define SOAP_TYPE__ngwm__purgeRequest (280) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeRequest(struct soap*, const char*, int, const _ngwm__purgeRequest *, const char*); +SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_get__ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeRequest * SOAP_FMAC4 soap_in__ngwm__purgeRequest(struct soap*, const char*, _ngwm__purgeRequest *, const char*); +SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_new__ngwm__purgeRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest*); +SOAP_FMAC5 _ngwm__purgeRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsResponse +#define SOAP_TYPE__ngwm__purgeDeletedItemsResponse (279) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsResponse(struct soap*, const char*, int, const _ngwm__purgeDeletedItemsResponse *, const char*); +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsResponse(struct soap*, const char*, _ngwm__purgeDeletedItemsResponse *, const char*); +SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse*); +SOAP_FMAC5 _ngwm__purgeDeletedItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsRequest +#define SOAP_TYPE__ngwm__purgeDeletedItemsRequest (278) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__purgeDeletedItemsRequest(struct soap*, const char*, int, const _ngwm__purgeDeletedItemsRequest *, const char*); +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get__ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in__ngwm__purgeDeletedItemsRequest(struct soap*, const char*, _ngwm__purgeDeletedItemsRequest *, const char*); +SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_new__ngwm__purgeDeletedItemsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest*); +SOAP_FMAC5 _ngwm__purgeDeletedItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__purgeDeletedItemsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__purgeDeletedItemsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__positionCursorResponse +#define SOAP_TYPE__ngwm__positionCursorResponse (277) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorResponse(struct soap*, const char*, int, const _ngwm__positionCursorResponse *, const char*); +SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_get__ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__positionCursorResponse * SOAP_FMAC4 soap_in__ngwm__positionCursorResponse(struct soap*, const char*, _ngwm__positionCursorResponse *, const char*); +SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_new__ngwm__positionCursorResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse*); +SOAP_FMAC5 _ngwm__positionCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__positionCursorRequest +#define SOAP_TYPE__ngwm__positionCursorRequest (276) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__positionCursorRequest(struct soap*, const char*, int, const _ngwm__positionCursorRequest *, const char*); +SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_get__ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__positionCursorRequest * SOAP_FMAC4 soap_in__ngwm__positionCursorRequest(struct soap*, const char*, _ngwm__positionCursorRequest *, const char*); +SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_new__ngwm__positionCursorRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest*); +SOAP_FMAC5 _ngwm__positionCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__positionCursorRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__positionCursorRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__moveItemResponse +#define SOAP_TYPE__ngwm__moveItemResponse (275) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemResponse(struct soap*, const char*, int, const _ngwm__moveItemResponse *, const char*); +SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_get__ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__moveItemResponse * SOAP_FMAC4 soap_in__ngwm__moveItemResponse(struct soap*, const char*, _ngwm__moveItemResponse *, const char*); +SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_new__ngwm__moveItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse*); +SOAP_FMAC5 _ngwm__moveItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__moveItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__moveItemRequest +#define SOAP_TYPE__ngwm__moveItemRequest (274) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__moveItemRequest(struct soap*, const char*, int, const _ngwm__moveItemRequest *, const char*); +SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_get__ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__moveItemRequest * SOAP_FMAC4 soap_in__ngwm__moveItemRequest(struct soap*, const char*, _ngwm__moveItemRequest *, const char*); +SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_new__ngwm__moveItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest*); +SOAP_FMAC5 _ngwm__moveItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__moveItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__moveItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifySignaturesResponse +#define SOAP_TYPE__ngwm__modifySignaturesResponse (273) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesResponse(struct soap*, const char*, int, const _ngwm__modifySignaturesResponse *, const char*); +SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_get__ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySignaturesResponse * SOAP_FMAC4 soap_in__ngwm__modifySignaturesResponse(struct soap*, const char*, _ngwm__modifySignaturesResponse *, const char*); +SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_new__ngwm__modifySignaturesResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse*); +SOAP_FMAC5 _ngwm__modifySignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifySignaturesRequest +#define SOAP_TYPE__ngwm__modifySignaturesRequest (272) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySignaturesRequest(struct soap*, const char*, int, const _ngwm__modifySignaturesRequest *, const char*); +SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_get__ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySignaturesRequest * SOAP_FMAC4 soap_in__ngwm__modifySignaturesRequest(struct soap*, const char*, _ngwm__modifySignaturesRequest *, const char*); +SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_new__ngwm__modifySignaturesRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest*); +SOAP_FMAC5 _ngwm__modifySignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySignaturesRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySignaturesRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifySettingsResponse +#define SOAP_TYPE__ngwm__modifySettingsResponse (271) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsResponse(struct soap*, const char*, int, const _ngwm__modifySettingsResponse *, const char*); +SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifySettingsResponse(struct soap*, const char*, _ngwm__modifySettingsResponse *, const char*); +SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifySettingsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse*); +SOAP_FMAC5 _ngwm__modifySettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifySettingsRequest +#define SOAP_TYPE__ngwm__modifySettingsRequest (270) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifySettingsRequest(struct soap*, const char*, int, const _ngwm__modifySettingsRequest *, const char*); +SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifySettingsRequest(struct soap*, const char*, _ngwm__modifySettingsRequest *, const char*); +SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifySettingsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest*); +SOAP_FMAC5 _ngwm__modifySettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifySettingsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifySettingsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyProxyAccessResponse +#define SOAP_TYPE__ngwm__modifyProxyAccessResponse (269) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessResponse(struct soap*, const char*, int, const _ngwm__modifyProxyAccessResponse *, const char*); +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessResponse(struct soap*, const char*, _ngwm__modifyProxyAccessResponse *, const char*); +SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse*); +SOAP_FMAC5 _ngwm__modifyProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyProxyAccessRequest +#define SOAP_TYPE__ngwm__modifyProxyAccessRequest (268) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyProxyAccessRequest(struct soap*, const char*, int, const _ngwm__modifyProxyAccessRequest *, const char*); +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__modifyProxyAccessRequest(struct soap*, const char*, _ngwm__modifyProxyAccessRequest *, const char*); +SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__modifyProxyAccessRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest*); +SOAP_FMAC5 _ngwm__modifyProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyProxyAccessRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyProxyAccessRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyPasswordResponse +#define SOAP_TYPE__ngwm__modifyPasswordResponse (267) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordResponse(struct soap*, const char*, int, const _ngwm__modifyPasswordResponse *, const char*); +SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_get__ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyPasswordResponse * SOAP_FMAC4 soap_in__ngwm__modifyPasswordResponse(struct soap*, const char*, _ngwm__modifyPasswordResponse *, const char*); +SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_new__ngwm__modifyPasswordResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse*); +SOAP_FMAC5 _ngwm__modifyPasswordResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyPasswordRequest +#define SOAP_TYPE__ngwm__modifyPasswordRequest (266) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyPasswordRequest(struct soap*, const char*, int, const _ngwm__modifyPasswordRequest *, const char*); +SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_get__ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyPasswordRequest * SOAP_FMAC4 soap_in__ngwm__modifyPasswordRequest(struct soap*, const char*, _ngwm__modifyPasswordRequest *, const char*); +SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_new__ngwm__modifyPasswordRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest*); +SOAP_FMAC5 _ngwm__modifyPasswordRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyPasswordRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyPasswordRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse +#define SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse (265) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsResponse(struct soap*, const char*, int, const _ngwm__modifyJunkMailSettingsResponse *, const char*); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsResponse(struct soap*, const char*, _ngwm__modifyJunkMailSettingsResponse *, const char*); +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse*); +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest +#define SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest (264) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkMailSettingsRequest(struct soap*, const char*, int, const _ngwm__modifyJunkMailSettingsRequest *, const char*); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkMailSettingsRequest(struct soap*, const char*, _ngwm__modifyJunkMailSettingsRequest *, const char*); +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkMailSettingsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest*); +SOAP_FMAC5 _ngwm__modifyJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkMailSettingsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkMailSettingsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyJunkEntryResponse +#define SOAP_TYPE__ngwm__modifyJunkEntryResponse (263) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryResponse(struct soap*, const char*, int, const _ngwm__modifyJunkEntryResponse *, const char*); +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryResponse(struct soap*, const char*, _ngwm__modifyJunkEntryResponse *, const char*); +SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse*); +SOAP_FMAC5 _ngwm__modifyJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyJunkEntryRequest +#define SOAP_TYPE__ngwm__modifyJunkEntryRequest (262) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyJunkEntryRequest(struct soap*, const char*, int, const _ngwm__modifyJunkEntryRequest *, const char*); +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__modifyJunkEntryRequest(struct soap*, const char*, _ngwm__modifyJunkEntryRequest *, const char*); +SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__modifyJunkEntryRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest*); +SOAP_FMAC5 _ngwm__modifyJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyJunkEntryRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyJunkEntryRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyItemsResponse +#define SOAP_TYPE__ngwm__modifyItemsResponse (261) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsResponse(struct soap*, const char*, int, const _ngwm__modifyItemsResponse *, const char*); +SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemsResponse(struct soap*, _ngwm__modifyItemsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyItemsResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemsResponse(struct soap*, const char*, _ngwm__modifyItemsResponse *, const char*); +SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsResponse(struct soap*, _ngwm__modifyItemsResponse*); +SOAP_FMAC5 _ngwm__modifyItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyItemsRequest +#define SOAP_TYPE__ngwm__modifyItemsRequest (260) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemsRequest(struct soap*, const char*, int, const _ngwm__modifyItemsRequest *, const char*); +SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemsRequest(struct soap*, _ngwm__modifyItemsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyItemsRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemsRequest(struct soap*, const char*, _ngwm__modifyItemsRequest *, const char*); +SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemsRequest(struct soap*, _ngwm__modifyItemsRequest*); +SOAP_FMAC5 _ngwm__modifyItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyItemResponse +#define SOAP_TYPE__ngwm__modifyItemResponse (259) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemResponse(struct soap*, const char*, int, const _ngwm__modifyItemResponse *, const char*); +SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_get__ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyItemResponse * SOAP_FMAC4 soap_in__ngwm__modifyItemResponse(struct soap*, const char*, _ngwm__modifyItemResponse *, const char*); +SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_new__ngwm__modifyItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse*); +SOAP_FMAC5 _ngwm__modifyItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__modifyItemRequest +#define SOAP_TYPE__ngwm__modifyItemRequest (258) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__modifyItemRequest(struct soap*, const char*, int, const _ngwm__modifyItemRequest *, const char*); +SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_get__ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyItemRequest * SOAP_FMAC4 soap_in__ngwm__modifyItemRequest(struct soap*, const char*, _ngwm__modifyItemRequest *, const char*); +SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_new__ngwm__modifyItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest*); +SOAP_FMAC5 _ngwm__modifyItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__modifyItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__modifyItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markUnReadResponse +#define SOAP_TYPE__ngwm__markUnReadResponse (257) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadResponse(struct soap*, const char*, int, const _ngwm__markUnReadResponse *, const char*); +SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_get__ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnReadResponse * SOAP_FMAC4 soap_in__ngwm__markUnReadResponse(struct soap*, const char*, _ngwm__markUnReadResponse *, const char*); +SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_new__ngwm__markUnReadResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse*); +SOAP_FMAC5 _ngwm__markUnReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markUnReadRequest +#define SOAP_TYPE__ngwm__markUnReadRequest (256) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnReadRequest(struct soap*, const char*, int, const _ngwm__markUnReadRequest *, const char*); +SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_get__ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnReadRequest * SOAP_FMAC4 soap_in__ngwm__markUnReadRequest(struct soap*, const char*, _ngwm__markUnReadRequest *, const char*); +SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_new__ngwm__markUnReadRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest*); +SOAP_FMAC5 _ngwm__markUnReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnReadRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnReadRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markUnPrivateResponse +#define SOAP_TYPE__ngwm__markUnPrivateResponse (255) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateResponse(struct soap*, const char*, int, const _ngwm__markUnPrivateResponse *, const char*); +SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markUnPrivateResponse(struct soap*, const char*, _ngwm__markUnPrivateResponse *, const char*); +SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markUnPrivateResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse*); +SOAP_FMAC5 _ngwm__markUnPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markUnPrivateRequest +#define SOAP_TYPE__ngwm__markUnPrivateRequest (254) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markUnPrivateRequest(struct soap*, const char*, int, const _ngwm__markUnPrivateRequest *, const char*); +SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markUnPrivateRequest(struct soap*, const char*, _ngwm__markUnPrivateRequest *, const char*); +SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markUnPrivateRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest*); +SOAP_FMAC5 _ngwm__markUnPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markUnPrivateRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markUnPrivateRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markReadResponse +#define SOAP_TYPE__ngwm__markReadResponse (253) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadResponse(struct soap*, const char*, int, const _ngwm__markReadResponse *, const char*); +SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_get__ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__markReadResponse * SOAP_FMAC4 soap_in__ngwm__markReadResponse(struct soap*, const char*, _ngwm__markReadResponse *, const char*); +SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_new__ngwm__markReadResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse*); +SOAP_FMAC5 _ngwm__markReadResponse * SOAP_FMAC6 soap_instantiate__ngwm__markReadResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markReadRequest +#define SOAP_TYPE__ngwm__markReadRequest (252) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markReadRequest(struct soap*, const char*, int, const _ngwm__markReadRequest *, const char*); +SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_get__ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__markReadRequest * SOAP_FMAC4 soap_in__ngwm__markReadRequest(struct soap*, const char*, _ngwm__markReadRequest *, const char*); +SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_new__ngwm__markReadRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest*); +SOAP_FMAC5 _ngwm__markReadRequest * SOAP_FMAC6 soap_instantiate__ngwm__markReadRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markReadRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markPrivateResponse +#define SOAP_TYPE__ngwm__markPrivateResponse (251) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateResponse(struct soap*, const char*, int, const _ngwm__markPrivateResponse *, const char*); +SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_get__ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__markPrivateResponse * SOAP_FMAC4 soap_in__ngwm__markPrivateResponse(struct soap*, const char*, _ngwm__markPrivateResponse *, const char*); +SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_new__ngwm__markPrivateResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse*); +SOAP_FMAC5 _ngwm__markPrivateResponse * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__markPrivateRequest +#define SOAP_TYPE__ngwm__markPrivateRequest (250) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__markPrivateRequest(struct soap*, const char*, int, const _ngwm__markPrivateRequest *, const char*); +SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_get__ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__markPrivateRequest * SOAP_FMAC4 soap_in__ngwm__markPrivateRequest(struct soap*, const char*, _ngwm__markPrivateRequest *, const char*); +SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_new__ngwm__markPrivateRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest*); +SOAP_FMAC5 _ngwm__markPrivateRequest * SOAP_FMAC6 soap_instantiate__ngwm__markPrivateRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__markPrivateRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__logoutResponse +#define SOAP_TYPE__ngwm__logoutResponse (249) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutResponse(struct soap*, const char*, int, const _ngwm__logoutResponse *, const char*); +SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_get__ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__logoutResponse * SOAP_FMAC4 soap_in__ngwm__logoutResponse(struct soap*, const char*, _ngwm__logoutResponse *, const char*); +SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_new__ngwm__logoutResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse*); +SOAP_FMAC5 _ngwm__logoutResponse * SOAP_FMAC6 soap_instantiate__ngwm__logoutResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__logoutRequest +#define SOAP_TYPE__ngwm__logoutRequest (248) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__logoutRequest(struct soap*, const char*, int, const _ngwm__logoutRequest *, const char*); +SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_get__ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__logoutRequest * SOAP_FMAC4 soap_in__ngwm__logoutRequest(struct soap*, const char*, _ngwm__logoutRequest *, const char*); +SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_new__ngwm__logoutRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest*); +SOAP_FMAC5 _ngwm__logoutRequest * SOAP_FMAC6 soap_instantiate__ngwm__logoutRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__logoutRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__loginResponse +#define SOAP_TYPE__ngwm__loginResponse (247) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginResponse(struct soap*, const char*, int, const _ngwm__loginResponse *, const char*); +SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_get__ngwm__loginResponse(struct soap*, _ngwm__loginResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__loginResponse * SOAP_FMAC4 soap_in__ngwm__loginResponse(struct soap*, const char*, _ngwm__loginResponse *, const char*); +SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_new__ngwm__loginResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginResponse(struct soap*, _ngwm__loginResponse*); +SOAP_FMAC5 _ngwm__loginResponse * SOAP_FMAC6 soap_instantiate__ngwm__loginResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__loginRequest +#define SOAP_TYPE__ngwm__loginRequest (246) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__loginRequest(struct soap*, const char*, int, const _ngwm__loginRequest *, const char*); +SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_get__ngwm__loginRequest(struct soap*, _ngwm__loginRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__loginRequest * SOAP_FMAC4 soap_in__ngwm__loginRequest(struct soap*, const char*, _ngwm__loginRequest *, const char*); +SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_new__ngwm__loginRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__loginRequest(struct soap*, _ngwm__loginRequest*); +SOAP_FMAC5 _ngwm__loginRequest * SOAP_FMAC6 soap_instantiate__ngwm__loginRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__loginRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getUserListResponse +#define SOAP_TYPE__ngwm__getUserListResponse (245) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListResponse(struct soap*, const char*, int, const _ngwm__getUserListResponse *, const char*); +SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_get__ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getUserListResponse * SOAP_FMAC4 soap_in__ngwm__getUserListResponse(struct soap*, const char*, _ngwm__getUserListResponse *, const char*); +SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_new__ngwm__getUserListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse*); +SOAP_FMAC5 _ngwm__getUserListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getUserListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getUserListRequest +#define SOAP_TYPE__ngwm__getUserListRequest (244) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getUserListRequest(struct soap*, const char*, int, const _ngwm__getUserListRequest *, const char*); +SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_get__ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getUserListRequest * SOAP_FMAC4 soap_in__ngwm__getUserListRequest(struct soap*, const char*, _ngwm__getUserListRequest *, const char*); +SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_new__ngwm__getUserListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest*); +SOAP_FMAC5 _ngwm__getUserListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getUserListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getUserListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getTimezoneListResponse +#define SOAP_TYPE__ngwm__getTimezoneListResponse (243) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListResponse(struct soap*, const char*, int, const _ngwm__getTimezoneListResponse *, const char*); +SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_get__ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimezoneListResponse * SOAP_FMAC4 soap_in__ngwm__getTimezoneListResponse(struct soap*, const char*, _ngwm__getTimezoneListResponse *, const char*); +SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_new__ngwm__getTimezoneListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse*); +SOAP_FMAC5 _ngwm__getTimezoneListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getTimezoneListRequest +#define SOAP_TYPE__ngwm__getTimezoneListRequest (242) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimezoneListRequest(struct soap*, const char*, int, const _ngwm__getTimezoneListRequest *, const char*); +SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_get__ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimezoneListRequest * SOAP_FMAC4 soap_in__ngwm__getTimezoneListRequest(struct soap*, const char*, _ngwm__getTimezoneListRequest *, const char*); +SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_new__ngwm__getTimezoneListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest*); +SOAP_FMAC5 _ngwm__getTimezoneListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimezoneListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimezoneListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getTimestampResponse +#define SOAP_TYPE__ngwm__getTimestampResponse (241) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampResponse(struct soap*, const char*, int, const _ngwm__getTimestampResponse *, const char*); +SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_get__ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimestampResponse * SOAP_FMAC4 soap_in__ngwm__getTimestampResponse(struct soap*, const char*, _ngwm__getTimestampResponse *, const char*); +SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_new__ngwm__getTimestampResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse*); +SOAP_FMAC5 _ngwm__getTimestampResponse * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getTimestampRequest +#define SOAP_TYPE__ngwm__getTimestampRequest (240) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getTimestampRequest(struct soap*, const char*, int, const _ngwm__getTimestampRequest *, const char*); +SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_get__ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimestampRequest * SOAP_FMAC4 soap_in__ngwm__getTimestampRequest(struct soap*, const char*, _ngwm__getTimestampRequest *, const char*); +SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_new__ngwm__getTimestampRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest*); +SOAP_FMAC5 _ngwm__getTimestampRequest * SOAP_FMAC6 soap_instantiate__ngwm__getTimestampRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getTimestampRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getSignaturesResponse +#define SOAP_TYPE__ngwm__getSignaturesResponse (239) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesResponse(struct soap*, const char*, int, const _ngwm__getSignaturesResponse *, const char*); +SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_get__ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getSignaturesResponse * SOAP_FMAC4 soap_in__ngwm__getSignaturesResponse(struct soap*, const char*, _ngwm__getSignaturesResponse *, const char*); +SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_new__ngwm__getSignaturesResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse*); +SOAP_FMAC5 _ngwm__getSignaturesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getSignaturesRequest +#define SOAP_TYPE__ngwm__getSignaturesRequest (238) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSignaturesRequest(struct soap*, const char*, int, const _ngwm__getSignaturesRequest *, const char*); +SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_get__ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getSignaturesRequest * SOAP_FMAC4 soap_in__ngwm__getSignaturesRequest(struct soap*, const char*, _ngwm__getSignaturesRequest *, const char*); +SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_new__ngwm__getSignaturesRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest*); +SOAP_FMAC5 _ngwm__getSignaturesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSignaturesRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSignaturesRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getSettingsResponse +#define SOAP_TYPE__ngwm__getSettingsResponse (237) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsResponse(struct soap*, const char*, int, const _ngwm__getSettingsResponse *, const char*); +SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getSettingsResponse(struct soap*, const char*, _ngwm__getSettingsResponse *, const char*); +SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getSettingsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse*); +SOAP_FMAC5 _ngwm__getSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getSettingsRequest +#define SOAP_TYPE__ngwm__getSettingsRequest (236) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getSettingsRequest(struct soap*, const char*, int, const _ngwm__getSettingsRequest *, const char*); +SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getSettingsRequest(struct soap*, const char*, _ngwm__getSettingsRequest *, const char*); +SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getSettingsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest*); +SOAP_FMAC5 _ngwm__getSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getSettingsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getSettingsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getRuleListResponse +#define SOAP_TYPE__ngwm__getRuleListResponse (235) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListResponse(struct soap*, const char*, int, const _ngwm__getRuleListResponse *, const char*); +SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_get__ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getRuleListResponse * SOAP_FMAC4 soap_in__ngwm__getRuleListResponse(struct soap*, const char*, _ngwm__getRuleListResponse *, const char*); +SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_new__ngwm__getRuleListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse*); +SOAP_FMAC5 _ngwm__getRuleListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getRuleListRequest +#define SOAP_TYPE__ngwm__getRuleListRequest (234) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getRuleListRequest(struct soap*, const char*, int, const _ngwm__getRuleListRequest *, const char*); +SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_get__ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getRuleListRequest * SOAP_FMAC4 soap_in__ngwm__getRuleListRequest(struct soap*, const char*, _ngwm__getRuleListRequest *, const char*); +SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_new__ngwm__getRuleListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest*); +SOAP_FMAC5 _ngwm__getRuleListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getRuleListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getRuleListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getProxyListResponse +#define SOAP_TYPE__ngwm__getProxyListResponse (233) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListResponse(struct soap*, const char*, int, const _ngwm__getProxyListResponse *, const char*); +SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyListResponse(struct soap*, const char*, _ngwm__getProxyListResponse *, const char*); +SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse*); +SOAP_FMAC5 _ngwm__getProxyListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getProxyListRequest +#define SOAP_TYPE__ngwm__getProxyListRequest (232) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyListRequest(struct soap*, const char*, int, const _ngwm__getProxyListRequest *, const char*); +SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyListRequest(struct soap*, const char*, _ngwm__getProxyListRequest *, const char*); +SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest*); +SOAP_FMAC5 _ngwm__getProxyListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getProxyAccessListResponse +#define SOAP_TYPE__ngwm__getProxyAccessListResponse (231) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListResponse(struct soap*, const char*, int, const _ngwm__getProxyAccessListResponse *, const char*); +SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyAccessListResponse * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListResponse(struct soap*, const char*, _ngwm__getProxyAccessListResponse *, const char*); +SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse*); +SOAP_FMAC5 _ngwm__getProxyAccessListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getProxyAccessListRequest +#define SOAP_TYPE__ngwm__getProxyAccessListRequest (230) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getProxyAccessListRequest(struct soap*, const char*, int, const _ngwm__getProxyAccessListRequest *, const char*); +SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_get__ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyAccessListRequest * SOAP_FMAC4 soap_in__ngwm__getProxyAccessListRequest(struct soap*, const char*, _ngwm__getProxyAccessListRequest *, const char*); +SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_new__ngwm__getProxyAccessListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest*); +SOAP_FMAC5 _ngwm__getProxyAccessListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getProxyAccessListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getProxyAccessListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getQuickMessagesResponse +#define SOAP_TYPE__ngwm__getQuickMessagesResponse (229) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesResponse(struct soap*, const char*, int, const _ngwm__getQuickMessagesResponse *, const char*); +SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getQuickMessagesResponse * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesResponse(struct soap*, const char*, _ngwm__getQuickMessagesResponse *, const char*); +SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse*); +SOAP_FMAC5 _ngwm__getQuickMessagesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getQuickMessagesRequest +#define SOAP_TYPE__ngwm__getQuickMessagesRequest (228) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getQuickMessagesRequest(struct soap*, const char*, int, const _ngwm__getQuickMessagesRequest *, const char*); +SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_get__ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getQuickMessagesRequest * SOAP_FMAC4 soap_in__ngwm__getQuickMessagesRequest(struct soap*, const char*, _ngwm__getQuickMessagesRequest *, const char*); +SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_new__ngwm__getQuickMessagesRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest*); +SOAP_FMAC5 _ngwm__getQuickMessagesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getQuickMessagesRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getQuickMessagesRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getLibraryListResponse +#define SOAP_TYPE__ngwm__getLibraryListResponse (227) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListResponse(struct soap*, const char*, int, const _ngwm__getLibraryListResponse *, const char*); +SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryListResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryListResponse(struct soap*, const char*, _ngwm__getLibraryListResponse *, const char*); +SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse*); +SOAP_FMAC5 _ngwm__getLibraryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getLibraryListRequest +#define SOAP_TYPE__ngwm__getLibraryListRequest (226) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryListRequest(struct soap*, const char*, int, const _ngwm__getLibraryListRequest *, const char*); +SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryListRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryListRequest(struct soap*, const char*, _ngwm__getLibraryListRequest *, const char*); +SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest*); +SOAP_FMAC5 _ngwm__getLibraryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getLibraryItemResponse +#define SOAP_TYPE__ngwm__getLibraryItemResponse (225) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemResponse(struct soap*, const char*, int, const _ngwm__getLibraryItemResponse *, const char*); +SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_get__ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryItemResponse * SOAP_FMAC4 soap_in__ngwm__getLibraryItemResponse(struct soap*, const char*, _ngwm__getLibraryItemResponse *, const char*); +SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_new__ngwm__getLibraryItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse*); +SOAP_FMAC5 _ngwm__getLibraryItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getLibraryItemRequest +#define SOAP_TYPE__ngwm__getLibraryItemRequest (224) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getLibraryItemRequest(struct soap*, const char*, int, const _ngwm__getLibraryItemRequest *, const char*); +SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_get__ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryItemRequest * SOAP_FMAC4 soap_in__ngwm__getLibraryItemRequest(struct soap*, const char*, _ngwm__getLibraryItemRequest *, const char*); +SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_new__ngwm__getLibraryItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest*); +SOAP_FMAC5 _ngwm__getLibraryItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getLibraryItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getLibraryItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsResponse +#define SOAP_TYPE__ngwm__getJunkMailSettingsResponse (223) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsResponse(struct soap*, const char*, int, const _ngwm__getJunkMailSettingsResponse *, const char*); +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsResponse(struct soap*, const char*, _ngwm__getJunkMailSettingsResponse *, const char*); +SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse*); +SOAP_FMAC5 _ngwm__getJunkMailSettingsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsRequest +#define SOAP_TYPE__ngwm__getJunkMailSettingsRequest (222) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkMailSettingsRequest(struct soap*, const char*, int, const _ngwm__getJunkMailSettingsRequest *, const char*); +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get__ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in__ngwm__getJunkMailSettingsRequest(struct soap*, const char*, _ngwm__getJunkMailSettingsRequest *, const char*); +SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_new__ngwm__getJunkMailSettingsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest*); +SOAP_FMAC5 _ngwm__getJunkMailSettingsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkMailSettingsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkMailSettingsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getJunkEntriesResponse +#define SOAP_TYPE__ngwm__getJunkEntriesResponse (221) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesResponse(struct soap*, const char*, int, const _ngwm__getJunkEntriesResponse *, const char*); +SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkEntriesResponse * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesResponse(struct soap*, const char*, _ngwm__getJunkEntriesResponse *, const char*); +SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse*); +SOAP_FMAC5 _ngwm__getJunkEntriesResponse * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getJunkEntriesRequest +#define SOAP_TYPE__ngwm__getJunkEntriesRequest (220) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getJunkEntriesRequest(struct soap*, const char*, int, const _ngwm__getJunkEntriesRequest *, const char*); +SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_get__ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkEntriesRequest * SOAP_FMAC4 soap_in__ngwm__getJunkEntriesRequest(struct soap*, const char*, _ngwm__getJunkEntriesRequest *, const char*); +SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_new__ngwm__getJunkEntriesRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest*); +SOAP_FMAC5 _ngwm__getJunkEntriesRequest * SOAP_FMAC6 soap_instantiate__ngwm__getJunkEntriesRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getJunkEntriesRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getItemsResponse +#define SOAP_TYPE__ngwm__getItemsResponse (219) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsResponse(struct soap*, const char*, int, const _ngwm__getItemsResponse *, const char*); +SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_get__ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemsResponse * SOAP_FMAC4 soap_in__ngwm__getItemsResponse(struct soap*, const char*, _ngwm__getItemsResponse *, const char*); +SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_new__ngwm__getItemsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse*); +SOAP_FMAC5 _ngwm__getItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getItemsRequest +#define SOAP_TYPE__ngwm__getItemsRequest (218) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemsRequest(struct soap*, const char*, int, const _ngwm__getItemsRequest *, const char*); +SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_get__ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemsRequest * SOAP_FMAC4 soap_in__ngwm__getItemsRequest(struct soap*, const char*, _ngwm__getItemsRequest *, const char*); +SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_new__ngwm__getItemsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest*); +SOAP_FMAC5 _ngwm__getItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getItemResponse +#define SOAP_TYPE__ngwm__getItemResponse (217) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemResponse(struct soap*, const char*, int, const _ngwm__getItemResponse *, const char*); +SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_get__ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemResponse * SOAP_FMAC4 soap_in__ngwm__getItemResponse(struct soap*, const char*, _ngwm__getItemResponse *, const char*); +SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_new__ngwm__getItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse*); +SOAP_FMAC5 _ngwm__getItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__getItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getItemRequest +#define SOAP_TYPE__ngwm__getItemRequest (216) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getItemRequest(struct soap*, const char*, int, const _ngwm__getItemRequest *, const char*); +SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_get__ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemRequest * SOAP_FMAC4 soap_in__ngwm__getItemRequest(struct soap*, const char*, _ngwm__getItemRequest *, const char*); +SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_new__ngwm__getItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest*); +SOAP_FMAC5 _ngwm__getItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__getItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getFreeBusyResponse +#define SOAP_TYPE__ngwm__getFreeBusyResponse (215) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyResponse(struct soap*, const char*, int, const _ngwm__getFreeBusyResponse *, const char*); +SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_get__ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getFreeBusyResponse * SOAP_FMAC4 soap_in__ngwm__getFreeBusyResponse(struct soap*, const char*, _ngwm__getFreeBusyResponse *, const char*); +SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_new__ngwm__getFreeBusyResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse*); +SOAP_FMAC5 _ngwm__getFreeBusyResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getFreeBusyRequest +#define SOAP_TYPE__ngwm__getFreeBusyRequest (214) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFreeBusyRequest(struct soap*, const char*, int, const _ngwm__getFreeBusyRequest *, const char*); +SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_get__ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getFreeBusyRequest * SOAP_FMAC4 soap_in__ngwm__getFreeBusyRequest(struct soap*, const char*, _ngwm__getFreeBusyRequest *, const char*); +SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_new__ngwm__getFreeBusyRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest*); +SOAP_FMAC5 _ngwm__getFreeBusyRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFreeBusyRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFreeBusyRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getFolderListResponse +#define SOAP_TYPE__ngwm__getFolderListResponse (213) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListResponse(struct soap*, const char*, int, const _ngwm__getFolderListResponse *, const char*); +SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_get__ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderListResponse * SOAP_FMAC4 soap_in__ngwm__getFolderListResponse(struct soap*, const char*, _ngwm__getFolderListResponse *, const char*); +SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_new__ngwm__getFolderListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse*); +SOAP_FMAC5 _ngwm__getFolderListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getFolderListRequest +#define SOAP_TYPE__ngwm__getFolderListRequest (212) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderListRequest(struct soap*, const char*, int, const _ngwm__getFolderListRequest *, const char*); +SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_get__ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderListRequest * SOAP_FMAC4 soap_in__ngwm__getFolderListRequest(struct soap*, const char*, _ngwm__getFolderListRequest *, const char*); +SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_new__ngwm__getFolderListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest*); +SOAP_FMAC5 _ngwm__getFolderListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getFolderResponse +#define SOAP_TYPE__ngwm__getFolderResponse (211) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderResponse(struct soap*, const char*, int, const _ngwm__getFolderResponse *, const char*); +SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_get__ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderResponse * SOAP_FMAC4 soap_in__ngwm__getFolderResponse(struct soap*, const char*, _ngwm__getFolderResponse *, const char*); +SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_new__ngwm__getFolderResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse*); +SOAP_FMAC5 _ngwm__getFolderResponse * SOAP_FMAC6 soap_instantiate__ngwm__getFolderResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getFolderRequest +#define SOAP_TYPE__ngwm__getFolderRequest (210) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getFolderRequest(struct soap*, const char*, int, const _ngwm__getFolderRequest *, const char*); +SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_get__ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderRequest * SOAP_FMAC4 soap_in__ngwm__getFolderRequest(struct soap*, const char*, _ngwm__getFolderRequest *, const char*); +SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_new__ngwm__getFolderRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest*); +SOAP_FMAC5 _ngwm__getFolderRequest * SOAP_FMAC6 soap_instantiate__ngwm__getFolderRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getFolderRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getDocumentTypeListResponse +#define SOAP_TYPE__ngwm__getDocumentTypeListResponse (209) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListResponse(struct soap*, const char*, int, const _ngwm__getDocumentTypeListResponse *, const char*); +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListResponse(struct soap*, const char*, _ngwm__getDocumentTypeListResponse *, const char*); +SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse*); +SOAP_FMAC5 _ngwm__getDocumentTypeListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getDocumentTypeListRequest +#define SOAP_TYPE__ngwm__getDocumentTypeListRequest (208) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDocumentTypeListRequest(struct soap*, const char*, int, const _ngwm__getDocumentTypeListRequest *, const char*); +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_get__ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest * SOAP_FMAC4 soap_in__ngwm__getDocumentTypeListRequest(struct soap*, const char*, _ngwm__getDocumentTypeListRequest *, const char*); +SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_new__ngwm__getDocumentTypeListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest*); +SOAP_FMAC5 _ngwm__getDocumentTypeListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDocumentTypeListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDocumentTypeListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getDeltaInfoResponse +#define SOAP_TYPE__ngwm__getDeltaInfoResponse (207) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoResponse(struct soap*, const char*, int, const _ngwm__getDeltaInfoResponse *, const char*); +SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltaInfoResponse * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoResponse(struct soap*, const char*, _ngwm__getDeltaInfoResponse *, const char*); +SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse*); +SOAP_FMAC5 _ngwm__getDeltaInfoResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getDeltaInfoRequest +#define SOAP_TYPE__ngwm__getDeltaInfoRequest (206) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltaInfoRequest(struct soap*, const char*, int, const _ngwm__getDeltaInfoRequest *, const char*); +SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_get__ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltaInfoRequest * SOAP_FMAC4 soap_in__ngwm__getDeltaInfoRequest(struct soap*, const char*, _ngwm__getDeltaInfoRequest *, const char*); +SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_new__ngwm__getDeltaInfoRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest*); +SOAP_FMAC5 _ngwm__getDeltaInfoRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltaInfoRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltaInfoRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getDeltasResponse +#define SOAP_TYPE__ngwm__getDeltasResponse (205) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasResponse(struct soap*, const char*, int, const _ngwm__getDeltasResponse *, const char*); +SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_get__ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltasResponse * SOAP_FMAC4 soap_in__ngwm__getDeltasResponse(struct soap*, const char*, _ngwm__getDeltasResponse *, const char*); +SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_new__ngwm__getDeltasResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse*); +SOAP_FMAC5 _ngwm__getDeltasResponse * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getDeltasRequest +#define SOAP_TYPE__ngwm__getDeltasRequest (204) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getDeltasRequest(struct soap*, const char*, int, const _ngwm__getDeltasRequest *, const char*); +SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_get__ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltasRequest * SOAP_FMAC4 soap_in__ngwm__getDeltasRequest(struct soap*, const char*, _ngwm__getDeltasRequest *, const char*); +SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_new__ngwm__getDeltasRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest*); +SOAP_FMAC5 _ngwm__getDeltasRequest * SOAP_FMAC6 soap_instantiate__ngwm__getDeltasRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getDeltasRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getCustomListResponse +#define SOAP_TYPE__ngwm__getCustomListResponse (203) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListResponse(struct soap*, const char*, int, const _ngwm__getCustomListResponse *, const char*); +SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_get__ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getCustomListResponse * SOAP_FMAC4 soap_in__ngwm__getCustomListResponse(struct soap*, const char*, _ngwm__getCustomListResponse *, const char*); +SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_new__ngwm__getCustomListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse*); +SOAP_FMAC5 _ngwm__getCustomListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getCustomListRequest +#define SOAP_TYPE__ngwm__getCustomListRequest (202) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCustomListRequest(struct soap*, const char*, int, const _ngwm__getCustomListRequest *, const char*); +SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_get__ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getCustomListRequest * SOAP_FMAC4 soap_in__ngwm__getCustomListRequest(struct soap*, const char*, _ngwm__getCustomListRequest *, const char*); +SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_new__ngwm__getCustomListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest*); +SOAP_FMAC5 _ngwm__getCustomListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCustomListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCustomListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getCategoryListResponse +#define SOAP_TYPE__ngwm__getCategoryListResponse (201) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListResponse(struct soap*, const char*, int, const _ngwm__getCategoryListResponse *, const char*); +SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_get__ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getCategoryListResponse * SOAP_FMAC4 soap_in__ngwm__getCategoryListResponse(struct soap*, const char*, _ngwm__getCategoryListResponse *, const char*); +SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_new__ngwm__getCategoryListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse*); +SOAP_FMAC5 _ngwm__getCategoryListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getCategoryListRequest +#define SOAP_TYPE__ngwm__getCategoryListRequest (200) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getCategoryListRequest(struct soap*, const char*, int, const _ngwm__getCategoryListRequest *, const char*); +SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_get__ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getCategoryListRequest * SOAP_FMAC4 soap_in__ngwm__getCategoryListRequest(struct soap*, const char*, _ngwm__getCategoryListRequest *, const char*); +SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_new__ngwm__getCategoryListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest*); +SOAP_FMAC5 _ngwm__getCategoryListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getCategoryListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getCategoryListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getAttachmentResponse +#define SOAP_TYPE__ngwm__getAttachmentResponse (199) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentResponse(struct soap*, const char*, int, const _ngwm__getAttachmentResponse *, const char*); +SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_get__ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getAttachmentResponse * SOAP_FMAC4 soap_in__ngwm__getAttachmentResponse(struct soap*, const char*, _ngwm__getAttachmentResponse *, const char*); +SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_new__ngwm__getAttachmentResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse*); +SOAP_FMAC5 _ngwm__getAttachmentResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getAttachmentRequest +#define SOAP_TYPE__ngwm__getAttachmentRequest (198) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAttachmentRequest(struct soap*, const char*, int, const _ngwm__getAttachmentRequest *, const char*); +SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_get__ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getAttachmentRequest * SOAP_FMAC4 soap_in__ngwm__getAttachmentRequest(struct soap*, const char*, _ngwm__getAttachmentRequest *, const char*); +SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_new__ngwm__getAttachmentRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest*); +SOAP_FMAC5 _ngwm__getAttachmentRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAttachmentRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAttachmentRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getAddressBookListResponse +#define SOAP_TYPE__ngwm__getAddressBookListResponse (197) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListResponse(struct soap*, const char*, int, const _ngwm__getAddressBookListResponse *, const char*); +SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_get__ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__getAddressBookListResponse * SOAP_FMAC4 soap_in__ngwm__getAddressBookListResponse(struct soap*, const char*, _ngwm__getAddressBookListResponse *, const char*); +SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_new__ngwm__getAddressBookListResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse*); +SOAP_FMAC5 _ngwm__getAddressBookListResponse * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__getAddressBookListRequest +#define SOAP_TYPE__ngwm__getAddressBookListRequest (196) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__getAddressBookListRequest(struct soap*, const char*, int, const _ngwm__getAddressBookListRequest *, const char*); +SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_get__ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__getAddressBookListRequest * SOAP_FMAC4 soap_in__ngwm__getAddressBookListRequest(struct soap*, const char*, _ngwm__getAddressBookListRequest *, const char*); +SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_new__ngwm__getAddressBookListRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest*); +SOAP_FMAC5 _ngwm__getAddressBookListRequest * SOAP_FMAC6 soap_instantiate__ngwm__getAddressBookListRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__getAddressBookListRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__forwardResponse +#define SOAP_TYPE__ngwm__forwardResponse (195) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardResponse(struct soap*, const char*, int, const _ngwm__forwardResponse *, const char*); +SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_get__ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__forwardResponse * SOAP_FMAC4 soap_in__ngwm__forwardResponse(struct soap*, const char*, _ngwm__forwardResponse *, const char*); +SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_new__ngwm__forwardResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse*); +SOAP_FMAC5 _ngwm__forwardResponse * SOAP_FMAC6 soap_instantiate__ngwm__forwardResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__forwardRequest +#define SOAP_TYPE__ngwm__forwardRequest (194) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__forwardRequest(struct soap*, const char*, int, const _ngwm__forwardRequest *, const char*); +SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_get__ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__forwardRequest * SOAP_FMAC4 soap_in__ngwm__forwardRequest(struct soap*, const char*, _ngwm__forwardRequest *, const char*); +SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_new__ngwm__forwardRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest*); +SOAP_FMAC5 _ngwm__forwardRequest * SOAP_FMAC6 soap_instantiate__ngwm__forwardRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__forwardRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__executeRuleResponse +#define SOAP_TYPE__ngwm__executeRuleResponse (193) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleResponse(struct soap*, const char*, int, const _ngwm__executeRuleResponse *, const char*); +SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_get__ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__executeRuleResponse * SOAP_FMAC4 soap_in__ngwm__executeRuleResponse(struct soap*, const char*, _ngwm__executeRuleResponse *, const char*); +SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_new__ngwm__executeRuleResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse*); +SOAP_FMAC5 _ngwm__executeRuleResponse * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__executeRuleRequest +#define SOAP_TYPE__ngwm__executeRuleRequest (192) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__executeRuleRequest(struct soap*, const char*, int, const _ngwm__executeRuleRequest *, const char*); +SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_get__ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__executeRuleRequest * SOAP_FMAC4 soap_in__ngwm__executeRuleRequest(struct soap*, const char*, _ngwm__executeRuleRequest *, const char*); +SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_new__ngwm__executeRuleRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest*); +SOAP_FMAC5 _ngwm__executeRuleRequest * SOAP_FMAC6 soap_instantiate__ngwm__executeRuleRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__executeRuleRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__destroyCursorResponse +#define SOAP_TYPE__ngwm__destroyCursorResponse (191) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorResponse(struct soap*, const char*, int, const _ngwm__destroyCursorResponse *, const char*); +SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_get__ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__destroyCursorResponse * SOAP_FMAC4 soap_in__ngwm__destroyCursorResponse(struct soap*, const char*, _ngwm__destroyCursorResponse *, const char*); +SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_new__ngwm__destroyCursorResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse*); +SOAP_FMAC5 _ngwm__destroyCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__destroyCursorRequest +#define SOAP_TYPE__ngwm__destroyCursorRequest (190) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__destroyCursorRequest(struct soap*, const char*, int, const _ngwm__destroyCursorRequest *, const char*); +SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_get__ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__destroyCursorRequest * SOAP_FMAC4 soap_in__ngwm__destroyCursorRequest(struct soap*, const char*, _ngwm__destroyCursorRequest *, const char*); +SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_new__ngwm__destroyCursorRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest*); +SOAP_FMAC5 _ngwm__destroyCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__destroyCursorRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__destroyCursorRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__delegateResponse +#define SOAP_TYPE__ngwm__delegateResponse (189) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateResponse(struct soap*, const char*, int, const _ngwm__delegateResponse *, const char*); +SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_get__ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__delegateResponse * SOAP_FMAC4 soap_in__ngwm__delegateResponse(struct soap*, const char*, _ngwm__delegateResponse *, const char*); +SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_new__ngwm__delegateResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse*); +SOAP_FMAC5 _ngwm__delegateResponse * SOAP_FMAC6 soap_instantiate__ngwm__delegateResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__delegateRequest +#define SOAP_TYPE__ngwm__delegateRequest (188) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__delegateRequest(struct soap*, const char*, int, const _ngwm__delegateRequest *, const char*); +SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_get__ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__delegateRequest * SOAP_FMAC4 soap_in__ngwm__delegateRequest(struct soap*, const char*, _ngwm__delegateRequest *, const char*); +SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_new__ngwm__delegateRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest*); +SOAP_FMAC5 _ngwm__delegateRequest * SOAP_FMAC6 soap_instantiate__ngwm__delegateRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__delegateRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__declineResponse +#define SOAP_TYPE__ngwm__declineResponse (187) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineResponse(struct soap*, const char*, int, const _ngwm__declineResponse *, const char*); +SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_get__ngwm__declineResponse(struct soap*, _ngwm__declineResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__declineResponse * SOAP_FMAC4 soap_in__ngwm__declineResponse(struct soap*, const char*, _ngwm__declineResponse *, const char*); +SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_new__ngwm__declineResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineResponse(struct soap*, _ngwm__declineResponse*); +SOAP_FMAC5 _ngwm__declineResponse * SOAP_FMAC6 soap_instantiate__ngwm__declineResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__declineRequest +#define SOAP_TYPE__ngwm__declineRequest (186) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__declineRequest(struct soap*, const char*, int, const _ngwm__declineRequest *, const char*); +SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_get__ngwm__declineRequest(struct soap*, _ngwm__declineRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__declineRequest * SOAP_FMAC4 soap_in__ngwm__declineRequest(struct soap*, const char*, _ngwm__declineRequest *, const char*); +SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_new__ngwm__declineRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__declineRequest(struct soap*, _ngwm__declineRequest*); +SOAP_FMAC5 _ngwm__declineRequest * SOAP_FMAC6 soap_instantiate__ngwm__declineRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__declineRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createSignatureResponse +#define SOAP_TYPE__ngwm__createSignatureResponse (185) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureResponse(struct soap*, const char*, int, const _ngwm__createSignatureResponse *, const char*); +SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_get__ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__createSignatureResponse * SOAP_FMAC4 soap_in__ngwm__createSignatureResponse(struct soap*, const char*, _ngwm__createSignatureResponse *, const char*); +SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_new__ngwm__createSignatureResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse*); +SOAP_FMAC5 _ngwm__createSignatureResponse * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createSignatureRequest +#define SOAP_TYPE__ngwm__createSignatureRequest (184) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createSignatureRequest(struct soap*, const char*, int, const _ngwm__createSignatureRequest *, const char*); +SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_get__ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__createSignatureRequest * SOAP_FMAC4 soap_in__ngwm__createSignatureRequest(struct soap*, const char*, _ngwm__createSignatureRequest *, const char*); +SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_new__ngwm__createSignatureRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest*); +SOAP_FMAC5 _ngwm__createSignatureRequest * SOAP_FMAC6 soap_instantiate__ngwm__createSignatureRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createSignatureRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createProxyAccessResponse +#define SOAP_TYPE__ngwm__createProxyAccessResponse (183) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessResponse(struct soap*, const char*, int, const _ngwm__createProxyAccessResponse *, const char*); +SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_get__ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__createProxyAccessResponse * SOAP_FMAC4 soap_in__ngwm__createProxyAccessResponse(struct soap*, const char*, _ngwm__createProxyAccessResponse *, const char*); +SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_new__ngwm__createProxyAccessResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse*); +SOAP_FMAC5 _ngwm__createProxyAccessResponse * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createProxyAccessRequest +#define SOAP_TYPE__ngwm__createProxyAccessRequest (182) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createProxyAccessRequest(struct soap*, const char*, int, const _ngwm__createProxyAccessRequest *, const char*); +SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_get__ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__createProxyAccessRequest * SOAP_FMAC4 soap_in__ngwm__createProxyAccessRequest(struct soap*, const char*, _ngwm__createProxyAccessRequest *, const char*); +SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_new__ngwm__createProxyAccessRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest*); +SOAP_FMAC5 _ngwm__createProxyAccessRequest * SOAP_FMAC6 soap_instantiate__ngwm__createProxyAccessRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createProxyAccessRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createJunkEntryResponse +#define SOAP_TYPE__ngwm__createJunkEntryResponse (181) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryResponse(struct soap*, const char*, int, const _ngwm__createJunkEntryResponse *, const char*); +SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_get__ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__createJunkEntryResponse * SOAP_FMAC4 soap_in__ngwm__createJunkEntryResponse(struct soap*, const char*, _ngwm__createJunkEntryResponse *, const char*); +SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_new__ngwm__createJunkEntryResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse*); +SOAP_FMAC5 _ngwm__createJunkEntryResponse * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createJunkEntryRequest +#define SOAP_TYPE__ngwm__createJunkEntryRequest (180) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createJunkEntryRequest(struct soap*, const char*, int, const _ngwm__createJunkEntryRequest *, const char*); +SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_get__ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__createJunkEntryRequest * SOAP_FMAC4 soap_in__ngwm__createJunkEntryRequest(struct soap*, const char*, _ngwm__createJunkEntryRequest *, const char*); +SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_new__ngwm__createJunkEntryRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest*); +SOAP_FMAC5 _ngwm__createJunkEntryRequest * SOAP_FMAC6 soap_instantiate__ngwm__createJunkEntryRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createJunkEntryRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createItemsResponse +#define SOAP_TYPE__ngwm__createItemsResponse (179) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsResponse(struct soap*, const char*, int, const _ngwm__createItemsResponse *, const char*); +SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_get__ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemsResponse * SOAP_FMAC4 soap_in__ngwm__createItemsResponse(struct soap*, const char*, _ngwm__createItemsResponse *, const char*); +SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_new__ngwm__createItemsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse*); +SOAP_FMAC5 _ngwm__createItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createItemsRequest +#define SOAP_TYPE__ngwm__createItemsRequest (178) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemsRequest(struct soap*, const char*, int, const _ngwm__createItemsRequest *, const char*); +SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_get__ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemsRequest * SOAP_FMAC4 soap_in__ngwm__createItemsRequest(struct soap*, const char*, _ngwm__createItemsRequest *, const char*); +SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_new__ngwm__createItemsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest*); +SOAP_FMAC5 _ngwm__createItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createItemResponse +#define SOAP_TYPE__ngwm__createItemResponse (177) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemResponse(struct soap*, const char*, int, const _ngwm__createItemResponse *, const char*); +SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_get__ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemResponse * SOAP_FMAC4 soap_in__ngwm__createItemResponse(struct soap*, const char*, _ngwm__createItemResponse *, const char*); +SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_new__ngwm__createItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse*); +SOAP_FMAC5 _ngwm__createItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__createItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createItemRequest +#define SOAP_TYPE__ngwm__createItemRequest (176) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createItemRequest(struct soap*, const char*, int, const _ngwm__createItemRequest *, const char*); +SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_get__ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemRequest * SOAP_FMAC4 soap_in__ngwm__createItemRequest(struct soap*, const char*, _ngwm__createItemRequest *, const char*); +SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_new__ngwm__createItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest*); +SOAP_FMAC5 _ngwm__createItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__createItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createCursorResponse +#define SOAP_TYPE__ngwm__createCursorResponse (175) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorResponse(struct soap*, const char*, int, const _ngwm__createCursorResponse *, const char*); +SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_get__ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__createCursorResponse * SOAP_FMAC4 soap_in__ngwm__createCursorResponse(struct soap*, const char*, _ngwm__createCursorResponse *, const char*); +SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_new__ngwm__createCursorResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse*); +SOAP_FMAC5 _ngwm__createCursorResponse * SOAP_FMAC6 soap_instantiate__ngwm__createCursorResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__createCursorRequest +#define SOAP_TYPE__ngwm__createCursorRequest (174) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__createCursorRequest(struct soap*, const char*, int, const _ngwm__createCursorRequest *, const char*); +SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_get__ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__createCursorRequest * SOAP_FMAC4 soap_in__ngwm__createCursorRequest(struct soap*, const char*, _ngwm__createCursorRequest *, const char*); +SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_new__ngwm__createCursorRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest*); +SOAP_FMAC5 _ngwm__createCursorRequest * SOAP_FMAC6 soap_instantiate__ngwm__createCursorRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__createCursorRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__completeResponse +#define SOAP_TYPE__ngwm__completeResponse (173) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeResponse(struct soap*, const char*, int, const _ngwm__completeResponse *, const char*); +SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_get__ngwm__completeResponse(struct soap*, _ngwm__completeResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__completeResponse * SOAP_FMAC4 soap_in__ngwm__completeResponse(struct soap*, const char*, _ngwm__completeResponse *, const char*); +SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_new__ngwm__completeResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeResponse(struct soap*, _ngwm__completeResponse*); +SOAP_FMAC5 _ngwm__completeResponse * SOAP_FMAC6 soap_instantiate__ngwm__completeResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__completeRequest +#define SOAP_TYPE__ngwm__completeRequest (172) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__completeRequest(struct soap*, const char*, int, const _ngwm__completeRequest *, const char*); +SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_get__ngwm__completeRequest(struct soap*, _ngwm__completeRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__completeRequest * SOAP_FMAC4 soap_in__ngwm__completeRequest(struct soap*, const char*, _ngwm__completeRequest *, const char*); +SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_new__ngwm__completeRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__completeRequest(struct soap*, _ngwm__completeRequest*); +SOAP_FMAC5 _ngwm__completeRequest * SOAP_FMAC6 soap_instantiate__ngwm__completeRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__completeRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionResponse +#define SOAP_TYPE__ngwm__closeFreeBusySessionResponse (171) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionResponse(struct soap*, const char*, int, const _ngwm__closeFreeBusySessionResponse *, const char*); +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionResponse(struct soap*, const char*, _ngwm__closeFreeBusySessionResponse *, const char*); +SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse*); +SOAP_FMAC5 _ngwm__closeFreeBusySessionResponse * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionRequest +#define SOAP_TYPE__ngwm__closeFreeBusySessionRequest (170) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__closeFreeBusySessionRequest(struct soap*, const char*, int, const _ngwm__closeFreeBusySessionRequest *, const char*); +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get__ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in__ngwm__closeFreeBusySessionRequest(struct soap*, const char*, _ngwm__closeFreeBusySessionRequest *, const char*); +SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_new__ngwm__closeFreeBusySessionRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest*); +SOAP_FMAC5 _ngwm__closeFreeBusySessionRequest * SOAP_FMAC6 soap_instantiate__ngwm__closeFreeBusySessionRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__closeFreeBusySessionRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__addMembersResponse +#define SOAP_TYPE__ngwm__addMembersResponse (169) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersResponse(struct soap*, const char*, int, const _ngwm__addMembersResponse *, const char*); +SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_get__ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__addMembersResponse * SOAP_FMAC4 soap_in__ngwm__addMembersResponse(struct soap*, const char*, _ngwm__addMembersResponse *, const char*); +SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_new__ngwm__addMembersResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse*); +SOAP_FMAC5 _ngwm__addMembersResponse * SOAP_FMAC6 soap_instantiate__ngwm__addMembersResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__addMembersRequest +#define SOAP_TYPE__ngwm__addMembersRequest (168) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addMembersRequest(struct soap*, const char*, int, const _ngwm__addMembersRequest *, const char*); +SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_get__ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__addMembersRequest * SOAP_FMAC4 soap_in__ngwm__addMembersRequest(struct soap*, const char*, _ngwm__addMembersRequest *, const char*); +SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_new__ngwm__addMembersRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest*); +SOAP_FMAC5 _ngwm__addMembersRequest * SOAP_FMAC6 soap_instantiate__ngwm__addMembersRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addMembersRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__addItemsResponse +#define SOAP_TYPE__ngwm__addItemsResponse (167) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsResponse(struct soap*, const char*, int, const _ngwm__addItemsResponse *, const char*); +SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_get__ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemsResponse * SOAP_FMAC4 soap_in__ngwm__addItemsResponse(struct soap*, const char*, _ngwm__addItemsResponse *, const char*); +SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_new__ngwm__addItemsResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse*); +SOAP_FMAC5 _ngwm__addItemsResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemsResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__addItemsRequest +#define SOAP_TYPE__ngwm__addItemsRequest (166) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemsRequest(struct soap*, const char*, int, const _ngwm__addItemsRequest *, const char*); +SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_get__ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemsRequest * SOAP_FMAC4 soap_in__ngwm__addItemsRequest(struct soap*, const char*, _ngwm__addItemsRequest *, const char*); +SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_new__ngwm__addItemsRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest*); +SOAP_FMAC5 _ngwm__addItemsRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemsRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemsRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__addItemResponse +#define SOAP_TYPE__ngwm__addItemResponse (165) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemResponse(struct soap*, const char*, int, const _ngwm__addItemResponse *, const char*); +SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_get__ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemResponse * SOAP_FMAC4 soap_in__ngwm__addItemResponse(struct soap*, const char*, _ngwm__addItemResponse *, const char*); +SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_new__ngwm__addItemResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse*); +SOAP_FMAC5 _ngwm__addItemResponse * SOAP_FMAC6 soap_instantiate__ngwm__addItemResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__addItemRequest +#define SOAP_TYPE__ngwm__addItemRequest (164) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__addItemRequest(struct soap*, const char*, int, const _ngwm__addItemRequest *, const char*); +SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_get__ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemRequest * SOAP_FMAC4 soap_in__ngwm__addItemRequest(struct soap*, const char*, _ngwm__addItemRequest *, const char*); +SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_new__ngwm__addItemRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest*); +SOAP_FMAC5 _ngwm__addItemRequest * SOAP_FMAC6 soap_instantiate__ngwm__addItemRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__addItemRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__acceptShareResponse +#define SOAP_TYPE__ngwm__acceptShareResponse (163) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareResponse(struct soap*, const char*, int, const _ngwm__acceptShareResponse *, const char*); +SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_get__ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptShareResponse * SOAP_FMAC4 soap_in__ngwm__acceptShareResponse(struct soap*, const char*, _ngwm__acceptShareResponse *, const char*); +SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_new__ngwm__acceptShareResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse*); +SOAP_FMAC5 _ngwm__acceptShareResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__acceptShareRequest +#define SOAP_TYPE__ngwm__acceptShareRequest (162) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptShareRequest(struct soap*, const char*, int, const _ngwm__acceptShareRequest *, const char*); +SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_get__ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptShareRequest * SOAP_FMAC4 soap_in__ngwm__acceptShareRequest(struct soap*, const char*, _ngwm__acceptShareRequest *, const char*); +SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_new__ngwm__acceptShareRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest*); +SOAP_FMAC5 _ngwm__acceptShareRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptShareRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptShareRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__acceptResponse +#define SOAP_TYPE__ngwm__acceptResponse (161) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptResponse(struct soap*, const char*, int, const _ngwm__acceptResponse *, const char*); +SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_get__ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse *, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptResponse * SOAP_FMAC4 soap_in__ngwm__acceptResponse(struct soap*, const char*, _ngwm__acceptResponse *, const char*); +SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_new__ngwm__acceptResponse(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse*); +SOAP_FMAC5 _ngwm__acceptResponse * SOAP_FMAC6 soap_instantiate__ngwm__acceptResponse(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptResponse(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE__ngwm__acceptRequest +#define SOAP_TYPE__ngwm__acceptRequest (160) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out__ngwm__acceptRequest(struct soap*, const char*, int, const _ngwm__acceptRequest *, const char*); +SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_get__ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest *, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptRequest * SOAP_FMAC4 soap_in__ngwm__acceptRequest(struct soap*, const char*, _ngwm__acceptRequest *, const char*); +SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_new__ngwm__acceptRequest(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete__ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest*); +SOAP_FMAC5 _ngwm__acceptRequest * SOAP_FMAC6 soap_instantiate__ngwm__acceptRequest(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy__ngwm__acceptRequest(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__VersionEvent +#define SOAP_TYPE_ngwt__VersionEvent (159) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__VersionEvent(struct soap*, const char*, int, const ngwt__VersionEvent *, const char*); +SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_get_ngwt__VersionEvent(struct soap*, ngwt__VersionEvent *, const char*, const char*); +SOAP_FMAC3 ngwt__VersionEvent * SOAP_FMAC4 soap_in_ngwt__VersionEvent(struct soap*, const char*, ngwt__VersionEvent *, const char*); +SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_new_ngwt__VersionEvent(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__VersionEvent(struct soap*, ngwt__VersionEvent*); +SOAP_FMAC5 ngwt__VersionEvent * SOAP_FMAC6 soap_instantiate_ngwt__VersionEvent(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__VersionEvent(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Version +#define SOAP_TYPE_ngwt__Version (158) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Version(struct soap*, const char*, int, const ngwt__Version *, const char*); +SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_get_ngwt__Version(struct soap*, ngwt__Version *, const char*, const char*); +SOAP_FMAC3 ngwt__Version * SOAP_FMAC4 soap_in_ngwt__Version(struct soap*, const char*, ngwt__Version *, const char*); +SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_new_ngwt__Version(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Version(struct soap*, ngwt__Version*); +SOAP_FMAC5 ngwt__Version * SOAP_FMAC6 soap_instantiate_ngwt__Version(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Version(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__UserList +#define SOAP_TYPE_ngwt__UserList (157) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserList(struct soap*, const char*, int, const ngwt__UserList *, const char*); +SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_get_ngwt__UserList(struct soap*, ngwt__UserList *, const char*, const char*); +SOAP_FMAC3 ngwt__UserList * SOAP_FMAC4 soap_in_ngwt__UserList(struct soap*, const char*, ngwt__UserList *, const char*); +SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_new_ngwt__UserList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserList(struct soap*, ngwt__UserList*); +SOAP_FMAC5 ngwt__UserList * SOAP_FMAC6 soap_instantiate_ngwt__UserList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__UserInfo +#define SOAP_TYPE_ngwt__UserInfo (156) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__UserInfo(struct soap*, const char*, int, const ngwt__UserInfo *, const char*); +SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_get_ngwt__UserInfo(struct soap*, ngwt__UserInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__UserInfo * SOAP_FMAC4 soap_in_ngwt__UserInfo(struct soap*, const char*, ngwt__UserInfo *, const char*); +SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_new_ngwt__UserInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__UserInfo(struct soap*, ngwt__UserInfo*); +SOAP_FMAC5 ngwt__UserInfo * SOAP_FMAC6 soap_instantiate_ngwt__UserInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__UserInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__TrustedApplication +#define SOAP_TYPE_ngwt__TrustedApplication (155) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TrustedApplication(struct soap*, const char*, int, const ngwt__TrustedApplication *, const char*); +SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_get_ngwt__TrustedApplication(struct soap*, ngwt__TrustedApplication *, const char*, const char*); +SOAP_FMAC3 ngwt__TrustedApplication * SOAP_FMAC4 soap_in_ngwt__TrustedApplication(struct soap*, const char*, ngwt__TrustedApplication *, const char*); +SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_new_ngwt__TrustedApplication(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TrustedApplication(struct soap*, ngwt__TrustedApplication*); +SOAP_FMAC5 ngwt__TrustedApplication * SOAP_FMAC6 soap_instantiate_ngwt__TrustedApplication(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TrustedApplication(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__TransferFailedStatus +#define SOAP_TYPE_ngwt__TransferFailedStatus (154) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TransferFailedStatus(struct soap*, const char*, int, const ngwt__TransferFailedStatus *, const char*); +SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_get_ngwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus *, const char*, const char*); +SOAP_FMAC3 ngwt__TransferFailedStatus * SOAP_FMAC4 soap_in_ngwt__TransferFailedStatus(struct soap*, const char*, ngwt__TransferFailedStatus *, const char*); +SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_new_ngwt__TransferFailedStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus*); +SOAP_FMAC5 ngwt__TransferFailedStatus * SOAP_FMAC6 soap_instantiate_ngwt__TransferFailedStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TransferFailedStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__TimezoneList +#define SOAP_TYPE_ngwt__TimezoneList (153) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneList(struct soap*, const char*, int, const ngwt__TimezoneList *, const char*); +SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_get_ngwt__TimezoneList(struct soap*, ngwt__TimezoneList *, const char*, const char*); +SOAP_FMAC3 ngwt__TimezoneList * SOAP_FMAC4 soap_in_ngwt__TimezoneList(struct soap*, const char*, ngwt__TimezoneList *, const char*); +SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_new_ngwt__TimezoneList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneList(struct soap*, ngwt__TimezoneList*); +SOAP_FMAC5 ngwt__TimezoneList * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__TimezoneComponent +#define SOAP_TYPE_ngwt__TimezoneComponent (152) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__TimezoneComponent(struct soap*, const char*, int, const ngwt__TimezoneComponent *, const char*); +SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_get_ngwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent *, const char*, const char*); +SOAP_FMAC3 ngwt__TimezoneComponent * SOAP_FMAC4 soap_in_ngwt__TimezoneComponent(struct soap*, const char*, ngwt__TimezoneComponent *, const char*); +SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_new_ngwt__TimezoneComponent(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent*); +SOAP_FMAC5 ngwt__TimezoneComponent * SOAP_FMAC6 soap_instantiate_ngwt__TimezoneComponent(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__TimezoneComponent(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Timezone +#define SOAP_TYPE_ngwt__Timezone (151) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Timezone(struct soap*, const char*, int, const ngwt__Timezone *, const char*); +SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_get_ngwt__Timezone(struct soap*, ngwt__Timezone *, const char*, const char*); +SOAP_FMAC3 ngwt__Timezone * SOAP_FMAC4 soap_in_ngwt__Timezone(struct soap*, const char*, ngwt__Timezone *, const char*); +SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_new_ngwt__Timezone(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Timezone(struct soap*, ngwt__Timezone*); +SOAP_FMAC5 ngwt__Timezone * SOAP_FMAC6 soap_instantiate_ngwt__Timezone(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Timezone(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Task +#define SOAP_TYPE_ngwt__Task (150) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Task(struct soap*, const char*, int, const ngwt__Task *, const char*); +SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_get_ngwt__Task(struct soap*, ngwt__Task *, const char*, const char*); +SOAP_FMAC3 ngwt__Task * SOAP_FMAC4 soap_in_ngwt__Task(struct soap*, const char*, ngwt__Task *, const char*); +SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_new_ngwt__Task(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Task(struct soap*, ngwt__Task*); +SOAP_FMAC5 ngwt__Task * SOAP_FMAC6 soap_instantiate_ngwt__Task(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Task(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SystemFolder +#define SOAP_TYPE_ngwt__SystemFolder (149) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SystemFolder(struct soap*, const char*, int, const ngwt__SystemFolder *, const char*); +SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_get_ngwt__SystemFolder(struct soap*, ngwt__SystemFolder *, const char*, const char*); +SOAP_FMAC3 ngwt__SystemFolder * SOAP_FMAC4 soap_in_ngwt__SystemFolder(struct soap*, const char*, ngwt__SystemFolder *, const char*); +SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_new_ngwt__SystemFolder(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SystemFolder(struct soap*, ngwt__SystemFolder*); +SOAP_FMAC5 ngwt__SystemFolder * SOAP_FMAC6 soap_instantiate_ngwt__SystemFolder(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SystemFolder(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__StatusTracking +#define SOAP_TYPE_ngwt__StatusTracking (148) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__StatusTracking(struct soap*, const char*, int, const ngwt__StatusTracking *, const char*); +SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_get_ngwt__StatusTracking(struct soap*, ngwt__StatusTracking *, const char*, const char*); +SOAP_FMAC3 ngwt__StatusTracking * SOAP_FMAC4 soap_in_ngwt__StatusTracking(struct soap*, const char*, ngwt__StatusTracking *, const char*); +SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_new_ngwt__StatusTracking(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__StatusTracking(struct soap*, ngwt__StatusTracking*); +SOAP_FMAC5 ngwt__StatusTracking * SOAP_FMAC6 soap_instantiate_ngwt__StatusTracking(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__StatusTracking(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Status +#define SOAP_TYPE_ngwt__Status (147) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Status(struct soap*, const char*, int, const ngwt__Status *, const char*); +SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_get_ngwt__Status(struct soap*, ngwt__Status *, const char*, const char*); +SOAP_FMAC3 ngwt__Status * SOAP_FMAC4 soap_in_ngwt__Status(struct soap*, const char*, ngwt__Status *, const char*); +SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_new_ngwt__Status(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Status(struct soap*, ngwt__Status*); +SOAP_FMAC5 ngwt__Status * SOAP_FMAC6 soap_instantiate_ngwt__Status(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Status(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SMimeOperation +#define SOAP_TYPE_ngwt__SMimeOperation (146) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SMimeOperation(struct soap*, const char*, int, const ngwt__SMimeOperation *, const char*); +SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_get_ngwt__SMimeOperation(struct soap*, ngwt__SMimeOperation *, const char*, const char*); +SOAP_FMAC3 ngwt__SMimeOperation * SOAP_FMAC4 soap_in_ngwt__SMimeOperation(struct soap*, const char*, ngwt__SMimeOperation *, const char*); +SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_new_ngwt__SMimeOperation(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SMimeOperation(struct soap*, ngwt__SMimeOperation*); +SOAP_FMAC5 ngwt__SMimeOperation * SOAP_FMAC6 soap_instantiate_ngwt__SMimeOperation(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SMimeOperation(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SignatureData +#define SOAP_TYPE_ngwt__SignatureData (145) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SignatureData(struct soap*, const char*, int, const ngwt__SignatureData *, const char*); +SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_get_ngwt__SignatureData(struct soap*, ngwt__SignatureData *, const char*, const char*); +SOAP_FMAC3 ngwt__SignatureData * SOAP_FMAC4 soap_in_ngwt__SignatureData(struct soap*, const char*, ngwt__SignatureData *, const char*); +SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_new_ngwt__SignatureData(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SignatureData(struct soap*, ngwt__SignatureData*); +SOAP_FMAC5 ngwt__SignatureData * SOAP_FMAC6 soap_instantiate_ngwt__SignatureData(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SignatureData(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Signatures +#define SOAP_TYPE_ngwt__Signatures (144) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signatures(struct soap*, const char*, int, const ngwt__Signatures *, const char*); +SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_get_ngwt__Signatures(struct soap*, ngwt__Signatures *, const char*, const char*); +SOAP_FMAC3 ngwt__Signatures * SOAP_FMAC4 soap_in_ngwt__Signatures(struct soap*, const char*, ngwt__Signatures *, const char*); +SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_new_ngwt__Signatures(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signatures(struct soap*, ngwt__Signatures*); +SOAP_FMAC5 ngwt__Signatures * SOAP_FMAC6 soap_instantiate_ngwt__Signatures(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signatures(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Signature +#define SOAP_TYPE_ngwt__Signature (143) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Signature(struct soap*, const char*, int, const ngwt__Signature *, const char*); +SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_get_ngwt__Signature(struct soap*, ngwt__Signature *, const char*, const char*); +SOAP_FMAC3 ngwt__Signature * SOAP_FMAC4 soap_in_ngwt__Signature(struct soap*, const char*, ngwt__Signature *, const char*); +SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_new_ngwt__Signature(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Signature(struct soap*, ngwt__Signature*); +SOAP_FMAC5 ngwt__Signature * SOAP_FMAC6 soap_instantiate_ngwt__Signature(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Signature(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SharedNotification +#define SOAP_TYPE_ngwt__SharedNotification (142) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedNotification(struct soap*, const char*, int, const ngwt__SharedNotification *, const char*); +SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_get_ngwt__SharedNotification(struct soap*, ngwt__SharedNotification *, const char*, const char*); +SOAP_FMAC3 ngwt__SharedNotification * SOAP_FMAC4 soap_in_ngwt__SharedNotification(struct soap*, const char*, ngwt__SharedNotification *, const char*); +SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_new_ngwt__SharedNotification(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedNotification(struct soap*, ngwt__SharedNotification*); +SOAP_FMAC5 ngwt__SharedNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedNotification(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedNotification(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SharedFolderNotification +#define SOAP_TYPE_ngwt__SharedFolderNotification (141) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolderNotification(struct soap*, const char*, int, const ngwt__SharedFolderNotification *, const char*); +SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_get_ngwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification *, const char*, const char*); +SOAP_FMAC3 ngwt__SharedFolderNotification * SOAP_FMAC4 soap_in_ngwt__SharedFolderNotification(struct soap*, const char*, ngwt__SharedFolderNotification *, const char*); +SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_new_ngwt__SharedFolderNotification(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification*); +SOAP_FMAC5 ngwt__SharedFolderNotification * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolderNotification(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolderNotification(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SharedFolder +#define SOAP_TYPE_ngwt__SharedFolder (140) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SharedFolder(struct soap*, const char*, int, const ngwt__SharedFolder *, const char*); +SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_get_ngwt__SharedFolder(struct soap*, ngwt__SharedFolder *, const char*, const char*); +SOAP_FMAC3 ngwt__SharedFolder * SOAP_FMAC4 soap_in_ngwt__SharedFolder(struct soap*, const char*, ngwt__SharedFolder *, const char*); +SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_new_ngwt__SharedFolder(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SharedFolder(struct soap*, ngwt__SharedFolder*); +SOAP_FMAC5 ngwt__SharedFolder * SOAP_FMAC6 soap_instantiate_ngwt__SharedFolder(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SharedFolder(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SettingsList +#define SOAP_TYPE_ngwt__SettingsList (139) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsList(struct soap*, const char*, int, const ngwt__SettingsList *, const char*); +SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_get_ngwt__SettingsList(struct soap*, ngwt__SettingsList *, const char*, const char*); +SOAP_FMAC3 ngwt__SettingsList * SOAP_FMAC4 soap_in_ngwt__SettingsList(struct soap*, const char*, ngwt__SettingsList *, const char*); +SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_new_ngwt__SettingsList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsList(struct soap*, ngwt__SettingsList*); +SOAP_FMAC5 ngwt__SettingsList * SOAP_FMAC6 soap_instantiate_ngwt__SettingsList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SettingsGroup +#define SOAP_TYPE_ngwt__SettingsGroup (138) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SettingsGroup(struct soap*, const char*, int, const ngwt__SettingsGroup *, const char*); +SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_get_ngwt__SettingsGroup(struct soap*, ngwt__SettingsGroup *, const char*, const char*); +SOAP_FMAC3 ngwt__SettingsGroup * SOAP_FMAC4 soap_in_ngwt__SettingsGroup(struct soap*, const char*, ngwt__SettingsGroup *, const char*); +SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_new_ngwt__SettingsGroup(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SettingsGroup(struct soap*, ngwt__SettingsGroup*); +SOAP_FMAC5 ngwt__SettingsGroup * SOAP_FMAC6 soap_instantiate_ngwt__SettingsGroup(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SettingsGroup(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Settings +#define SOAP_TYPE_ngwt__Settings (137) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Settings(struct soap*, const char*, int, const ngwt__Settings *, const char*); +SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_get_ngwt__Settings(struct soap*, ngwt__Settings *, const char*, const char*); +SOAP_FMAC3 ngwt__Settings * SOAP_FMAC4 soap_in_ngwt__Settings(struct soap*, const char*, ngwt__Settings *, const char*); +SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_new_ngwt__Settings(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Settings(struct soap*, ngwt__Settings*); +SOAP_FMAC5 ngwt__Settings * SOAP_FMAC6 soap_instantiate_ngwt__Settings(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Settings(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SendOptions +#define SOAP_TYPE_ngwt__SendOptions (136) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptions(struct soap*, const char*, int, const ngwt__SendOptions *, const char*); +SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_get_ngwt__SendOptions(struct soap*, ngwt__SendOptions *, const char*, const char*); +SOAP_FMAC3 ngwt__SendOptions * SOAP_FMAC4 soap_in_ngwt__SendOptions(struct soap*, const char*, ngwt__SendOptions *, const char*); +SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_new_ngwt__SendOptions(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptions(struct soap*, ngwt__SendOptions*); +SOAP_FMAC5 ngwt__SendOptions * SOAP_FMAC6 soap_instantiate_ngwt__SendOptions(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptions(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__SendOptionsRequestReply +#define SOAP_TYPE_ngwt__SendOptionsRequestReply (135) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__SendOptionsRequestReply(struct soap*, const char*, int, const ngwt__SendOptionsRequestReply *, const char*); +SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_get_ngwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply *, const char*, const char*); +SOAP_FMAC3 ngwt__SendOptionsRequestReply * SOAP_FMAC4 soap_in_ngwt__SendOptionsRequestReply(struct soap*, const char*, ngwt__SendOptionsRequestReply *, const char*); +SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_new_ngwt__SendOptionsRequestReply(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply*); +SOAP_FMAC5 ngwt__SendOptionsRequestReply * SOAP_FMAC6 soap_instantiate_ngwt__SendOptionsRequestReply(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__SendOptionsRequestReply(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RuleList +#define SOAP_TYPE_ngwt__RuleList (134) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleList(struct soap*, const char*, int, const ngwt__RuleList *, const char*); +SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_get_ngwt__RuleList(struct soap*, ngwt__RuleList *, const char*, const char*); +SOAP_FMAC3 ngwt__RuleList * SOAP_FMAC4 soap_in_ngwt__RuleList(struct soap*, const char*, ngwt__RuleList *, const char*); +SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_new_ngwt__RuleList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleList(struct soap*, ngwt__RuleList*); +SOAP_FMAC5 ngwt__RuleList * SOAP_FMAC6 soap_instantiate_ngwt__RuleList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RuleActionList +#define SOAP_TYPE_ngwt__RuleActionList (133) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleActionList(struct soap*, const char*, int, const ngwt__RuleActionList *, const char*); +SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_get_ngwt__RuleActionList(struct soap*, ngwt__RuleActionList *, const char*, const char*); +SOAP_FMAC3 ngwt__RuleActionList * SOAP_FMAC4 soap_in_ngwt__RuleActionList(struct soap*, const char*, ngwt__RuleActionList *, const char*); +SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_new_ngwt__RuleActionList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleActionList(struct soap*, ngwt__RuleActionList*); +SOAP_FMAC5 ngwt__RuleActionList * SOAP_FMAC6 soap_instantiate_ngwt__RuleActionList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleActionList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RuleAction +#define SOAP_TYPE_ngwt__RuleAction (132) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RuleAction(struct soap*, const char*, int, const ngwt__RuleAction *, const char*); +SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_get_ngwt__RuleAction(struct soap*, ngwt__RuleAction *, const char*, const char*); +SOAP_FMAC3 ngwt__RuleAction * SOAP_FMAC4 soap_in_ngwt__RuleAction(struct soap*, const char*, ngwt__RuleAction *, const char*); +SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_new_ngwt__RuleAction(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RuleAction(struct soap*, ngwt__RuleAction*); +SOAP_FMAC5 ngwt__RuleAction * SOAP_FMAC6 soap_instantiate_ngwt__RuleAction(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RuleAction(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Rule +#define SOAP_TYPE_ngwt__Rule (131) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rule(struct soap*, const char*, int, const ngwt__Rule *, const char*); +SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_get_ngwt__Rule(struct soap*, ngwt__Rule *, const char*, const char*); +SOAP_FMAC3 ngwt__Rule * SOAP_FMAC4 soap_in_ngwt__Rule(struct soap*, const char*, ngwt__Rule *, const char*); +SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_new_ngwt__Rule(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rule(struct soap*, ngwt__Rule*); +SOAP_FMAC5 ngwt__Rule * SOAP_FMAC6 soap_instantiate_ngwt__Rule(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rule(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Rights +#define SOAP_TYPE_ngwt__Rights (130) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Rights(struct soap*, const char*, int, const ngwt__Rights *, const char*); +SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_get_ngwt__Rights(struct soap*, ngwt__Rights *, const char*, const char*); +SOAP_FMAC3 ngwt__Rights * SOAP_FMAC4 soap_in_ngwt__Rights(struct soap*, const char*, ngwt__Rights *, const char*); +SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_new_ngwt__Rights(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Rights(struct soap*, ngwt__Rights*); +SOAP_FMAC5 ngwt__Rights * SOAP_FMAC6 soap_instantiate_ngwt__Rights(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Rights(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ReturnNotificationOptions +#define SOAP_TYPE_ngwt__ReturnNotificationOptions (129) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotificationOptions(struct soap*, const char*, int, const ngwt__ReturnNotificationOptions *, const char*); +SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_get_ngwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions *, const char*, const char*); +SOAP_FMAC3 ngwt__ReturnNotificationOptions * SOAP_FMAC4 soap_in_ngwt__ReturnNotificationOptions(struct soap*, const char*, ngwt__ReturnNotificationOptions *, const char*); +SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_new_ngwt__ReturnNotificationOptions(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions*); +SOAP_FMAC5 ngwt__ReturnNotificationOptions * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotificationOptions(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotificationOptions(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ReturnNotification +#define SOAP_TYPE_ngwt__ReturnNotification (128) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReturnNotification(struct soap*, const char*, int, const ngwt__ReturnNotification *, const char*); +SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_get_ngwt__ReturnNotification(struct soap*, ngwt__ReturnNotification *, const char*, const char*); +SOAP_FMAC3 ngwt__ReturnNotification * SOAP_FMAC4 soap_in_ngwt__ReturnNotification(struct soap*, const char*, ngwt__ReturnNotification *, const char*); +SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_new_ngwt__ReturnNotification(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReturnNotification(struct soap*, ngwt__ReturnNotification*); +SOAP_FMAC5 ngwt__ReturnNotification * SOAP_FMAC6 soap_instantiate_ngwt__ReturnNotification(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReturnNotification(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Resource +#define SOAP_TYPE_ngwt__Resource (127) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Resource(struct soap*, const char*, int, const ngwt__Resource *, const char*); +SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_get_ngwt__Resource(struct soap*, ngwt__Resource *, const char*, const char*); +SOAP_FMAC3 ngwt__Resource * SOAP_FMAC4 soap_in_ngwt__Resource(struct soap*, const char*, ngwt__Resource *, const char*); +SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_new_ngwt__Resource(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Resource(struct soap*, ngwt__Resource*); +SOAP_FMAC5 ngwt__Resource * SOAP_FMAC6 soap_instantiate_ngwt__Resource(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Resource(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ReferenceInfo +#define SOAP_TYPE_ngwt__ReferenceInfo (126) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ReferenceInfo(struct soap*, const char*, int, const ngwt__ReferenceInfo *, const char*); +SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_get_ngwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__ReferenceInfo * SOAP_FMAC4 soap_in_ngwt__ReferenceInfo(struct soap*, const char*, ngwt__ReferenceInfo *, const char*); +SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_new_ngwt__ReferenceInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo*); +SOAP_FMAC5 ngwt__ReferenceInfo * SOAP_FMAC6 soap_instantiate_ngwt__ReferenceInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ReferenceInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RecurrenceRule +#define SOAP_TYPE_ngwt__RecurrenceRule (125) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceRule(struct soap*, const char*, int, const ngwt__RecurrenceRule *, const char*); +SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_get_ngwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule *, const char*, const char*); +SOAP_FMAC3 ngwt__RecurrenceRule * SOAP_FMAC4 soap_in_ngwt__RecurrenceRule(struct soap*, const char*, ngwt__RecurrenceRule *, const char*); +SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_new_ngwt__RecurrenceRule(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule*); +SOAP_FMAC5 ngwt__RecurrenceRule * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceRule(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceRule(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RecurrenceDateType +#define SOAP_TYPE_ngwt__RecurrenceDateType (124) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecurrenceDateType(struct soap*, const char*, int, const ngwt__RecurrenceDateType *, const char*); +SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_get_ngwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType *, const char*, const char*); +SOAP_FMAC3 ngwt__RecurrenceDateType * SOAP_FMAC4 soap_in_ngwt__RecurrenceDateType(struct soap*, const char*, ngwt__RecurrenceDateType *, const char*); +SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_new_ngwt__RecurrenceDateType(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType*); +SOAP_FMAC5 ngwt__RecurrenceDateType * SOAP_FMAC6 soap_instantiate_ngwt__RecurrenceDateType(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecurrenceDateType(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RecipientStatus +#define SOAP_TYPE_ngwt__RecipientStatus (123) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientStatus(struct soap*, const char*, int, const ngwt__RecipientStatus *, const char*); +SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_get_ngwt__RecipientStatus(struct soap*, ngwt__RecipientStatus *, const char*, const char*); +SOAP_FMAC3 ngwt__RecipientStatus * SOAP_FMAC4 soap_in_ngwt__RecipientStatus(struct soap*, const char*, ngwt__RecipientStatus *, const char*); +SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_new_ngwt__RecipientStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientStatus(struct soap*, ngwt__RecipientStatus*); +SOAP_FMAC5 ngwt__RecipientStatus * SOAP_FMAC6 soap_instantiate_ngwt__RecipientStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__RecipientList +#define SOAP_TYPE_ngwt__RecipientList (122) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__RecipientList(struct soap*, const char*, int, const ngwt__RecipientList *, const char*); +SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_get_ngwt__RecipientList(struct soap*, ngwt__RecipientList *, const char*, const char*); +SOAP_FMAC3 ngwt__RecipientList * SOAP_FMAC4 soap_in_ngwt__RecipientList(struct soap*, const char*, ngwt__RecipientList *, const char*); +SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_new_ngwt__RecipientList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__RecipientList(struct soap*, ngwt__RecipientList*); +SOAP_FMAC5 ngwt__RecipientList * SOAP_FMAC6 soap_instantiate_ngwt__RecipientList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__RecipientList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Recipient +#define SOAP_TYPE_ngwt__Recipient (121) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Recipient(struct soap*, const char*, int, const ngwt__Recipient *, const char*); +SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_get_ngwt__Recipient(struct soap*, ngwt__Recipient *, const char*, const char*); +SOAP_FMAC3 ngwt__Recipient * SOAP_FMAC4 soap_in_ngwt__Recipient(struct soap*, const char*, ngwt__Recipient *, const char*); +SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_new_ngwt__Recipient(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Recipient(struct soap*, ngwt__Recipient*); +SOAP_FMAC5 ngwt__Recipient * SOAP_FMAC6 soap_instantiate_ngwt__Recipient(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Recipient(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__QueryTarget +#define SOAP_TYPE_ngwt__QueryTarget (120) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryTarget(struct soap*, const char*, int, const ngwt__QueryTarget *, const char*); +SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_get_ngwt__QueryTarget(struct soap*, ngwt__QueryTarget *, const char*, const char*); +SOAP_FMAC3 ngwt__QueryTarget * SOAP_FMAC4 soap_in_ngwt__QueryTarget(struct soap*, const char*, ngwt__QueryTarget *, const char*); +SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_new_ngwt__QueryTarget(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryTarget(struct soap*, ngwt__QueryTarget*); +SOAP_FMAC5 ngwt__QueryTarget * SOAP_FMAC6 soap_instantiate_ngwt__QueryTarget(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryTarget(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__QueryFolder +#define SOAP_TYPE_ngwt__QueryFolder (119) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__QueryFolder(struct soap*, const char*, int, const ngwt__QueryFolder *, const char*); +SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_get_ngwt__QueryFolder(struct soap*, ngwt__QueryFolder *, const char*, const char*); +SOAP_FMAC3 ngwt__QueryFolder * SOAP_FMAC4 soap_in_ngwt__QueryFolder(struct soap*, const char*, ngwt__QueryFolder *, const char*); +SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_new_ngwt__QueryFolder(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__QueryFolder(struct soap*, ngwt__QueryFolder*); +SOAP_FMAC5 ngwt__QueryFolder * SOAP_FMAC6 soap_instantiate_ngwt__QueryFolder(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__QueryFolder(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Query +#define SOAP_TYPE_ngwt__Query (118) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Query(struct soap*, const char*, int, const ngwt__Query *, const char*); +SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_get_ngwt__Query(struct soap*, ngwt__Query *, const char*, const char*); +SOAP_FMAC3 ngwt__Query * SOAP_FMAC4 soap_in_ngwt__Query(struct soap*, const char*, ngwt__Query *, const char*); +SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_new_ngwt__Query(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Query(struct soap*, ngwt__Query*); +SOAP_FMAC5 ngwt__Query * SOAP_FMAC6 soap_instantiate_ngwt__Query(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Query(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ProxyList +#define SOAP_TYPE_ngwt__ProxyList (117) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyList(struct soap*, const char*, int, const ngwt__ProxyList *, const char*); +SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_get_ngwt__ProxyList(struct soap*, ngwt__ProxyList *, const char*, const char*); +SOAP_FMAC3 ngwt__ProxyList * SOAP_FMAC4 soap_in_ngwt__ProxyList(struct soap*, const char*, ngwt__ProxyList *, const char*); +SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_new_ngwt__ProxyList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyList(struct soap*, ngwt__ProxyList*); +SOAP_FMAC5 ngwt__ProxyList * SOAP_FMAC6 soap_instantiate_ngwt__ProxyList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ProxyUser +#define SOAP_TYPE_ngwt__ProxyUser (116) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProxyUser(struct soap*, const char*, int, const ngwt__ProxyUser *, const char*); +SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_get_ngwt__ProxyUser(struct soap*, ngwt__ProxyUser *, const char*, const char*); +SOAP_FMAC3 ngwt__ProxyUser * SOAP_FMAC4 soap_in_ngwt__ProxyUser(struct soap*, const char*, ngwt__ProxyUser *, const char*); +SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_new_ngwt__ProxyUser(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProxyUser(struct soap*, ngwt__ProxyUser*); +SOAP_FMAC5 ngwt__ProxyUser * SOAP_FMAC6 soap_instantiate_ngwt__ProxyUser(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProxyUser(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Proxy +#define SOAP_TYPE_ngwt__Proxy (115) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Proxy(struct soap*, const char*, int, const ngwt__Proxy *, const char*); +SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_get_ngwt__Proxy(struct soap*, ngwt__Proxy *, const char*, const char*); +SOAP_FMAC3 ngwt__Proxy * SOAP_FMAC4 soap_in_ngwt__Proxy(struct soap*, const char*, ngwt__Proxy *, const char*); +SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_new_ngwt__Proxy(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Proxy(struct soap*, ngwt__Proxy*); +SOAP_FMAC5 ngwt__Proxy * SOAP_FMAC6 soap_instantiate_ngwt__Proxy(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Proxy(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ProblemList +#define SOAP_TYPE_ngwt__ProblemList (114) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemList(struct soap*, const char*, int, const ngwt__ProblemList *, const char*); +SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_get_ngwt__ProblemList(struct soap*, ngwt__ProblemList *, const char*, const char*); +SOAP_FMAC3 ngwt__ProblemList * SOAP_FMAC4 soap_in_ngwt__ProblemList(struct soap*, const char*, ngwt__ProblemList *, const char*); +SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_new_ngwt__ProblemList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemList(struct soap*, ngwt__ProblemList*); +SOAP_FMAC5 ngwt__ProblemList * SOAP_FMAC6 soap_instantiate_ngwt__ProblemList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ProblemEntry +#define SOAP_TYPE_ngwt__ProblemEntry (113) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ProblemEntry(struct soap*, const char*, int, const ngwt__ProblemEntry *, const char*); +SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_get_ngwt__ProblemEntry(struct soap*, ngwt__ProblemEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__ProblemEntry * SOAP_FMAC4 soap_in_ngwt__ProblemEntry(struct soap*, const char*, ngwt__ProblemEntry *, const char*); +SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_new_ngwt__ProblemEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ProblemEntry(struct soap*, ngwt__ProblemEntry*); +SOAP_FMAC5 ngwt__ProblemEntry * SOAP_FMAC6 soap_instantiate_ngwt__ProblemEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ProblemEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PostalAddressList +#define SOAP_TYPE_ngwt__PostalAddressList (112) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddressList(struct soap*, const char*, int, const ngwt__PostalAddressList *, const char*); +SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_get_ngwt__PostalAddressList(struct soap*, ngwt__PostalAddressList *, const char*, const char*); +SOAP_FMAC3 ngwt__PostalAddressList * SOAP_FMAC4 soap_in_ngwt__PostalAddressList(struct soap*, const char*, ngwt__PostalAddressList *, const char*); +SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_new_ngwt__PostalAddressList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddressList(struct soap*, ngwt__PostalAddressList*); +SOAP_FMAC5 ngwt__PostalAddressList * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddressList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddressList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PostalAddress +#define SOAP_TYPE_ngwt__PostalAddress (111) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PostalAddress(struct soap*, const char*, int, const ngwt__PostalAddress *, const char*); +SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_get_ngwt__PostalAddress(struct soap*, ngwt__PostalAddress *, const char*, const char*); +SOAP_FMAC3 ngwt__PostalAddress * SOAP_FMAC4 soap_in_ngwt__PostalAddress(struct soap*, const char*, ngwt__PostalAddress *, const char*); +SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_new_ngwt__PostalAddress(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PostalAddress(struct soap*, ngwt__PostalAddress*); +SOAP_FMAC5 ngwt__PostalAddress * SOAP_FMAC6 soap_instantiate_ngwt__PostalAddress(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PostalAddress(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PlainText +#define SOAP_TYPE_ngwt__PlainText (110) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PlainText(struct soap*, const char*, int, const ngwt__PlainText *, const char*); +SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_get_ngwt__PlainText(struct soap*, ngwt__PlainText *, const char*, const char*); +SOAP_FMAC3 ngwt__PlainText * SOAP_FMAC4 soap_in_ngwt__PlainText(struct soap*, const char*, ngwt__PlainText *, const char*); +SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_new_ngwt__PlainText(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PlainText(struct soap*, ngwt__PlainText*); +SOAP_FMAC5 ngwt__PlainText * SOAP_FMAC6 soap_instantiate_ngwt__PlainText(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PlainText(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PhoneNumber +#define SOAP_TYPE_ngwt__PhoneNumber (109) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneNumber(struct soap*, const char*, int, const ngwt__PhoneNumber *, const char*); +SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_get_ngwt__PhoneNumber(struct soap*, ngwt__PhoneNumber *, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneNumber * SOAP_FMAC4 soap_in_ngwt__PhoneNumber(struct soap*, const char*, ngwt__PhoneNumber *, const char*); +SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_new_ngwt__PhoneNumber(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneNumber(struct soap*, ngwt__PhoneNumber*); +SOAP_FMAC5 ngwt__PhoneNumber * SOAP_FMAC6 soap_instantiate_ngwt__PhoneNumber(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneNumber(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PhoneMessage +#define SOAP_TYPE_ngwt__PhoneMessage (108) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneMessage(struct soap*, const char*, int, const ngwt__PhoneMessage *, const char*); +SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_get_ngwt__PhoneMessage(struct soap*, ngwt__PhoneMessage *, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneMessage * SOAP_FMAC4 soap_in_ngwt__PhoneMessage(struct soap*, const char*, ngwt__PhoneMessage *, const char*); +SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_new_ngwt__PhoneMessage(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneMessage(struct soap*, ngwt__PhoneMessage*); +SOAP_FMAC5 ngwt__PhoneMessage * SOAP_FMAC6 soap_instantiate_ngwt__PhoneMessage(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneMessage(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PhoneList +#define SOAP_TYPE_ngwt__PhoneList (107) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneList(struct soap*, const char*, int, const ngwt__PhoneList *, const char*); +SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_get_ngwt__PhoneList(struct soap*, ngwt__PhoneList *, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneList * SOAP_FMAC4 soap_in_ngwt__PhoneList(struct soap*, const char*, ngwt__PhoneList *, const char*); +SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_new_ngwt__PhoneList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneList(struct soap*, ngwt__PhoneList*); +SOAP_FMAC5 ngwt__PhoneList * SOAP_FMAC6 soap_instantiate_ngwt__PhoneList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PhoneFlags +#define SOAP_TYPE_ngwt__PhoneFlags (106) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PhoneFlags(struct soap*, const char*, int, const ngwt__PhoneFlags *, const char*); +SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_get_ngwt__PhoneFlags(struct soap*, ngwt__PhoneFlags *, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneFlags * SOAP_FMAC4 soap_in_ngwt__PhoneFlags(struct soap*, const char*, ngwt__PhoneFlags *, const char*); +SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_new_ngwt__PhoneFlags(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PhoneFlags(struct soap*, ngwt__PhoneFlags*); +SOAP_FMAC5 ngwt__PhoneFlags * SOAP_FMAC6 soap_instantiate_ngwt__PhoneFlags(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PhoneFlags(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__PersonalInfo +#define SOAP_TYPE_ngwt__PersonalInfo (105) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__PersonalInfo(struct soap*, const char*, int, const ngwt__PersonalInfo *, const char*); +SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_get_ngwt__PersonalInfo(struct soap*, ngwt__PersonalInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__PersonalInfo * SOAP_FMAC4 soap_in_ngwt__PersonalInfo(struct soap*, const char*, ngwt__PersonalInfo *, const char*); +SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_new_ngwt__PersonalInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__PersonalInfo(struct soap*, ngwt__PersonalInfo*); +SOAP_FMAC5 ngwt__PersonalInfo * SOAP_FMAC6 soap_instantiate_ngwt__PersonalInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__PersonalInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Organization +#define SOAP_TYPE_ngwt__Organization (104) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Organization(struct soap*, const char*, int, const ngwt__Organization *, const char*); +SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_get_ngwt__Organization(struct soap*, ngwt__Organization *, const char*, const char*); +SOAP_FMAC3 ngwt__Organization * SOAP_FMAC4 soap_in_ngwt__Organization(struct soap*, const char*, ngwt__Organization *, const char*); +SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_new_ngwt__Organization(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Organization(struct soap*, ngwt__Organization*); +SOAP_FMAC5 ngwt__Organization * SOAP_FMAC6 soap_instantiate_ngwt__Organization(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Organization(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__OfficeInfo +#define SOAP_TYPE_ngwt__OfficeInfo (103) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__OfficeInfo(struct soap*, const char*, int, const ngwt__OfficeInfo *, const char*); +SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_get_ngwt__OfficeInfo(struct soap*, ngwt__OfficeInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__OfficeInfo * SOAP_FMAC4 soap_in_ngwt__OfficeInfo(struct soap*, const char*, ngwt__OfficeInfo *, const char*); +SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_new_ngwt__OfficeInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__OfficeInfo(struct soap*, ngwt__OfficeInfo*); +SOAP_FMAC5 ngwt__OfficeInfo * SOAP_FMAC6 soap_instantiate_ngwt__OfficeInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__OfficeInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Note +#define SOAP_TYPE_ngwt__Note (102) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Note(struct soap*, const char*, int, const ngwt__Note *, const char*); +SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_get_ngwt__Note(struct soap*, ngwt__Note *, const char*, const char*); +SOAP_FMAC3 ngwt__Note * SOAP_FMAC4 soap_in_ngwt__Note(struct soap*, const char*, ngwt__Note *, const char*); +SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_new_ngwt__Note(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Note(struct soap*, ngwt__Note*); +SOAP_FMAC5 ngwt__Note * SOAP_FMAC6 soap_instantiate_ngwt__Note(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Note(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__NameAndEmail +#define SOAP_TYPE_ngwt__NameAndEmail (101) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__NameAndEmail(struct soap*, const char*, int, const ngwt__NameAndEmail *, const char*); +SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_get_ngwt__NameAndEmail(struct soap*, ngwt__NameAndEmail *, const char*, const char*); +SOAP_FMAC3 ngwt__NameAndEmail * SOAP_FMAC4 soap_in_ngwt__NameAndEmail(struct soap*, const char*, ngwt__NameAndEmail *, const char*); +SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_new_ngwt__NameAndEmail(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__NameAndEmail(struct soap*, ngwt__NameAndEmail*); +SOAP_FMAC5 ngwt__NameAndEmail * SOAP_FMAC6 soap_instantiate_ngwt__NameAndEmail(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__NameAndEmail(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__MonthList +#define SOAP_TYPE_ngwt__MonthList (100) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MonthList(struct soap*, const char*, int, const ngwt__MonthList *, const char*); +SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_get_ngwt__MonthList(struct soap*, ngwt__MonthList *, const char*, const char*); +SOAP_FMAC3 ngwt__MonthList * SOAP_FMAC4 soap_in_ngwt__MonthList(struct soap*, const char*, ngwt__MonthList *, const char*); +SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_new_ngwt__MonthList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MonthList(struct soap*, ngwt__MonthList*); +SOAP_FMAC5 ngwt__MonthList * SOAP_FMAC6 soap_instantiate_ngwt__MonthList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MonthList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ModifyItem +#define SOAP_TYPE_ngwt__ModifyItem (99) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ModifyItem(struct soap*, const char*, int, const ngwt__ModifyItem *, const char*); +SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_get_ngwt__ModifyItem(struct soap*, ngwt__ModifyItem *, const char*, const char*); +SOAP_FMAC3 ngwt__ModifyItem * SOAP_FMAC4 soap_in_ngwt__ModifyItem(struct soap*, const char*, ngwt__ModifyItem *, const char*); +SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_new_ngwt__ModifyItem(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ModifyItem(struct soap*, ngwt__ModifyItem*); +SOAP_FMAC5 ngwt__ModifyItem * SOAP_FMAC6 soap_instantiate_ngwt__ModifyItem(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ModifyItem(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__MessagePart +#define SOAP_TYPE_ngwt__MessagePart (98) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessagePart(struct soap*, const char*, int, const ngwt__MessagePart *, const char*); +SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_get_ngwt__MessagePart(struct soap*, ngwt__MessagePart *, const char*, const char*); +SOAP_FMAC3 ngwt__MessagePart * SOAP_FMAC4 soap_in_ngwt__MessagePart(struct soap*, const char*, ngwt__MessagePart *, const char*); +SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_new_ngwt__MessagePart(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessagePart(struct soap*, ngwt__MessagePart*); +SOAP_FMAC5 ngwt__MessagePart * SOAP_FMAC6 soap_instantiate_ngwt__MessagePart(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessagePart(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__MessageBody +#define SOAP_TYPE_ngwt__MessageBody (97) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__MessageBody(struct soap*, const char*, int, const ngwt__MessageBody *, const char*); +SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_get_ngwt__MessageBody(struct soap*, ngwt__MessageBody *, const char*, const char*); +SOAP_FMAC3 ngwt__MessageBody * SOAP_FMAC4 soap_in_ngwt__MessageBody(struct soap*, const char*, ngwt__MessageBody *, const char*); +SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_new_ngwt__MessageBody(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__MessageBody(struct soap*, ngwt__MessageBody*); +SOAP_FMAC5 ngwt__MessageBody * SOAP_FMAC6 soap_instantiate_ngwt__MessageBody(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__MessageBody(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Mail +#define SOAP_TYPE_ngwt__Mail (96) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Mail(struct soap*, const char*, int, const ngwt__Mail *, const char*); +SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_get_ngwt__Mail(struct soap*, ngwt__Mail *, const char*, const char*); +SOAP_FMAC3 ngwt__Mail * SOAP_FMAC4 soap_in_ngwt__Mail(struct soap*, const char*, ngwt__Mail *, const char*); +SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_new_ngwt__Mail(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Mail(struct soap*, ngwt__Mail*); +SOAP_FMAC5 ngwt__Mail * SOAP_FMAC6 soap_instantiate_ngwt__Mail(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Mail(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__LinkInfo +#define SOAP_TYPE_ngwt__LinkInfo (95) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LinkInfo(struct soap*, const char*, int, const ngwt__LinkInfo *, const char*); +SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_get_ngwt__LinkInfo(struct soap*, ngwt__LinkInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__LinkInfo * SOAP_FMAC4 soap_in_ngwt__LinkInfo(struct soap*, const char*, ngwt__LinkInfo *, const char*); +SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_new_ngwt__LinkInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LinkInfo(struct soap*, ngwt__LinkInfo*); +SOAP_FMAC5 ngwt__LinkInfo * SOAP_FMAC6 soap_instantiate_ngwt__LinkInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LinkInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__LibraryList +#define SOAP_TYPE_ngwt__LibraryList (94) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__LibraryList(struct soap*, const char*, int, const ngwt__LibraryList *, const char*); +SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_get_ngwt__LibraryList(struct soap*, ngwt__LibraryList *, const char*, const char*); +SOAP_FMAC3 ngwt__LibraryList * SOAP_FMAC4 soap_in_ngwt__LibraryList(struct soap*, const char*, ngwt__LibraryList *, const char*); +SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_new_ngwt__LibraryList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__LibraryList(struct soap*, ngwt__LibraryList*); +SOAP_FMAC5 ngwt__LibraryList * SOAP_FMAC6 soap_instantiate_ngwt__LibraryList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__LibraryList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Library +#define SOAP_TYPE_ngwt__Library (93) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Library(struct soap*, const char*, int, const ngwt__Library *, const char*); +SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_get_ngwt__Library(struct soap*, ngwt__Library *, const char*, const char*); +SOAP_FMAC3 ngwt__Library * SOAP_FMAC4 soap_in_ngwt__Library(struct soap*, const char*, ngwt__Library *, const char*); +SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_new_ngwt__Library(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Library(struct soap*, ngwt__Library*); +SOAP_FMAC5 ngwt__Library * SOAP_FMAC6 soap_instantiate_ngwt__Library(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Library(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__JunkHandlingList +#define SOAP_TYPE_ngwt__JunkHandlingList (92) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkHandlingList(struct soap*, const char*, int, const ngwt__JunkHandlingList *, const char*); +SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_get_ngwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList *, const char*, const char*); +SOAP_FMAC3 ngwt__JunkHandlingList * SOAP_FMAC4 soap_in_ngwt__JunkHandlingList(struct soap*, const char*, ngwt__JunkHandlingList *, const char*); +SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_new_ngwt__JunkHandlingList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList*); +SOAP_FMAC5 ngwt__JunkHandlingList * SOAP_FMAC6 soap_instantiate_ngwt__JunkHandlingList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkHandlingList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__JunkEntry +#define SOAP_TYPE_ngwt__JunkEntry (91) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__JunkEntry(struct soap*, const char*, int, const ngwt__JunkEntry *, const char*); +SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_get_ngwt__JunkEntry(struct soap*, ngwt__JunkEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__JunkEntry * SOAP_FMAC4 soap_in_ngwt__JunkEntry(struct soap*, const char*, ngwt__JunkEntry *, const char*); +SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_new_ngwt__JunkEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__JunkEntry(struct soap*, ngwt__JunkEntry*); +SOAP_FMAC5 ngwt__JunkEntry * SOAP_FMAC6 soap_instantiate_ngwt__JunkEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__JunkEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ItemStatus +#define SOAP_TYPE_ngwt__ItemStatus (90) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemStatus(struct soap*, const char*, int, const ngwt__ItemStatus *, const char*); +SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_get_ngwt__ItemStatus(struct soap*, ngwt__ItemStatus *, const char*, const char*); +SOAP_FMAC3 ngwt__ItemStatus * SOAP_FMAC4 soap_in_ngwt__ItemStatus(struct soap*, const char*, ngwt__ItemStatus *, const char*); +SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_new_ngwt__ItemStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemStatus(struct soap*, ngwt__ItemStatus*); +SOAP_FMAC5 ngwt__ItemStatus * SOAP_FMAC6 soap_instantiate_ngwt__ItemStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Items +#define SOAP_TYPE_ngwt__Items (89) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Items(struct soap*, const char*, int, const ngwt__Items *, const char*); +SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_get_ngwt__Items(struct soap*, ngwt__Items *, const char*, const char*); +SOAP_FMAC3 ngwt__Items * SOAP_FMAC4 soap_in_ngwt__Items(struct soap*, const char*, ngwt__Items *, const char*); +SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_new_ngwt__Items(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Items(struct soap*, ngwt__Items*); +SOAP_FMAC5 ngwt__Items * SOAP_FMAC6 soap_instantiate_ngwt__Items(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Items(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ItemRefList +#define SOAP_TYPE_ngwt__ItemRefList (88) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRefList(struct soap*, const char*, int, const ngwt__ItemRefList *, const char*); +SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_get_ngwt__ItemRefList(struct soap*, ngwt__ItemRefList *, const char*, const char*); +SOAP_FMAC3 ngwt__ItemRefList * SOAP_FMAC4 soap_in_ngwt__ItemRefList(struct soap*, const char*, ngwt__ItemRefList *, const char*); +SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_new_ngwt__ItemRefList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRefList(struct soap*, ngwt__ItemRefList*); +SOAP_FMAC5 ngwt__ItemRefList * SOAP_FMAC6 soap_instantiate_ngwt__ItemRefList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRefList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ItemRef +#define SOAP_TYPE_ngwt__ItemRef (87) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemRef(struct soap*, const char*, int, const ngwt__ItemRef *, const char*); +SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_get_ngwt__ItemRef(struct soap*, ngwt__ItemRef *, const char*, const char*); +SOAP_FMAC3 ngwt__ItemRef * SOAP_FMAC4 soap_in_ngwt__ItemRef(struct soap*, const char*, ngwt__ItemRef *, const char*); +SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_new_ngwt__ItemRef(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemRef(struct soap*, ngwt__ItemRef*); +SOAP_FMAC5 ngwt__ItemRef * SOAP_FMAC6 soap_instantiate_ngwt__ItemRef(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemRef(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ItemOptions +#define SOAP_TYPE_ngwt__ItemOptions (86) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemOptions(struct soap*, const char*, int, const ngwt__ItemOptions *, const char*); +SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_get_ngwt__ItemOptions(struct soap*, ngwt__ItemOptions *, const char*, const char*); +SOAP_FMAC3 ngwt__ItemOptions * SOAP_FMAC4 soap_in_ngwt__ItemOptions(struct soap*, const char*, ngwt__ItemOptions *, const char*); +SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_new_ngwt__ItemOptions(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemOptions(struct soap*, ngwt__ItemOptions*); +SOAP_FMAC5 ngwt__ItemOptions * SOAP_FMAC6 soap_instantiate_ngwt__ItemOptions(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemOptions(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ItemList +#define SOAP_TYPE_ngwt__ItemList (85) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemList(struct soap*, const char*, int, const ngwt__ItemList *, const char*); +SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_get_ngwt__ItemList(struct soap*, ngwt__ItemList *, const char*, const char*); +SOAP_FMAC3 ngwt__ItemList * SOAP_FMAC4 soap_in_ngwt__ItemList(struct soap*, const char*, ngwt__ItemList *, const char*); +SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_new_ngwt__ItemList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemList(struct soap*, ngwt__ItemList*); +SOAP_FMAC5 ngwt__ItemList * SOAP_FMAC6 soap_instantiate_ngwt__ItemList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ItemChanges +#define SOAP_TYPE_ngwt__ItemChanges (84) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ItemChanges(struct soap*, const char*, int, const ngwt__ItemChanges *, const char*); +SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_get_ngwt__ItemChanges(struct soap*, ngwt__ItemChanges *, const char*, const char*); +SOAP_FMAC3 ngwt__ItemChanges * SOAP_FMAC4 soap_in_ngwt__ItemChanges(struct soap*, const char*, ngwt__ItemChanges *, const char*); +SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_new_ngwt__ItemChanges(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ItemChanges(struct soap*, ngwt__ItemChanges*); +SOAP_FMAC5 ngwt__ItemChanges * SOAP_FMAC6 soap_instantiate_ngwt__ItemChanges(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ItemChanges(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Item +#define SOAP_TYPE_ngwt__Item (83) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Item(struct soap*, const char*, int, const ngwt__Item *, const char*); +SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_get_ngwt__Item(struct soap*, ngwt__Item *, const char*, const char*); +SOAP_FMAC3 ngwt__Item * SOAP_FMAC4 soap_in_ngwt__Item(struct soap*, const char*, ngwt__Item *, const char*); +SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_new_ngwt__Item(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Item(struct soap*, ngwt__Item*); +SOAP_FMAC5 ngwt__Item * SOAP_FMAC6 soap_instantiate_ngwt__Item(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Item(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ImAddressList +#define SOAP_TYPE_ngwt__ImAddressList (82) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddressList(struct soap*, const char*, int, const ngwt__ImAddressList *, const char*); +SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_get_ngwt__ImAddressList(struct soap*, ngwt__ImAddressList *, const char*, const char*); +SOAP_FMAC3 ngwt__ImAddressList * SOAP_FMAC4 soap_in_ngwt__ImAddressList(struct soap*, const char*, ngwt__ImAddressList *, const char*); +SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_new_ngwt__ImAddressList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddressList(struct soap*, ngwt__ImAddressList*); +SOAP_FMAC5 ngwt__ImAddressList * SOAP_FMAC6 soap_instantiate_ngwt__ImAddressList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddressList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ImAddress +#define SOAP_TYPE_ngwt__ImAddress (81) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ImAddress(struct soap*, const char*, int, const ngwt__ImAddress *, const char*); +SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_get_ngwt__ImAddress(struct soap*, ngwt__ImAddress *, const char*, const char*); +SOAP_FMAC3 ngwt__ImAddress * SOAP_FMAC4 soap_in_ngwt__ImAddress(struct soap*, const char*, ngwt__ImAddress *, const char*); +SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_new_ngwt__ImAddress(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ImAddress(struct soap*, ngwt__ImAddress*); +SOAP_FMAC5 ngwt__ImAddress * SOAP_FMAC6 soap_instantiate_ngwt__ImAddress(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ImAddress(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Host +#define SOAP_TYPE_ngwt__Host (80) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Host(struct soap*, const char*, int, const ngwt__Host *, const char*); +SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_get_ngwt__Host(struct soap*, ngwt__Host *, const char*, const char*); +SOAP_FMAC3 ngwt__Host * SOAP_FMAC4 soap_in_ngwt__Host(struct soap*, const char*, ngwt__Host *, const char*); +SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_new_ngwt__Host(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Host(struct soap*, ngwt__Host*); +SOAP_FMAC5 ngwt__Host * SOAP_FMAC6 soap_instantiate_ngwt__Host(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Host(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__GroupMemberList +#define SOAP_TYPE_ngwt__GroupMemberList (79) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMemberList(struct soap*, const char*, int, const ngwt__GroupMemberList *, const char*); +SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_get_ngwt__GroupMemberList(struct soap*, ngwt__GroupMemberList *, const char*, const char*); +SOAP_FMAC3 ngwt__GroupMemberList * SOAP_FMAC4 soap_in_ngwt__GroupMemberList(struct soap*, const char*, ngwt__GroupMemberList *, const char*); +SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_new_ngwt__GroupMemberList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMemberList(struct soap*, ngwt__GroupMemberList*); +SOAP_FMAC5 ngwt__GroupMemberList * SOAP_FMAC6 soap_instantiate_ngwt__GroupMemberList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMemberList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__GroupMember +#define SOAP_TYPE_ngwt__GroupMember (78) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__GroupMember(struct soap*, const char*, int, const ngwt__GroupMember *, const char*); +SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_get_ngwt__GroupMember(struct soap*, ngwt__GroupMember *, const char*, const char*); +SOAP_FMAC3 ngwt__GroupMember * SOAP_FMAC4 soap_in_ngwt__GroupMember(struct soap*, const char*, ngwt__GroupMember *, const char*); +SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_new_ngwt__GroupMember(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__GroupMember(struct soap*, ngwt__GroupMember*); +SOAP_FMAC5 ngwt__GroupMember * SOAP_FMAC6 soap_instantiate_ngwt__GroupMember(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__GroupMember(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Group +#define SOAP_TYPE_ngwt__Group (77) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Group(struct soap*, const char*, int, const ngwt__Group *, const char*); +SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_get_ngwt__Group(struct soap*, ngwt__Group *, const char*, const char*); +SOAP_FMAC3 ngwt__Group * SOAP_FMAC4 soap_in_ngwt__Group(struct soap*, const char*, ngwt__Group *, const char*); +SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_new_ngwt__Group(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Group(struct soap*, ngwt__Group*); +SOAP_FMAC5 ngwt__Group * SOAP_FMAC6 soap_instantiate_ngwt__Group(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Group(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FullName +#define SOAP_TYPE_ngwt__FullName (76) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FullName(struct soap*, const char*, int, const ngwt__FullName *, const char*); +SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_get_ngwt__FullName(struct soap*, ngwt__FullName *, const char*, const char*); +SOAP_FMAC3 ngwt__FullName * SOAP_FMAC4 soap_in_ngwt__FullName(struct soap*, const char*, ngwt__FullName *, const char*); +SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_new_ngwt__FullName(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FullName(struct soap*, ngwt__FullName*); +SOAP_FMAC5 ngwt__FullName * SOAP_FMAC6 soap_instantiate_ngwt__FullName(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FullName(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__From +#define SOAP_TYPE_ngwt__From (75) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__From(struct soap*, const char*, int, const ngwt__From *, const char*); +SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_get_ngwt__From(struct soap*, ngwt__From *, const char*, const char*); +SOAP_FMAC3 ngwt__From * SOAP_FMAC4 soap_in_ngwt__From(struct soap*, const char*, ngwt__From *, const char*); +SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_new_ngwt__From(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__From(struct soap*, ngwt__From*); +SOAP_FMAC5 ngwt__From * SOAP_FMAC6 soap_instantiate_ngwt__From(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__From(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FreeBusyStats +#define SOAP_TYPE_ngwt__FreeBusyStats (74) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyStats(struct soap*, const char*, int, const ngwt__FreeBusyStats *, const char*); +SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_get_ngwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats *, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyStats * SOAP_FMAC4 soap_in_ngwt__FreeBusyStats(struct soap*, const char*, ngwt__FreeBusyStats *, const char*); +SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_new_ngwt__FreeBusyStats(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats*); +SOAP_FMAC5 ngwt__FreeBusyStats * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyStats(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyStats(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FreeBusyInfoList +#define SOAP_TYPE_ngwt__FreeBusyInfoList (73) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfoList(struct soap*, const char*, int, const ngwt__FreeBusyInfoList *, const char*); +SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList *, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyInfoList * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfoList(struct soap*, const char*, ngwt__FreeBusyInfoList *, const char*); +SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfoList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList*); +SOAP_FMAC5 ngwt__FreeBusyInfoList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfoList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfoList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FreeBusyUserList +#define SOAP_TYPE_ngwt__FreeBusyUserList (72) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyUserList(struct soap*, const char*, int, const ngwt__FreeBusyUserList *, const char*); +SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_get_ngwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList *, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyUserList * SOAP_FMAC4 soap_in_ngwt__FreeBusyUserList(struct soap*, const char*, ngwt__FreeBusyUserList *, const char*); +SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_new_ngwt__FreeBusyUserList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList*); +SOAP_FMAC5 ngwt__FreeBusyUserList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyUserList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyUserList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FreeBusyInfo +#define SOAP_TYPE_ngwt__FreeBusyInfo (71) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyInfo(struct soap*, const char*, int, const ngwt__FreeBusyInfo *, const char*); +SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_get_ngwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyInfo * SOAP_FMAC4 soap_in_ngwt__FreeBusyInfo(struct soap*, const char*, ngwt__FreeBusyInfo *, const char*); +SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_new_ngwt__FreeBusyInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo*); +SOAP_FMAC5 ngwt__FreeBusyInfo * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FreeBusyBlock +#define SOAP_TYPE_ngwt__FreeBusyBlock (70) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlock(struct soap*, const char*, int, const ngwt__FreeBusyBlock *, const char*); +SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock *, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyBlock * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlock(struct soap*, const char*, ngwt__FreeBusyBlock *, const char*); +SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlock(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock*); +SOAP_FMAC5 ngwt__FreeBusyBlock * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlock(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlock(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FreeBusyBlockList +#define SOAP_TYPE_ngwt__FreeBusyBlockList (69) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FreeBusyBlockList(struct soap*, const char*, int, const ngwt__FreeBusyBlockList *, const char*); +SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_get_ngwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList *, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyBlockList * SOAP_FMAC4 soap_in_ngwt__FreeBusyBlockList(struct soap*, const char*, ngwt__FreeBusyBlockList *, const char*); +SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_new_ngwt__FreeBusyBlockList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList*); +SOAP_FMAC5 ngwt__FreeBusyBlockList * SOAP_FMAC6 soap_instantiate_ngwt__FreeBusyBlockList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FreeBusyBlockList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FolderList +#define SOAP_TYPE_ngwt__FolderList (68) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderList(struct soap*, const char*, int, const ngwt__FolderList *, const char*); +SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_get_ngwt__FolderList(struct soap*, ngwt__FolderList *, const char*, const char*); +SOAP_FMAC3 ngwt__FolderList * SOAP_FMAC4 soap_in_ngwt__FolderList(struct soap*, const char*, ngwt__FolderList *, const char*); +SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_new_ngwt__FolderList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderList(struct soap*, ngwt__FolderList*); +SOAP_FMAC5 ngwt__FolderList * SOAP_FMAC6 soap_instantiate_ngwt__FolderList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FolderACLEntry +#define SOAP_TYPE_ngwt__FolderACLEntry (67) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACLEntry(struct soap*, const char*, int, const ngwt__FolderACLEntry *, const char*); +SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_get_ngwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__FolderACLEntry * SOAP_FMAC4 soap_in_ngwt__FolderACLEntry(struct soap*, const char*, ngwt__FolderACLEntry *, const char*); +SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_new_ngwt__FolderACLEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry*); +SOAP_FMAC5 ngwt__FolderACLEntry * SOAP_FMAC6 soap_instantiate_ngwt__FolderACLEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACLEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FolderACL +#define SOAP_TYPE_ngwt__FolderACL (66) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FolderACL(struct soap*, const char*, int, const ngwt__FolderACL *, const char*); +SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_get_ngwt__FolderACL(struct soap*, ngwt__FolderACL *, const char*, const char*); +SOAP_FMAC3 ngwt__FolderACL * SOAP_FMAC4 soap_in_ngwt__FolderACL(struct soap*, const char*, ngwt__FolderACL *, const char*); +SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_new_ngwt__FolderACL(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FolderACL(struct soap*, ngwt__FolderACL*); +SOAP_FMAC5 ngwt__FolderACL * SOAP_FMAC6 soap_instantiate_ngwt__FolderACL(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FolderACL(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Folder +#define SOAP_TYPE_ngwt__Folder (65) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Folder(struct soap*, const char*, int, const ngwt__Folder *, const char*); +SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_get_ngwt__Folder(struct soap*, ngwt__Folder *, const char*, const char*); +SOAP_FMAC3 ngwt__Folder * SOAP_FMAC4 soap_in_ngwt__Folder(struct soap*, const char*, ngwt__Folder *, const char*); +SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_new_ngwt__Folder(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Folder(struct soap*, ngwt__Folder*); +SOAP_FMAC5 ngwt__Folder * SOAP_FMAC6 soap_instantiate_ngwt__Folder(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Folder(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FilterGroup +#define SOAP_TYPE_ngwt__FilterGroup (64) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterGroup(struct soap*, const char*, int, const ngwt__FilterGroup *, const char*); +SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_get_ngwt__FilterGroup(struct soap*, ngwt__FilterGroup *, const char*, const char*); +SOAP_FMAC3 ngwt__FilterGroup * SOAP_FMAC4 soap_in_ngwt__FilterGroup(struct soap*, const char*, ngwt__FilterGroup *, const char*); +SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_new_ngwt__FilterGroup(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterGroup(struct soap*, ngwt__FilterGroup*); +SOAP_FMAC5 ngwt__FilterGroup * SOAP_FMAC6 soap_instantiate_ngwt__FilterGroup(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterGroup(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FilterEntry +#define SOAP_TYPE_ngwt__FilterEntry (63) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterEntry(struct soap*, const char*, int, const ngwt__FilterEntry *, const char*); +SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_get_ngwt__FilterEntry(struct soap*, ngwt__FilterEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__FilterEntry * SOAP_FMAC4 soap_in_ngwt__FilterEntry(struct soap*, const char*, ngwt__FilterEntry *, const char*); +SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_new_ngwt__FilterEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterEntry(struct soap*, ngwt__FilterEntry*); +SOAP_FMAC5 ngwt__FilterEntry * SOAP_FMAC6 soap_instantiate_ngwt__FilterEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__FilterElement +#define SOAP_TYPE_ngwt__FilterElement (62) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__FilterElement(struct soap*, const char*, int, const ngwt__FilterElement *, const char*); +SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_get_ngwt__FilterElement(struct soap*, ngwt__FilterElement *, const char*, const char*); +SOAP_FMAC3 ngwt__FilterElement * SOAP_FMAC4 soap_in_ngwt__FilterElement(struct soap*, const char*, ngwt__FilterElement *, const char*); +SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_new_ngwt__FilterElement(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__FilterElement(struct soap*, ngwt__FilterElement*); +SOAP_FMAC5 ngwt__FilterElement * SOAP_FMAC6 soap_instantiate_ngwt__FilterElement(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__FilterElement(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Filter +#define SOAP_TYPE_ngwt__Filter (61) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Filter(struct soap*, const char*, int, const ngwt__Filter *, const char*); +SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_get_ngwt__Filter(struct soap*, ngwt__Filter *, const char*, const char*); +SOAP_FMAC3 ngwt__Filter * SOAP_FMAC4 soap_in_ngwt__Filter(struct soap*, const char*, ngwt__Filter *, const char*); +SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_new_ngwt__Filter(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Filter(struct soap*, ngwt__Filter*); +SOAP_FMAC5 ngwt__Filter * SOAP_FMAC6 soap_instantiate_ngwt__Filter(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Filter(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__EmailAddressList +#define SOAP_TYPE_ngwt__EmailAddressList (60) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__EmailAddressList(struct soap*, const char*, int, const ngwt__EmailAddressList *, const char*); +SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_get_ngwt__EmailAddressList(struct soap*, ngwt__EmailAddressList *, const char*, const char*); +SOAP_FMAC3 ngwt__EmailAddressList * SOAP_FMAC4 soap_in_ngwt__EmailAddressList(struct soap*, const char*, ngwt__EmailAddressList *, const char*); +SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_new_ngwt__EmailAddressList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__EmailAddressList(struct soap*, ngwt__EmailAddressList*); +SOAP_FMAC5 ngwt__EmailAddressList * SOAP_FMAC6 soap_instantiate_ngwt__EmailAddressList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__EmailAddressList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DocumentTypeList +#define SOAP_TYPE_ngwt__DocumentTypeList (59) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentTypeList(struct soap*, const char*, int, const ngwt__DocumentTypeList *, const char*); +SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_get_ngwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList *, const char*, const char*); +SOAP_FMAC3 ngwt__DocumentTypeList * SOAP_FMAC4 soap_in_ngwt__DocumentTypeList(struct soap*, const char*, ngwt__DocumentTypeList *, const char*); +SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_new_ngwt__DocumentTypeList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList*); +SOAP_FMAC5 ngwt__DocumentTypeList * SOAP_FMAC6 soap_instantiate_ngwt__DocumentTypeList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentTypeList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DocumentType +#define SOAP_TYPE_ngwt__DocumentType (58) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentType(struct soap*, const char*, int, const ngwt__DocumentType *, const char*); +SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_get_ngwt__DocumentType(struct soap*, ngwt__DocumentType *, const char*, const char*); +SOAP_FMAC3 ngwt__DocumentType * SOAP_FMAC4 soap_in_ngwt__DocumentType(struct soap*, const char*, ngwt__DocumentType *, const char*); +SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_new_ngwt__DocumentType(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentType(struct soap*, ngwt__DocumentType*); +SOAP_FMAC5 ngwt__DocumentType * SOAP_FMAC6 soap_instantiate_ngwt__DocumentType(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentType(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DocumentRef +#define SOAP_TYPE_ngwt__DocumentRef (57) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DocumentRef(struct soap*, const char*, int, const ngwt__DocumentRef *, const char*); +SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_get_ngwt__DocumentRef(struct soap*, ngwt__DocumentRef *, const char*, const char*); +SOAP_FMAC3 ngwt__DocumentRef * SOAP_FMAC4 soap_in_ngwt__DocumentRef(struct soap*, const char*, ngwt__DocumentRef *, const char*); +SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_new_ngwt__DocumentRef(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DocumentRef(struct soap*, ngwt__DocumentRef*); +SOAP_FMAC5 ngwt__DocumentRef * SOAP_FMAC6 soap_instantiate_ngwt__DocumentRef(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DocumentRef(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Document +#define SOAP_TYPE_ngwt__Document (56) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Document(struct soap*, const char*, int, const ngwt__Document *, const char*); +SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_get_ngwt__Document(struct soap*, ngwt__Document *, const char*, const char*); +SOAP_FMAC3 ngwt__Document * SOAP_FMAC4 soap_in_ngwt__Document(struct soap*, const char*, ngwt__Document *, const char*); +SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_new_ngwt__Document(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Document(struct soap*, ngwt__Document*); +SOAP_FMAC5 ngwt__Document * SOAP_FMAC6 soap_instantiate_ngwt__Document(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Document(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Distribution +#define SOAP_TYPE_ngwt__Distribution (55) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Distribution(struct soap*, const char*, int, const ngwt__Distribution *, const char*); +SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_get_ngwt__Distribution(struct soap*, ngwt__Distribution *, const char*, const char*); +SOAP_FMAC3 ngwt__Distribution * SOAP_FMAC4 soap_in_ngwt__Distribution(struct soap*, const char*, ngwt__Distribution *, const char*); +SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_new_ngwt__Distribution(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Distribution(struct soap*, ngwt__Distribution*); +SOAP_FMAC5 ngwt__Distribution * SOAP_FMAC6 soap_instantiate_ngwt__Distribution(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Distribution(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DeltaInfo +#define SOAP_TYPE_ngwt__DeltaInfo (54) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DeltaInfo(struct soap*, const char*, int, const ngwt__DeltaInfo *, const char*); +SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_get_ngwt__DeltaInfo(struct soap*, ngwt__DeltaInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__DeltaInfo * SOAP_FMAC4 soap_in_ngwt__DeltaInfo(struct soap*, const char*, ngwt__DeltaInfo *, const char*); +SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_new_ngwt__DeltaInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DeltaInfo(struct soap*, ngwt__DeltaInfo*); +SOAP_FMAC5 ngwt__DeltaInfo * SOAP_FMAC6 soap_instantiate_ngwt__DeltaInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DeltaInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DelegateeStatus +#define SOAP_TYPE_ngwt__DelegateeStatus (53) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegateeStatus(struct soap*, const char*, int, const ngwt__DelegateeStatus *, const char*); +SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_get_ngwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus *, const char*, const char*); +SOAP_FMAC3 ngwt__DelegateeStatus * SOAP_FMAC4 soap_in_ngwt__DelegateeStatus(struct soap*, const char*, ngwt__DelegateeStatus *, const char*); +SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_new_ngwt__DelegateeStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus*); +SOAP_FMAC5 ngwt__DelegateeStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegateeStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegateeStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DelegatedStatus +#define SOAP_TYPE_ngwt__DelegatedStatus (52) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DelegatedStatus(struct soap*, const char*, int, const ngwt__DelegatedStatus *, const char*); +SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_get_ngwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus *, const char*, const char*); +SOAP_FMAC3 ngwt__DelegatedStatus * SOAP_FMAC4 soap_in_ngwt__DelegatedStatus(struct soap*, const char*, ngwt__DelegatedStatus *, const char*); +SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_new_ngwt__DelegatedStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus*); +SOAP_FMAC5 ngwt__DelegatedStatus * SOAP_FMAC6 soap_instantiate_ngwt__DelegatedStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DelegatedStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DayOfYearWeekList +#define SOAP_TYPE_ngwt__DayOfYearWeekList (51) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeekList(struct soap*, const char*, int, const ngwt__DayOfYearWeekList *, const char*); +SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList *, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfYearWeekList * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeekList(struct soap*, const char*, ngwt__DayOfYearWeekList *, const char*); +SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeekList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList*); +SOAP_FMAC5 ngwt__DayOfYearWeekList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeekList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeekList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DayOfYearWeek +#define SOAP_TYPE_ngwt__DayOfYearWeek (50) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearWeek(struct soap*, const char*, int, const ngwt__DayOfYearWeek *, const char*); +SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_get_ngwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek *, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfYearWeek * SOAP_FMAC4 soap_in_ngwt__DayOfYearWeek(struct soap*, const char*, ngwt__DayOfYearWeek *, const char*); +SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_new_ngwt__DayOfYearWeek(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek*); +SOAP_FMAC5 ngwt__DayOfYearWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearWeek(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearWeek(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DayOfYearList +#define SOAP_TYPE_ngwt__DayOfYearList (49) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfYearList(struct soap*, const char*, int, const ngwt__DayOfYearList *, const char*); +SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_get_ngwt__DayOfYearList(struct soap*, ngwt__DayOfYearList *, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfYearList * SOAP_FMAC4 soap_in_ngwt__DayOfYearList(struct soap*, const char*, ngwt__DayOfYearList *, const char*); +SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_new_ngwt__DayOfYearList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfYearList(struct soap*, ngwt__DayOfYearList*); +SOAP_FMAC5 ngwt__DayOfYearList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfYearList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfYearList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DayOfWeek +#define SOAP_TYPE_ngwt__DayOfWeek (48) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfWeek(struct soap*, const char*, int, const ngwt__DayOfWeek *, const char*); +SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_get_ngwt__DayOfWeek(struct soap*, ngwt__DayOfWeek *, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfWeek * SOAP_FMAC4 soap_in_ngwt__DayOfWeek(struct soap*, const char*, ngwt__DayOfWeek *, const char*); +SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_new_ngwt__DayOfWeek(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfWeek(struct soap*, ngwt__DayOfWeek*); +SOAP_FMAC5 ngwt__DayOfWeek * SOAP_FMAC6 soap_instantiate_ngwt__DayOfWeek(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfWeek(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__DayOfMonthList +#define SOAP_TYPE_ngwt__DayOfMonthList (47) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__DayOfMonthList(struct soap*, const char*, int, const ngwt__DayOfMonthList *, const char*); +SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_get_ngwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList *, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfMonthList * SOAP_FMAC4 soap_in_ngwt__DayOfMonthList(struct soap*, const char*, ngwt__DayOfMonthList *, const char*); +SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_new_ngwt__DayOfMonthList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList*); +SOAP_FMAC5 ngwt__DayOfMonthList * SOAP_FMAC6 soap_instantiate_ngwt__DayOfMonthList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__DayOfMonthList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__CustomList +#define SOAP_TYPE_ngwt__CustomList (46) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CustomList(struct soap*, const char*, int, const ngwt__CustomList *, const char*); +SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_get_ngwt__CustomList(struct soap*, ngwt__CustomList *, const char*, const char*); +SOAP_FMAC3 ngwt__CustomList * SOAP_FMAC4 soap_in_ngwt__CustomList(struct soap*, const char*, ngwt__CustomList *, const char*); +SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_new_ngwt__CustomList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CustomList(struct soap*, ngwt__CustomList*); +SOAP_FMAC5 ngwt__CustomList * SOAP_FMAC6 soap_instantiate_ngwt__CustomList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CustomList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Custom +#define SOAP_TYPE_ngwt__Custom (45) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Custom(struct soap*, const char*, int, const ngwt__Custom *, const char*); +SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_get_ngwt__Custom(struct soap*, ngwt__Custom *, const char*, const char*); +SOAP_FMAC3 ngwt__Custom * SOAP_FMAC4 soap_in_ngwt__Custom(struct soap*, const char*, ngwt__Custom *, const char*); +SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_new_ngwt__Custom(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Custom(struct soap*, ngwt__Custom*); +SOAP_FMAC5 ngwt__Custom * SOAP_FMAC6 soap_instantiate_ngwt__Custom(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Custom(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ContainerRef +#define SOAP_TYPE_ngwt__ContainerRef (44) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerRef(struct soap*, const char*, int, const ngwt__ContainerRef *, const char*); +SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_get_ngwt__ContainerRef(struct soap*, ngwt__ContainerRef *, const char*, const char*); +SOAP_FMAC3 ngwt__ContainerRef * SOAP_FMAC4 soap_in_ngwt__ContainerRef(struct soap*, const char*, ngwt__ContainerRef *, const char*); +SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_new_ngwt__ContainerRef(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerRef(struct soap*, ngwt__ContainerRef*); +SOAP_FMAC5 ngwt__ContainerRef * SOAP_FMAC6 soap_instantiate_ngwt__ContainerRef(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerRef(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ContainerItem +#define SOAP_TYPE_ngwt__ContainerItem (43) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContainerItem(struct soap*, const char*, int, const ngwt__ContainerItem *, const char*); +SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_get_ngwt__ContainerItem(struct soap*, ngwt__ContainerItem *, const char*, const char*); +SOAP_FMAC3 ngwt__ContainerItem * SOAP_FMAC4 soap_in_ngwt__ContainerItem(struct soap*, const char*, ngwt__ContainerItem *, const char*); +SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_new_ngwt__ContainerItem(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContainerItem(struct soap*, ngwt__ContainerItem*); +SOAP_FMAC5 ngwt__ContainerItem * SOAP_FMAC6 soap_instantiate_ngwt__ContainerItem(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContainerItem(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__ContactFolder +#define SOAP_TYPE_ngwt__ContactFolder (42) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__ContactFolder(struct soap*, const char*, int, const ngwt__ContactFolder *, const char*); +SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_get_ngwt__ContactFolder(struct soap*, ngwt__ContactFolder *, const char*, const char*); +SOAP_FMAC3 ngwt__ContactFolder * SOAP_FMAC4 soap_in_ngwt__ContactFolder(struct soap*, const char*, ngwt__ContactFolder *, const char*); +SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_new_ngwt__ContactFolder(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__ContactFolder(struct soap*, ngwt__ContactFolder*); +SOAP_FMAC5 ngwt__ContactFolder * SOAP_FMAC6 soap_instantiate_ngwt__ContactFolder(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__ContactFolder(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Contact +#define SOAP_TYPE_ngwt__Contact (41) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Contact(struct soap*, const char*, int, const ngwt__Contact *, const char*); +SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_get_ngwt__Contact(struct soap*, ngwt__Contact *, const char*, const char*); +SOAP_FMAC3 ngwt__Contact * SOAP_FMAC4 soap_in_ngwt__Contact(struct soap*, const char*, ngwt__Contact *, const char*); +SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_new_ngwt__Contact(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Contact(struct soap*, ngwt__Contact*); +SOAP_FMAC5 ngwt__Contact * SOAP_FMAC6 soap_instantiate_ngwt__Contact(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Contact(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__CommentStatus +#define SOAP_TYPE_ngwt__CommentStatus (40) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CommentStatus(struct soap*, const char*, int, const ngwt__CommentStatus *, const char*); +SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_get_ngwt__CommentStatus(struct soap*, ngwt__CommentStatus *, const char*, const char*); +SOAP_FMAC3 ngwt__CommentStatus * SOAP_FMAC4 soap_in_ngwt__CommentStatus(struct soap*, const char*, ngwt__CommentStatus *, const char*); +SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_new_ngwt__CommentStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CommentStatus(struct soap*, ngwt__CommentStatus*); +SOAP_FMAC5 ngwt__CommentStatus * SOAP_FMAC6 soap_instantiate_ngwt__CommentStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CommentStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__CategoryRefList +#define SOAP_TYPE_ngwt__CategoryRefList (39) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryRefList(struct soap*, const char*, int, const ngwt__CategoryRefList *, const char*); +SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_get_ngwt__CategoryRefList(struct soap*, ngwt__CategoryRefList *, const char*, const char*); +SOAP_FMAC3 ngwt__CategoryRefList * SOAP_FMAC4 soap_in_ngwt__CategoryRefList(struct soap*, const char*, ngwt__CategoryRefList *, const char*); +SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_new_ngwt__CategoryRefList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryRefList(struct soap*, ngwt__CategoryRefList*); +SOAP_FMAC5 ngwt__CategoryRefList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryRefList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryRefList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__CategoryList +#define SOAP_TYPE_ngwt__CategoryList (38) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CategoryList(struct soap*, const char*, int, const ngwt__CategoryList *, const char*); +SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_get_ngwt__CategoryList(struct soap*, ngwt__CategoryList *, const char*, const char*); +SOAP_FMAC3 ngwt__CategoryList * SOAP_FMAC4 soap_in_ngwt__CategoryList(struct soap*, const char*, ngwt__CategoryList *, const char*); +SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_new_ngwt__CategoryList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CategoryList(struct soap*, ngwt__CategoryList*); +SOAP_FMAC5 ngwt__CategoryList * SOAP_FMAC6 soap_instantiate_ngwt__CategoryList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CategoryList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Category +#define SOAP_TYPE_ngwt__Category (37) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Category(struct soap*, const char*, int, const ngwt__Category *, const char*); +SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_get_ngwt__Category(struct soap*, ngwt__Category *, const char*, const char*); +SOAP_FMAC3 ngwt__Category * SOAP_FMAC4 soap_in_ngwt__Category(struct soap*, const char*, ngwt__Category *, const char*); +SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_new_ngwt__Category(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Category(struct soap*, ngwt__Category*); +SOAP_FMAC5 ngwt__Category * SOAP_FMAC6 soap_instantiate_ngwt__Category(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Category(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__CalendarItem +#define SOAP_TYPE_ngwt__CalendarItem (36) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarItem(struct soap*, const char*, int, const ngwt__CalendarItem *, const char*); +SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_get_ngwt__CalendarItem(struct soap*, ngwt__CalendarItem *, const char*, const char*); +SOAP_FMAC3 ngwt__CalendarItem * SOAP_FMAC4 soap_in_ngwt__CalendarItem(struct soap*, const char*, ngwt__CalendarItem *, const char*); +SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_new_ngwt__CalendarItem(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarItem(struct soap*, ngwt__CalendarItem*); +SOAP_FMAC5 ngwt__CalendarItem * SOAP_FMAC6 soap_instantiate_ngwt__CalendarItem(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarItem(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__CalendarFolderAttribute +#define SOAP_TYPE_ngwt__CalendarFolderAttribute (35) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__CalendarFolderAttribute(struct soap*, const char*, int, const ngwt__CalendarFolderAttribute *, const char*); +SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_get_ngwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute *, const char*, const char*); +SOAP_FMAC3 ngwt__CalendarFolderAttribute * SOAP_FMAC4 soap_in_ngwt__CalendarFolderAttribute(struct soap*, const char*, ngwt__CalendarFolderAttribute *, const char*); +SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_new_ngwt__CalendarFolderAttribute(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute*); +SOAP_FMAC5 ngwt__CalendarFolderAttribute * SOAP_FMAC6 soap_instantiate_ngwt__CalendarFolderAttribute(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__CalendarFolderAttribute(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__BoxEntry +#define SOAP_TYPE_ngwt__BoxEntry (34) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__BoxEntry(struct soap*, const char*, int, const ngwt__BoxEntry *, const char*); +SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_get_ngwt__BoxEntry(struct soap*, ngwt__BoxEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__BoxEntry * SOAP_FMAC4 soap_in_ngwt__BoxEntry(struct soap*, const char*, ngwt__BoxEntry *, const char*); +SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_new_ngwt__BoxEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__BoxEntry(struct soap*, ngwt__BoxEntry*); +SOAP_FMAC5 ngwt__BoxEntry * SOAP_FMAC6 soap_instantiate_ngwt__BoxEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__BoxEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Authentication +#define SOAP_TYPE_ngwt__Authentication (33) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Authentication(struct soap*, const char*, int, const ngwt__Authentication *, const char*); +SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_get_ngwt__Authentication(struct soap*, ngwt__Authentication *, const char*, const char*); +SOAP_FMAC3 ngwt__Authentication * SOAP_FMAC4 soap_in_ngwt__Authentication(struct soap*, const char*, ngwt__Authentication *, const char*); +SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_new_ngwt__Authentication(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Authentication(struct soap*, ngwt__Authentication*); +SOAP_FMAC5 ngwt__Authentication * SOAP_FMAC6 soap_instantiate_ngwt__Authentication(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Authentication(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AttachmentItemInfo +#define SOAP_TYPE_ngwt__AttachmentItemInfo (32) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentItemInfo(struct soap*, const char*, int, const ngwt__AttachmentItemInfo *, const char*); +SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__AttachmentItemInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentItemInfo(struct soap*, const char*, ngwt__AttachmentItemInfo *, const char*); +SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentItemInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo*); +SOAP_FMAC5 ngwt__AttachmentItemInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentItemInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentItemInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AttachmentInfo +#define SOAP_TYPE_ngwt__AttachmentInfo (31) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentInfo(struct soap*, const char*, int, const ngwt__AttachmentInfo *, const char*); +SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_get_ngwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo *, const char*, const char*); +SOAP_FMAC3 ngwt__AttachmentInfo * SOAP_FMAC4 soap_in_ngwt__AttachmentInfo(struct soap*, const char*, ngwt__AttachmentInfo *, const char*); +SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_new_ngwt__AttachmentInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo*); +SOAP_FMAC5 ngwt__AttachmentInfo * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AttachmentID +#define SOAP_TYPE_ngwt__AttachmentID (30) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AttachmentID(struct soap*, const char*, int, const ngwt__AttachmentID *, const char*); +SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_get_ngwt__AttachmentID(struct soap*, ngwt__AttachmentID *, const char*, const char*); +SOAP_FMAC3 ngwt__AttachmentID * SOAP_FMAC4 soap_in_ngwt__AttachmentID(struct soap*, const char*, ngwt__AttachmentID *, const char*); +SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_new_ngwt__AttachmentID(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AttachmentID(struct soap*, ngwt__AttachmentID*); +SOAP_FMAC5 ngwt__AttachmentID * SOAP_FMAC6 soap_instantiate_ngwt__AttachmentID(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AttachmentID(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Appointment +#define SOAP_TYPE_ngwt__Appointment (29) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Appointment(struct soap*, const char*, int, const ngwt__Appointment *, const char*); +SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_get_ngwt__Appointment(struct soap*, ngwt__Appointment *, const char*, const char*); +SOAP_FMAC3 ngwt__Appointment * SOAP_FMAC4 soap_in_ngwt__Appointment(struct soap*, const char*, ngwt__Appointment *, const char*); +SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_new_ngwt__Appointment(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Appointment(struct soap*, ngwt__Appointment*); +SOAP_FMAC5 ngwt__Appointment * SOAP_FMAC6 soap_instantiate_ngwt__Appointment(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Appointment(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__Alarm +#define SOAP_TYPE_ngwt__Alarm (28) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__Alarm(struct soap*, const char*, int, const ngwt__Alarm *, const char*); +SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_get_ngwt__Alarm(struct soap*, ngwt__Alarm *, const char*, const char*); +SOAP_FMAC3 ngwt__Alarm * SOAP_FMAC4 soap_in_ngwt__Alarm(struct soap*, const char*, ngwt__Alarm *, const char*); +SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_new_ngwt__Alarm(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__Alarm(struct soap*, ngwt__Alarm*); +SOAP_FMAC5 ngwt__Alarm * SOAP_FMAC6 soap_instantiate_ngwt__Alarm(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__Alarm(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AddressBookList +#define SOAP_TYPE_ngwt__AddressBookList (27) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookList(struct soap*, const char*, int, const ngwt__AddressBookList *, const char*); +SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_get_ngwt__AddressBookList(struct soap*, ngwt__AddressBookList *, const char*, const char*); +SOAP_FMAC3 ngwt__AddressBookList * SOAP_FMAC4 soap_in_ngwt__AddressBookList(struct soap*, const char*, ngwt__AddressBookList *, const char*); +SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_new_ngwt__AddressBookList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookList(struct soap*, ngwt__AddressBookList*); +SOAP_FMAC5 ngwt__AddressBookList * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AddressBookItem +#define SOAP_TYPE_ngwt__AddressBookItem (26) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBookItem(struct soap*, const char*, int, const ngwt__AddressBookItem *, const char*); +SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_get_ngwt__AddressBookItem(struct soap*, ngwt__AddressBookItem *, const char*, const char*); +SOAP_FMAC3 ngwt__AddressBookItem * SOAP_FMAC4 soap_in_ngwt__AddressBookItem(struct soap*, const char*, ngwt__AddressBookItem *, const char*); +SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_new_ngwt__AddressBookItem(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBookItem(struct soap*, ngwt__AddressBookItem*); +SOAP_FMAC5 ngwt__AddressBookItem * SOAP_FMAC6 soap_instantiate_ngwt__AddressBookItem(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBookItem(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AddressBook +#define SOAP_TYPE_ngwt__AddressBook (25) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AddressBook(struct soap*, const char*, int, const ngwt__AddressBook *, const char*); +SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_get_ngwt__AddressBook(struct soap*, ngwt__AddressBook *, const char*, const char*); +SOAP_FMAC3 ngwt__AddressBook * SOAP_FMAC4 soap_in_ngwt__AddressBook(struct soap*, const char*, ngwt__AddressBook *, const char*); +SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_new_ngwt__AddressBook(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AddressBook(struct soap*, ngwt__AddressBook*); +SOAP_FMAC5 ngwt__AddressBook * SOAP_FMAC6 soap_instantiate_ngwt__AddressBook(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AddressBook(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessRightList +#define SOAP_TYPE_ngwt__AccessRightList (24) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightList(struct soap*, const char*, int, const ngwt__AccessRightList *, const char*); +SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_get_ngwt__AccessRightList(struct soap*, ngwt__AccessRightList *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRightList * SOAP_FMAC4 soap_in_ngwt__AccessRightList(struct soap*, const char*, ngwt__AccessRightList *, const char*); +SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_new_ngwt__AccessRightList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightList(struct soap*, ngwt__AccessRightList*); +SOAP_FMAC5 ngwt__AccessRightList * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessRightEntry +#define SOAP_TYPE_ngwt__AccessRightEntry (23) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightEntry(struct soap*, const char*, int, const ngwt__AccessRightEntry *, const char*); +SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_get_ngwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRightEntry * SOAP_FMAC4 soap_in_ngwt__AccessRightEntry(struct soap*, const char*, ngwt__AccessRightEntry *, const char*); +SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_new_ngwt__AccessRightEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry*); +SOAP_FMAC5 ngwt__AccessRightEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessRightChanges +#define SOAP_TYPE_ngwt__AccessRightChanges (22) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRightChanges(struct soap*, const char*, int, const ngwt__AccessRightChanges *, const char*); +SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_get_ngwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRightChanges * SOAP_FMAC4 soap_in_ngwt__AccessRightChanges(struct soap*, const char*, ngwt__AccessRightChanges *, const char*); +SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_new_ngwt__AccessRightChanges(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges*); +SOAP_FMAC5 ngwt__AccessRightChanges * SOAP_FMAC6 soap_instantiate_ngwt__AccessRightChanges(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRightChanges(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessRight +#define SOAP_TYPE_ngwt__AccessRight (21) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessRight(struct soap*, const char*, int, const ngwt__AccessRight *, const char*); +SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_get_ngwt__AccessRight(struct soap*, ngwt__AccessRight *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRight * SOAP_FMAC4 soap_in_ngwt__AccessRight(struct soap*, const char*, ngwt__AccessRight *, const char*); +SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_new_ngwt__AccessRight(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessRight(struct soap*, ngwt__AccessRight*); +SOAP_FMAC5 ngwt__AccessRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessRight(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessRight(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessMiscRight +#define SOAP_TYPE_ngwt__AccessMiscRight (20) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessMiscRight(struct soap*, const char*, int, const ngwt__AccessMiscRight *, const char*); +SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_get_ngwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessMiscRight * SOAP_FMAC4 soap_in_ngwt__AccessMiscRight(struct soap*, const char*, ngwt__AccessMiscRight *, const char*); +SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_new_ngwt__AccessMiscRight(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight*); +SOAP_FMAC5 ngwt__AccessMiscRight * SOAP_FMAC6 soap_instantiate_ngwt__AccessMiscRight(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessMiscRight(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessControlList +#define SOAP_TYPE_ngwt__AccessControlList (19) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlList(struct soap*, const char*, int, const ngwt__AccessControlList *, const char*); +SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_get_ngwt__AccessControlList(struct soap*, ngwt__AccessControlList *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessControlList * SOAP_FMAC4 soap_in_ngwt__AccessControlList(struct soap*, const char*, ngwt__AccessControlList *, const char*); +SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_new_ngwt__AccessControlList(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlList(struct soap*, ngwt__AccessControlList*); +SOAP_FMAC5 ngwt__AccessControlList * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlList(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlList(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_ngwt__AccessControlListEntry +#define SOAP_TYPE_ngwt__AccessControlListEntry (18) +#endif + +SOAP_FMAC3 int SOAP_FMAC4 soap_out_ngwt__AccessControlListEntry(struct soap*, const char*, int, const ngwt__AccessControlListEntry *, const char*); +SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_get_ngwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry *, const char*, const char*); +SOAP_FMAC3 ngwt__AccessControlListEntry * SOAP_FMAC4 soap_in_ngwt__AccessControlListEntry(struct soap*, const char*, ngwt__AccessControlListEntry *, const char*); +SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_new_ngwt__AccessControlListEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_ngwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry*); +SOAP_FMAC5 ngwt__AccessControlListEntry * SOAP_FMAC6 soap_instantiate_ngwt__AccessControlListEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_ngwt__AccessControlListEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_xsd__language +#define SOAP_TYPE_xsd__language (17) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__language(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__language(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__language(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__language(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__language(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__language(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__language(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__language(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__language(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__language(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_xsd__duration +#define SOAP_TYPE_xsd__duration (16) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__duration(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__duration(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__duration(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__duration(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__duration(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__duration(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__duration(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__duration(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__duration(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__duration(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_xsd__decimal +#define SOAP_TYPE_xsd__decimal (15) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__decimal(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__decimal(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__decimal(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__decimal(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__decimal(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__decimal(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__decimal(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__decimal(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__decimal(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__decimal(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_xsd__date +#define SOAP_TYPE_xsd__date (14) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__date(struct soap*, std::string const*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__date(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__date(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__date(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__date(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__date(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_xsd__date(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__date(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_xsd__date(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__date(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__string +#define SOAP_TYPE_std__string (13) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap*, const std::string *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap*, std::string *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap*, const std::string *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap*, const char*, int, const std::string*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap*, std::string *, const char*, const char*); +SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_std__string(struct soap*, const char*, std::string*, const char*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_new_std__string(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__string(struct soap*, std::string*); +SOAP_FMAC5 std::string * SOAP_FMAC6 soap_instantiate_std__string(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__string(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_xsd__base64Binary +#define SOAP_TYPE_xsd__base64Binary (7) +#endif +SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__base64Binary(struct soap*, const char*, int, const xsd__base64Binary *, const char*); +SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_get_xsd__base64Binary(struct soap*, xsd__base64Binary *, const char*, const char*); +SOAP_FMAC3 xsd__base64Binary * SOAP_FMAC4 soap_in_xsd__base64Binary(struct soap*, const char*, xsd__base64Binary *, const char*); +SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_new_xsd__base64Binary(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_xsd__base64Binary(struct soap*, xsd__base64Binary*); +SOAP_FMAC5 xsd__base64Binary * SOAP_FMAC6 soap_instantiate_xsd__base64Binary(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_xsd__base64Binary(struct soap*, int, int, void*, const void*, size_t); + +#ifndef WITH_NOGLOBAL + +#ifndef SOAP_TYPE_SOAP_ENV__Fault +#define SOAP_TYPE_SOAP_ENV__Fault (940) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*); +SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*); +SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*); + +#endif + +#ifndef WITH_NOGLOBAL + +#ifndef SOAP_TYPE_SOAP_ENV__Detail +#define SOAP_TYPE_SOAP_ENV__Detail (937) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*); +SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*); +SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*); + +#endif + +#ifndef WITH_NOGLOBAL + +#ifndef SOAP_TYPE_SOAP_ENV__Code +#define SOAP_TYPE_SOAP_ENV__Code (935) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*); +SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*); +SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*); + +#endif + +#ifndef SOAP_TYPE___ngw__removeEventsRequest +#define SOAP_TYPE___ngw__removeEventsRequest (934) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventsRequest(struct soap*, const struct __ngw__removeEventsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventsRequest(struct soap*, struct __ngw__removeEventsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventsRequest(struct soap*, const struct __ngw__removeEventsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventsRequest(struct soap*, const char*, int, const struct __ngw__removeEventsRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_get___ngw__removeEventsRequest(struct soap*, struct __ngw__removeEventsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeEventsRequest * SOAP_FMAC4 soap_in___ngw__removeEventsRequest(struct soap*, const char*, struct __ngw__removeEventsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeEventConfigurationRequest +#define SOAP_TYPE___ngw__removeEventConfigurationRequest (930) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeEventConfigurationRequest(struct soap*, const struct __ngw__removeEventConfigurationRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeEventConfigurationRequest(struct soap*, struct __ngw__removeEventConfigurationRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeEventConfigurationRequest(struct soap*, const struct __ngw__removeEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeEventConfigurationRequest(struct soap*, const char*, int, const struct __ngw__removeEventConfigurationRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__removeEventConfigurationRequest(struct soap*, struct __ngw__removeEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__removeEventConfigurationRequest(struct soap*, const char*, struct __ngw__removeEventConfigurationRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getEventsRequest +#define SOAP_TYPE___ngw__getEventsRequest (926) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventsRequest(struct soap*, const struct __ngw__getEventsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventsRequest(struct soap*, struct __ngw__getEventsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventsRequest(struct soap*, const struct __ngw__getEventsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventsRequest(struct soap*, const char*, int, const struct __ngw__getEventsRequest *, const char*); +SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_get___ngw__getEventsRequest(struct soap*, struct __ngw__getEventsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getEventsRequest * SOAP_FMAC4 soap_in___ngw__getEventsRequest(struct soap*, const char*, struct __ngw__getEventsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getEventConfigurationRequest +#define SOAP_TYPE___ngw__getEventConfigurationRequest (922) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getEventConfigurationRequest(struct soap*, const struct __ngw__getEventConfigurationRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getEventConfigurationRequest(struct soap*, struct __ngw__getEventConfigurationRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getEventConfigurationRequest(struct soap*, const struct __ngw__getEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getEventConfigurationRequest(struct soap*, const char*, int, const struct __ngw__getEventConfigurationRequest *, const char*); +SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__getEventConfigurationRequest(struct soap*, struct __ngw__getEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__getEventConfigurationRequest(struct soap*, const char*, struct __ngw__getEventConfigurationRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__configureEventsRequest +#define SOAP_TYPE___ngw__configureEventsRequest (918) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__configureEventsRequest(struct soap*, const struct __ngw__configureEventsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__configureEventsRequest(struct soap*, struct __ngw__configureEventsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__configureEventsRequest(struct soap*, const struct __ngw__configureEventsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__configureEventsRequest(struct soap*, const char*, int, const struct __ngw__configureEventsRequest *, const char*); +SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_get___ngw__configureEventsRequest(struct soap*, struct __ngw__configureEventsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__configureEventsRequest * SOAP_FMAC4 soap_in___ngw__configureEventsRequest(struct soap*, const char*, struct __ngw__configureEventsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__cleanEventConfigurationRequest +#define SOAP_TYPE___ngw__cleanEventConfigurationRequest (914) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__cleanEventConfigurationRequest(struct soap*, const struct __ngw__cleanEventConfigurationRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__cleanEventConfigurationRequest(struct soap*, struct __ngw__cleanEventConfigurationRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__cleanEventConfigurationRequest(struct soap*, const struct __ngw__cleanEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__cleanEventConfigurationRequest(struct soap*, const char*, int, const struct __ngw__cleanEventConfigurationRequest *, const char*); +SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_get___ngw__cleanEventConfigurationRequest(struct soap*, struct __ngw__cleanEventConfigurationRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__cleanEventConfigurationRequest * SOAP_FMAC4 soap_in___ngw__cleanEventConfigurationRequest(struct soap*, const char*, struct __ngw__cleanEventConfigurationRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__updateVersionStatusRequest +#define SOAP_TYPE___ngw__updateVersionStatusRequest (910) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__updateVersionStatusRequest(struct soap*, const struct __ngw__updateVersionStatusRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__updateVersionStatusRequest(struct soap*, struct __ngw__updateVersionStatusRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__updateVersionStatusRequest(struct soap*, const struct __ngw__updateVersionStatusRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__updateVersionStatusRequest(struct soap*, const char*, int, const struct __ngw__updateVersionStatusRequest *, const char*); +SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_get___ngw__updateVersionStatusRequest(struct soap*, struct __ngw__updateVersionStatusRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__updateVersionStatusRequest * SOAP_FMAC4 soap_in___ngw__updateVersionStatusRequest(struct soap*, const char*, struct __ngw__updateVersionStatusRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__uncompleteRequest +#define SOAP_TYPE___ngw__uncompleteRequest (906) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__uncompleteRequest(struct soap*, const struct __ngw__uncompleteRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__uncompleteRequest(struct soap*, struct __ngw__uncompleteRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__uncompleteRequest(struct soap*, const struct __ngw__uncompleteRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__uncompleteRequest(struct soap*, const char*, int, const struct __ngw__uncompleteRequest *, const char*); +SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_get___ngw__uncompleteRequest(struct soap*, struct __ngw__uncompleteRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__uncompleteRequest * SOAP_FMAC4 soap_in___ngw__uncompleteRequest(struct soap*, const char*, struct __ngw__uncompleteRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__unacceptRequest +#define SOAP_TYPE___ngw__unacceptRequest (902) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__unacceptRequest(struct soap*, const struct __ngw__unacceptRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__unacceptRequest(struct soap*, struct __ngw__unacceptRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__unacceptRequest(struct soap*, const struct __ngw__unacceptRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__unacceptRequest(struct soap*, const char*, int, const struct __ngw__unacceptRequest *, const char*); +SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_get___ngw__unacceptRequest(struct soap*, struct __ngw__unacceptRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__unacceptRequest * SOAP_FMAC4 soap_in___ngw__unacceptRequest(struct soap*, const char*, struct __ngw__unacceptRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__startFreeBusySessionRequest +#define SOAP_TYPE___ngw__startFreeBusySessionRequest (898) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__startFreeBusySessionRequest(struct soap*, const struct __ngw__startFreeBusySessionRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__startFreeBusySessionRequest(struct soap*, struct __ngw__startFreeBusySessionRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__startFreeBusySessionRequest(struct soap*, const struct __ngw__startFreeBusySessionRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__startFreeBusySessionRequest(struct soap*, const char*, int, const struct __ngw__startFreeBusySessionRequest *, const char*); +SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__startFreeBusySessionRequest(struct soap*, struct __ngw__startFreeBusySessionRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__startFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__startFreeBusySessionRequest(struct soap*, const char*, struct __ngw__startFreeBusySessionRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__setTimestampRequest +#define SOAP_TYPE___ngw__setTimestampRequest (894) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__setTimestampRequest(struct soap*, const struct __ngw__setTimestampRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__setTimestampRequest(struct soap*, struct __ngw__setTimestampRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__setTimestampRequest(struct soap*, const struct __ngw__setTimestampRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__setTimestampRequest(struct soap*, const char*, int, const struct __ngw__setTimestampRequest *, const char*); +SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_get___ngw__setTimestampRequest(struct soap*, struct __ngw__setTimestampRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__setTimestampRequest * SOAP_FMAC4 soap_in___ngw__setTimestampRequest(struct soap*, const char*, struct __ngw__setTimestampRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__sendItemRequest +#define SOAP_TYPE___ngw__sendItemRequest (890) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__sendItemRequest(struct soap*, const struct __ngw__sendItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__sendItemRequest(struct soap*, struct __ngw__sendItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__sendItemRequest(struct soap*, const struct __ngw__sendItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__sendItemRequest(struct soap*, const char*, int, const struct __ngw__sendItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_get___ngw__sendItemRequest(struct soap*, struct __ngw__sendItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__sendItemRequest * SOAP_FMAC4 soap_in___ngw__sendItemRequest(struct soap*, const char*, struct __ngw__sendItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__retractRequest +#define SOAP_TYPE___ngw__retractRequest (886) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__retractRequest(struct soap*, const struct __ngw__retractRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__retractRequest(struct soap*, struct __ngw__retractRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__retractRequest(struct soap*, const struct __ngw__retractRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__retractRequest(struct soap*, const char*, int, const struct __ngw__retractRequest *, const char*); +SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_get___ngw__retractRequest(struct soap*, struct __ngw__retractRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__retractRequest * SOAP_FMAC4 soap_in___ngw__retractRequest(struct soap*, const char*, struct __ngw__retractRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__replyRequest +#define SOAP_TYPE___ngw__replyRequest (882) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__replyRequest(struct soap*, const struct __ngw__replyRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__replyRequest(struct soap*, struct __ngw__replyRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__replyRequest(struct soap*, const struct __ngw__replyRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__replyRequest(struct soap*, const char*, int, const struct __ngw__replyRequest *, const char*); +SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_get___ngw__replyRequest(struct soap*, struct __ngw__replyRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__replyRequest * SOAP_FMAC4 soap_in___ngw__replyRequest(struct soap*, const char*, struct __ngw__replyRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeSignatureRequest +#define SOAP_TYPE___ngw__removeSignatureRequest (878) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeSignatureRequest(struct soap*, const struct __ngw__removeSignatureRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeSignatureRequest(struct soap*, struct __ngw__removeSignatureRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeSignatureRequest(struct soap*, const struct __ngw__removeSignatureRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeSignatureRequest(struct soap*, const char*, int, const struct __ngw__removeSignatureRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_get___ngw__removeSignatureRequest(struct soap*, struct __ngw__removeSignatureRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeSignatureRequest * SOAP_FMAC4 soap_in___ngw__removeSignatureRequest(struct soap*, const char*, struct __ngw__removeSignatureRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeProxyUserRequest +#define SOAP_TYPE___ngw__removeProxyUserRequest (874) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyUserRequest(struct soap*, const struct __ngw__removeProxyUserRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyUserRequest(struct soap*, struct __ngw__removeProxyUserRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyUserRequest(struct soap*, const struct __ngw__removeProxyUserRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyUserRequest(struct soap*, const char*, int, const struct __ngw__removeProxyUserRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_get___ngw__removeProxyUserRequest(struct soap*, struct __ngw__removeProxyUserRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeProxyUserRequest * SOAP_FMAC4 soap_in___ngw__removeProxyUserRequest(struct soap*, const char*, struct __ngw__removeProxyUserRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeProxyAccessRequest +#define SOAP_TYPE___ngw__removeProxyAccessRequest (870) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeProxyAccessRequest(struct soap*, const struct __ngw__removeProxyAccessRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeProxyAccessRequest(struct soap*, struct __ngw__removeProxyAccessRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeProxyAccessRequest(struct soap*, const struct __ngw__removeProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeProxyAccessRequest(struct soap*, const char*, int, const struct __ngw__removeProxyAccessRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__removeProxyAccessRequest(struct soap*, struct __ngw__removeProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__removeProxyAccessRequest(struct soap*, const char*, struct __ngw__removeProxyAccessRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeMembersRequest +#define SOAP_TYPE___ngw__removeMembersRequest (866) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeMembersRequest(struct soap*, const struct __ngw__removeMembersRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeMembersRequest(struct soap*, struct __ngw__removeMembersRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeMembersRequest(struct soap*, const struct __ngw__removeMembersRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeMembersRequest(struct soap*, const char*, int, const struct __ngw__removeMembersRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_get___ngw__removeMembersRequest(struct soap*, struct __ngw__removeMembersRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeMembersRequest * SOAP_FMAC4 soap_in___ngw__removeMembersRequest(struct soap*, const char*, struct __ngw__removeMembersRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeJunkEntryRequest +#define SOAP_TYPE___ngw__removeJunkEntryRequest (862) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeJunkEntryRequest(struct soap*, const struct __ngw__removeJunkEntryRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeJunkEntryRequest(struct soap*, struct __ngw__removeJunkEntryRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeJunkEntryRequest(struct soap*, const struct __ngw__removeJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeJunkEntryRequest(struct soap*, const char*, int, const struct __ngw__removeJunkEntryRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__removeJunkEntryRequest(struct soap*, struct __ngw__removeJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__removeJunkEntryRequest(struct soap*, const char*, struct __ngw__removeJunkEntryRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeItemsRequest +#define SOAP_TYPE___ngw__removeItemsRequest (858) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemsRequest(struct soap*, const struct __ngw__removeItemsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemsRequest(struct soap*, struct __ngw__removeItemsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemsRequest(struct soap*, const struct __ngw__removeItemsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemsRequest(struct soap*, const char*, int, const struct __ngw__removeItemsRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_get___ngw__removeItemsRequest(struct soap*, struct __ngw__removeItemsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeItemsRequest * SOAP_FMAC4 soap_in___ngw__removeItemsRequest(struct soap*, const char*, struct __ngw__removeItemsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeItemRequest +#define SOAP_TYPE___ngw__removeItemRequest (854) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeItemRequest(struct soap*, const struct __ngw__removeItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeItemRequest(struct soap*, struct __ngw__removeItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeItemRequest(struct soap*, const struct __ngw__removeItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeItemRequest(struct soap*, const char*, int, const struct __ngw__removeItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_get___ngw__removeItemRequest(struct soap*, struct __ngw__removeItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeItemRequest * SOAP_FMAC4 soap_in___ngw__removeItemRequest(struct soap*, const char*, struct __ngw__removeItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__removeCustomDefinitionRequest +#define SOAP_TYPE___ngw__removeCustomDefinitionRequest (850) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__removeCustomDefinitionRequest(struct soap*, const struct __ngw__removeCustomDefinitionRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__removeCustomDefinitionRequest(struct soap*, struct __ngw__removeCustomDefinitionRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__removeCustomDefinitionRequest(struct soap*, const struct __ngw__removeCustomDefinitionRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__removeCustomDefinitionRequest(struct soap*, const char*, int, const struct __ngw__removeCustomDefinitionRequest *, const char*); +SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_get___ngw__removeCustomDefinitionRequest(struct soap*, struct __ngw__removeCustomDefinitionRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__removeCustomDefinitionRequest * SOAP_FMAC4 soap_in___ngw__removeCustomDefinitionRequest(struct soap*, const char*, struct __ngw__removeCustomDefinitionRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__readCursorRequest +#define SOAP_TYPE___ngw__readCursorRequest (846) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__readCursorRequest(struct soap*, const struct __ngw__readCursorRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__readCursorRequest(struct soap*, struct __ngw__readCursorRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__readCursorRequest(struct soap*, const struct __ngw__readCursorRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__readCursorRequest(struct soap*, const char*, int, const struct __ngw__readCursorRequest *, const char*); +SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_get___ngw__readCursorRequest(struct soap*, struct __ngw__readCursorRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__readCursorRequest * SOAP_FMAC4 soap_in___ngw__readCursorRequest(struct soap*, const char*, struct __ngw__readCursorRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__purgeRequest +#define SOAP_TYPE___ngw__purgeRequest (842) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeRequest(struct soap*, const struct __ngw__purgeRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeRequest(struct soap*, struct __ngw__purgeRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeRequest(struct soap*, const struct __ngw__purgeRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeRequest(struct soap*, const char*, int, const struct __ngw__purgeRequest *, const char*); +SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_get___ngw__purgeRequest(struct soap*, struct __ngw__purgeRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__purgeRequest * SOAP_FMAC4 soap_in___ngw__purgeRequest(struct soap*, const char*, struct __ngw__purgeRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__purgeDeletedItemsRequest +#define SOAP_TYPE___ngw__purgeDeletedItemsRequest (838) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__purgeDeletedItemsRequest(struct soap*, const struct __ngw__purgeDeletedItemsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__purgeDeletedItemsRequest(struct soap*, struct __ngw__purgeDeletedItemsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__purgeDeletedItemsRequest(struct soap*, const struct __ngw__purgeDeletedItemsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__purgeDeletedItemsRequest(struct soap*, const char*, int, const struct __ngw__purgeDeletedItemsRequest *, const char*); +SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_get___ngw__purgeDeletedItemsRequest(struct soap*, struct __ngw__purgeDeletedItemsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__purgeDeletedItemsRequest * SOAP_FMAC4 soap_in___ngw__purgeDeletedItemsRequest(struct soap*, const char*, struct __ngw__purgeDeletedItemsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__positionCursorRequest +#define SOAP_TYPE___ngw__positionCursorRequest (834) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__positionCursorRequest(struct soap*, const struct __ngw__positionCursorRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__positionCursorRequest(struct soap*, struct __ngw__positionCursorRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__positionCursorRequest(struct soap*, const struct __ngw__positionCursorRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__positionCursorRequest(struct soap*, const char*, int, const struct __ngw__positionCursorRequest *, const char*); +SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_get___ngw__positionCursorRequest(struct soap*, struct __ngw__positionCursorRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__positionCursorRequest * SOAP_FMAC4 soap_in___ngw__positionCursorRequest(struct soap*, const char*, struct __ngw__positionCursorRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__moveItemRequest +#define SOAP_TYPE___ngw__moveItemRequest (830) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__moveItemRequest(struct soap*, const struct __ngw__moveItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__moveItemRequest(struct soap*, struct __ngw__moveItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__moveItemRequest(struct soap*, const struct __ngw__moveItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__moveItemRequest(struct soap*, const char*, int, const struct __ngw__moveItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_get___ngw__moveItemRequest(struct soap*, struct __ngw__moveItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__moveItemRequest * SOAP_FMAC4 soap_in___ngw__moveItemRequest(struct soap*, const char*, struct __ngw__moveItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifySignaturesRequest +#define SOAP_TYPE___ngw__modifySignaturesRequest (826) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySignaturesRequest(struct soap*, const struct __ngw__modifySignaturesRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySignaturesRequest(struct soap*, struct __ngw__modifySignaturesRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySignaturesRequest(struct soap*, const struct __ngw__modifySignaturesRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySignaturesRequest(struct soap*, const char*, int, const struct __ngw__modifySignaturesRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_get___ngw__modifySignaturesRequest(struct soap*, struct __ngw__modifySignaturesRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifySignaturesRequest * SOAP_FMAC4 soap_in___ngw__modifySignaturesRequest(struct soap*, const char*, struct __ngw__modifySignaturesRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifySettingsRequest +#define SOAP_TYPE___ngw__modifySettingsRequest (822) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifySettingsRequest(struct soap*, const struct __ngw__modifySettingsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifySettingsRequest(struct soap*, struct __ngw__modifySettingsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifySettingsRequest(struct soap*, const struct __ngw__modifySettingsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifySettingsRequest(struct soap*, const char*, int, const struct __ngw__modifySettingsRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_get___ngw__modifySettingsRequest(struct soap*, struct __ngw__modifySettingsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifySettingsRequest * SOAP_FMAC4 soap_in___ngw__modifySettingsRequest(struct soap*, const char*, struct __ngw__modifySettingsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifyProxyAccessRequest +#define SOAP_TYPE___ngw__modifyProxyAccessRequest (818) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyProxyAccessRequest(struct soap*, const struct __ngw__modifyProxyAccessRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyProxyAccessRequest(struct soap*, struct __ngw__modifyProxyAccessRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyProxyAccessRequest(struct soap*, const struct __ngw__modifyProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyProxyAccessRequest(struct soap*, const char*, int, const struct __ngw__modifyProxyAccessRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__modifyProxyAccessRequest(struct soap*, struct __ngw__modifyProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifyProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__modifyProxyAccessRequest(struct soap*, const char*, struct __ngw__modifyProxyAccessRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifyPasswordRequest +#define SOAP_TYPE___ngw__modifyPasswordRequest (814) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyPasswordRequest(struct soap*, const struct __ngw__modifyPasswordRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyPasswordRequest(struct soap*, struct __ngw__modifyPasswordRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyPasswordRequest(struct soap*, const struct __ngw__modifyPasswordRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyPasswordRequest(struct soap*, const char*, int, const struct __ngw__modifyPasswordRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_get___ngw__modifyPasswordRequest(struct soap*, struct __ngw__modifyPasswordRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifyPasswordRequest * SOAP_FMAC4 soap_in___ngw__modifyPasswordRequest(struct soap*, const char*, struct __ngw__modifyPasswordRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifyJunkMailSettingsRequest +#define SOAP_TYPE___ngw__modifyJunkMailSettingsRequest (810) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkMailSettingsRequest(struct soap*, const struct __ngw__modifyJunkMailSettingsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkMailSettingsRequest(struct soap*, struct __ngw__modifyJunkMailSettingsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkMailSettingsRequest(struct soap*, const struct __ngw__modifyJunkMailSettingsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkMailSettingsRequest(struct soap*, const char*, int, const struct __ngw__modifyJunkMailSettingsRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkMailSettingsRequest(struct soap*, struct __ngw__modifyJunkMailSettingsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifyJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkMailSettingsRequest(struct soap*, const char*, struct __ngw__modifyJunkMailSettingsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifyJunkEntryRequest +#define SOAP_TYPE___ngw__modifyJunkEntryRequest (806) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyJunkEntryRequest(struct soap*, const struct __ngw__modifyJunkEntryRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyJunkEntryRequest(struct soap*, struct __ngw__modifyJunkEntryRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyJunkEntryRequest(struct soap*, const struct __ngw__modifyJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyJunkEntryRequest(struct soap*, const char*, int, const struct __ngw__modifyJunkEntryRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__modifyJunkEntryRequest(struct soap*, struct __ngw__modifyJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifyJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__modifyJunkEntryRequest(struct soap*, const char*, struct __ngw__modifyJunkEntryRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__modifyItemRequest +#define SOAP_TYPE___ngw__modifyItemRequest (802) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__modifyItemRequest(struct soap*, const struct __ngw__modifyItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__modifyItemRequest(struct soap*, struct __ngw__modifyItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__modifyItemRequest(struct soap*, const struct __ngw__modifyItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__modifyItemRequest(struct soap*, const char*, int, const struct __ngw__modifyItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_get___ngw__modifyItemRequest(struct soap*, struct __ngw__modifyItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__modifyItemRequest * SOAP_FMAC4 soap_in___ngw__modifyItemRequest(struct soap*, const char*, struct __ngw__modifyItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__markUnReadRequest +#define SOAP_TYPE___ngw__markUnReadRequest (798) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnReadRequest(struct soap*, const struct __ngw__markUnReadRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnReadRequest(struct soap*, struct __ngw__markUnReadRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnReadRequest(struct soap*, const struct __ngw__markUnReadRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnReadRequest(struct soap*, const char*, int, const struct __ngw__markUnReadRequest *, const char*); +SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_get___ngw__markUnReadRequest(struct soap*, struct __ngw__markUnReadRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__markUnReadRequest * SOAP_FMAC4 soap_in___ngw__markUnReadRequest(struct soap*, const char*, struct __ngw__markUnReadRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__markUnPrivateRequest +#define SOAP_TYPE___ngw__markUnPrivateRequest (794) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markUnPrivateRequest(struct soap*, const struct __ngw__markUnPrivateRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markUnPrivateRequest(struct soap*, struct __ngw__markUnPrivateRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markUnPrivateRequest(struct soap*, const struct __ngw__markUnPrivateRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markUnPrivateRequest(struct soap*, const char*, int, const struct __ngw__markUnPrivateRequest *, const char*); +SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_get___ngw__markUnPrivateRequest(struct soap*, struct __ngw__markUnPrivateRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__markUnPrivateRequest * SOAP_FMAC4 soap_in___ngw__markUnPrivateRequest(struct soap*, const char*, struct __ngw__markUnPrivateRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__markReadRequest +#define SOAP_TYPE___ngw__markReadRequest (790) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markReadRequest(struct soap*, const struct __ngw__markReadRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markReadRequest(struct soap*, struct __ngw__markReadRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markReadRequest(struct soap*, const struct __ngw__markReadRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markReadRequest(struct soap*, const char*, int, const struct __ngw__markReadRequest *, const char*); +SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_get___ngw__markReadRequest(struct soap*, struct __ngw__markReadRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__markReadRequest * SOAP_FMAC4 soap_in___ngw__markReadRequest(struct soap*, const char*, struct __ngw__markReadRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__markPrivateRequest +#define SOAP_TYPE___ngw__markPrivateRequest (786) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__markPrivateRequest(struct soap*, const struct __ngw__markPrivateRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__markPrivateRequest(struct soap*, struct __ngw__markPrivateRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__markPrivateRequest(struct soap*, const struct __ngw__markPrivateRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__markPrivateRequest(struct soap*, const char*, int, const struct __ngw__markPrivateRequest *, const char*); +SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_get___ngw__markPrivateRequest(struct soap*, struct __ngw__markPrivateRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__markPrivateRequest * SOAP_FMAC4 soap_in___ngw__markPrivateRequest(struct soap*, const char*, struct __ngw__markPrivateRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__logoutRequest +#define SOAP_TYPE___ngw__logoutRequest (782) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__logoutRequest(struct soap*, const struct __ngw__logoutRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__logoutRequest(struct soap*, struct __ngw__logoutRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__logoutRequest(struct soap*, const struct __ngw__logoutRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__logoutRequest(struct soap*, const char*, int, const struct __ngw__logoutRequest *, const char*); +SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_get___ngw__logoutRequest(struct soap*, struct __ngw__logoutRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__logoutRequest * SOAP_FMAC4 soap_in___ngw__logoutRequest(struct soap*, const char*, struct __ngw__logoutRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__loginRequest +#define SOAP_TYPE___ngw__loginRequest (778) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__loginRequest(struct soap*, const struct __ngw__loginRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__loginRequest(struct soap*, struct __ngw__loginRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__loginRequest(struct soap*, const struct __ngw__loginRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__loginRequest(struct soap*, const char*, int, const struct __ngw__loginRequest *, const char*); +SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_get___ngw__loginRequest(struct soap*, struct __ngw__loginRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__loginRequest * SOAP_FMAC4 soap_in___ngw__loginRequest(struct soap*, const char*, struct __ngw__loginRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getUserListRequest +#define SOAP_TYPE___ngw__getUserListRequest (774) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getUserListRequest(struct soap*, const struct __ngw__getUserListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getUserListRequest(struct soap*, struct __ngw__getUserListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getUserListRequest(struct soap*, const struct __ngw__getUserListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getUserListRequest(struct soap*, const char*, int, const struct __ngw__getUserListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_get___ngw__getUserListRequest(struct soap*, struct __ngw__getUserListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getUserListRequest * SOAP_FMAC4 soap_in___ngw__getUserListRequest(struct soap*, const char*, struct __ngw__getUserListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getTimezoneListRequest +#define SOAP_TYPE___ngw__getTimezoneListRequest (770) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimezoneListRequest(struct soap*, const struct __ngw__getTimezoneListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimezoneListRequest(struct soap*, struct __ngw__getTimezoneListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimezoneListRequest(struct soap*, const struct __ngw__getTimezoneListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimezoneListRequest(struct soap*, const char*, int, const struct __ngw__getTimezoneListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_get___ngw__getTimezoneListRequest(struct soap*, struct __ngw__getTimezoneListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getTimezoneListRequest * SOAP_FMAC4 soap_in___ngw__getTimezoneListRequest(struct soap*, const char*, struct __ngw__getTimezoneListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getTimestampRequest +#define SOAP_TYPE___ngw__getTimestampRequest (766) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getTimestampRequest(struct soap*, const struct __ngw__getTimestampRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getTimestampRequest(struct soap*, struct __ngw__getTimestampRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getTimestampRequest(struct soap*, const struct __ngw__getTimestampRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getTimestampRequest(struct soap*, const char*, int, const struct __ngw__getTimestampRequest *, const char*); +SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_get___ngw__getTimestampRequest(struct soap*, struct __ngw__getTimestampRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getTimestampRequest * SOAP_FMAC4 soap_in___ngw__getTimestampRequest(struct soap*, const char*, struct __ngw__getTimestampRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getSignaturesRequest +#define SOAP_TYPE___ngw__getSignaturesRequest (762) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSignaturesRequest(struct soap*, const struct __ngw__getSignaturesRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSignaturesRequest(struct soap*, struct __ngw__getSignaturesRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSignaturesRequest(struct soap*, const struct __ngw__getSignaturesRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSignaturesRequest(struct soap*, const char*, int, const struct __ngw__getSignaturesRequest *, const char*); +SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_get___ngw__getSignaturesRequest(struct soap*, struct __ngw__getSignaturesRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getSignaturesRequest * SOAP_FMAC4 soap_in___ngw__getSignaturesRequest(struct soap*, const char*, struct __ngw__getSignaturesRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getSettingsRequest +#define SOAP_TYPE___ngw__getSettingsRequest (758) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getSettingsRequest(struct soap*, const struct __ngw__getSettingsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getSettingsRequest(struct soap*, struct __ngw__getSettingsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getSettingsRequest(struct soap*, const struct __ngw__getSettingsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getSettingsRequest(struct soap*, const char*, int, const struct __ngw__getSettingsRequest *, const char*); +SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_get___ngw__getSettingsRequest(struct soap*, struct __ngw__getSettingsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getSettingsRequest * SOAP_FMAC4 soap_in___ngw__getSettingsRequest(struct soap*, const char*, struct __ngw__getSettingsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getRuleListRequest +#define SOAP_TYPE___ngw__getRuleListRequest (754) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getRuleListRequest(struct soap*, const struct __ngw__getRuleListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getRuleListRequest(struct soap*, struct __ngw__getRuleListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getRuleListRequest(struct soap*, const struct __ngw__getRuleListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getRuleListRequest(struct soap*, const char*, int, const struct __ngw__getRuleListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_get___ngw__getRuleListRequest(struct soap*, struct __ngw__getRuleListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getRuleListRequest * SOAP_FMAC4 soap_in___ngw__getRuleListRequest(struct soap*, const char*, struct __ngw__getRuleListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getProxyListRequest +#define SOAP_TYPE___ngw__getProxyListRequest (750) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyListRequest(struct soap*, const struct __ngw__getProxyListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyListRequest(struct soap*, struct __ngw__getProxyListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyListRequest(struct soap*, const struct __ngw__getProxyListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyListRequest(struct soap*, const char*, int, const struct __ngw__getProxyListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_get___ngw__getProxyListRequest(struct soap*, struct __ngw__getProxyListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getProxyListRequest * SOAP_FMAC4 soap_in___ngw__getProxyListRequest(struct soap*, const char*, struct __ngw__getProxyListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getProxyAccessListRequest +#define SOAP_TYPE___ngw__getProxyAccessListRequest (746) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getProxyAccessListRequest(struct soap*, const struct __ngw__getProxyAccessListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getProxyAccessListRequest(struct soap*, struct __ngw__getProxyAccessListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getProxyAccessListRequest(struct soap*, const struct __ngw__getProxyAccessListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getProxyAccessListRequest(struct soap*, const char*, int, const struct __ngw__getProxyAccessListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_get___ngw__getProxyAccessListRequest(struct soap*, struct __ngw__getProxyAccessListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getProxyAccessListRequest * SOAP_FMAC4 soap_in___ngw__getProxyAccessListRequest(struct soap*, const char*, struct __ngw__getProxyAccessListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getQuickMessagesRequest +#define SOAP_TYPE___ngw__getQuickMessagesRequest (742) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getQuickMessagesRequest(struct soap*, const struct __ngw__getQuickMessagesRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getQuickMessagesRequest(struct soap*, struct __ngw__getQuickMessagesRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getQuickMessagesRequest(struct soap*, const struct __ngw__getQuickMessagesRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getQuickMessagesRequest(struct soap*, const char*, int, const struct __ngw__getQuickMessagesRequest *, const char*); +SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_get___ngw__getQuickMessagesRequest(struct soap*, struct __ngw__getQuickMessagesRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getQuickMessagesRequest * SOAP_FMAC4 soap_in___ngw__getQuickMessagesRequest(struct soap*, const char*, struct __ngw__getQuickMessagesRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getLibraryListRequest +#define SOAP_TYPE___ngw__getLibraryListRequest (738) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryListRequest(struct soap*, const struct __ngw__getLibraryListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryListRequest(struct soap*, struct __ngw__getLibraryListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryListRequest(struct soap*, const struct __ngw__getLibraryListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryListRequest(struct soap*, const char*, int, const struct __ngw__getLibraryListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_get___ngw__getLibraryListRequest(struct soap*, struct __ngw__getLibraryListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getLibraryListRequest * SOAP_FMAC4 soap_in___ngw__getLibraryListRequest(struct soap*, const char*, struct __ngw__getLibraryListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getLibraryItemRequest +#define SOAP_TYPE___ngw__getLibraryItemRequest (734) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getLibraryItemRequest(struct soap*, const struct __ngw__getLibraryItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getLibraryItemRequest(struct soap*, struct __ngw__getLibraryItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getLibraryItemRequest(struct soap*, const struct __ngw__getLibraryItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getLibraryItemRequest(struct soap*, const char*, int, const struct __ngw__getLibraryItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_get___ngw__getLibraryItemRequest(struct soap*, struct __ngw__getLibraryItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getLibraryItemRequest * SOAP_FMAC4 soap_in___ngw__getLibraryItemRequest(struct soap*, const char*, struct __ngw__getLibraryItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getJunkMailSettingsRequest +#define SOAP_TYPE___ngw__getJunkMailSettingsRequest (730) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkMailSettingsRequest(struct soap*, const struct __ngw__getJunkMailSettingsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkMailSettingsRequest(struct soap*, struct __ngw__getJunkMailSettingsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkMailSettingsRequest(struct soap*, const struct __ngw__getJunkMailSettingsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkMailSettingsRequest(struct soap*, const char*, int, const struct __ngw__getJunkMailSettingsRequest *, const char*); +SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_get___ngw__getJunkMailSettingsRequest(struct soap*, struct __ngw__getJunkMailSettingsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getJunkMailSettingsRequest * SOAP_FMAC4 soap_in___ngw__getJunkMailSettingsRequest(struct soap*, const char*, struct __ngw__getJunkMailSettingsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getJunkEntriesRequest +#define SOAP_TYPE___ngw__getJunkEntriesRequest (726) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getJunkEntriesRequest(struct soap*, const struct __ngw__getJunkEntriesRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getJunkEntriesRequest(struct soap*, struct __ngw__getJunkEntriesRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getJunkEntriesRequest(struct soap*, const struct __ngw__getJunkEntriesRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getJunkEntriesRequest(struct soap*, const char*, int, const struct __ngw__getJunkEntriesRequest *, const char*); +SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_get___ngw__getJunkEntriesRequest(struct soap*, struct __ngw__getJunkEntriesRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getJunkEntriesRequest * SOAP_FMAC4 soap_in___ngw__getJunkEntriesRequest(struct soap*, const char*, struct __ngw__getJunkEntriesRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getItemsRequest +#define SOAP_TYPE___ngw__getItemsRequest (722) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemsRequest(struct soap*, const struct __ngw__getItemsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemsRequest(struct soap*, struct __ngw__getItemsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemsRequest(struct soap*, const struct __ngw__getItemsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemsRequest(struct soap*, const char*, int, const struct __ngw__getItemsRequest *, const char*); +SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_get___ngw__getItemsRequest(struct soap*, struct __ngw__getItemsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getItemsRequest * SOAP_FMAC4 soap_in___ngw__getItemsRequest(struct soap*, const char*, struct __ngw__getItemsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getItemRequest +#define SOAP_TYPE___ngw__getItemRequest (718) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getItemRequest(struct soap*, const struct __ngw__getItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getItemRequest(struct soap*, struct __ngw__getItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getItemRequest(struct soap*, const struct __ngw__getItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getItemRequest(struct soap*, const char*, int, const struct __ngw__getItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_get___ngw__getItemRequest(struct soap*, struct __ngw__getItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getItemRequest * SOAP_FMAC4 soap_in___ngw__getItemRequest(struct soap*, const char*, struct __ngw__getItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getFreeBusyRequest +#define SOAP_TYPE___ngw__getFreeBusyRequest (714) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFreeBusyRequest(struct soap*, const struct __ngw__getFreeBusyRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFreeBusyRequest(struct soap*, struct __ngw__getFreeBusyRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFreeBusyRequest(struct soap*, const struct __ngw__getFreeBusyRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFreeBusyRequest(struct soap*, const char*, int, const struct __ngw__getFreeBusyRequest *, const char*); +SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_get___ngw__getFreeBusyRequest(struct soap*, struct __ngw__getFreeBusyRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getFreeBusyRequest * SOAP_FMAC4 soap_in___ngw__getFreeBusyRequest(struct soap*, const char*, struct __ngw__getFreeBusyRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getFolderListRequest +#define SOAP_TYPE___ngw__getFolderListRequest (710) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderListRequest(struct soap*, const struct __ngw__getFolderListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderListRequest(struct soap*, struct __ngw__getFolderListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderListRequest(struct soap*, const struct __ngw__getFolderListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderListRequest(struct soap*, const char*, int, const struct __ngw__getFolderListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_get___ngw__getFolderListRequest(struct soap*, struct __ngw__getFolderListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getFolderListRequest * SOAP_FMAC4 soap_in___ngw__getFolderListRequest(struct soap*, const char*, struct __ngw__getFolderListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getFolderRequest +#define SOAP_TYPE___ngw__getFolderRequest (706) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getFolderRequest(struct soap*, const struct __ngw__getFolderRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getFolderRequest(struct soap*, struct __ngw__getFolderRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getFolderRequest(struct soap*, const struct __ngw__getFolderRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getFolderRequest(struct soap*, const char*, int, const struct __ngw__getFolderRequest *, const char*); +SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_get___ngw__getFolderRequest(struct soap*, struct __ngw__getFolderRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getFolderRequest * SOAP_FMAC4 soap_in___ngw__getFolderRequest(struct soap*, const char*, struct __ngw__getFolderRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getDocumentTypeListRequest +#define SOAP_TYPE___ngw__getDocumentTypeListRequest (702) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDocumentTypeListRequest(struct soap*, const struct __ngw__getDocumentTypeListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDocumentTypeListRequest(struct soap*, struct __ngw__getDocumentTypeListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDocumentTypeListRequest(struct soap*, const struct __ngw__getDocumentTypeListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDocumentTypeListRequest(struct soap*, const char*, int, const struct __ngw__getDocumentTypeListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_get___ngw__getDocumentTypeListRequest(struct soap*, struct __ngw__getDocumentTypeListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getDocumentTypeListRequest * SOAP_FMAC4 soap_in___ngw__getDocumentTypeListRequest(struct soap*, const char*, struct __ngw__getDocumentTypeListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getDeltaInfoRequest +#define SOAP_TYPE___ngw__getDeltaInfoRequest (698) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltaInfoRequest(struct soap*, const struct __ngw__getDeltaInfoRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltaInfoRequest(struct soap*, struct __ngw__getDeltaInfoRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltaInfoRequest(struct soap*, const struct __ngw__getDeltaInfoRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltaInfoRequest(struct soap*, const char*, int, const struct __ngw__getDeltaInfoRequest *, const char*); +SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_get___ngw__getDeltaInfoRequest(struct soap*, struct __ngw__getDeltaInfoRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getDeltaInfoRequest * SOAP_FMAC4 soap_in___ngw__getDeltaInfoRequest(struct soap*, const char*, struct __ngw__getDeltaInfoRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getDeltasRequest +#define SOAP_TYPE___ngw__getDeltasRequest (694) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getDeltasRequest(struct soap*, const struct __ngw__getDeltasRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getDeltasRequest(struct soap*, struct __ngw__getDeltasRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getDeltasRequest(struct soap*, const struct __ngw__getDeltasRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getDeltasRequest(struct soap*, const char*, int, const struct __ngw__getDeltasRequest *, const char*); +SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_get___ngw__getDeltasRequest(struct soap*, struct __ngw__getDeltasRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getDeltasRequest * SOAP_FMAC4 soap_in___ngw__getDeltasRequest(struct soap*, const char*, struct __ngw__getDeltasRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getCustomListRequest +#define SOAP_TYPE___ngw__getCustomListRequest (690) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCustomListRequest(struct soap*, const struct __ngw__getCustomListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCustomListRequest(struct soap*, struct __ngw__getCustomListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCustomListRequest(struct soap*, const struct __ngw__getCustomListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCustomListRequest(struct soap*, const char*, int, const struct __ngw__getCustomListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_get___ngw__getCustomListRequest(struct soap*, struct __ngw__getCustomListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getCustomListRequest * SOAP_FMAC4 soap_in___ngw__getCustomListRequest(struct soap*, const char*, struct __ngw__getCustomListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getCategoryListRequest +#define SOAP_TYPE___ngw__getCategoryListRequest (686) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getCategoryListRequest(struct soap*, const struct __ngw__getCategoryListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getCategoryListRequest(struct soap*, struct __ngw__getCategoryListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getCategoryListRequest(struct soap*, const struct __ngw__getCategoryListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getCategoryListRequest(struct soap*, const char*, int, const struct __ngw__getCategoryListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_get___ngw__getCategoryListRequest(struct soap*, struct __ngw__getCategoryListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getCategoryListRequest * SOAP_FMAC4 soap_in___ngw__getCategoryListRequest(struct soap*, const char*, struct __ngw__getCategoryListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__getAttachmentRequestMessage +#define SOAP_TYPE___ngw__getAttachmentRequestMessage (682) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAttachmentRequestMessage(struct soap*, const struct __ngw__getAttachmentRequestMessage *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAttachmentRequestMessage(struct soap*, struct __ngw__getAttachmentRequestMessage *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAttachmentRequestMessage(struct soap*, const struct __ngw__getAttachmentRequestMessage *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAttachmentRequestMessage(struct soap*, const char*, int, const struct __ngw__getAttachmentRequestMessage *, const char*); +SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_get___ngw__getAttachmentRequestMessage(struct soap*, struct __ngw__getAttachmentRequestMessage *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getAttachmentRequestMessage * SOAP_FMAC4 soap_in___ngw__getAttachmentRequestMessage(struct soap*, const char*, struct __ngw__getAttachmentRequestMessage *, const char*); + +#ifndef SOAP_TYPE___ngw__getAddressBookListRequest +#define SOAP_TYPE___ngw__getAddressBookListRequest (678) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__getAddressBookListRequest(struct soap*, const struct __ngw__getAddressBookListRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__getAddressBookListRequest(struct soap*, struct __ngw__getAddressBookListRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__getAddressBookListRequest(struct soap*, const struct __ngw__getAddressBookListRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__getAddressBookListRequest(struct soap*, const char*, int, const struct __ngw__getAddressBookListRequest *, const char*); +SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_get___ngw__getAddressBookListRequest(struct soap*, struct __ngw__getAddressBookListRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__getAddressBookListRequest * SOAP_FMAC4 soap_in___ngw__getAddressBookListRequest(struct soap*, const char*, struct __ngw__getAddressBookListRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__forwardRequest +#define SOAP_TYPE___ngw__forwardRequest (674) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__forwardRequest(struct soap*, const struct __ngw__forwardRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__forwardRequest(struct soap*, struct __ngw__forwardRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__forwardRequest(struct soap*, const struct __ngw__forwardRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__forwardRequest(struct soap*, const char*, int, const struct __ngw__forwardRequest *, const char*); +SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_get___ngw__forwardRequest(struct soap*, struct __ngw__forwardRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__forwardRequest * SOAP_FMAC4 soap_in___ngw__forwardRequest(struct soap*, const char*, struct __ngw__forwardRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__executeRuleRequest +#define SOAP_TYPE___ngw__executeRuleRequest (670) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__executeRuleRequest(struct soap*, const struct __ngw__executeRuleRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__executeRuleRequest(struct soap*, struct __ngw__executeRuleRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__executeRuleRequest(struct soap*, const struct __ngw__executeRuleRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__executeRuleRequest(struct soap*, const char*, int, const struct __ngw__executeRuleRequest *, const char*); +SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_get___ngw__executeRuleRequest(struct soap*, struct __ngw__executeRuleRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__executeRuleRequest * SOAP_FMAC4 soap_in___ngw__executeRuleRequest(struct soap*, const char*, struct __ngw__executeRuleRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__destroyCursorRequest +#define SOAP_TYPE___ngw__destroyCursorRequest (666) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__destroyCursorRequest(struct soap*, const struct __ngw__destroyCursorRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__destroyCursorRequest(struct soap*, struct __ngw__destroyCursorRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__destroyCursorRequest(struct soap*, const struct __ngw__destroyCursorRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__destroyCursorRequest(struct soap*, const char*, int, const struct __ngw__destroyCursorRequest *, const char*); +SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_get___ngw__destroyCursorRequest(struct soap*, struct __ngw__destroyCursorRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__destroyCursorRequest * SOAP_FMAC4 soap_in___ngw__destroyCursorRequest(struct soap*, const char*, struct __ngw__destroyCursorRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__delegateRequest +#define SOAP_TYPE___ngw__delegateRequest (662) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__delegateRequest(struct soap*, const struct __ngw__delegateRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__delegateRequest(struct soap*, struct __ngw__delegateRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__delegateRequest(struct soap*, const struct __ngw__delegateRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__delegateRequest(struct soap*, const char*, int, const struct __ngw__delegateRequest *, const char*); +SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_get___ngw__delegateRequest(struct soap*, struct __ngw__delegateRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__delegateRequest * SOAP_FMAC4 soap_in___ngw__delegateRequest(struct soap*, const char*, struct __ngw__delegateRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__declineRequest +#define SOAP_TYPE___ngw__declineRequest (658) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__declineRequest(struct soap*, const struct __ngw__declineRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__declineRequest(struct soap*, struct __ngw__declineRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__declineRequest(struct soap*, const struct __ngw__declineRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__declineRequest(struct soap*, const char*, int, const struct __ngw__declineRequest *, const char*); +SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_get___ngw__declineRequest(struct soap*, struct __ngw__declineRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__declineRequest * SOAP_FMAC4 soap_in___ngw__declineRequest(struct soap*, const char*, struct __ngw__declineRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__createSignatureRequest +#define SOAP_TYPE___ngw__createSignatureRequest (654) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createSignatureRequest(struct soap*, const struct __ngw__createSignatureRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createSignatureRequest(struct soap*, struct __ngw__createSignatureRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createSignatureRequest(struct soap*, const struct __ngw__createSignatureRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createSignatureRequest(struct soap*, const char*, int, const struct __ngw__createSignatureRequest *, const char*); +SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_get___ngw__createSignatureRequest(struct soap*, struct __ngw__createSignatureRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__createSignatureRequest * SOAP_FMAC4 soap_in___ngw__createSignatureRequest(struct soap*, const char*, struct __ngw__createSignatureRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__createProxyAccessRequest +#define SOAP_TYPE___ngw__createProxyAccessRequest (650) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createProxyAccessRequest(struct soap*, const struct __ngw__createProxyAccessRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createProxyAccessRequest(struct soap*, struct __ngw__createProxyAccessRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createProxyAccessRequest(struct soap*, const struct __ngw__createProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createProxyAccessRequest(struct soap*, const char*, int, const struct __ngw__createProxyAccessRequest *, const char*); +SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_get___ngw__createProxyAccessRequest(struct soap*, struct __ngw__createProxyAccessRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__createProxyAccessRequest * SOAP_FMAC4 soap_in___ngw__createProxyAccessRequest(struct soap*, const char*, struct __ngw__createProxyAccessRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__createJunkEntryRequest +#define SOAP_TYPE___ngw__createJunkEntryRequest (646) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createJunkEntryRequest(struct soap*, const struct __ngw__createJunkEntryRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createJunkEntryRequest(struct soap*, struct __ngw__createJunkEntryRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createJunkEntryRequest(struct soap*, const struct __ngw__createJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createJunkEntryRequest(struct soap*, const char*, int, const struct __ngw__createJunkEntryRequest *, const char*); +SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_get___ngw__createJunkEntryRequest(struct soap*, struct __ngw__createJunkEntryRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__createJunkEntryRequest * SOAP_FMAC4 soap_in___ngw__createJunkEntryRequest(struct soap*, const char*, struct __ngw__createJunkEntryRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__createItemsRequest +#define SOAP_TYPE___ngw__createItemsRequest (642) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemsRequest(struct soap*, const struct __ngw__createItemsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemsRequest(struct soap*, struct __ngw__createItemsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemsRequest(struct soap*, const struct __ngw__createItemsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemsRequest(struct soap*, const char*, int, const struct __ngw__createItemsRequest *, const char*); +SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_get___ngw__createItemsRequest(struct soap*, struct __ngw__createItemsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__createItemsRequest * SOAP_FMAC4 soap_in___ngw__createItemsRequest(struct soap*, const char*, struct __ngw__createItemsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__createItemRequest +#define SOAP_TYPE___ngw__createItemRequest (638) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createItemRequest(struct soap*, const struct __ngw__createItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createItemRequest(struct soap*, struct __ngw__createItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createItemRequest(struct soap*, const struct __ngw__createItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createItemRequest(struct soap*, const char*, int, const struct __ngw__createItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_get___ngw__createItemRequest(struct soap*, struct __ngw__createItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__createItemRequest * SOAP_FMAC4 soap_in___ngw__createItemRequest(struct soap*, const char*, struct __ngw__createItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__createCursorRequest +#define SOAP_TYPE___ngw__createCursorRequest (634) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__createCursorRequest(struct soap*, const struct __ngw__createCursorRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__createCursorRequest(struct soap*, struct __ngw__createCursorRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__createCursorRequest(struct soap*, const struct __ngw__createCursorRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__createCursorRequest(struct soap*, const char*, int, const struct __ngw__createCursorRequest *, const char*); +SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_get___ngw__createCursorRequest(struct soap*, struct __ngw__createCursorRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__createCursorRequest * SOAP_FMAC4 soap_in___ngw__createCursorRequest(struct soap*, const char*, struct __ngw__createCursorRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__completeRequest +#define SOAP_TYPE___ngw__completeRequest (630) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__completeRequest(struct soap*, const struct __ngw__completeRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__completeRequest(struct soap*, struct __ngw__completeRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__completeRequest(struct soap*, const struct __ngw__completeRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__completeRequest(struct soap*, const char*, int, const struct __ngw__completeRequest *, const char*); +SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_get___ngw__completeRequest(struct soap*, struct __ngw__completeRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__completeRequest * SOAP_FMAC4 soap_in___ngw__completeRequest(struct soap*, const char*, struct __ngw__completeRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__closeFreeBusySessionRequest +#define SOAP_TYPE___ngw__closeFreeBusySessionRequest (626) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__closeFreeBusySessionRequest(struct soap*, const struct __ngw__closeFreeBusySessionRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__closeFreeBusySessionRequest(struct soap*, struct __ngw__closeFreeBusySessionRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__closeFreeBusySessionRequest(struct soap*, const struct __ngw__closeFreeBusySessionRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__closeFreeBusySessionRequest(struct soap*, const char*, int, const struct __ngw__closeFreeBusySessionRequest *, const char*); +SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_get___ngw__closeFreeBusySessionRequest(struct soap*, struct __ngw__closeFreeBusySessionRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__closeFreeBusySessionRequest * SOAP_FMAC4 soap_in___ngw__closeFreeBusySessionRequest(struct soap*, const char*, struct __ngw__closeFreeBusySessionRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__addMembersRequest +#define SOAP_TYPE___ngw__addMembersRequest (622) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addMembersRequest(struct soap*, const struct __ngw__addMembersRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addMembersRequest(struct soap*, struct __ngw__addMembersRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addMembersRequest(struct soap*, const struct __ngw__addMembersRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addMembersRequest(struct soap*, const char*, int, const struct __ngw__addMembersRequest *, const char*); +SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_get___ngw__addMembersRequest(struct soap*, struct __ngw__addMembersRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__addMembersRequest * SOAP_FMAC4 soap_in___ngw__addMembersRequest(struct soap*, const char*, struct __ngw__addMembersRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__addItemsRequest +#define SOAP_TYPE___ngw__addItemsRequest (618) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemsRequest(struct soap*, const struct __ngw__addItemsRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemsRequest(struct soap*, struct __ngw__addItemsRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemsRequest(struct soap*, const struct __ngw__addItemsRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemsRequest(struct soap*, const char*, int, const struct __ngw__addItemsRequest *, const char*); +SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_get___ngw__addItemsRequest(struct soap*, struct __ngw__addItemsRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__addItemsRequest * SOAP_FMAC4 soap_in___ngw__addItemsRequest(struct soap*, const char*, struct __ngw__addItemsRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__addItemRequest +#define SOAP_TYPE___ngw__addItemRequest (614) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__addItemRequest(struct soap*, const struct __ngw__addItemRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__addItemRequest(struct soap*, struct __ngw__addItemRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__addItemRequest(struct soap*, const struct __ngw__addItemRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__addItemRequest(struct soap*, const char*, int, const struct __ngw__addItemRequest *, const char*); +SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_get___ngw__addItemRequest(struct soap*, struct __ngw__addItemRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__addItemRequest * SOAP_FMAC4 soap_in___ngw__addItemRequest(struct soap*, const char*, struct __ngw__addItemRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__acceptShareRequest +#define SOAP_TYPE___ngw__acceptShareRequest (610) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptShareRequest(struct soap*, const struct __ngw__acceptShareRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptShareRequest(struct soap*, struct __ngw__acceptShareRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptShareRequest(struct soap*, const struct __ngw__acceptShareRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptShareRequest(struct soap*, const char*, int, const struct __ngw__acceptShareRequest *, const char*); +SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_get___ngw__acceptShareRequest(struct soap*, struct __ngw__acceptShareRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__acceptShareRequest * SOAP_FMAC4 soap_in___ngw__acceptShareRequest(struct soap*, const char*, struct __ngw__acceptShareRequest *, const char*); + +#ifndef SOAP_TYPE___ngw__acceptRequest +#define SOAP_TYPE___ngw__acceptRequest (606) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ngw__acceptRequest(struct soap*, const struct __ngw__acceptRequest *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default___ngw__acceptRequest(struct soap*, struct __ngw__acceptRequest *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put___ngw__acceptRequest(struct soap*, const struct __ngw__acceptRequest *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out___ngw__acceptRequest(struct soap*, const char*, int, const struct __ngw__acceptRequest *, const char*); +SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_get___ngw__acceptRequest(struct soap*, struct __ngw__acceptRequest *, const char*, const char*); +SOAP_FMAC3 struct __ngw__acceptRequest * SOAP_FMAC4 soap_in___ngw__acceptRequest(struct soap*, const char*, struct __ngw__acceptRequest *, const char*); + +#ifndef WITH_NOGLOBAL + +#ifndef SOAP_TYPE_SOAP_ENV__Header +#define SOAP_TYPE_SOAP_ENV__Header (602) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*); +SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*); +SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*); +SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_new_SOAP_ENV__Header(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header*); +SOAP_FMAC5 struct SOAP_ENV__Header * SOAP_FMAC6 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_SOAP_ENV__Header(struct soap*, int, int, void*, const void*, size_t); + +#endif + +#ifndef WITH_NOGLOBAL + +#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail +#define SOAP_TYPE_PointerToSOAP_ENV__Detail (941) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *); +SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*); +SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*); + +#endif + +#ifndef WITH_NOGLOBAL + +#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code +#define SOAP_TYPE_PointerToSOAP_ENV__Code (936) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *); +SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*); +SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*); + +#endif + +#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventsResponse +#define SOAP_TYPE_PointerTo_ngwe__removeEventsResponse (932) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsResponse(struct soap*, const char *, int, _ngwe__removeEventsResponse *const*, const char *); +SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsResponse(struct soap*, _ngwe__removeEventsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsResponse(struct soap*, const char*, _ngwe__removeEventsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventsRequest +#define SOAP_TYPE_PointerTo_ngwe__removeEventsRequest (931) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventsRequest(struct soap*, const char *, int, _ngwe__removeEventsRequest *const*, const char *); +SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventsRequest(struct soap*, const char*, _ngwe__removeEventsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse +#define SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationResponse (928) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, const char *, int, _ngwe__removeEventConfigurationResponse *const*, const char *); +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, _ngwe__removeEventConfigurationResponse **, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationResponse(struct soap*, const char*, _ngwe__removeEventConfigurationResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest +#define SOAP_TYPE_PointerTo_ngwe__removeEventConfigurationRequest (927) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, const char *, int, _ngwe__removeEventConfigurationRequest *const*, const char *); +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest **, const char*, const char*); +SOAP_FMAC3 _ngwe__removeEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__removeEventConfigurationRequest(struct soap*, const char*, _ngwe__removeEventConfigurationRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__getEventsResponse +#define SOAP_TYPE_PointerTo_ngwe__getEventsResponse (924) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsResponse(struct soap*, const char *, int, _ngwe__getEventsResponse *const*, const char *); +SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsResponse(struct soap*, _ngwe__getEventsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsResponse(struct soap*, const char*, _ngwe__getEventsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__getEventsRequest +#define SOAP_TYPE_PointerTo_ngwe__getEventsRequest (923) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventsRequest(struct soap*, const char *, int, _ngwe__getEventsRequest *const*, const char *); +SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventsRequest(struct soap*, _ngwe__getEventsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventsRequest(struct soap*, const char*, _ngwe__getEventsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse +#define SOAP_TYPE_PointerTo_ngwe__getEventConfigurationResponse (920) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, const char *, int, _ngwe__getEventConfigurationResponse *const*, const char *); +SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, _ngwe__getEventConfigurationResponse **, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationResponse(struct soap*, const char*, _ngwe__getEventConfigurationResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest +#define SOAP_TYPE_PointerTo_ngwe__getEventConfigurationRequest (919) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, const char *, int, _ngwe__getEventConfigurationRequest *const*, const char *); +SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest **, const char*, const char*); +SOAP_FMAC3 _ngwe__getEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__getEventConfigurationRequest(struct soap*, const char*, _ngwe__getEventConfigurationRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__configureEventsResponse +#define SOAP_TYPE_PointerTo_ngwe__configureEventsResponse (916) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsResponse(struct soap*, const char *, int, _ngwe__configureEventsResponse *const*, const char *); +SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsResponse(struct soap*, _ngwe__configureEventsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwe__configureEventsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsResponse(struct soap*, const char*, _ngwe__configureEventsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__configureEventsRequest +#define SOAP_TYPE_PointerTo_ngwe__configureEventsRequest (915) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__configureEventsRequest(struct soap*, const char *, int, _ngwe__configureEventsRequest *const*, const char *); +SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwe__configureEventsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__configureEventsRequest(struct soap*, const char*, _ngwe__configureEventsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse +#define SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationResponse (912) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, const char *, int, _ngwe__cleanEventConfigurationResponse *const*, const char *); +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, _ngwe__cleanEventConfigurationResponse **, const char*, const char*); +SOAP_FMAC3 _ngwe__cleanEventConfigurationResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationResponse(struct soap*, const char*, _ngwe__cleanEventConfigurationResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest +#define SOAP_TYPE_PointerTo_ngwe__cleanEventConfigurationRequest (911) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, const char *, int, _ngwe__cleanEventConfigurationRequest *const*, const char *); +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest **, const char*, const char*); +SOAP_FMAC3 _ngwe__cleanEventConfigurationRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwe__cleanEventConfigurationRequest(struct soap*, const char*, _ngwe__cleanEventConfigurationRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse +#define SOAP_TYPE_PointerTo_ngwm__updateVersionStatusResponse (908) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, const char *, int, _ngwm__updateVersionStatusResponse *const*, const char *); +SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, _ngwm__updateVersionStatusResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__updateVersionStatusResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusResponse(struct soap*, const char*, _ngwm__updateVersionStatusResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest +#define SOAP_TYPE_PointerTo_ngwm__updateVersionStatusRequest (907) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, const char *, int, _ngwm__updateVersionStatusRequest *const*, const char *); +SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__updateVersionStatusRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__updateVersionStatusRequest(struct soap*, const char*, _ngwm__updateVersionStatusRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__uncompleteResponse +#define SOAP_TYPE_PointerTo_ngwm__uncompleteResponse (904) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteResponse(struct soap*, const char *, int, _ngwm__uncompleteResponse *const*, const char *); +SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteResponse(struct soap*, _ngwm__uncompleteResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__uncompleteResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteResponse(struct soap*, const char*, _ngwm__uncompleteResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__uncompleteRequest +#define SOAP_TYPE_PointerTo_ngwm__uncompleteRequest (903) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__uncompleteRequest(struct soap*, const char *, int, _ngwm__uncompleteRequest *const*, const char *); +SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__uncompleteRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__uncompleteRequest(struct soap*, const char*, _ngwm__uncompleteRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__unacceptResponse +#define SOAP_TYPE_PointerTo_ngwm__unacceptResponse (900) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptResponse(struct soap*, const char *, int, _ngwm__unacceptResponse *const*, const char *); +SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptResponse(struct soap*, _ngwm__unacceptResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__unacceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptResponse(struct soap*, const char*, _ngwm__unacceptResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__unacceptRequest +#define SOAP_TYPE_PointerTo_ngwm__unacceptRequest (899) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__unacceptRequest(struct soap*, const char *, int, _ngwm__unacceptRequest *const*, const char *); +SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__unacceptRequest(struct soap*, _ngwm__unacceptRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__unacceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__unacceptRequest(struct soap*, const char*, _ngwm__unacceptRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse +#define SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionResponse (896) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, const char *, int, _ngwm__startFreeBusySessionResponse *const*, const char *); +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, _ngwm__startFreeBusySessionResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__startFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionResponse(struct soap*, const char*, _ngwm__startFreeBusySessionResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest +#define SOAP_TYPE_PointerTo_ngwm__startFreeBusySessionRequest (895) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, const char *, int, _ngwm__startFreeBusySessionRequest *const*, const char *); +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__startFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__startFreeBusySessionRequest(struct soap*, const char*, _ngwm__startFreeBusySessionRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__setTimestampResponse +#define SOAP_TYPE_PointerTo_ngwm__setTimestampResponse (892) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampResponse(struct soap*, const char *, int, _ngwm__setTimestampResponse *const*, const char *); +SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampResponse(struct soap*, _ngwm__setTimestampResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__setTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampResponse(struct soap*, const char*, _ngwm__setTimestampResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__setTimestampRequest +#define SOAP_TYPE_PointerTo_ngwm__setTimestampRequest (891) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__setTimestampRequest(struct soap*, const char *, int, _ngwm__setTimestampRequest *const*, const char *); +SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__setTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__setTimestampRequest(struct soap*, const char*, _ngwm__setTimestampRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__sendItemResponse +#define SOAP_TYPE_PointerTo_ngwm__sendItemResponse (888) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemResponse(struct soap*, const char *, int, _ngwm__sendItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemResponse(struct soap*, _ngwm__sendItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__sendItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemResponse(struct soap*, const char*, _ngwm__sendItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__sendItemRequest +#define SOAP_TYPE_PointerTo_ngwm__sendItemRequest (887) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__sendItemRequest(struct soap*, const char *, int, _ngwm__sendItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__sendItemRequest(struct soap*, _ngwm__sendItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__sendItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__sendItemRequest(struct soap*, const char*, _ngwm__sendItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__retractResponse +#define SOAP_TYPE_PointerTo_ngwm__retractResponse (884) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractResponse(struct soap*, _ngwm__retractResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractResponse(struct soap*, _ngwm__retractResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractResponse(struct soap*, const char *, int, _ngwm__retractResponse *const*, const char *); +SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractResponse(struct soap*, _ngwm__retractResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__retractResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractResponse(struct soap*, const char*, _ngwm__retractResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__retractRequest +#define SOAP_TYPE_PointerTo_ngwm__retractRequest (883) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__retractRequest(struct soap*, _ngwm__retractRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__retractRequest(struct soap*, _ngwm__retractRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__retractRequest(struct soap*, const char *, int, _ngwm__retractRequest *const*, const char *); +SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__retractRequest(struct soap*, _ngwm__retractRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__retractRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__retractRequest(struct soap*, const char*, _ngwm__retractRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__replyResponse +#define SOAP_TYPE_PointerTo_ngwm__replyResponse (880) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyResponse(struct soap*, _ngwm__replyResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyResponse(struct soap*, _ngwm__replyResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyResponse(struct soap*, const char *, int, _ngwm__replyResponse *const*, const char *); +SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyResponse(struct soap*, _ngwm__replyResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__replyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyResponse(struct soap*, const char*, _ngwm__replyResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__replyRequest +#define SOAP_TYPE_PointerTo_ngwm__replyRequest (879) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__replyRequest(struct soap*, _ngwm__replyRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__replyRequest(struct soap*, _ngwm__replyRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__replyRequest(struct soap*, const char *, int, _ngwm__replyRequest *const*, const char *); +SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__replyRequest(struct soap*, _ngwm__replyRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__replyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__replyRequest(struct soap*, const char*, _ngwm__replyRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse +#define SOAP_TYPE_PointerTo_ngwm__removeSignatureResponse (876) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureResponse(struct soap*, const char *, int, _ngwm__removeSignatureResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureResponse(struct soap*, _ngwm__removeSignatureResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureResponse(struct soap*, const char*, _ngwm__removeSignatureResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest +#define SOAP_TYPE_PointerTo_ngwm__removeSignatureRequest (875) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeSignatureRequest(struct soap*, const char *, int, _ngwm__removeSignatureRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeSignatureRequest(struct soap*, const char*, _ngwm__removeSignatureRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse +#define SOAP_TYPE_PointerTo_ngwm__removeProxyUserResponse (872) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserResponse(struct soap*, const char *, int, _ngwm__removeProxyUserResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserResponse(struct soap*, _ngwm__removeProxyUserResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyUserResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserResponse(struct soap*, const char*, _ngwm__removeProxyUserResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest +#define SOAP_TYPE_PointerTo_ngwm__removeProxyUserRequest (871) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyUserRequest(struct soap*, const char *, int, _ngwm__removeProxyUserRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyUserRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyUserRequest(struct soap*, const char*, _ngwm__removeProxyUserRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse +#define SOAP_TYPE_PointerTo_ngwm__removeProxyAccessResponse (868) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, const char *, int, _ngwm__removeProxyAccessResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, _ngwm__removeProxyAccessResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessResponse(struct soap*, const char*, _ngwm__removeProxyAccessResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest +#define SOAP_TYPE_PointerTo_ngwm__removeProxyAccessRequest (867) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, const char *, int, _ngwm__removeProxyAccessRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeProxyAccessRequest(struct soap*, const char*, _ngwm__removeProxyAccessRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeMembersResponse +#define SOAP_TYPE_PointerTo_ngwm__removeMembersResponse (864) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersResponse(struct soap*, const char *, int, _ngwm__removeMembersResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersResponse(struct soap*, _ngwm__removeMembersResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersResponse(struct soap*, const char*, _ngwm__removeMembersResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeMembersRequest +#define SOAP_TYPE_PointerTo_ngwm__removeMembersRequest (863) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeMembersRequest(struct soap*, const char *, int, _ngwm__removeMembersRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeMembersRequest(struct soap*, const char*, _ngwm__removeMembersRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse +#define SOAP_TYPE_PointerTo_ngwm__removeJunkEntryResponse (860) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, const char *, int, _ngwm__removeJunkEntryResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, _ngwm__removeJunkEntryResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryResponse(struct soap*, const char*, _ngwm__removeJunkEntryResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest +#define SOAP_TYPE_PointerTo_ngwm__removeJunkEntryRequest (859) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, const char *, int, _ngwm__removeJunkEntryRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeJunkEntryRequest(struct soap*, const char*, _ngwm__removeJunkEntryRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemsResponse +#define SOAP_TYPE_PointerTo_ngwm__removeItemsResponse (856) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsResponse(struct soap*, const char *, int, _ngwm__removeItemsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsResponse(struct soap*, _ngwm__removeItemsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsResponse(struct soap*, const char*, _ngwm__removeItemsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemsRequest +#define SOAP_TYPE_PointerTo_ngwm__removeItemsRequest (855) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemsRequest(struct soap*, const char *, int, _ngwm__removeItemsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemsRequest(struct soap*, const char*, _ngwm__removeItemsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemResponse +#define SOAP_TYPE_PointerTo_ngwm__removeItemResponse (852) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemResponse(struct soap*, const char *, int, _ngwm__removeItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemResponse(struct soap*, _ngwm__removeItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemResponse(struct soap*, const char*, _ngwm__removeItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeItemRequest +#define SOAP_TYPE_PointerTo_ngwm__removeItemRequest (851) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeItemRequest(struct soap*, const char *, int, _ngwm__removeItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeItemRequest(struct soap*, _ngwm__removeItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeItemRequest(struct soap*, const char*, _ngwm__removeItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse +#define SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionResponse (848) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, const char *, int, _ngwm__removeCustomDefinitionResponse *const*, const char *); +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, _ngwm__removeCustomDefinitionResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeCustomDefinitionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionResponse(struct soap*, const char*, _ngwm__removeCustomDefinitionResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest +#define SOAP_TYPE_PointerTo_ngwm__removeCustomDefinitionRequest (847) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, const char *, int, _ngwm__removeCustomDefinitionRequest *const*, const char *); +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__removeCustomDefinitionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__removeCustomDefinitionRequest(struct soap*, const char*, _ngwm__removeCustomDefinitionRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__readCursorResponse +#define SOAP_TYPE_PointerTo_ngwm__readCursorResponse (844) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorResponse(struct soap*, const char *, int, _ngwm__readCursorResponse *const*, const char *); +SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorResponse(struct soap*, _ngwm__readCursorResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__readCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorResponse(struct soap*, const char*, _ngwm__readCursorResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__readCursorRequest +#define SOAP_TYPE_PointerTo_ngwm__readCursorRequest (843) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__readCursorRequest(struct soap*, const char *, int, _ngwm__readCursorRequest *const*, const char *); +SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__readCursorRequest(struct soap*, _ngwm__readCursorRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__readCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__readCursorRequest(struct soap*, const char*, _ngwm__readCursorRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__purgeResponse +#define SOAP_TYPE_PointerTo_ngwm__purgeResponse (840) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeResponse(struct soap*, const char *, int, _ngwm__purgeResponse *const*, const char *); +SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeResponse(struct soap*, _ngwm__purgeResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeResponse(struct soap*, const char*, _ngwm__purgeResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__purgeRequest +#define SOAP_TYPE_PointerTo_ngwm__purgeRequest (839) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeRequest(struct soap*, const char *, int, _ngwm__purgeRequest *const*, const char *); +SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeRequest(struct soap*, _ngwm__purgeRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeRequest(struct soap*, const char*, _ngwm__purgeRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse +#define SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsResponse (836) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, const char *, int, _ngwm__purgeDeletedItemsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, _ngwm__purgeDeletedItemsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeDeletedItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsResponse(struct soap*, const char*, _ngwm__purgeDeletedItemsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest +#define SOAP_TYPE_PointerTo_ngwm__purgeDeletedItemsRequest (835) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, const char *, int, _ngwm__purgeDeletedItemsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__purgeDeletedItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__purgeDeletedItemsRequest(struct soap*, const char*, _ngwm__purgeDeletedItemsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__positionCursorResponse +#define SOAP_TYPE_PointerTo_ngwm__positionCursorResponse (832) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorResponse(struct soap*, const char *, int, _ngwm__positionCursorResponse *const*, const char *); +SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorResponse(struct soap*, _ngwm__positionCursorResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__positionCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorResponse(struct soap*, const char*, _ngwm__positionCursorResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__positionCursorRequest +#define SOAP_TYPE_PointerTo_ngwm__positionCursorRequest (831) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__positionCursorRequest(struct soap*, const char *, int, _ngwm__positionCursorRequest *const*, const char *); +SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__positionCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__positionCursorRequest(struct soap*, const char*, _ngwm__positionCursorRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__moveItemResponse +#define SOAP_TYPE_PointerTo_ngwm__moveItemResponse (828) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemResponse(struct soap*, const char *, int, _ngwm__moveItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemResponse(struct soap*, _ngwm__moveItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__moveItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemResponse(struct soap*, const char*, _ngwm__moveItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__moveItemRequest +#define SOAP_TYPE_PointerTo_ngwm__moveItemRequest (827) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__moveItemRequest(struct soap*, const char *, int, _ngwm__moveItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__moveItemRequest(struct soap*, _ngwm__moveItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__moveItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__moveItemRequest(struct soap*, const char*, _ngwm__moveItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse +#define SOAP_TYPE_PointerTo_ngwm__modifySignaturesResponse (824) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesResponse(struct soap*, const char *, int, _ngwm__modifySignaturesResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesResponse(struct soap*, _ngwm__modifySignaturesResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesResponse(struct soap*, const char*, _ngwm__modifySignaturesResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest +#define SOAP_TYPE_PointerTo_ngwm__modifySignaturesRequest (823) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySignaturesRequest(struct soap*, const char *, int, _ngwm__modifySignaturesRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySignaturesRequest(struct soap*, const char*, _ngwm__modifySignaturesRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse +#define SOAP_TYPE_PointerTo_ngwm__modifySettingsResponse (820) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsResponse(struct soap*, const char *, int, _ngwm__modifySettingsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsResponse(struct soap*, _ngwm__modifySettingsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsResponse(struct soap*, const char*, _ngwm__modifySettingsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest +#define SOAP_TYPE_PointerTo_ngwm__modifySettingsRequest (819) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifySettingsRequest(struct soap*, const char *, int, _ngwm__modifySettingsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifySettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifySettingsRequest(struct soap*, const char*, _ngwm__modifySettingsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse +#define SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessResponse (816) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, const char *, int, _ngwm__modifyProxyAccessResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, _ngwm__modifyProxyAccessResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessResponse(struct soap*, const char*, _ngwm__modifyProxyAccessResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest +#define SOAP_TYPE_PointerTo_ngwm__modifyProxyAccessRequest (815) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, const char *, int, _ngwm__modifyProxyAccessRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyProxyAccessRequest(struct soap*, const char*, _ngwm__modifyProxyAccessRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse +#define SOAP_TYPE_PointerTo_ngwm__modifyPasswordResponse (812) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordResponse(struct soap*, const char *, int, _ngwm__modifyPasswordResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordResponse(struct soap*, _ngwm__modifyPasswordResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyPasswordResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordResponse(struct soap*, const char*, _ngwm__modifyPasswordResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest +#define SOAP_TYPE_PointerTo_ngwm__modifyPasswordRequest (811) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyPasswordRequest(struct soap*, const char *, int, _ngwm__modifyPasswordRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyPasswordRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyPasswordRequest(struct soap*, const char*, _ngwm__modifyPasswordRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse +#define SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsResponse (808) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, const char *, int, _ngwm__modifyJunkMailSettingsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, _ngwm__modifyJunkMailSettingsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsResponse(struct soap*, const char*, _ngwm__modifyJunkMailSettingsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest +#define SOAP_TYPE_PointerTo_ngwm__modifyJunkMailSettingsRequest (807) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, const char *, int, _ngwm__modifyJunkMailSettingsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkMailSettingsRequest(struct soap*, const char*, _ngwm__modifyJunkMailSettingsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse +#define SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryResponse (804) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, const char *, int, _ngwm__modifyJunkEntryResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, _ngwm__modifyJunkEntryResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryResponse(struct soap*, const char*, _ngwm__modifyJunkEntryResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest +#define SOAP_TYPE_PointerTo_ngwm__modifyJunkEntryRequest (803) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, const char *, int, _ngwm__modifyJunkEntryRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyJunkEntryRequest(struct soap*, const char*, _ngwm__modifyJunkEntryRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyItemResponse +#define SOAP_TYPE_PointerTo_ngwm__modifyItemResponse (800) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemResponse(struct soap*, const char *, int, _ngwm__modifyItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemResponse(struct soap*, _ngwm__modifyItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemResponse(struct soap*, const char*, _ngwm__modifyItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__modifyItemRequest +#define SOAP_TYPE_PointerTo_ngwm__modifyItemRequest (799) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__modifyItemRequest(struct soap*, const char *, int, _ngwm__modifyItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__modifyItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__modifyItemRequest(struct soap*, const char*, _ngwm__modifyItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markUnReadResponse +#define SOAP_TYPE_PointerTo_ngwm__markUnReadResponse (796) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadResponse(struct soap*, const char *, int, _ngwm__markUnReadResponse *const*, const char *); +SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadResponse(struct soap*, _ngwm__markUnReadResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadResponse(struct soap*, const char*, _ngwm__markUnReadResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markUnReadRequest +#define SOAP_TYPE_PointerTo_ngwm__markUnReadRequest (795) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnReadRequest(struct soap*, const char *, int, _ngwm__markUnReadRequest *const*, const char *); +SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnReadRequest(struct soap*, const char*, _ngwm__markUnReadRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse +#define SOAP_TYPE_PointerTo_ngwm__markUnPrivateResponse (792) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateResponse(struct soap*, const char *, int, _ngwm__markUnPrivateResponse *const*, const char *); +SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateResponse(struct soap*, _ngwm__markUnPrivateResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateResponse(struct soap*, const char*, _ngwm__markUnPrivateResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest +#define SOAP_TYPE_PointerTo_ngwm__markUnPrivateRequest (791) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markUnPrivateRequest(struct soap*, const char *, int, _ngwm__markUnPrivateRequest *const*, const char *); +SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__markUnPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markUnPrivateRequest(struct soap*, const char*, _ngwm__markUnPrivateRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markReadResponse +#define SOAP_TYPE_PointerTo_ngwm__markReadResponse (788) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadResponse(struct soap*, const char *, int, _ngwm__markReadResponse *const*, const char *); +SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadResponse(struct soap*, _ngwm__markReadResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__markReadResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadResponse(struct soap*, const char*, _ngwm__markReadResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markReadRequest +#define SOAP_TYPE_PointerTo_ngwm__markReadRequest (787) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markReadRequest(struct soap*, const char *, int, _ngwm__markReadRequest *const*, const char *); +SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markReadRequest(struct soap*, _ngwm__markReadRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__markReadRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markReadRequest(struct soap*, const char*, _ngwm__markReadRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markPrivateResponse +#define SOAP_TYPE_PointerTo_ngwm__markPrivateResponse (784) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateResponse(struct soap*, const char *, int, _ngwm__markPrivateResponse *const*, const char *); +SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateResponse(struct soap*, _ngwm__markPrivateResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__markPrivateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateResponse(struct soap*, const char*, _ngwm__markPrivateResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__markPrivateRequest +#define SOAP_TYPE_PointerTo_ngwm__markPrivateRequest (783) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__markPrivateRequest(struct soap*, const char *, int, _ngwm__markPrivateRequest *const*, const char *); +SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__markPrivateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__markPrivateRequest(struct soap*, const char*, _ngwm__markPrivateRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__logoutResponse +#define SOAP_TYPE_PointerTo_ngwm__logoutResponse (780) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutResponse(struct soap*, const char *, int, _ngwm__logoutResponse *const*, const char *); +SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutResponse(struct soap*, _ngwm__logoutResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__logoutResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutResponse(struct soap*, const char*, _ngwm__logoutResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__logoutRequest +#define SOAP_TYPE_PointerTo_ngwm__logoutRequest (779) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__logoutRequest(struct soap*, const char *, int, _ngwm__logoutRequest *const*, const char *); +SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__logoutRequest(struct soap*, _ngwm__logoutRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__logoutRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__logoutRequest(struct soap*, const char*, _ngwm__logoutRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__loginResponse +#define SOAP_TYPE_PointerTo_ngwm__loginResponse (776) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginResponse(struct soap*, _ngwm__loginResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginResponse(struct soap*, _ngwm__loginResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginResponse(struct soap*, const char *, int, _ngwm__loginResponse *const*, const char *); +SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginResponse(struct soap*, _ngwm__loginResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__loginResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginResponse(struct soap*, const char*, _ngwm__loginResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__loginRequest +#define SOAP_TYPE_PointerTo_ngwm__loginRequest (775) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__loginRequest(struct soap*, _ngwm__loginRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__loginRequest(struct soap*, _ngwm__loginRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__loginRequest(struct soap*, const char *, int, _ngwm__loginRequest *const*, const char *); +SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__loginRequest(struct soap*, _ngwm__loginRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__loginRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__loginRequest(struct soap*, const char*, _ngwm__loginRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getUserListResponse +#define SOAP_TYPE_PointerTo_ngwm__getUserListResponse (772) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListResponse(struct soap*, const char *, int, _ngwm__getUserListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListResponse(struct soap*, _ngwm__getUserListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getUserListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListResponse(struct soap*, const char*, _ngwm__getUserListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getUserListRequest +#define SOAP_TYPE_PointerTo_ngwm__getUserListRequest (771) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getUserListRequest(struct soap*, const char *, int, _ngwm__getUserListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getUserListRequest(struct soap*, _ngwm__getUserListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getUserListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getUserListRequest(struct soap*, const char*, _ngwm__getUserListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse +#define SOAP_TYPE_PointerTo_ngwm__getTimezoneListResponse (768) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListResponse(struct soap*, const char *, int, _ngwm__getTimezoneListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListResponse(struct soap*, _ngwm__getTimezoneListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimezoneListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListResponse(struct soap*, const char*, _ngwm__getTimezoneListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest +#define SOAP_TYPE_PointerTo_ngwm__getTimezoneListRequest (767) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimezoneListRequest(struct soap*, const char *, int, _ngwm__getTimezoneListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimezoneListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimezoneListRequest(struct soap*, const char*, _ngwm__getTimezoneListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getTimestampResponse +#define SOAP_TYPE_PointerTo_ngwm__getTimestampResponse (764) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampResponse(struct soap*, const char *, int, _ngwm__getTimestampResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampResponse(struct soap*, _ngwm__getTimestampResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimestampResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampResponse(struct soap*, const char*, _ngwm__getTimestampResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getTimestampRequest +#define SOAP_TYPE_PointerTo_ngwm__getTimestampRequest (763) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getTimestampRequest(struct soap*, const char *, int, _ngwm__getTimestampRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getTimestampRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getTimestampRequest(struct soap*, const char*, _ngwm__getTimestampRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse +#define SOAP_TYPE_PointerTo_ngwm__getSignaturesResponse (760) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesResponse(struct soap*, const char *, int, _ngwm__getSignaturesResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesResponse(struct soap*, _ngwm__getSignaturesResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getSignaturesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesResponse(struct soap*, const char*, _ngwm__getSignaturesResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest +#define SOAP_TYPE_PointerTo_ngwm__getSignaturesRequest (759) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSignaturesRequest(struct soap*, const char *, int, _ngwm__getSignaturesRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getSignaturesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSignaturesRequest(struct soap*, const char*, _ngwm__getSignaturesRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getSettingsResponse +#define SOAP_TYPE_PointerTo_ngwm__getSettingsResponse (756) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsResponse(struct soap*, const char *, int, _ngwm__getSettingsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsResponse(struct soap*, _ngwm__getSettingsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsResponse(struct soap*, const char*, _ngwm__getSettingsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getSettingsRequest +#define SOAP_TYPE_PointerTo_ngwm__getSettingsRequest (755) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getSettingsRequest(struct soap*, const char *, int, _ngwm__getSettingsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getSettingsRequest(struct soap*, const char*, _ngwm__getSettingsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getRuleListResponse +#define SOAP_TYPE_PointerTo_ngwm__getRuleListResponse (752) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListResponse(struct soap*, const char *, int, _ngwm__getRuleListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListResponse(struct soap*, _ngwm__getRuleListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getRuleListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListResponse(struct soap*, const char*, _ngwm__getRuleListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getRuleListRequest +#define SOAP_TYPE_PointerTo_ngwm__getRuleListRequest (751) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getRuleListRequest(struct soap*, const char *, int, _ngwm__getRuleListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getRuleListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getRuleListRequest(struct soap*, const char*, _ngwm__getRuleListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyListResponse +#define SOAP_TYPE_PointerTo_ngwm__getProxyListResponse (748) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListResponse(struct soap*, const char *, int, _ngwm__getProxyListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListResponse(struct soap*, _ngwm__getProxyListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListResponse(struct soap*, const char*, _ngwm__getProxyListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyListRequest +#define SOAP_TYPE_PointerTo_ngwm__getProxyListRequest (747) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyListRequest(struct soap*, const char *, int, _ngwm__getProxyListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyListRequest(struct soap*, const char*, _ngwm__getProxyListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse +#define SOAP_TYPE_PointerTo_ngwm__getProxyAccessListResponse (744) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, const char *, int, _ngwm__getProxyAccessListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, _ngwm__getProxyAccessListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyAccessListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListResponse(struct soap*, const char*, _ngwm__getProxyAccessListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest +#define SOAP_TYPE_PointerTo_ngwm__getProxyAccessListRequest (743) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, const char *, int, _ngwm__getProxyAccessListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getProxyAccessListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getProxyAccessListRequest(struct soap*, const char*, _ngwm__getProxyAccessListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse +#define SOAP_TYPE_PointerTo_ngwm__getQuickMessagesResponse (740) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, const char *, int, _ngwm__getQuickMessagesResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, _ngwm__getQuickMessagesResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getQuickMessagesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesResponse(struct soap*, const char*, _ngwm__getQuickMessagesResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest +#define SOAP_TYPE_PointerTo_ngwm__getQuickMessagesRequest (739) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, const char *, int, _ngwm__getQuickMessagesRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getQuickMessagesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getQuickMessagesRequest(struct soap*, const char*, _ngwm__getQuickMessagesRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse +#define SOAP_TYPE_PointerTo_ngwm__getLibraryListResponse (736) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListResponse(struct soap*, const char *, int, _ngwm__getLibraryListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListResponse(struct soap*, _ngwm__getLibraryListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListResponse(struct soap*, const char*, _ngwm__getLibraryListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest +#define SOAP_TYPE_PointerTo_ngwm__getLibraryListRequest (735) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryListRequest(struct soap*, const char *, int, _ngwm__getLibraryListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryListRequest(struct soap*, const char*, _ngwm__getLibraryListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse +#define SOAP_TYPE_PointerTo_ngwm__getLibraryItemResponse (732) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemResponse(struct soap*, const char *, int, _ngwm__getLibraryItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemResponse(struct soap*, _ngwm__getLibraryItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemResponse(struct soap*, const char*, _ngwm__getLibraryItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest +#define SOAP_TYPE_PointerTo_ngwm__getLibraryItemRequest (731) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getLibraryItemRequest(struct soap*, const char *, int, _ngwm__getLibraryItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getLibraryItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getLibraryItemRequest(struct soap*, const char*, _ngwm__getLibraryItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse +#define SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsResponse (728) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, const char *, int, _ngwm__getJunkMailSettingsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, _ngwm__getJunkMailSettingsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkMailSettingsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsResponse(struct soap*, const char*, _ngwm__getJunkMailSettingsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest +#define SOAP_TYPE_PointerTo_ngwm__getJunkMailSettingsRequest (727) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, const char *, int, _ngwm__getJunkMailSettingsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkMailSettingsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkMailSettingsRequest(struct soap*, const char*, _ngwm__getJunkMailSettingsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse +#define SOAP_TYPE_PointerTo_ngwm__getJunkEntriesResponse (724) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, const char *, int, _ngwm__getJunkEntriesResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, _ngwm__getJunkEntriesResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkEntriesResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesResponse(struct soap*, const char*, _ngwm__getJunkEntriesResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest +#define SOAP_TYPE_PointerTo_ngwm__getJunkEntriesRequest (723) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, const char *, int, _ngwm__getJunkEntriesRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getJunkEntriesRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getJunkEntriesRequest(struct soap*, const char*, _ngwm__getJunkEntriesRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getItemsResponse +#define SOAP_TYPE_PointerTo_ngwm__getItemsResponse (720) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsResponse(struct soap*, const char *, int, _ngwm__getItemsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsResponse(struct soap*, _ngwm__getItemsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsResponse(struct soap*, const char*, _ngwm__getItemsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getItemsRequest +#define SOAP_TYPE_PointerTo_ngwm__getItemsRequest (719) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemsRequest(struct soap*, const char *, int, _ngwm__getItemsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemsRequest(struct soap*, _ngwm__getItemsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemsRequest(struct soap*, const char*, _ngwm__getItemsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getItemResponse +#define SOAP_TYPE_PointerTo_ngwm__getItemResponse (716) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemResponse(struct soap*, const char *, int, _ngwm__getItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemResponse(struct soap*, _ngwm__getItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemResponse(struct soap*, const char*, _ngwm__getItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getItemRequest +#define SOAP_TYPE_PointerTo_ngwm__getItemRequest (715) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getItemRequest(struct soap*, const char *, int, _ngwm__getItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getItemRequest(struct soap*, _ngwm__getItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getItemRequest(struct soap*, const char*, _ngwm__getItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse +#define SOAP_TYPE_PointerTo_ngwm__getFreeBusyResponse (712) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyResponse(struct soap*, const char *, int, _ngwm__getFreeBusyResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyResponse(struct soap*, _ngwm__getFreeBusyResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getFreeBusyResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyResponse(struct soap*, const char*, _ngwm__getFreeBusyResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest +#define SOAP_TYPE_PointerTo_ngwm__getFreeBusyRequest (711) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFreeBusyRequest(struct soap*, const char *, int, _ngwm__getFreeBusyRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getFreeBusyRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFreeBusyRequest(struct soap*, const char*, _ngwm__getFreeBusyRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderListResponse +#define SOAP_TYPE_PointerTo_ngwm__getFolderListResponse (708) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListResponse(struct soap*, const char *, int, _ngwm__getFolderListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListResponse(struct soap*, _ngwm__getFolderListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListResponse(struct soap*, const char*, _ngwm__getFolderListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderListRequest +#define SOAP_TYPE_PointerTo_ngwm__getFolderListRequest (707) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderListRequest(struct soap*, const char *, int, _ngwm__getFolderListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderListRequest(struct soap*, const char*, _ngwm__getFolderListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderResponse +#define SOAP_TYPE_PointerTo_ngwm__getFolderResponse (704) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderResponse(struct soap*, const char *, int, _ngwm__getFolderResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderResponse(struct soap*, _ngwm__getFolderResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderResponse(struct soap*, const char*, _ngwm__getFolderResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getFolderRequest +#define SOAP_TYPE_PointerTo_ngwm__getFolderRequest (703) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getFolderRequest(struct soap*, const char *, int, _ngwm__getFolderRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getFolderRequest(struct soap*, _ngwm__getFolderRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getFolderRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getFolderRequest(struct soap*, const char*, _ngwm__getFolderRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse +#define SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListResponse (700) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, const char *, int, _ngwm__getDocumentTypeListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, _ngwm__getDocumentTypeListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getDocumentTypeListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListResponse(struct soap*, const char*, _ngwm__getDocumentTypeListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest +#define SOAP_TYPE_PointerTo_ngwm__getDocumentTypeListRequest (699) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, const char *, int, _ngwm__getDocumentTypeListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getDocumentTypeListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDocumentTypeListRequest(struct soap*, const char*, _ngwm__getDocumentTypeListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse +#define SOAP_TYPE_PointerTo_ngwm__getDeltaInfoResponse (696) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, const char *, int, _ngwm__getDeltaInfoResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, _ngwm__getDeltaInfoResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltaInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoResponse(struct soap*, const char*, _ngwm__getDeltaInfoResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest +#define SOAP_TYPE_PointerTo_ngwm__getDeltaInfoRequest (695) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, const char *, int, _ngwm__getDeltaInfoRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltaInfoRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltaInfoRequest(struct soap*, const char*, _ngwm__getDeltaInfoRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltasResponse +#define SOAP_TYPE_PointerTo_ngwm__getDeltasResponse (692) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasResponse(struct soap*, const char *, int, _ngwm__getDeltasResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasResponse(struct soap*, _ngwm__getDeltasResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltasResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasResponse(struct soap*, const char*, _ngwm__getDeltasResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getDeltasRequest +#define SOAP_TYPE_PointerTo_ngwm__getDeltasRequest (691) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getDeltasRequest(struct soap*, const char *, int, _ngwm__getDeltasRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getDeltasRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getDeltasRequest(struct soap*, const char*, _ngwm__getDeltasRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getCustomListResponse +#define SOAP_TYPE_PointerTo_ngwm__getCustomListResponse (688) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListResponse(struct soap*, const char *, int, _ngwm__getCustomListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListResponse(struct soap*, _ngwm__getCustomListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getCustomListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListResponse(struct soap*, const char*, _ngwm__getCustomListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getCustomListRequest +#define SOAP_TYPE_PointerTo_ngwm__getCustomListRequest (687) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCustomListRequest(struct soap*, const char *, int, _ngwm__getCustomListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getCustomListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCustomListRequest(struct soap*, const char*, _ngwm__getCustomListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse +#define SOAP_TYPE_PointerTo_ngwm__getCategoryListResponse (684) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListResponse(struct soap*, const char *, int, _ngwm__getCategoryListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListResponse(struct soap*, _ngwm__getCategoryListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getCategoryListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListResponse(struct soap*, const char*, _ngwm__getCategoryListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest +#define SOAP_TYPE_PointerTo_ngwm__getCategoryListRequest (683) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getCategoryListRequest(struct soap*, const char *, int, _ngwm__getCategoryListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getCategoryListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getCategoryListRequest(struct soap*, const char*, _ngwm__getCategoryListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse +#define SOAP_TYPE_PointerTo_ngwm__getAttachmentResponse (680) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentResponse(struct soap*, const char *, int, _ngwm__getAttachmentResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentResponse(struct soap*, _ngwm__getAttachmentResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getAttachmentResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentResponse(struct soap*, const char*, _ngwm__getAttachmentResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest +#define SOAP_TYPE_PointerTo_ngwm__getAttachmentRequest (679) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAttachmentRequest(struct soap*, const char *, int, _ngwm__getAttachmentRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAttachmentRequest(struct soap*, _ngwm__getAttachmentRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getAttachmentRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAttachmentRequest(struct soap*, const char*, _ngwm__getAttachmentRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse +#define SOAP_TYPE_PointerTo_ngwm__getAddressBookListResponse (676) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListResponse(struct soap*, const char *, int, _ngwm__getAddressBookListResponse *const*, const char *); +SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListResponse(struct soap*, _ngwm__getAddressBookListResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__getAddressBookListResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListResponse(struct soap*, const char*, _ngwm__getAddressBookListResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest +#define SOAP_TYPE_PointerTo_ngwm__getAddressBookListRequest (675) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__getAddressBookListRequest(struct soap*, const char *, int, _ngwm__getAddressBookListRequest *const*, const char *); +SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__getAddressBookListRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__getAddressBookListRequest(struct soap*, const char*, _ngwm__getAddressBookListRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__forwardResponse +#define SOAP_TYPE_PointerTo_ngwm__forwardResponse (672) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardResponse(struct soap*, const char *, int, _ngwm__forwardResponse *const*, const char *); +SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardResponse(struct soap*, _ngwm__forwardResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__forwardResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardResponse(struct soap*, const char*, _ngwm__forwardResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__forwardRequest +#define SOAP_TYPE_PointerTo_ngwm__forwardRequest (671) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__forwardRequest(struct soap*, const char *, int, _ngwm__forwardRequest *const*, const char *); +SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__forwardRequest(struct soap*, _ngwm__forwardRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__forwardRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__forwardRequest(struct soap*, const char*, _ngwm__forwardRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__executeRuleResponse +#define SOAP_TYPE_PointerTo_ngwm__executeRuleResponse (668) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleResponse(struct soap*, const char *, int, _ngwm__executeRuleResponse *const*, const char *); +SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleResponse(struct soap*, _ngwm__executeRuleResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__executeRuleResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleResponse(struct soap*, const char*, _ngwm__executeRuleResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__executeRuleRequest +#define SOAP_TYPE_PointerTo_ngwm__executeRuleRequest (667) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__executeRuleRequest(struct soap*, const char *, int, _ngwm__executeRuleRequest *const*, const char *); +SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__executeRuleRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__executeRuleRequest(struct soap*, const char*, _ngwm__executeRuleRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse +#define SOAP_TYPE_PointerTo_ngwm__destroyCursorResponse (664) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorResponse(struct soap*, const char *, int, _ngwm__destroyCursorResponse *const*, const char *); +SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorResponse(struct soap*, _ngwm__destroyCursorResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__destroyCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorResponse(struct soap*, const char*, _ngwm__destroyCursorResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest +#define SOAP_TYPE_PointerTo_ngwm__destroyCursorRequest (663) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__destroyCursorRequest(struct soap*, const char *, int, _ngwm__destroyCursorRequest *const*, const char *); +SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__destroyCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__destroyCursorRequest(struct soap*, const char*, _ngwm__destroyCursorRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__delegateResponse +#define SOAP_TYPE_PointerTo_ngwm__delegateResponse (660) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateResponse(struct soap*, const char *, int, _ngwm__delegateResponse *const*, const char *); +SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateResponse(struct soap*, _ngwm__delegateResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__delegateResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateResponse(struct soap*, const char*, _ngwm__delegateResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__delegateRequest +#define SOAP_TYPE_PointerTo_ngwm__delegateRequest (659) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__delegateRequest(struct soap*, const char *, int, _ngwm__delegateRequest *const*, const char *); +SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__delegateRequest(struct soap*, _ngwm__delegateRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__delegateRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__delegateRequest(struct soap*, const char*, _ngwm__delegateRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__declineResponse +#define SOAP_TYPE_PointerTo_ngwm__declineResponse (656) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineResponse(struct soap*, _ngwm__declineResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineResponse(struct soap*, _ngwm__declineResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineResponse(struct soap*, const char *, int, _ngwm__declineResponse *const*, const char *); +SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineResponse(struct soap*, _ngwm__declineResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__declineResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineResponse(struct soap*, const char*, _ngwm__declineResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__declineRequest +#define SOAP_TYPE_PointerTo_ngwm__declineRequest (655) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__declineRequest(struct soap*, _ngwm__declineRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__declineRequest(struct soap*, _ngwm__declineRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__declineRequest(struct soap*, const char *, int, _ngwm__declineRequest *const*, const char *); +SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__declineRequest(struct soap*, _ngwm__declineRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__declineRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__declineRequest(struct soap*, const char*, _ngwm__declineRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createSignatureResponse +#define SOAP_TYPE_PointerTo_ngwm__createSignatureResponse (652) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureResponse(struct soap*, const char *, int, _ngwm__createSignatureResponse *const*, const char *); +SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureResponse(struct soap*, _ngwm__createSignatureResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__createSignatureResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureResponse(struct soap*, const char*, _ngwm__createSignatureResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createSignatureRequest +#define SOAP_TYPE_PointerTo_ngwm__createSignatureRequest (651) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createSignatureRequest(struct soap*, const char *, int, _ngwm__createSignatureRequest *const*, const char *); +SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__createSignatureRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createSignatureRequest(struct soap*, const char*, _ngwm__createSignatureRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse +#define SOAP_TYPE_PointerTo_ngwm__createProxyAccessResponse (648) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessResponse(struct soap*, const char *, int, _ngwm__createProxyAccessResponse *const*, const char *); +SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessResponse(struct soap*, _ngwm__createProxyAccessResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__createProxyAccessResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessResponse(struct soap*, const char*, _ngwm__createProxyAccessResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest +#define SOAP_TYPE_PointerTo_ngwm__createProxyAccessRequest (647) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createProxyAccessRequest(struct soap*, const char *, int, _ngwm__createProxyAccessRequest *const*, const char *); +SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__createProxyAccessRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createProxyAccessRequest(struct soap*, const char*, _ngwm__createProxyAccessRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse +#define SOAP_TYPE_PointerTo_ngwm__createJunkEntryResponse (644) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryResponse(struct soap*, const char *, int, _ngwm__createJunkEntryResponse *const*, const char *); +SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryResponse(struct soap*, _ngwm__createJunkEntryResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__createJunkEntryResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryResponse(struct soap*, const char*, _ngwm__createJunkEntryResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest +#define SOAP_TYPE_PointerTo_ngwm__createJunkEntryRequest (643) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createJunkEntryRequest(struct soap*, const char *, int, _ngwm__createJunkEntryRequest *const*, const char *); +SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__createJunkEntryRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createJunkEntryRequest(struct soap*, const char*, _ngwm__createJunkEntryRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createItemsResponse +#define SOAP_TYPE_PointerTo_ngwm__createItemsResponse (640) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsResponse(struct soap*, const char *, int, _ngwm__createItemsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsResponse(struct soap*, _ngwm__createItemsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsResponse(struct soap*, const char*, _ngwm__createItemsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createItemsRequest +#define SOAP_TYPE_PointerTo_ngwm__createItemsRequest (639) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemsRequest(struct soap*, const char *, int, _ngwm__createItemsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemsRequest(struct soap*, _ngwm__createItemsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemsRequest(struct soap*, const char*, _ngwm__createItemsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createItemResponse +#define SOAP_TYPE_PointerTo_ngwm__createItemResponse (636) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemResponse(struct soap*, const char *, int, _ngwm__createItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemResponse(struct soap*, _ngwm__createItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemResponse(struct soap*, const char*, _ngwm__createItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createItemRequest +#define SOAP_TYPE_PointerTo_ngwm__createItemRequest (635) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createItemRequest(struct soap*, const char *, int, _ngwm__createItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createItemRequest(struct soap*, _ngwm__createItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__createItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createItemRequest(struct soap*, const char*, _ngwm__createItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createCursorResponse +#define SOAP_TYPE_PointerTo_ngwm__createCursorResponse (632) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorResponse(struct soap*, const char *, int, _ngwm__createCursorResponse *const*, const char *); +SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorResponse(struct soap*, _ngwm__createCursorResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__createCursorResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorResponse(struct soap*, const char*, _ngwm__createCursorResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__createCursorRequest +#define SOAP_TYPE_PointerTo_ngwm__createCursorRequest (631) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__createCursorRequest(struct soap*, const char *, int, _ngwm__createCursorRequest *const*, const char *); +SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__createCursorRequest(struct soap*, _ngwm__createCursorRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__createCursorRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__createCursorRequest(struct soap*, const char*, _ngwm__createCursorRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__completeResponse +#define SOAP_TYPE_PointerTo_ngwm__completeResponse (628) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeResponse(struct soap*, _ngwm__completeResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeResponse(struct soap*, _ngwm__completeResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeResponse(struct soap*, const char *, int, _ngwm__completeResponse *const*, const char *); +SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeResponse(struct soap*, _ngwm__completeResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__completeResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeResponse(struct soap*, const char*, _ngwm__completeResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__completeRequest +#define SOAP_TYPE_PointerTo_ngwm__completeRequest (627) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__completeRequest(struct soap*, _ngwm__completeRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__completeRequest(struct soap*, _ngwm__completeRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__completeRequest(struct soap*, const char *, int, _ngwm__completeRequest *const*, const char *); +SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__completeRequest(struct soap*, _ngwm__completeRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__completeRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__completeRequest(struct soap*, const char*, _ngwm__completeRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse +#define SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionResponse (624) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, const char *, int, _ngwm__closeFreeBusySessionResponse *const*, const char *); +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, _ngwm__closeFreeBusySessionResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__closeFreeBusySessionResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionResponse(struct soap*, const char*, _ngwm__closeFreeBusySessionResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest +#define SOAP_TYPE_PointerTo_ngwm__closeFreeBusySessionRequest (623) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, const char *, int, _ngwm__closeFreeBusySessionRequest *const*, const char *); +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__closeFreeBusySessionRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__closeFreeBusySessionRequest(struct soap*, const char*, _ngwm__closeFreeBusySessionRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__addMembersResponse +#define SOAP_TYPE_PointerTo_ngwm__addMembersResponse (620) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersResponse(struct soap*, const char *, int, _ngwm__addMembersResponse *const*, const char *); +SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersResponse(struct soap*, _ngwm__addMembersResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__addMembersResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersResponse(struct soap*, const char*, _ngwm__addMembersResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__addMembersRequest +#define SOAP_TYPE_PointerTo_ngwm__addMembersRequest (619) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addMembersRequest(struct soap*, const char *, int, _ngwm__addMembersRequest *const*, const char *); +SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addMembersRequest(struct soap*, _ngwm__addMembersRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__addMembersRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addMembersRequest(struct soap*, const char*, _ngwm__addMembersRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__addItemsResponse +#define SOAP_TYPE_PointerTo_ngwm__addItemsResponse (616) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsResponse(struct soap*, const char *, int, _ngwm__addItemsResponse *const*, const char *); +SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsResponse(struct soap*, _ngwm__addItemsResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemsResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsResponse(struct soap*, const char*, _ngwm__addItemsResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__addItemsRequest +#define SOAP_TYPE_PointerTo_ngwm__addItemsRequest (615) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemsRequest(struct soap*, const char *, int, _ngwm__addItemsRequest *const*, const char *); +SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemsRequest(struct soap*, _ngwm__addItemsRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemsRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemsRequest(struct soap*, const char*, _ngwm__addItemsRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__addItemResponse +#define SOAP_TYPE_PointerTo_ngwm__addItemResponse (612) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemResponse(struct soap*, const char *, int, _ngwm__addItemResponse *const*, const char *); +SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemResponse(struct soap*, _ngwm__addItemResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemResponse(struct soap*, const char*, _ngwm__addItemResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__addItemRequest +#define SOAP_TYPE_PointerTo_ngwm__addItemRequest (611) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__addItemRequest(struct soap*, const char *, int, _ngwm__addItemRequest *const*, const char *); +SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__addItemRequest(struct soap*, _ngwm__addItemRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__addItemRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__addItemRequest(struct soap*, const char*, _ngwm__addItemRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__acceptShareResponse +#define SOAP_TYPE_PointerTo_ngwm__acceptShareResponse (608) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareResponse(struct soap*, const char *, int, _ngwm__acceptShareResponse *const*, const char *); +SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareResponse(struct soap*, _ngwm__acceptShareResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptShareResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareResponse(struct soap*, const char*, _ngwm__acceptShareResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__acceptShareRequest +#define SOAP_TYPE_PointerTo_ngwm__acceptShareRequest (607) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptShareRequest(struct soap*, const char *, int, _ngwm__acceptShareRequest *const*, const char *); +SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptShareRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptShareRequest(struct soap*, const char*, _ngwm__acceptShareRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__acceptResponse +#define SOAP_TYPE_PointerTo_ngwm__acceptResponse (604) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptResponse(struct soap*, const char *, int, _ngwm__acceptResponse *const*, const char *); +SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptResponse(struct soap*, _ngwm__acceptResponse **, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptResponse ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptResponse(struct soap*, const char*, _ngwm__acceptResponse **, const char*); + +#ifndef SOAP_TYPE_PointerTo_ngwm__acceptRequest +#define SOAP_TYPE_PointerTo_ngwm__acceptRequest (603) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ngwm__acceptRequest(struct soap*, const char *, int, _ngwm__acceptRequest *const*, const char *); +SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_get_PointerTo_ngwm__acceptRequest(struct soap*, _ngwm__acceptRequest **, const char*, const char*); +SOAP_FMAC3 _ngwm__acceptRequest ** SOAP_FMAC4 soap_in_PointerTo_ngwm__acceptRequest(struct soap*, const char*, _ngwm__acceptRequest **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Alarm +#define SOAP_TYPE_PointerTongwt__Alarm (601) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Alarm(struct soap*, ngwt__Alarm *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Alarm(struct soap*, ngwt__Alarm *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Alarm(struct soap*, const char *, int, ngwt__Alarm *const*, const char *); +SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_get_PointerTongwt__Alarm(struct soap*, ngwt__Alarm **, const char*, const char*); +SOAP_FMAC3 ngwt__Alarm ** SOAP_FMAC4 soap_in_PointerTongwt__Alarm(struct soap*, const char*, ngwt__Alarm **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__PhoneFlags +#define SOAP_TYPE_PointerTongwt__PhoneFlags (600) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneFlags(struct soap*, ngwt__PhoneFlags *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneFlags(struct soap*, ngwt__PhoneFlags *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneFlags(struct soap*, const char *, int, ngwt__PhoneFlags *const*, const char *); +SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneFlags(struct soap*, ngwt__PhoneFlags **, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneFlags ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneFlags(struct soap*, const char*, ngwt__PhoneFlags **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RecurrenceRule +#define SOAP_TYPE_PointerTongwt__RecurrenceRule (599) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceRule(struct soap*, const char *, int, ngwt__RecurrenceRule *const*, const char *); +SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceRule(struct soap*, ngwt__RecurrenceRule **, const char*, const char*); +SOAP_FMAC3 ngwt__RecurrenceRule ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceRule(struct soap*, const char*, ngwt__RecurrenceRule **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RecurrenceDateType +#define SOAP_TYPE_PointerTongwt__RecurrenceDateType (598) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecurrenceDateType(struct soap*, const char *, int, ngwt__RecurrenceDateType *const*, const char *); +SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_get_PointerTongwt__RecurrenceDateType(struct soap*, ngwt__RecurrenceDateType **, const char*, const char*); +SOAP_FMAC3 ngwt__RecurrenceDateType ** SOAP_FMAC4 soap_in_PointerTongwt__RecurrenceDateType(struct soap*, const char*, ngwt__RecurrenceDateType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SMimeOperation +#define SOAP_TYPE_PointerTongwt__SMimeOperation (597) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SMimeOperation(struct soap*, ngwt__SMimeOperation *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SMimeOperation(struct soap*, ngwt__SMimeOperation *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SMimeOperation(struct soap*, const char *, int, ngwt__SMimeOperation *const*, const char *); +SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_get_PointerTongwt__SMimeOperation(struct soap*, ngwt__SMimeOperation **, const char*, const char*); +SOAP_FMAC3 ngwt__SMimeOperation ** SOAP_FMAC4 soap_in_PointerTongwt__SMimeOperation(struct soap*, const char*, ngwt__SMimeOperation **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__LinkInfo +#define SOAP_TYPE_PointerTongwt__LinkInfo (596) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LinkInfo(struct soap*, ngwt__LinkInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LinkInfo(struct soap*, ngwt__LinkInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LinkInfo(struct soap*, const char *, int, ngwt__LinkInfo *const*, const char *); +SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_get_PointerTongwt__LinkInfo(struct soap*, ngwt__LinkInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__LinkInfo ** SOAP_FMAC4 soap_in_PointerTongwt__LinkInfo(struct soap*, const char*, ngwt__LinkInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemOptions +#define SOAP_TYPE_PointerTongwt__ItemOptions (595) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemOptions(struct soap*, ngwt__ItemOptions *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemOptions(struct soap*, ngwt__ItemOptions *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemOptions(struct soap*, const char *, int, ngwt__ItemOptions *const*, const char *); +SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ItemOptions(struct soap*, ngwt__ItemOptions **, const char*, const char*); +SOAP_FMAC3 ngwt__ItemOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ItemOptions(struct soap*, const char*, ngwt__ItemOptions **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AttachmentInfo +#define SOAP_TYPE_PointerTongwt__AttachmentInfo (594) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentInfo(struct soap*, const char *, int, ngwt__AttachmentInfo *const*, const char *); +SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentInfo(struct soap*, ngwt__AttachmentInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__AttachmentInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentInfo(struct soap*, const char*, ngwt__AttachmentInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__MessageBody +#define SOAP_TYPE_PointerTongwt__MessageBody (593) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageBody(struct soap*, ngwt__MessageBody *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageBody(struct soap*, ngwt__MessageBody *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageBody(struct soap*, const char *, int, ngwt__MessageBody *const*, const char *); +SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_get_PointerTongwt__MessageBody(struct soap*, ngwt__MessageBody **, const char*, const char*); +SOAP_FMAC3 ngwt__MessageBody ** SOAP_FMAC4 soap_in_PointerTongwt__MessageBody(struct soap*, const char*, ngwt__MessageBody **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ReferenceInfo +#define SOAP_TYPE_PointerTongwt__ReferenceInfo (592) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReferenceInfo(struct soap*, const char *, int, ngwt__ReferenceInfo *const*, const char *); +SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_get_PointerTongwt__ReferenceInfo(struct soap*, ngwt__ReferenceInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__ReferenceInfo ** SOAP_FMAC4 soap_in_PointerTongwt__ReferenceInfo(struct soap*, const char*, ngwt__ReferenceInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__PersonalInfo +#define SOAP_TYPE_PointerTongwt__PersonalInfo (591) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PersonalInfo(struct soap*, ngwt__PersonalInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PersonalInfo(struct soap*, ngwt__PersonalInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PersonalInfo(struct soap*, const char *, int, ngwt__PersonalInfo *const*, const char *); +SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_get_PointerTongwt__PersonalInfo(struct soap*, ngwt__PersonalInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__PersonalInfo ** SOAP_FMAC4 soap_in_PointerTongwt__PersonalInfo(struct soap*, const char*, ngwt__PersonalInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__OfficeInfo +#define SOAP_TYPE_PointerTongwt__OfficeInfo (590) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OfficeInfo(struct soap*, ngwt__OfficeInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OfficeInfo(struct soap*, ngwt__OfficeInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OfficeInfo(struct soap*, const char *, int, ngwt__OfficeInfo *const*, const char *); +SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_get_PointerTongwt__OfficeInfo(struct soap*, ngwt__OfficeInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__OfficeInfo ** SOAP_FMAC4 soap_in_PointerTongwt__OfficeInfo(struct soap*, const char*, ngwt__OfficeInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__PostalAddressList +#define SOAP_TYPE_PointerTongwt__PostalAddressList (589) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddressList(struct soap*, ngwt__PostalAddressList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddressList(struct soap*, ngwt__PostalAddressList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddressList(struct soap*, const char *, int, ngwt__PostalAddressList *const*, const char *); +SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddressList(struct soap*, ngwt__PostalAddressList **, const char*, const char*); +SOAP_FMAC3 ngwt__PostalAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddressList(struct soap*, const char*, ngwt__PostalAddressList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__PhoneList +#define SOAP_TYPE_PointerTongwt__PhoneList (588) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneList(struct soap*, ngwt__PhoneList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneList(struct soap*, ngwt__PhoneList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneList(struct soap*, const char *, int, ngwt__PhoneList *const*, const char *); +SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneList(struct soap*, ngwt__PhoneList **, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneList ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneList(struct soap*, const char*, ngwt__PhoneList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ImAddressList +#define SOAP_TYPE_PointerTongwt__ImAddressList (587) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddressList(struct soap*, ngwt__ImAddressList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddressList(struct soap*, ngwt__ImAddressList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddressList(struct soap*, const char *, int, ngwt__ImAddressList *const*, const char *); +SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddressList(struct soap*, ngwt__ImAddressList **, const char*, const char*); +SOAP_FMAC3 ngwt__ImAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddressList(struct soap*, const char*, ngwt__ImAddressList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__EmailAddressList +#define SOAP_TYPE_PointerTongwt__EmailAddressList (586) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__EmailAddressList(struct soap*, ngwt__EmailAddressList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__EmailAddressList(struct soap*, ngwt__EmailAddressList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__EmailAddressList(struct soap*, const char *, int, ngwt__EmailAddressList *const*, const char *); +SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_get_PointerTongwt__EmailAddressList(struct soap*, ngwt__EmailAddressList **, const char*, const char*); +SOAP_FMAC3 ngwt__EmailAddressList ** SOAP_FMAC4 soap_in_PointerTongwt__EmailAddressList(struct soap*, const char*, ngwt__EmailAddressList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FullName +#define SOAP_TYPE_PointerTongwt__FullName (585) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FullName(struct soap*, ngwt__FullName *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FullName(struct soap*, ngwt__FullName *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FullName(struct soap*, const char *, int, ngwt__FullName *const*, const char *); +SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_get_PointerTongwt__FullName(struct soap*, ngwt__FullName **, const char*, const char*); +SOAP_FMAC3 ngwt__FullName ** SOAP_FMAC4 soap_in_PointerTongwt__FullName(struct soap*, const char*, ngwt__FullName **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__VersionStatus +#define SOAP_TYPE_PointerTongwt__VersionStatus (584) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__VersionStatus(struct soap*, enum ngwt__VersionStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__VersionStatus(struct soap*, const char *, int, enum ngwt__VersionStatus *const*, const char *); +SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_get_PointerTongwt__VersionStatus(struct soap*, enum ngwt__VersionStatus **, const char*, const char*); +SOAP_FMAC3 enum ngwt__VersionStatus ** SOAP_FMAC4 soap_in_PointerTongwt__VersionStatus(struct soap*, const char*, enum ngwt__VersionStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FolderACL +#define SOAP_TYPE_PointerTongwt__FolderACL (583) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACL(struct soap*, ngwt__FolderACL *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACL(struct soap*, ngwt__FolderACL *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACL(struct soap*, const char *, int, ngwt__FolderACL *const*, const char *); +SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACL(struct soap*, ngwt__FolderACL **, const char*, const char*); +SOAP_FMAC3 ngwt__FolderACL ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACL(struct soap*, const char*, ngwt__FolderACL **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RuleActionList +#define SOAP_TYPE_PointerTongwt__RuleActionList (582) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleActionList(struct soap*, ngwt__RuleActionList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleActionList(struct soap*, ngwt__RuleActionList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleActionList(struct soap*, const char *, int, ngwt__RuleActionList *const*, const char *); +SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleActionList(struct soap*, ngwt__RuleActionList **, const char*, const char*); +SOAP_FMAC3 ngwt__RuleActionList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleActionList(struct soap*, const char*, ngwt__RuleActionList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Execution +#define SOAP_TYPE_PointerTongwt__Execution (581) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Execution(struct soap*, enum ngwt__Execution *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Execution(struct soap*, enum ngwt__Execution *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Execution(struct soap*, const char *, int, enum ngwt__Execution *const*, const char *); +SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_get_PointerTongwt__Execution(struct soap*, enum ngwt__Execution **, const char*, const char*); +SOAP_FMAC3 enum ngwt__Execution ** SOAP_FMAC4 soap_in_PointerTongwt__Execution(struct soap*, const char*, enum ngwt__Execution **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Query +#define SOAP_TYPE_PointerTongwt__Query (580) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Query(struct soap*, ngwt__Query *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Query(struct soap*, ngwt__Query *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Query(struct soap*, const char *, int, ngwt__Query *const*, const char *); +SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_get_PointerTongwt__Query(struct soap*, ngwt__Query **, const char*, const char*); +SOAP_FMAC3 ngwt__Query ** SOAP_FMAC4 soap_in_PointerTongwt__Query(struct soap*, const char*, ngwt__Query **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FolderACLStatus +#define SOAP_TYPE_PointerTongwt__FolderACLStatus (579) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLStatus(struct soap*, const char *, int, enum ngwt__FolderACLStatus *const*, const char *); +SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLStatus(struct soap*, enum ngwt__FolderACLStatus **, const char*, const char*); +SOAP_FMAC3 enum ngwt__FolderACLStatus ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLStatus(struct soap*, const char*, enum ngwt__FolderACLStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessControlList +#define SOAP_TYPE_PointerTongwt__AccessControlList (578) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlList(struct soap*, ngwt__AccessControlList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlList(struct soap*, ngwt__AccessControlList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlList(struct soap*, const char *, int, ngwt__AccessControlList *const*, const char *); +SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlList(struct soap*, ngwt__AccessControlList **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessControlList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlList(struct soap*, const char*, ngwt__AccessControlList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__WeekOfYear +#define SOAP_TYPE_PointerTongwt__WeekOfYear (577) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__WeekOfYear(struct soap*, short *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__WeekOfYear(struct soap*, short *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__WeekOfYear(struct soap*, const char *, int, short *const*, const char *); +SOAP_FMAC3 short ** SOAP_FMAC4 soap_get_PointerTongwt__WeekOfYear(struct soap*, short **, const char*, const char*); +SOAP_FMAC3 short ** SOAP_FMAC4 soap_in_PointerTongwt__WeekOfYear(struct soap*, const char*, short **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__OccurrenceType +#define SOAP_TYPE_PointerTongwt__OccurrenceType (576) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__OccurrenceType(struct soap*, const char *, int, enum ngwt__OccurrenceType *const*, const char *); +SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_get_PointerTongwt__OccurrenceType(struct soap*, enum ngwt__OccurrenceType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__OccurrenceType ** SOAP_FMAC4 soap_in_PointerTongwt__OccurrenceType(struct soap*, const char*, enum ngwt__OccurrenceType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemSecurity +#define SOAP_TYPE_PointerTongwt__ItemSecurity (575) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSecurity(struct soap*, const char *, int, enum ngwt__ItemSecurity *const*, const char *); +SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSecurity(struct soap*, enum ngwt__ItemSecurity **, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemSecurity ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSecurity(struct soap*, const char*, enum ngwt__ItemSecurity **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemClass +#define SOAP_TYPE_PointerTongwt__ItemClass (574) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemClass(struct soap*, enum ngwt__ItemClass *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemClass(struct soap*, enum ngwt__ItemClass *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemClass(struct soap*, const char *, int, enum ngwt__ItemClass *const*, const char *); +SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_get_PointerTongwt__ItemClass(struct soap*, enum ngwt__ItemClass **, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemClass ** SOAP_FMAC4 soap_in_PointerTongwt__ItemClass(struct soap*, const char*, enum ngwt__ItemClass **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemSource +#define SOAP_TYPE_PointerTongwt__ItemSource (573) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSource(struct soap*, enum ngwt__ItemSource *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSource(struct soap*, enum ngwt__ItemSource *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSource(struct soap*, const char *, int, enum ngwt__ItemSource *const*, const char *); +SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSource(struct soap*, enum ngwt__ItemSource **, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemSource ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSource(struct soap*, const char*, enum ngwt__ItemSource **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemStatus +#define SOAP_TYPE_PointerTongwt__ItemStatus (572) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemStatus(struct soap*, ngwt__ItemStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemStatus(struct soap*, ngwt__ItemStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemStatus(struct soap*, const char *, int, ngwt__ItemStatus *const*, const char *); +SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_get_PointerTongwt__ItemStatus(struct soap*, ngwt__ItemStatus **, const char*, const char*); +SOAP_FMAC3 ngwt__ItemStatus ** SOAP_FMAC4 soap_in_PointerTongwt__ItemStatus(struct soap*, const char*, ngwt__ItemStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DeltaSyncType +#define SOAP_TYPE_PointerTongwt__DeltaSyncType (571) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaSyncType(struct soap*, const char *, int, enum ngwt__DeltaSyncType *const*, const char *); +SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaSyncType(struct soap*, enum ngwt__DeltaSyncType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__DeltaSyncType ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaSyncType(struct soap*, const char*, enum ngwt__DeltaSyncType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RecipientStatus +#define SOAP_TYPE_PointerTongwt__RecipientStatus (570) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientStatus(struct soap*, ngwt__RecipientStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientStatus(struct soap*, ngwt__RecipientStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientStatus(struct soap*, const char *, int, ngwt__RecipientStatus *const*, const char *); +SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientStatus(struct soap*, ngwt__RecipientStatus **, const char*, const char*); +SOAP_FMAC3 ngwt__RecipientStatus ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientStatus(struct soap*, const char*, ngwt__RecipientStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FreeBusyBlockList +#define SOAP_TYPE_PointerTongwt__FreeBusyBlockList (569) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlockList(struct soap*, const char *, int, ngwt__FreeBusyBlockList *const*, const char *); +SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlockList(struct soap*, ngwt__FreeBusyBlockList **, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyBlockList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlockList(struct soap*, const char*, ngwt__FreeBusyBlockList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CalendarFolderAttribute +#define SOAP_TYPE_PointerTongwt__CalendarFolderAttribute (568) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CalendarFolderAttribute(struct soap*, const char *, int, ngwt__CalendarFolderAttribute *const*, const char *); +SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_get_PointerTongwt__CalendarFolderAttribute(struct soap*, ngwt__CalendarFolderAttribute **, const char*, const char*); +SOAP_FMAC3 ngwt__CalendarFolderAttribute ** SOAP_FMAC4 soap_in_PointerTongwt__CalendarFolderAttribute(struct soap*, const char*, ngwt__CalendarFolderAttribute **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FilterDate +#define SOAP_TYPE_PointerTongwt__FilterDate (566) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterDate(struct soap*, enum ngwt__FilterDate *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterDate(struct soap*, enum ngwt__FilterDate *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterDate(struct soap*, const char *, int, enum ngwt__FilterDate *const*, const char *); +SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_get_PointerTongwt__FilterDate(struct soap*, enum ngwt__FilterDate **, const char*, const char*); +SOAP_FMAC3 enum ngwt__FilterDate ** SOAP_FMAC4 soap_in_PointerTongwt__FilterDate(struct soap*, const char*, enum ngwt__FilterDate **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ContainerRef +#define SOAP_TYPE_PointerTongwt__ContainerRef (564) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ContainerRef(struct soap*, ngwt__ContainerRef *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ContainerRef(struct soap*, ngwt__ContainerRef *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ContainerRef(struct soap*, const char *, int, ngwt__ContainerRef *const*, const char *); +SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_get_PointerTongwt__ContainerRef(struct soap*, ngwt__ContainerRef **, const char*, const char*); +SOAP_FMAC3 ngwt__ContainerRef ** SOAP_FMAC4 soap_in_PointerTongwt__ContainerRef(struct soap*, const char*, ngwt__ContainerRef **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CategoryType +#define SOAP_TYPE_PointerTongwt__CategoryType (563) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryType(struct soap*, enum ngwt__CategoryType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryType(struct soap*, enum ngwt__CategoryType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryType(struct soap*, const char *, int, enum ngwt__CategoryType *const*, const char *); +SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryType(struct soap*, enum ngwt__CategoryType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__CategoryType ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryType(struct soap*, const char*, enum ngwt__CategoryType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessMiscRight +#define SOAP_TYPE_PointerTongwt__AccessMiscRight (562) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessMiscRight(struct soap*, const char *, int, ngwt__AccessMiscRight *const*, const char *); +SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessMiscRight(struct soap*, ngwt__AccessMiscRight **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessMiscRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessMiscRight(struct soap*, const char*, ngwt__AccessMiscRight **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessRight +#define SOAP_TYPE_PointerTongwt__AccessRight (561) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRight(struct soap*, ngwt__AccessRight *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRight(struct soap*, ngwt__AccessRight *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRight(struct soap*, const char *, int, ngwt__AccessRight *const*, const char *); +SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRight(struct soap*, ngwt__AccessRight **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRight ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRight(struct soap*, const char*, ngwt__AccessRight **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Rights +#define SOAP_TYPE_PointerTongwt__Rights (560) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rights(struct soap*, ngwt__Rights *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rights(struct soap*, ngwt__Rights *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rights(struct soap*, const char *, int, ngwt__Rights *const*, const char *); +SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_get_PointerTongwt__Rights(struct soap*, ngwt__Rights **, const char*, const char*); +SOAP_FMAC3 ngwt__Rights ** SOAP_FMAC4 soap_in_PointerTongwt__Rights(struct soap*, const char*, ngwt__Rights **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__EventList +#define SOAP_TYPE_PointerTongwe__EventList (559) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventList(struct soap*, ngwe__EventList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventList(struct soap*, ngwe__EventList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventList(struct soap*, const char *, int, ngwe__EventList *const*, const char *); +SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_get_PointerTongwe__EventList(struct soap*, ngwe__EventList **, const char*, const char*); +SOAP_FMAC3 ngwe__EventList ** SOAP_FMAC4 soap_in_PointerTongwe__EventList(struct soap*, const char*, ngwe__EventList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__EventsList +#define SOAP_TYPE_PointerTongwe__EventsList (558) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventsList(struct soap*, ngwe__EventsList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventsList(struct soap*, ngwe__EventsList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventsList(struct soap*, const char *, int, ngwe__EventsList *const*, const char *); +SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_get_PointerTongwe__EventsList(struct soap*, ngwe__EventsList **, const char*, const char*); +SOAP_FMAC3 ngwe__EventsList ** SOAP_FMAC4 soap_in_PointerTongwe__EventsList(struct soap*, const char*, ngwe__EventsList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__Events +#define SOAP_TYPE_PointerTongwe__Events (555) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Events(struct soap*, ngwe__Events *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Events(struct soap*, ngwe__Events *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Events(struct soap*, const char *, int, ngwe__Events *const*, const char *); +SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_get_PointerTongwe__Events(struct soap*, ngwe__Events **, const char*, const char*); +SOAP_FMAC3 ngwe__Events ** SOAP_FMAC4 soap_in_PointerTongwe__Events(struct soap*, const char*, ngwe__Events **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__EventDefinition +#define SOAP_TYPE_PointerTongwe__EventDefinition (554) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventDefinition(struct soap*, ngwe__EventDefinition *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventDefinition(struct soap*, ngwe__EventDefinition *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventDefinition(struct soap*, const char *, int, ngwe__EventDefinition *const*, const char *); +SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_get_PointerTongwe__EventDefinition(struct soap*, ngwe__EventDefinition **, const char*, const char*); +SOAP_FMAC3 ngwe__EventDefinition ** SOAP_FMAC4 soap_in_PointerTongwe__EventDefinition(struct soap*, const char*, ngwe__EventDefinition **, const char*); + +#ifndef SOAP_TYPE_PointerToxsd__duration +#define SOAP_TYPE_PointerToxsd__duration (553) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__duration(struct soap*, std::string *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__duration(struct soap*, std::string *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__duration(struct soap*, const char *, int, std::string *const*, const char *); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__duration(struct soap*, std::string **, const char*, const char*); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__duration(struct soap*, const char*, std::string **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__Event +#define SOAP_TYPE_PointerTongwe__Event (551) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__Event(struct soap*, ngwe__Event *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__Event(struct soap*, ngwe__Event *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__Event(struct soap*, const char *, int, ngwe__Event *const*, const char *); +SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_get_PointerTongwe__Event(struct soap*, ngwe__Event **, const char*, const char*); +SOAP_FMAC3 ngwe__Event ** SOAP_FMAC4 soap_in_PointerTongwe__Event(struct soap*, const char*, ngwe__Event **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__ContainerList +#define SOAP_TYPE_PointerTongwe__ContainerList (550) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ContainerList(struct soap*, ngwe__ContainerList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ContainerList(struct soap*, ngwe__ContainerList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ContainerList(struct soap*, const char *, int, ngwe__ContainerList *const*, const char *); +SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_get_PointerTongwe__ContainerList(struct soap*, ngwe__ContainerList **, const char*, const char*); +SOAP_FMAC3 ngwe__ContainerList ** SOAP_FMAC4 soap_in_PointerTongwe__ContainerList(struct soap*, const char*, ngwe__ContainerList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__ItemTypeList +#define SOAP_TYPE_PointerTongwe__ItemTypeList (549) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemTypeList(struct soap*, const char *, int, enum ngwe__ItemTypeList *const*, const char *); +SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__ItemTypeList(struct soap*, enum ngwe__ItemTypeList **, const char*, const char*); +SOAP_FMAC3 enum ngwe__ItemTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__ItemTypeList(struct soap*, const char*, enum ngwe__ItemTypeList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__EventTypeList +#define SOAP_TYPE_PointerTongwe__EventTypeList (548) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__EventTypeList(struct soap*, ngwe__EventTypeList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__EventTypeList(struct soap*, ngwe__EventTypeList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__EventTypeList(struct soap*, const char *, int, ngwe__EventTypeList *const*, const char *); +SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_get_PointerTongwe__EventTypeList(struct soap*, ngwe__EventTypeList **, const char*, const char*); +SOAP_FMAC3 ngwe__EventTypeList ** SOAP_FMAC4 soap_in_PointerTongwe__EventTypeList(struct soap*, const char*, ngwe__EventTypeList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__ItemType +#define SOAP_TYPE_PointerTongwe__ItemType (547) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__ItemType(struct soap*, enum ngwe__ItemType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__ItemType(struct soap*, enum ngwe__ItemType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__ItemType(struct soap*, const char *, int, enum ngwe__ItemType *const*, const char *); +SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_get_PointerTongwe__ItemType(struct soap*, enum ngwe__ItemType **, const char*, const char*); +SOAP_FMAC3 enum ngwe__ItemType ** SOAP_FMAC4 soap_in_PointerTongwe__ItemType(struct soap*, const char*, enum ngwe__ItemType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwe__FieldList +#define SOAP_TYPE_PointerTongwe__FieldList (546) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwe__FieldList(struct soap*, enum ngwe__FieldList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwe__FieldList(struct soap*, enum ngwe__FieldList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwe__FieldList(struct soap*, const char *, int, enum ngwe__FieldList *const*, const char *); +SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_get_PointerTongwe__FieldList(struct soap*, enum ngwe__FieldList **, const char*, const char*); +SOAP_FMAC3 enum ngwe__FieldList ** SOAP_FMAC4 soap_in_PointerTongwe__FieldList(struct soap*, const char*, enum ngwe__FieldList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FreeBusyUserList +#define SOAP_TYPE_PointerTongwt__FreeBusyUserList (545) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyUserList(struct soap*, const char *, int, ngwt__FreeBusyUserList *const*, const char *); +SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyUserList(struct soap*, ngwt__FreeBusyUserList **, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyUserList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyUserList(struct soap*, const char*, ngwt__FreeBusyUserList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RetractType +#define SOAP_TYPE_PointerTongwt__RetractType (544) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RetractType(struct soap*, enum ngwt__RetractType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RetractType(struct soap*, enum ngwt__RetractType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RetractType(struct soap*, const char *, int, enum ngwt__RetractType *const*, const char *); +SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_get_PointerTongwt__RetractType(struct soap*, enum ngwt__RetractType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__RetractType ** SOAP_FMAC4 soap_in_PointerTongwt__RetractType(struct soap*, const char*, enum ngwt__RetractType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemList +#define SOAP_TYPE_PointerTongwt__ItemList (543) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemList(struct soap*, ngwt__ItemList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemList(struct soap*, ngwt__ItemList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemList(struct soap*, const char *, int, ngwt__ItemList *const*, const char *); +SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemList(struct soap*, ngwt__ItemList **, const char*, const char*); +SOAP_FMAC3 ngwt__ItemList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemList(struct soap*, const char*, ngwt__ItemList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CursorSeek +#define SOAP_TYPE_PointerTongwt__CursorSeek (542) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CursorSeek(struct soap*, enum ngwt__CursorSeek *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CursorSeek(struct soap*, const char *, int, enum ngwt__CursorSeek *const*, const char *); +SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_get_PointerTongwt__CursorSeek(struct soap*, enum ngwt__CursorSeek **, const char*, const char*); +SOAP_FMAC3 enum ngwt__CursorSeek ** SOAP_FMAC4 soap_in_PointerTongwt__CursorSeek(struct soap*, const char*, enum ngwt__CursorSeek **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessRightChanges +#define SOAP_TYPE_PointerTongwt__AccessRightChanges (541) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightChanges(struct soap*, const char *, int, ngwt__AccessRightChanges *const*, const char *); +SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightChanges(struct soap*, ngwt__AccessRightChanges **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRightChanges ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightChanges(struct soap*, const char*, ngwt__AccessRightChanges **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ModifyItem +#define SOAP_TYPE_PointerTongwt__ModifyItem (538) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ModifyItem(struct soap*, ngwt__ModifyItem *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ModifyItem(struct soap*, ngwt__ModifyItem *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ModifyItem(struct soap*, const char *, int, ngwt__ModifyItem *const*, const char *); +SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_get_PointerTongwt__ModifyItem(struct soap*, ngwt__ModifyItem **, const char*, const char*); +SOAP_FMAC3 ngwt__ModifyItem ** SOAP_FMAC4 soap_in_PointerTongwt__ModifyItem(struct soap*, const char*, ngwt__ModifyItem **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Host +#define SOAP_TYPE_PointerTongwt__Host (536) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Host(struct soap*, ngwt__Host *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Host(struct soap*, ngwt__Host *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Host(struct soap*, const char *, int, ngwt__Host *const*, const char *); +SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_get_PointerTongwt__Host(struct soap*, ngwt__Host **, const char*, const char*); +SOAP_FMAC3 ngwt__Host ** SOAP_FMAC4 soap_in_PointerTongwt__Host(struct soap*, const char*, ngwt__Host **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Authentication +#define SOAP_TYPE_PointerTongwt__Authentication (535) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Authentication(struct soap*, ngwt__Authentication *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Authentication(struct soap*, ngwt__Authentication *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Authentication(struct soap*, const char *, int, ngwt__Authentication *const*, const char *); +SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_get_PointerTongwt__Authentication(struct soap*, ngwt__Authentication **, const char*, const char*); +SOAP_FMAC3 ngwt__Authentication ** SOAP_FMAC4 soap_in_PointerTongwt__Authentication(struct soap*, const char*, ngwt__Authentication **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__UserList +#define SOAP_TYPE_PointerTongwt__UserList (534) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserList(struct soap*, ngwt__UserList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserList(struct soap*, ngwt__UserList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserList(struct soap*, const char *, int, ngwt__UserList *const*, const char *); +SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_get_PointerTongwt__UserList(struct soap*, ngwt__UserList **, const char*, const char*); +SOAP_FMAC3 ngwt__UserList ** SOAP_FMAC4 soap_in_PointerTongwt__UserList(struct soap*, const char*, ngwt__UserList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__TimezoneList +#define SOAP_TYPE_PointerTongwt__TimezoneList (533) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneList(struct soap*, ngwt__TimezoneList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneList(struct soap*, ngwt__TimezoneList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneList(struct soap*, const char *, int, ngwt__TimezoneList *const*, const char *); +SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneList(struct soap*, ngwt__TimezoneList **, const char*, const char*); +SOAP_FMAC3 ngwt__TimezoneList ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneList(struct soap*, const char*, ngwt__TimezoneList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Signatures +#define SOAP_TYPE_PointerTongwt__Signatures (532) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signatures(struct soap*, ngwt__Signatures *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signatures(struct soap*, ngwt__Signatures *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signatures(struct soap*, const char *, int, ngwt__Signatures *const*, const char *); +SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_get_PointerTongwt__Signatures(struct soap*, ngwt__Signatures **, const char*, const char*); +SOAP_FMAC3 ngwt__Signatures ** SOAP_FMAC4 soap_in_PointerTongwt__Signatures(struct soap*, const char*, ngwt__Signatures **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Settings +#define SOAP_TYPE_PointerTongwt__Settings (531) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Settings(struct soap*, ngwt__Settings *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Settings(struct soap*, ngwt__Settings *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Settings(struct soap*, const char *, int, ngwt__Settings *const*, const char *); +SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_get_PointerTongwt__Settings(struct soap*, ngwt__Settings **, const char*, const char*); +SOAP_FMAC3 ngwt__Settings ** SOAP_FMAC4 soap_in_PointerTongwt__Settings(struct soap*, const char*, ngwt__Settings **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RuleList +#define SOAP_TYPE_PointerTongwt__RuleList (530) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleList(struct soap*, ngwt__RuleList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleList(struct soap*, ngwt__RuleList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleList(struct soap*, const char *, int, ngwt__RuleList *const*, const char *); +SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_get_PointerTongwt__RuleList(struct soap*, ngwt__RuleList **, const char*, const char*); +SOAP_FMAC3 ngwt__RuleList ** SOAP_FMAC4 soap_in_PointerTongwt__RuleList(struct soap*, const char*, ngwt__RuleList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ProxyList +#define SOAP_TYPE_PointerTongwt__ProxyList (529) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyList(struct soap*, ngwt__ProxyList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyList(struct soap*, ngwt__ProxyList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyList(struct soap*, const char *, int, ngwt__ProxyList *const*, const char *); +SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyList(struct soap*, ngwt__ProxyList **, const char*, const char*); +SOAP_FMAC3 ngwt__ProxyList ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyList(struct soap*, const char*, ngwt__ProxyList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessRightList +#define SOAP_TYPE_PointerTongwt__AccessRightList (528) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightList(struct soap*, ngwt__AccessRightList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightList(struct soap*, ngwt__AccessRightList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightList(struct soap*, const char *, int, ngwt__AccessRightList *const*, const char *); +SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightList(struct soap*, ngwt__AccessRightList **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRightList ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightList(struct soap*, const char*, ngwt__AccessRightList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__LibraryList +#define SOAP_TYPE_PointerTongwt__LibraryList (527) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__LibraryList(struct soap*, ngwt__LibraryList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__LibraryList(struct soap*, ngwt__LibraryList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__LibraryList(struct soap*, const char *, int, ngwt__LibraryList *const*, const char *); +SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_get_PointerTongwt__LibraryList(struct soap*, ngwt__LibraryList **, const char*, const char*); +SOAP_FMAC3 ngwt__LibraryList ** SOAP_FMAC4 soap_in_PointerTongwt__LibraryList(struct soap*, const char*, ngwt__LibraryList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SettingsList +#define SOAP_TYPE_PointerTongwt__SettingsList (526) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsList(struct soap*, ngwt__SettingsList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsList(struct soap*, ngwt__SettingsList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsList(struct soap*, const char *, int, ngwt__SettingsList *const*, const char *); +SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsList(struct soap*, ngwt__SettingsList **, const char*, const char*); +SOAP_FMAC3 ngwt__SettingsList ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsList(struct soap*, const char*, ngwt__SettingsList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__JunkHandlingList +#define SOAP_TYPE_PointerTongwt__JunkHandlingList (525) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingList(struct soap*, const char *, int, ngwt__JunkHandlingList *const*, const char *); +SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingList(struct soap*, ngwt__JunkHandlingList **, const char*, const char*); +SOAP_FMAC3 ngwt__JunkHandlingList ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingList(struct soap*, const char*, ngwt__JunkHandlingList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FreeBusyInfoList +#define SOAP_TYPE_PointerTongwt__FreeBusyInfoList (524) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfoList(struct soap*, const char *, int, ngwt__FreeBusyInfoList *const*, const char *); +SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfoList(struct soap*, ngwt__FreeBusyInfoList **, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyInfoList ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfoList(struct soap*, const char*, ngwt__FreeBusyInfoList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FreeBusyStats +#define SOAP_TYPE_PointerTongwt__FreeBusyStats (523) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyStats(struct soap*, const char *, int, ngwt__FreeBusyStats *const*, const char *); +SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyStats(struct soap*, ngwt__FreeBusyStats **, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyStats ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyStats(struct soap*, const char*, ngwt__FreeBusyStats **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FolderList +#define SOAP_TYPE_PointerTongwt__FolderList (522) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderList(struct soap*, ngwt__FolderList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderList(struct soap*, ngwt__FolderList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderList(struct soap*, const char *, int, ngwt__FolderList *const*, const char *); +SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_get_PointerTongwt__FolderList(struct soap*, ngwt__FolderList **, const char*, const char*); +SOAP_FMAC3 ngwt__FolderList ** SOAP_FMAC4 soap_in_PointerTongwt__FolderList(struct soap*, const char*, ngwt__FolderList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemSourceList +#define SOAP_TYPE_PointerTongwt__ItemSourceList (521) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemSourceList(struct soap*, const char *, int, enum ngwt__ItemSourceList *const*, const char *); +SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemSourceList(struct soap*, enum ngwt__ItemSourceList **, const char*, const char*); +SOAP_FMAC3 enum ngwt__ItemSourceList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemSourceList(struct soap*, const char*, enum ngwt__ItemSourceList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__MessageTypeList +#define SOAP_TYPE_PointerTongwt__MessageTypeList (520) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessageTypeList(struct soap*, const char *, int, enum ngwt__MessageTypeList *const*, const char *); +SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__MessageTypeList(struct soap*, enum ngwt__MessageTypeList **, const char*, const char*); +SOAP_FMAC3 enum ngwt__MessageTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__MessageTypeList(struct soap*, const char*, enum ngwt__MessageTypeList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FolderType +#define SOAP_TYPE_PointerTongwt__FolderType (519) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderType(struct soap*, enum ngwt__FolderType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderType(struct soap*, enum ngwt__FolderType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderType(struct soap*, const char *, int, enum ngwt__FolderType *const*, const char *); +SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_get_PointerTongwt__FolderType(struct soap*, enum ngwt__FolderType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__FolderType ** SOAP_FMAC4 soap_in_PointerTongwt__FolderType(struct soap*, const char*, enum ngwt__FolderType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DocumentTypeList +#define SOAP_TYPE_PointerTongwt__DocumentTypeList (518) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentTypeList(struct soap*, const char *, int, ngwt__DocumentTypeList *const*, const char *); +SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentTypeList(struct soap*, ngwt__DocumentTypeList **, const char*, const char*); +SOAP_FMAC3 ngwt__DocumentTypeList ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentTypeList(struct soap*, const char*, ngwt__DocumentTypeList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Items +#define SOAP_TYPE_PointerTongwt__Items (517) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Items(struct soap*, ngwt__Items *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Items(struct soap*, ngwt__Items *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Items(struct soap*, const char *, int, ngwt__Items *const*, const char *); +SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_get_PointerTongwt__Items(struct soap*, ngwt__Items **, const char*, const char*); +SOAP_FMAC3 ngwt__Items ** SOAP_FMAC4 soap_in_PointerTongwt__Items(struct soap*, const char*, ngwt__Items **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DeltaInfo +#define SOAP_TYPE_PointerTongwt__DeltaInfo (516) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DeltaInfo(struct soap*, ngwt__DeltaInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DeltaInfo(struct soap*, ngwt__DeltaInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DeltaInfo(struct soap*, const char *, int, ngwt__DeltaInfo *const*, const char *); +SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_get_PointerTongwt__DeltaInfo(struct soap*, ngwt__DeltaInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__DeltaInfo ** SOAP_FMAC4 soap_in_PointerTongwt__DeltaInfo(struct soap*, const char*, ngwt__DeltaInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CustomList +#define SOAP_TYPE_PointerTongwt__CustomList (515) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomList(struct soap*, ngwt__CustomList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomList(struct soap*, ngwt__CustomList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomList(struct soap*, const char *, int, ngwt__CustomList *const*, const char *); +SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_get_PointerTongwt__CustomList(struct soap*, ngwt__CustomList **, const char*, const char*); +SOAP_FMAC3 ngwt__CustomList ** SOAP_FMAC4 soap_in_PointerTongwt__CustomList(struct soap*, const char*, ngwt__CustomList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CategoryList +#define SOAP_TYPE_PointerTongwt__CategoryList (514) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryList(struct soap*, ngwt__CategoryList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryList(struct soap*, ngwt__CategoryList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryList(struct soap*, const char *, int, ngwt__CategoryList *const*, const char *); +SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryList(struct soap*, ngwt__CategoryList **, const char*, const char*); +SOAP_FMAC3 ngwt__CategoryList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryList(struct soap*, const char*, ngwt__CategoryList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AddressBookList +#define SOAP_TYPE_PointerTongwt__AddressBookList (513) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBookList(struct soap*, ngwt__AddressBookList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBookList(struct soap*, ngwt__AddressBookList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBookList(struct soap*, const char *, int, ngwt__AddressBookList *const*, const char *); +SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBookList(struct soap*, ngwt__AddressBookList **, const char*, const char*); +SOAP_FMAC3 ngwt__AddressBookList ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBookList(struct soap*, const char*, ngwt__AddressBookList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Distribution +#define SOAP_TYPE_PointerTongwt__Distribution (512) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Distribution(struct soap*, ngwt__Distribution *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Distribution(struct soap*, ngwt__Distribution *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Distribution(struct soap*, const char *, int, ngwt__Distribution *const*, const char *); +SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_get_PointerTongwt__Distribution(struct soap*, ngwt__Distribution **, const char*, const char*); +SOAP_FMAC3 ngwt__Distribution ** SOAP_FMAC4 soap_in_PointerTongwt__Distribution(struct soap*, const char*, ngwt__Distribution **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__View +#define SOAP_TYPE_PointerTongwt__View (511) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__View(struct soap*, std::string *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__View(struct soap*, std::string *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__View(struct soap*, const char *, int, std::string *const*, const char *); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__View(struct soap*, std::string **, const char*, const char*); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__View(struct soap*, const char*, std::string **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Status +#define SOAP_TYPE_PointerTongwt__Status (510) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Status(struct soap*, ngwt__Status *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Status(struct soap*, ngwt__Status *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Status(struct soap*, const char *, int, ngwt__Status *const*, const char *); +SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_get_PointerTongwt__Status(struct soap*, ngwt__Status **, const char*, const char*); +SOAP_FMAC3 ngwt__Status ** SOAP_FMAC4 soap_in_PointerTongwt__Status(struct soap*, const char*, ngwt__Status **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemRefList +#define SOAP_TYPE_PointerTongwt__ItemRefList (509) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRefList(struct soap*, ngwt__ItemRefList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRefList(struct soap*, ngwt__ItemRefList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRefList(struct soap*, const char *, int, ngwt__ItemRefList *const*, const char *); +SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRefList(struct soap*, ngwt__ItemRefList **, const char*, const char*); +SOAP_FMAC3 ngwt__ItemRefList ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRefList(struct soap*, const char*, ngwt__ItemRefList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__UserInfo +#define SOAP_TYPE_PointerTongwt__UserInfo (507) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UserInfo(struct soap*, ngwt__UserInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UserInfo(struct soap*, ngwt__UserInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UserInfo(struct soap*, const char *, int, ngwt__UserInfo *const*, const char *); +SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_get_PointerTongwt__UserInfo(struct soap*, ngwt__UserInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__UserInfo ** SOAP_FMAC4 soap_in_PointerTongwt__UserInfo(struct soap*, const char*, ngwt__UserInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RecipientType +#define SOAP_TYPE_PointerTongwt__RecipientType (506) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientType(struct soap*, enum ngwt__RecipientType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientType(struct soap*, enum ngwt__RecipientType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientType(struct soap*, const char *, int, enum ngwt__RecipientType *const*, const char *); +SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientType(struct soap*, enum ngwt__RecipientType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__RecipientType ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientType(struct soap*, const char*, enum ngwt__RecipientType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Timezone +#define SOAP_TYPE_PointerTongwt__Timezone (504) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Timezone(struct soap*, ngwt__Timezone *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Timezone(struct soap*, ngwt__Timezone *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Timezone(struct soap*, const char *, int, ngwt__Timezone *const*, const char *); +SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_get_PointerTongwt__Timezone(struct soap*, ngwt__Timezone **, const char*, const char*); +SOAP_FMAC3 ngwt__Timezone ** SOAP_FMAC4 soap_in_PointerTongwt__Timezone(struct soap*, const char*, ngwt__Timezone **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Minute +#define SOAP_TYPE_PointerTongwt__Minute (503) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Minute(struct soap*, unsigned char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Minute(struct soap*, unsigned char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Minute(struct soap*, const char *, int, unsigned char *const*, const char *); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Minute(struct soap*, unsigned char **, const char*, const char*); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Minute(struct soap*, const char*, unsigned char **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Hour +#define SOAP_TYPE_PointerTongwt__Hour (502) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Hour(struct soap*, unsigned char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Hour(struct soap*, unsigned char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Hour(struct soap*, const char *, int, unsigned char *const*, const char *); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Hour(struct soap*, unsigned char **, const char*, const char*); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Hour(struct soap*, const char*, unsigned char **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DayOfWeek +#define SOAP_TYPE_PointerTongwt__DayOfWeek (501) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfWeek(struct soap*, ngwt__DayOfWeek *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfWeek(struct soap*, ngwt__DayOfWeek *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfWeek(struct soap*, const char *, int, ngwt__DayOfWeek *const*, const char *); +SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfWeek(struct soap*, ngwt__DayOfWeek **, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfWeek(struct soap*, const char*, ngwt__DayOfWeek **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Day +#define SOAP_TYPE_PointerTongwt__Day (500) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Day(struct soap*, unsigned char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Day(struct soap*, unsigned char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Day(struct soap*, const char *, int, unsigned char *const*, const char *); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Day(struct soap*, unsigned char **, const char*, const char*); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Day(struct soap*, const char*, unsigned char **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Month +#define SOAP_TYPE_PointerTongwt__Month (499) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Month(struct soap*, unsigned char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Month(struct soap*, unsigned char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Month(struct soap*, const char *, int, unsigned char *const*, const char *); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTongwt__Month(struct soap*, unsigned char **, const char*, const char*); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTongwt__Month(struct soap*, const char*, unsigned char **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__TimezoneComponent +#define SOAP_TYPE_PointerTongwt__TimezoneComponent (498) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TimezoneComponent(struct soap*, const char *, int, ngwt__TimezoneComponent *const*, const char *); +SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_get_PointerTongwt__TimezoneComponent(struct soap*, ngwt__TimezoneComponent **, const char*, const char*); +SOAP_FMAC3 ngwt__TimezoneComponent ** SOAP_FMAC4 soap_in_PointerTongwt__TimezoneComponent(struct soap*, const char*, ngwt__TimezoneComponent **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ProblemList +#define SOAP_TYPE_PointerTongwt__ProblemList (497) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemList(struct soap*, ngwt__ProblemList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemList(struct soap*, ngwt__ProblemList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemList(struct soap*, const char *, int, ngwt__ProblemList *const*, const char *); +SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemList(struct soap*, ngwt__ProblemList **, const char*, const char*); +SOAP_FMAC3 ngwt__ProblemList ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemList(struct soap*, const char*, ngwt__ProblemList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Signature +#define SOAP_TYPE_PointerTongwt__Signature (495) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Signature(struct soap*, ngwt__Signature *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Signature(struct soap*, ngwt__Signature *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Signature(struct soap*, const char *, int, ngwt__Signature *const*, const char *); +SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_get_PointerTongwt__Signature(struct soap*, ngwt__Signature **, const char*, const char*); +SOAP_FMAC3 ngwt__Signature ** SOAP_FMAC4 soap_in_PointerTongwt__Signature(struct soap*, const char*, ngwt__Signature **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SignatureData +#define SOAP_TYPE_PointerTongwt__SignatureData (494) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SignatureData(struct soap*, ngwt__SignatureData *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SignatureData(struct soap*, ngwt__SignatureData *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SignatureData(struct soap*, const char *, int, ngwt__SignatureData *const*, const char *); +SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_get_PointerTongwt__SignatureData(struct soap*, ngwt__SignatureData **, const char*, const char*); +SOAP_FMAC3 ngwt__SignatureData ** SOAP_FMAC4 soap_in_PointerTongwt__SignatureData(struct soap*, const char*, ngwt__SignatureData **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SettingsGroup +#define SOAP_TYPE_PointerTongwt__SettingsGroup (492) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SettingsGroup(struct soap*, ngwt__SettingsGroup *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SettingsGroup(struct soap*, ngwt__SettingsGroup *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SettingsGroup(struct soap*, const char *, int, ngwt__SettingsGroup *const*, const char *); +SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_get_PointerTongwt__SettingsGroup(struct soap*, ngwt__SettingsGroup **, const char*, const char*); +SOAP_FMAC3 ngwt__SettingsGroup ** SOAP_FMAC4 soap_in_PointerTongwt__SettingsGroup(struct soap*, const char*, ngwt__SettingsGroup **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ReturnNotification +#define SOAP_TYPE_PointerTongwt__ReturnNotification (491) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotification(struct soap*, ngwt__ReturnNotification *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotification(struct soap*, ngwt__ReturnNotification *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotification(struct soap*, const char *, int, ngwt__ReturnNotification *const*, const char *); +SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotification(struct soap*, ngwt__ReturnNotification **, const char*, const char*); +SOAP_FMAC3 ngwt__ReturnNotification ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotification(struct soap*, const char*, ngwt__ReturnNotification **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__StatusTracking +#define SOAP_TYPE_PointerTongwt__StatusTracking (490) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__StatusTracking(struct soap*, ngwt__StatusTracking *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__StatusTracking(struct soap*, ngwt__StatusTracking *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__StatusTracking(struct soap*, const char *, int, ngwt__StatusTracking *const*, const char *); +SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_get_PointerTongwt__StatusTracking(struct soap*, ngwt__StatusTracking **, const char*, const char*); +SOAP_FMAC3 ngwt__StatusTracking ** SOAP_FMAC4 soap_in_PointerTongwt__StatusTracking(struct soap*, const char*, ngwt__StatusTracking **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SendOptionsRequestReply +#define SOAP_TYPE_PointerTongwt__SendOptionsRequestReply (489) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptionsRequestReply(struct soap*, const char *, int, ngwt__SendOptionsRequestReply *const*, const char *); +SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptionsRequestReply(struct soap*, ngwt__SendOptionsRequestReply **, const char*, const char*); +SOAP_FMAC3 ngwt__SendOptionsRequestReply ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptionsRequestReply(struct soap*, const char*, ngwt__SendOptionsRequestReply **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Rule +#define SOAP_TYPE_PointerTongwt__Rule (487) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Rule(struct soap*, ngwt__Rule *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Rule(struct soap*, ngwt__Rule *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Rule(struct soap*, const char *, int, ngwt__Rule *const*, const char *); +SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_get_PointerTongwt__Rule(struct soap*, ngwt__Rule **, const char*, const char*); +SOAP_FMAC3 ngwt__Rule ** SOAP_FMAC4 soap_in_PointerTongwt__Rule(struct soap*, const char*, ngwt__Rule **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RuleAction +#define SOAP_TYPE_PointerTongwt__RuleAction (485) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RuleAction(struct soap*, ngwt__RuleAction *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RuleAction(struct soap*, ngwt__RuleAction *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RuleAction(struct soap*, const char *, int, ngwt__RuleAction *const*, const char *); +SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_get_PointerTongwt__RuleAction(struct soap*, ngwt__RuleAction **, const char*, const char*); +SOAP_FMAC3 ngwt__RuleAction ** SOAP_FMAC4 soap_in_PointerTongwt__RuleAction(struct soap*, const char*, ngwt__RuleAction **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CategoryRefList +#define SOAP_TYPE_PointerTongwt__CategoryRefList (484) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CategoryRefList(struct soap*, ngwt__CategoryRefList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CategoryRefList(struct soap*, ngwt__CategoryRefList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CategoryRefList(struct soap*, const char *, int, ngwt__CategoryRefList *const*, const char *); +SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_get_PointerTongwt__CategoryRefList(struct soap*, ngwt__CategoryRefList **, const char*, const char*); +SOAP_FMAC3 ngwt__CategoryRefList ** SOAP_FMAC4 soap_in_PointerTongwt__CategoryRefList(struct soap*, const char*, ngwt__CategoryRefList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Mail +#define SOAP_TYPE_PointerTongwt__Mail (483) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Mail(struct soap*, ngwt__Mail *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Mail(struct soap*, ngwt__Mail *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Mail(struct soap*, const char *, int, ngwt__Mail *const*, const char *); +SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_get_PointerTongwt__Mail(struct soap*, ngwt__Mail **, const char*, const char*); +SOAP_FMAC3 ngwt__Mail ** SOAP_FMAC4 soap_in_PointerTongwt__Mail(struct soap*, const char*, ngwt__Mail **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ReturnNotificationOptions +#define SOAP_TYPE_PointerTongwt__ReturnNotificationOptions (482) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ReturnNotificationOptions(struct soap*, const char *, int, ngwt__ReturnNotificationOptions *const*, const char *); +SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_get_PointerTongwt__ReturnNotificationOptions(struct soap*, ngwt__ReturnNotificationOptions **, const char*, const char*); +SOAP_FMAC3 ngwt__ReturnNotificationOptions ** SOAP_FMAC4 soap_in_PointerTongwt__ReturnNotificationOptions(struct soap*, const char*, ngwt__ReturnNotificationOptions **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__MonthList +#define SOAP_TYPE_PointerTongwt__MonthList (481) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MonthList(struct soap*, ngwt__MonthList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MonthList(struct soap*, ngwt__MonthList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MonthList(struct soap*, const char *, int, ngwt__MonthList *const*, const char *); +SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_get_PointerTongwt__MonthList(struct soap*, ngwt__MonthList **, const char*, const char*); +SOAP_FMAC3 ngwt__MonthList ** SOAP_FMAC4 soap_in_PointerTongwt__MonthList(struct soap*, const char*, ngwt__MonthList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DayOfYearList +#define SOAP_TYPE_PointerTongwt__DayOfYearList (480) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearList(struct soap*, ngwt__DayOfYearList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearList(struct soap*, ngwt__DayOfYearList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearList(struct soap*, const char *, int, ngwt__DayOfYearList *const*, const char *); +SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearList(struct soap*, ngwt__DayOfYearList **, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfYearList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearList(struct soap*, const char*, ngwt__DayOfYearList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DayOfMonthList +#define SOAP_TYPE_PointerTongwt__DayOfMonthList (479) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfMonthList(struct soap*, const char *, int, ngwt__DayOfMonthList *const*, const char *); +SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfMonthList(struct soap*, ngwt__DayOfMonthList **, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfMonthList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfMonthList(struct soap*, const char*, ngwt__DayOfMonthList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DayOfYearWeekList +#define SOAP_TYPE_PointerTongwt__DayOfYearWeekList (478) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeekList(struct soap*, const char *, int, ngwt__DayOfYearWeekList *const*, const char *); +SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeekList(struct soap*, ngwt__DayOfYearWeekList **, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfYearWeekList ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeekList(struct soap*, const char*, ngwt__DayOfYearWeekList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Frequency +#define SOAP_TYPE_PointerTongwt__Frequency (477) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Frequency(struct soap*, enum ngwt__Frequency *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Frequency(struct soap*, enum ngwt__Frequency *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Frequency(struct soap*, const char *, int, enum ngwt__Frequency *const*, const char *); +SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_get_PointerTongwt__Frequency(struct soap*, enum ngwt__Frequency **, const char*, const char*); +SOAP_FMAC3 enum ngwt__Frequency ** SOAP_FMAC4 soap_in_PointerTongwt__Frequency(struct soap*, const char*, enum ngwt__Frequency **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DelegateeStatus +#define SOAP_TYPE_PointerTongwt__DelegateeStatus (474) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegateeStatus(struct soap*, const char *, int, ngwt__DelegateeStatus *const*, const char *); +SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegateeStatus(struct soap*, ngwt__DelegateeStatus **, const char*, const char*); +SOAP_FMAC3 ngwt__DelegateeStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegateeStatus(struct soap*, const char*, ngwt__DelegateeStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DelegatedStatus +#define SOAP_TYPE_PointerTongwt__DelegatedStatus (473) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DelegatedStatus(struct soap*, const char *, int, ngwt__DelegatedStatus *const*, const char *); +SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__DelegatedStatus(struct soap*, ngwt__DelegatedStatus **, const char*, const char*); +SOAP_FMAC3 ngwt__DelegatedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__DelegatedStatus(struct soap*, const char*, ngwt__DelegatedStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CommentStatus +#define SOAP_TYPE_PointerTongwt__CommentStatus (472) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CommentStatus(struct soap*, ngwt__CommentStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CommentStatus(struct soap*, ngwt__CommentStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CommentStatus(struct soap*, const char *, int, ngwt__CommentStatus *const*, const char *); +SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_get_PointerTongwt__CommentStatus(struct soap*, ngwt__CommentStatus **, const char*, const char*); +SOAP_FMAC3 ngwt__CommentStatus ** SOAP_FMAC4 soap_in_PointerTongwt__CommentStatus(struct soap*, const char*, ngwt__CommentStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__TransferFailedStatus +#define SOAP_TYPE_PointerTongwt__TransferFailedStatus (471) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__TransferFailedStatus(struct soap*, const char *, int, ngwt__TransferFailedStatus *const*, const char *); +SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_get_PointerTongwt__TransferFailedStatus(struct soap*, ngwt__TransferFailedStatus **, const char*, const char*); +SOAP_FMAC3 ngwt__TransferFailedStatus ** SOAP_FMAC4 soap_in_PointerTongwt__TransferFailedStatus(struct soap*, const char*, ngwt__TransferFailedStatus **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Recipient +#define SOAP_TYPE_PointerTongwt__Recipient (469) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Recipient(struct soap*, ngwt__Recipient *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Recipient(struct soap*, ngwt__Recipient *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Recipient(struct soap*, const char *, int, ngwt__Recipient *const*, const char *); +SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_get_PointerTongwt__Recipient(struct soap*, ngwt__Recipient **, const char*, const char*); +SOAP_FMAC3 ngwt__Recipient ** SOAP_FMAC4 soap_in_PointerTongwt__Recipient(struct soap*, const char*, ngwt__Recipient **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Filter +#define SOAP_TYPE_PointerTongwt__Filter (468) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Filter(struct soap*, ngwt__Filter *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Filter(struct soap*, ngwt__Filter *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Filter(struct soap*, const char *, int, ngwt__Filter *const*, const char *); +SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_get_PointerTongwt__Filter(struct soap*, ngwt__Filter **, const char*, const char*); +SOAP_FMAC3 ngwt__Filter ** SOAP_FMAC4 soap_in_PointerTongwt__Filter(struct soap*, const char*, ngwt__Filter **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__QueryTarget +#define SOAP_TYPE_PointerTongwt__QueryTarget (467) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__QueryTarget(struct soap*, ngwt__QueryTarget *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__QueryTarget(struct soap*, ngwt__QueryTarget *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__QueryTarget(struct soap*, const char *, int, ngwt__QueryTarget *const*, const char *); +SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_get_PointerTongwt__QueryTarget(struct soap*, ngwt__QueryTarget **, const char*, const char*); +SOAP_FMAC3 ngwt__QueryTarget ** SOAP_FMAC4 soap_in_PointerTongwt__QueryTarget(struct soap*, const char*, ngwt__QueryTarget **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ProxyUser +#define SOAP_TYPE_PointerTongwt__ProxyUser (465) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProxyUser(struct soap*, ngwt__ProxyUser *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProxyUser(struct soap*, ngwt__ProxyUser *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProxyUser(struct soap*, const char *, int, ngwt__ProxyUser *const*, const char *); +SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_get_PointerTongwt__ProxyUser(struct soap*, ngwt__ProxyUser **, const char*, const char*); +SOAP_FMAC3 ngwt__ProxyUser ** SOAP_FMAC4 soap_in_PointerTongwt__ProxyUser(struct soap*, const char*, ngwt__ProxyUser **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ProblemEntry +#define SOAP_TYPE_PointerTongwt__ProblemEntry (463) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ProblemEntry(struct soap*, ngwt__ProblemEntry *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ProblemEntry(struct soap*, ngwt__ProblemEntry *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ProblemEntry(struct soap*, const char *, int, ngwt__ProblemEntry *const*, const char *); +SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_get_PointerTongwt__ProblemEntry(struct soap*, ngwt__ProblemEntry **, const char*, const char*); +SOAP_FMAC3 ngwt__ProblemEntry ** SOAP_FMAC4 soap_in_PointerTongwt__ProblemEntry(struct soap*, const char*, ngwt__ProblemEntry **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__PostalAddress +#define SOAP_TYPE_PointerTongwt__PostalAddress (461) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PostalAddress(struct soap*, ngwt__PostalAddress *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PostalAddress(struct soap*, ngwt__PostalAddress *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PostalAddress(struct soap*, const char *, int, ngwt__PostalAddress *const*, const char *); +SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_get_PointerTongwt__PostalAddress(struct soap*, ngwt__PostalAddress **, const char*, const char*); +SOAP_FMAC3 ngwt__PostalAddress ** SOAP_FMAC4 soap_in_PointerTongwt__PostalAddress(struct soap*, const char*, ngwt__PostalAddress **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__PhoneNumber +#define SOAP_TYPE_PointerTongwt__PhoneNumber (459) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__PhoneNumber(struct soap*, ngwt__PhoneNumber *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__PhoneNumber(struct soap*, ngwt__PhoneNumber *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__PhoneNumber(struct soap*, const char *, int, ngwt__PhoneNumber *const*, const char *); +SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_get_PointerTongwt__PhoneNumber(struct soap*, ngwt__PhoneNumber **, const char*, const char*); +SOAP_FMAC3 ngwt__PhoneNumber ** SOAP_FMAC4 soap_in_PointerTongwt__PhoneNumber(struct soap*, const char*, ngwt__PhoneNumber **, const char*); + +#ifndef SOAP_TYPE_PointerToxsd__date +#define SOAP_TYPE_PointerToxsd__date (458) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__date(struct soap*, std::string *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__date(struct soap*, std::string *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__date(struct soap*, const char *, int, std::string *const*, const char *); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerToxsd__date(struct soap*, std::string **, const char*, const char*); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerToxsd__date(struct soap*, const char*, std::string **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemRef +#define SOAP_TYPE_PointerTongwt__ItemRef (457) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemRef(struct soap*, ngwt__ItemRef *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemRef(struct soap*, ngwt__ItemRef *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemRef(struct soap*, const char *, int, ngwt__ItemRef *const*, const char *); +SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_get_PointerTongwt__ItemRef(struct soap*, ngwt__ItemRef **, const char*, const char*); +SOAP_FMAC3 ngwt__ItemRef ** SOAP_FMAC4 soap_in_PointerTongwt__ItemRef(struct soap*, const char*, ngwt__ItemRef **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__UUID +#define SOAP_TYPE_PointerTongwt__UUID (456) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__UUID(struct soap*, std::string *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__UUID(struct soap*, std::string *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__UUID(struct soap*, const char *, int, std::string *const*, const char *); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__UUID(struct soap*, std::string **, const char*, const char*); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__UUID(struct soap*, const char*, std::string **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SharedFolderNotification +#define SOAP_TYPE_PointerTongwt__SharedFolderNotification (454) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SharedFolderNotification(struct soap*, const char *, int, ngwt__SharedFolderNotification *const*, const char *); +SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_get_PointerTongwt__SharedFolderNotification(struct soap*, ngwt__SharedFolderNotification **, const char*, const char*); +SOAP_FMAC3 ngwt__SharedFolderNotification ** SOAP_FMAC4 soap_in_PointerTongwt__SharedFolderNotification(struct soap*, const char*, ngwt__SharedFolderNotification **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__MessagePart +#define SOAP_TYPE_PointerTongwt__MessagePart (452) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__MessagePart(struct soap*, ngwt__MessagePart *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__MessagePart(struct soap*, ngwt__MessagePart *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__MessagePart(struct soap*, const char *, int, ngwt__MessagePart *const*, const char *); +SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_get_PointerTongwt__MessagePart(struct soap*, ngwt__MessagePart **, const char*, const char*); +SOAP_FMAC3 ngwt__MessagePart ** SOAP_FMAC4 soap_in_PointerTongwt__MessagePart(struct soap*, const char*, ngwt__MessagePart **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Library +#define SOAP_TYPE_PointerTongwt__Library (450) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Library(struct soap*, ngwt__Library *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Library(struct soap*, ngwt__Library *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Library(struct soap*, const char *, int, ngwt__Library *const*, const char *); +SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_get_PointerTongwt__Library(struct soap*, ngwt__Library **, const char*, const char*); +SOAP_FMAC3 ngwt__Library ** SOAP_FMAC4 soap_in_PointerTongwt__Library(struct soap*, const char*, ngwt__Library **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__JunkEntry +#define SOAP_TYPE_PointerTongwt__JunkEntry (448) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkEntry(struct soap*, ngwt__JunkEntry *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkEntry(struct soap*, ngwt__JunkEntry *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkEntry(struct soap*, const char *, int, ngwt__JunkEntry *const*, const char *); +SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_get_PointerTongwt__JunkEntry(struct soap*, ngwt__JunkEntry **, const char*, const char*); +SOAP_FMAC3 ngwt__JunkEntry ** SOAP_FMAC4 soap_in_PointerTongwt__JunkEntry(struct soap*, const char*, ngwt__JunkEntry **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__JunkHandlingListType +#define SOAP_TYPE_PointerTongwt__JunkHandlingListType (447) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__JunkHandlingListType(struct soap*, const char *, int, enum ngwt__JunkHandlingListType *const*, const char *); +SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_get_PointerTongwt__JunkHandlingListType(struct soap*, enum ngwt__JunkHandlingListType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__JunkHandlingListType ** SOAP_FMAC4 soap_in_PointerTongwt__JunkHandlingListType(struct soap*, const char*, enum ngwt__JunkHandlingListType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Item +#define SOAP_TYPE_PointerTongwt__Item (445) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Item(struct soap*, ngwt__Item *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Item(struct soap*, ngwt__Item *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Item(struct soap*, const char *, int, ngwt__Item *const*, const char *); +SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_get_PointerTongwt__Item(struct soap*, ngwt__Item **, const char*, const char*); +SOAP_FMAC3 ngwt__Item ** SOAP_FMAC4 soap_in_PointerTongwt__Item(struct soap*, const char*, ngwt__Item **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ItemChanges +#define SOAP_TYPE_PointerTongwt__ItemChanges (444) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ItemChanges(struct soap*, ngwt__ItemChanges *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ItemChanges(struct soap*, ngwt__ItemChanges *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ItemChanges(struct soap*, const char *, int, ngwt__ItemChanges *const*, const char *); +SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_get_PointerTongwt__ItemChanges(struct soap*, ngwt__ItemChanges **, const char*, const char*); +SOAP_FMAC3 ngwt__ItemChanges ** SOAP_FMAC4 soap_in_PointerTongwt__ItemChanges(struct soap*, const char*, ngwt__ItemChanges **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__ImAddress +#define SOAP_TYPE_PointerTongwt__ImAddress (442) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__ImAddress(struct soap*, ngwt__ImAddress *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__ImAddress(struct soap*, ngwt__ImAddress *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__ImAddress(struct soap*, const char *, int, ngwt__ImAddress *const*, const char *); +SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_get_PointerTongwt__ImAddress(struct soap*, ngwt__ImAddress **, const char*, const char*); +SOAP_FMAC3 ngwt__ImAddress ** SOAP_FMAC4 soap_in_PointerTongwt__ImAddress(struct soap*, const char*, ngwt__ImAddress **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__GroupMember +#define SOAP_TYPE_PointerTongwt__GroupMember (440) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMember(struct soap*, ngwt__GroupMember *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMember(struct soap*, ngwt__GroupMember *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMember(struct soap*, const char *, int, ngwt__GroupMember *const*, const char *); +SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMember(struct soap*, ngwt__GroupMember **, const char*, const char*); +SOAP_FMAC3 ngwt__GroupMember ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMember(struct soap*, const char*, ngwt__GroupMember **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__GroupMemberList +#define SOAP_TYPE_PointerTongwt__GroupMemberList (439) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__GroupMemberList(struct soap*, ngwt__GroupMemberList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__GroupMemberList(struct soap*, ngwt__GroupMemberList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__GroupMemberList(struct soap*, const char *, int, ngwt__GroupMemberList *const*, const char *); +SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_get_PointerTongwt__GroupMemberList(struct soap*, ngwt__GroupMemberList **, const char*, const char*); +SOAP_FMAC3 ngwt__GroupMemberList ** SOAP_FMAC4 soap_in_PointerTongwt__GroupMemberList(struct soap*, const char*, ngwt__GroupMemberList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FreeBusyInfo +#define SOAP_TYPE_PointerTongwt__FreeBusyInfo (437) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyInfo(struct soap*, const char *, int, ngwt__FreeBusyInfo *const*, const char *); +SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyInfo(struct soap*, ngwt__FreeBusyInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyInfo ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyInfo(struct soap*, const char*, ngwt__FreeBusyInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__NameAndEmail +#define SOAP_TYPE_PointerTongwt__NameAndEmail (435) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__NameAndEmail(struct soap*, ngwt__NameAndEmail *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__NameAndEmail(struct soap*, ngwt__NameAndEmail *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__NameAndEmail(struct soap*, const char *, int, ngwt__NameAndEmail *const*, const char *); +SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_get_PointerTongwt__NameAndEmail(struct soap*, ngwt__NameAndEmail **, const char*, const char*); +SOAP_FMAC3 ngwt__NameAndEmail ** SOAP_FMAC4 soap_in_PointerTongwt__NameAndEmail(struct soap*, const char*, ngwt__NameAndEmail **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AcceptLevel +#define SOAP_TYPE_PointerTongwt__AcceptLevel (434) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AcceptLevel(struct soap*, const char *, int, enum ngwt__AcceptLevel *const*, const char *); +SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_get_PointerTongwt__AcceptLevel(struct soap*, enum ngwt__AcceptLevel **, const char*, const char*); +SOAP_FMAC3 enum ngwt__AcceptLevel ** SOAP_FMAC4 soap_in_PointerTongwt__AcceptLevel(struct soap*, const char*, enum ngwt__AcceptLevel **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FreeBusyBlock +#define SOAP_TYPE_PointerTongwt__FreeBusyBlock (432) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FreeBusyBlock(struct soap*, const char *, int, ngwt__FreeBusyBlock *const*, const char *); +SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_get_PointerTongwt__FreeBusyBlock(struct soap*, ngwt__FreeBusyBlock **, const char*, const char*); +SOAP_FMAC3 ngwt__FreeBusyBlock ** SOAP_FMAC4 soap_in_PointerTongwt__FreeBusyBlock(struct soap*, const char*, ngwt__FreeBusyBlock **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Folder +#define SOAP_TYPE_PointerTongwt__Folder (430) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Folder(struct soap*, ngwt__Folder *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Folder(struct soap*, ngwt__Folder *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Folder(struct soap*, const char *, int, ngwt__Folder *const*, const char *); +SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_get_PointerTongwt__Folder(struct soap*, ngwt__Folder **, const char*, const char*); +SOAP_FMAC3 ngwt__Folder ** SOAP_FMAC4 soap_in_PointerTongwt__Folder(struct soap*, const char*, ngwt__Folder **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FolderACLEntry +#define SOAP_TYPE_PointerTongwt__FolderACLEntry (428) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FolderACLEntry(struct soap*, const char *, int, ngwt__FolderACLEntry *const*, const char *); +SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_get_PointerTongwt__FolderACLEntry(struct soap*, ngwt__FolderACLEntry **, const char*, const char*); +SOAP_FMAC3 ngwt__FolderACLEntry ** SOAP_FMAC4 soap_in_PointerTongwt__FolderACLEntry(struct soap*, const char*, ngwt__FolderACLEntry **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__FilterElement +#define SOAP_TYPE_PointerTongwt__FilterElement (427) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__FilterElement(struct soap*, ngwt__FilterElement *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__FilterElement(struct soap*, ngwt__FilterElement *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__FilterElement(struct soap*, const char *, int, ngwt__FilterElement *const*, const char *); +SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_get_PointerTongwt__FilterElement(struct soap*, ngwt__FilterElement **, const char*, const char*); +SOAP_FMAC3 ngwt__FilterElement ** SOAP_FMAC4 soap_in_PointerTongwt__FilterElement(struct soap*, const char*, ngwt__FilterElement **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DocumentType +#define SOAP_TYPE_PointerTongwt__DocumentType (424) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DocumentType(struct soap*, ngwt__DocumentType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DocumentType(struct soap*, ngwt__DocumentType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DocumentType(struct soap*, const char *, int, ngwt__DocumentType *const*, const char *); +SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_get_PointerTongwt__DocumentType(struct soap*, ngwt__DocumentType **, const char*, const char*); +SOAP_FMAC3 ngwt__DocumentType ** SOAP_FMAC4 soap_in_PointerTongwt__DocumentType(struct soap*, const char*, ngwt__DocumentType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AgeAction +#define SOAP_TYPE_PointerTongwt__AgeAction (423) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AgeAction(struct soap*, enum ngwt__AgeAction *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AgeAction(struct soap*, enum ngwt__AgeAction *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AgeAction(struct soap*, const char *, int, enum ngwt__AgeAction *const*, const char *); +SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_get_PointerTongwt__AgeAction(struct soap*, enum ngwt__AgeAction **, const char*, const char*); +SOAP_FMAC3 enum ngwt__AgeAction ** SOAP_FMAC4 soap_in_PointerTongwt__AgeAction(struct soap*, const char*, enum ngwt__AgeAction **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__SendOptions +#define SOAP_TYPE_PointerTongwt__SendOptions (422) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__SendOptions(struct soap*, ngwt__SendOptions *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__SendOptions(struct soap*, ngwt__SendOptions *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__SendOptions(struct soap*, const char *, int, ngwt__SendOptions *const*, const char *); +SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_get_PointerTongwt__SendOptions(struct soap*, ngwt__SendOptions **, const char*, const char*); +SOAP_FMAC3 ngwt__SendOptions ** SOAP_FMAC4 soap_in_PointerTongwt__SendOptions(struct soap*, const char*, ngwt__SendOptions **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__RecipientList +#define SOAP_TYPE_PointerTongwt__RecipientList (421) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__RecipientList(struct soap*, ngwt__RecipientList *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__RecipientList(struct soap*, ngwt__RecipientList *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__RecipientList(struct soap*, const char *, int, ngwt__RecipientList *const*, const char *); +SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_get_PointerTongwt__RecipientList(struct soap*, ngwt__RecipientList **, const char*, const char*); +SOAP_FMAC3 ngwt__RecipientList ** SOAP_FMAC4 soap_in_PointerTongwt__RecipientList(struct soap*, const char*, ngwt__RecipientList **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__From +#define SOAP_TYPE_PointerTongwt__From (420) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__From(struct soap*, ngwt__From *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__From(struct soap*, ngwt__From *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__From(struct soap*, const char *, int, ngwt__From *const*, const char *); +SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_get_PointerTongwt__From(struct soap*, ngwt__From **, const char*, const char*); +SOAP_FMAC3 ngwt__From ** SOAP_FMAC4 soap_in_PointerTongwt__From(struct soap*, const char*, ngwt__From **, const char*); + +#ifndef SOAP_TYPE_PointerToint +#define SOAP_TYPE_PointerToint (419) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToint(struct soap*, int *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToint(struct soap*, int *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToint(struct soap*, const char *, int, int *const*, const char *); +SOAP_FMAC3 int ** SOAP_FMAC4 soap_get_PointerToint(struct soap*, int **, const char*, const char*); +SOAP_FMAC3 int ** SOAP_FMAC4 soap_in_PointerToint(struct soap*, const char*, int **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__DayOfYearWeek +#define SOAP_TYPE_PointerTongwt__DayOfYearWeek (417) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__DayOfYearWeek(struct soap*, const char *, int, ngwt__DayOfYearWeek *const*, const char *); +SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_get_PointerTongwt__DayOfYearWeek(struct soap*, ngwt__DayOfYearWeek **, const char*, const char*); +SOAP_FMAC3 ngwt__DayOfYearWeek ** SOAP_FMAC4 soap_in_PointerTongwt__DayOfYearWeek(struct soap*, const char*, ngwt__DayOfYearWeek **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Custom +#define SOAP_TYPE_PointerTongwt__Custom (413) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Custom(struct soap*, ngwt__Custom *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Custom(struct soap*, ngwt__Custom *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Custom(struct soap*, const char *, int, ngwt__Custom *const*, const char *); +SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_get_PointerTongwt__Custom(struct soap*, ngwt__Custom **, const char*, const char*); +SOAP_FMAC3 ngwt__Custom ** SOAP_FMAC4 soap_in_PointerTongwt__Custom(struct soap*, const char*, ngwt__Custom **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__CustomType +#define SOAP_TYPE_PointerTongwt__CustomType (412) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__CustomType(struct soap*, enum ngwt__CustomType *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__CustomType(struct soap*, enum ngwt__CustomType *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__CustomType(struct soap*, const char *, int, enum ngwt__CustomType *const*, const char *); +SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_get_PointerTongwt__CustomType(struct soap*, enum ngwt__CustomType **, const char*, const char*); +SOAP_FMAC3 enum ngwt__CustomType ** SOAP_FMAC4 soap_in_PointerTongwt__CustomType(struct soap*, const char*, enum ngwt__CustomType **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__uid +#define SOAP_TYPE_PointerTongwt__uid (411) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__uid(struct soap*, std::string *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__uid(struct soap*, std::string *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__uid(struct soap*, const char *, int, std::string *const*, const char *); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTongwt__uid(struct soap*, std::string **, const char*, const char*); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTongwt__uid(struct soap*, const char*, std::string **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__Category +#define SOAP_TYPE_PointerTongwt__Category (408) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__Category(struct soap*, ngwt__Category *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__Category(struct soap*, ngwt__Category *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__Category(struct soap*, const char *, int, ngwt__Category *const*, const char *); +SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_get_PointerTongwt__Category(struct soap*, ngwt__Category **, const char*, const char*); +SOAP_FMAC3 ngwt__Category ** SOAP_FMAC4 soap_in_PointerTongwt__Category(struct soap*, const char*, ngwt__Category **, const char*); + +#ifndef SOAP_TYPE_PointerToxsd__base64Binary +#define SOAP_TYPE_PointerToxsd__base64Binary (406) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__base64Binary(struct soap*, xsd__base64Binary *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__base64Binary(struct soap*, xsd__base64Binary *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__base64Binary(struct soap*, const char *, int, xsd__base64Binary *const*, const char *); +SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_get_PointerToxsd__base64Binary(struct soap*, xsd__base64Binary **, const char*, const char*); +SOAP_FMAC3 xsd__base64Binary ** SOAP_FMAC4 soap_in_PointerToxsd__base64Binary(struct soap*, const char*, xsd__base64Binary **, const char*); + +#ifndef SOAP_TYPE_PointerTounsignedLong +#define SOAP_TYPE_PointerTounsignedLong (405) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedLong(struct soap*, unsigned long *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedLong(struct soap*, unsigned long *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedLong(struct soap*, const char *, int, unsigned long *const*, const char *); +SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_get_PointerTounsignedLong(struct soap*, unsigned long **, const char*, const char*); +SOAP_FMAC3 unsigned long ** SOAP_FMAC4 soap_in_PointerTounsignedLong(struct soap*, const char*, unsigned long **, const char*); + +#ifndef SOAP_TYPE_PointerTostd__string +#define SOAP_TYPE_PointerTostd__string (402) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostd__string(struct soap*, std::string *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostd__string(struct soap*, std::string *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostd__string(struct soap*, const char *, int, std::string *const*, const char *); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTostd__string(struct soap*, std::string **, const char*, const char*); +SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTostd__string(struct soap*, const char*, std::string **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AttachmentID +#define SOAP_TYPE_PointerTongwt__AttachmentID (401) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentID(struct soap*, ngwt__AttachmentID *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentID(struct soap*, ngwt__AttachmentID *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentID(struct soap*, const char *, int, ngwt__AttachmentID *const*, const char *); +SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentID(struct soap*, ngwt__AttachmentID **, const char*, const char*); +SOAP_FMAC3 ngwt__AttachmentID ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentID(struct soap*, const char*, ngwt__AttachmentID **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AttachmentItemInfo +#define SOAP_TYPE_PointerTongwt__AttachmentItemInfo (399) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AttachmentItemInfo(struct soap*, const char *, int, ngwt__AttachmentItemInfo *const*, const char *); +SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_get_PointerTongwt__AttachmentItemInfo(struct soap*, ngwt__AttachmentItemInfo **, const char*, const char*); +SOAP_FMAC3 ngwt__AttachmentItemInfo ** SOAP_FMAC4 soap_in_PointerTongwt__AttachmentItemInfo(struct soap*, const char*, ngwt__AttachmentItemInfo **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AddressBook +#define SOAP_TYPE_PointerTongwt__AddressBook (397) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AddressBook(struct soap*, ngwt__AddressBook *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AddressBook(struct soap*, ngwt__AddressBook *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AddressBook(struct soap*, const char *, int, ngwt__AddressBook *const*, const char *); +SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_get_PointerTongwt__AddressBook(struct soap*, ngwt__AddressBook **, const char*, const char*); +SOAP_FMAC3 ngwt__AddressBook ** SOAP_FMAC4 soap_in_PointerTongwt__AddressBook(struct soap*, const char*, ngwt__AddressBook **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessRightEntry +#define SOAP_TYPE_PointerTongwt__AccessRightEntry (395) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessRightEntry(struct soap*, const char *, int, ngwt__AccessRightEntry *const*, const char *); +SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessRightEntry(struct soap*, ngwt__AccessRightEntry **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessRightEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessRightEntry(struct soap*, const char*, ngwt__AccessRightEntry **, const char*); + +#ifndef SOAP_TYPE_PointerTobool +#define SOAP_TYPE_PointerTobool (394) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTobool(struct soap*, bool *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTobool(struct soap*, bool *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTobool(struct soap*, const char *, int, bool *const*, const char *); +SOAP_FMAC3 bool ** SOAP_FMAC4 soap_get_PointerTobool(struct soap*, bool **, const char*, const char*); +SOAP_FMAC3 bool ** SOAP_FMAC4 soap_in_PointerTobool(struct soap*, const char*, bool **, const char*); + +#ifndef SOAP_TYPE_PointerTongwt__AccessControlListEntry +#define SOAP_TYPE_PointerTongwt__AccessControlListEntry (391) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTongwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTongwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTongwt__AccessControlListEntry(struct soap*, const char *, int, ngwt__AccessControlListEntry *const*, const char *); +SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_get_PointerTongwt__AccessControlListEntry(struct soap*, ngwt__AccessControlListEntry **, const char*, const char*); +SOAP_FMAC3 ngwt__AccessControlListEntry ** SOAP_FMAC4 soap_in_PointerTongwt__AccessControlListEntry(struct soap*, const char*, ngwt__AccessControlListEntry **, const char*); + +#ifndef SOAP_TYPE_PointerTounsignedByte +#define SOAP_TYPE_PointerTounsignedByte (10) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedByte(struct soap*, unsigned char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedByte(struct soap*, unsigned char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedByte(struct soap*, const char *, int, unsigned char *const*, const char *); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTounsignedByte(struct soap*, unsigned char **, const char*, const char*); +SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTounsignedByte(struct soap*, const char*, unsigned char **, const char*); + +#ifndef SOAP_TYPE__QName +#define SOAP_TYPE__QName (5) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default__QName(struct soap*, char **); +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*const*, const char*); +SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*); +SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*); + +#ifndef SOAP_TYPE_string +#define SOAP_TYPE_string (3) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **); +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*); +SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*); +SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FilterElement (567) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FilterElement(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ContainerRef (565) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ContainerRef(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfngwe__EventType +#define SOAP_TYPE_std__vectorTemplateOfngwe__EventType (557) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwe__EventType(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwe__EventType(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwe__EventType(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwe__EventType(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwe__EventType(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwe__EventType(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwe__EventType(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwe__EventType(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwe__EventType(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwe__EventType(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Events (556) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Events(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Events(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Events(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Events(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Events(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Events(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Events(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwe__Event (552) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwe__Event(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwe__Event(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwe__Event(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwe__Event(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwe__Event(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwe__Event(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwe__Event(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfstring +#define SOAP_TYPE_std__vectorTemplateOfstring (540) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstring(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstring(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstring(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstring(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfstring(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfstring(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfstring(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstring(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstring(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstring(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ModifyItem (539) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ModifyItem(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Host (537) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Host(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Host(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Host(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Host(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Host(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Host(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Host(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__UserInfo (508) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__UserInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Timezone (505) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Timezone(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Signature (496) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Signature(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__SettingsGroup (493) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__SettingsGroup(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Rule (488) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Rule(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__RuleAction (486) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__RuleAction(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfxsd__date +#define SOAP_TYPE_std__vectorTemplateOfxsd__date (476) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfxsd__date(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfxsd__date(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfxsd__date(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfxsd__date(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfxsd__date(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfxsd__date(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfxsd__date(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfxsd__date(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfxsd__date(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfxsd__date(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DelegateeStatus (475) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DelegateeStatus(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Recipient (470) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Recipient(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProxyUser (466) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProxyUser(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ProblemEntry (464) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ProblemEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PostalAddress (462) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PostalAddress(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__PhoneNumber (460) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__PhoneNumber(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__Month +#define SOAP_TYPE_std__vectorTemplateOfngwt__Month (455) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__Month(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__Month(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__Month(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__Month(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__Month(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__Month(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__Month(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__Month(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__Month(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__Month(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__MessagePart (453) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__MessagePart(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Library (451) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Library(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Library(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Library(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Library(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Library(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Library(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Library(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__JunkEntry (449) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__JunkEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Item (446) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Item(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Item(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Item(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Item(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Item(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Item(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Item(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__ImAddress (443) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__ImAddress(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__GroupMember (441) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__GroupMember(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyInfo (438) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__NameAndEmail (436) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__NameAndEmail(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FreeBusyBlock (433) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FreeBusyBlock(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Folder (431) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Folder(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__FolderACLEntry (429) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__FolderACLEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfstd__string +#define SOAP_TYPE_std__vectorTemplateOfstd__string (426) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfstd__string(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfstd__string(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfstd__string(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfstd__string(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfstd__string(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfstd__string(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfstd__string(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfstd__string(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfstd__string(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfstd__string(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DocumentType (425) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DocumentType(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__DayOfYearWeek (418) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__DayOfYearWeek(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear +#define SOAP_TYPE_std__vectorTemplateOfngwt__DayOfYear (416) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfYear(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfYear(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfYear(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfYear(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfYear(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfYear(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfYear(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth +#define SOAP_TYPE_std__vectorTemplateOfngwt__DayOfMonth (415) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__DayOfMonth(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Custom (414) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Custom(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__uid +#define SOAP_TYPE_std__vectorTemplateOfngwt__uid (410) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__uid(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__uid(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__uid(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__uid(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__uid(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__uid(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__uid(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__uid(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__uid(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__uid(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__Category (409) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__Category(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__Category(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__Category(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__Category(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__Category(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__Category(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__Category(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags +#define SOAP_TYPE_std__vectorTemplateOfngwt__CalendarFolderFlags (407) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfngwt__CalendarFolderFlags(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo (400) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AttachmentItemInfo(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AddressBook (398) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AddressBook(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessRightEntry (396) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessRightEntry(struct soap*, int, int, void*, const void*, size_t); + +#ifndef SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry +#define SOAP_TYPE_std__vectorTemplateOfPointerTongwt__AccessControlListEntry (392) +#endif +SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const std::vector*); +SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, std::vector*); +SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const std::vector*, const char*, const char*); +SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const char*, int, const std::vector*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_get_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, std::vector*, const char*, const char*); +SOAP_FMAC3 std::vector* SOAP_FMAC4 soap_in_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, const char*, std::vector*, const char*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_new_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, int); +SOAP_FMAC5 void SOAP_FMAC6 soap_delete_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, std::vector*); +SOAP_FMAC5 std::vector * SOAP_FMAC6 soap_instantiate_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, int, const char*, const char*, size_t*); +SOAP_FMAC5 void SOAP_FMAC6 soap_copy_std__vectorTemplateOfPointerTongwt__AccessControlListEntry(struct soap*, int, int, void*, const void*, size_t); + +#endif + +/* End of soapH.h */ diff --git a/kresources/groupwise/soap/soapStub.h b/kresources/groupwise/soap/soapStub.h new file mode 100644 index 000000000..d7f3d6bca --- /dev/null +++ b/kresources/groupwise/soap/soapStub.h @@ -0,0 +1,8923 @@ +/* soapStub.h + Generated by gSOAP 2.7.3 from ./groupwise.h + Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved. + This part of the software is released under one of the following licenses: + GPL, the gSOAP public license, or Genivia's license for commercial use. +*/ +#ifndef soapStub_H +#define soapStub_H +#include +#include "stdsoap2.h" + +/******************************************************************************\ + * * + * Enumerations * + * * +\******************************************************************************/ + + +#ifndef SOAP_TYPE_ngwt__ItemSourceList +#define SOAP_TYPE_ngwt__ItemSourceList (336) +/* Bitmask ngwt:ItemSourceList */ +enum ngwt__ItemSourceList {received = 1, sent = 2, draft = 4, personal = 8}; +#endif + +#ifndef SOAP_TYPE_ngwt__MessageTypeList +#define SOAP_TYPE_ngwt__MessageTypeList (337) +/* Bitmask ngwt:MessageTypeList */ +enum ngwt__MessageTypeList {Appointment = 1, CalendarItem = 2, DocumentReference = 4, Mail = 8, Note = 16, PhoneMessage = 32, Task = 64}; +#endif + +#ifndef SOAP_TYPE_ngwe__FieldList +#define SOAP_TYPE_ngwe__FieldList (339) +/* Bitmask ngwe:FieldList */ +enum ngwe__FieldList {AcceptLevel = 1, Alarm = 2, AllDayEvent = 4, Attachment = 8, Category = 16, Classification = 32, Contact = 64, DueDate = 128, Duration = 256, EmailAddress = 512, ExpirationDate = 1024, Hidden = 2048, IMAddress = 4096, MessageBody = 8192, Name = 16384, Organization = 32768, Owner = 65536, PersonalSubject = 131072, PhoneNumber = 262144, Place = 524288, PostalAddress = 1048576, RecipientStatus = 2097152, Rights = 4194304, Security = 8388608, SendPriority = 16777216, StartDate = 33554432, Subject = 67108864, TaskCategory = 134217728, TaskPriority = 268435456}; +#endif + +#ifndef SOAP_TYPE_ngwe__ItemTypeList +#define SOAP_TYPE_ngwe__ItemTypeList (340) +/* Bitmask ngwe:ItemTypeList */ +enum ngwe__ItemTypeList {AddressBookItem = 1, Appointment_ = 2, CalendarItem_ = 4, Contact_ = 8, Group = 16, Mail_ = 32, Note_ = 64, Organization_ = 128, PhoneMessage_ = 256, Resource = 512, Task_ = 1024, DocumentRef = 2048}; +#endif + +#ifndef SOAP_TYPE_ngwt__AcceptLevel +#define SOAP_TYPE_ngwt__AcceptLevel (341) +/* ngwt:AcceptLevel */ +enum ngwt__AcceptLevel {Free = 0, Tentative = 1, Busy = 2, OutOfOffice = 3}; +#endif + +#ifndef SOAP_TYPE_ngwt__AgeAction +#define SOAP_TYPE_ngwt__AgeAction (342) +/* ngwt:AgeAction */ +enum ngwt__AgeAction {archive = 0, delete__ = 1, retain = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__AppointmentConflict +#define SOAP_TYPE_ngwt__AppointmentConflict (343) +/* ngwt:AppointmentConflict */ +enum ngwt__AppointmentConflict {Yes = 0, No = 1, Ignore = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__CalendarFolderFlags +#define SOAP_TYPE_ngwt__CalendarFolderFlags (344) +/* ngwt:CalendarFolderFlags */ +enum ngwt__CalendarFolderFlags {ShowInList = 0, DontIncludeContent = 1}; +#endif + +#ifndef SOAP_TYPE_ngwt__CategoryType +#define SOAP_TYPE_ngwt__CategoryType (345) +/* ngwt:CategoryType */ +enum ngwt__CategoryType {Normal = 0, Personal = 1, FollowUp = 2, Urgent = 3, LowPriority = 4}; +#endif + +#ifndef SOAP_TYPE_ngwt__ContactType +#define SOAP_TYPE_ngwt__ContactType (346) +/* ngwt:ContactType */ +enum ngwt__ContactType {Contact__ = 0, Group_ = 1, Resource_ = 2, Organization__ = 3}; +#endif + +#ifndef SOAP_TYPE_ngwt__CursorSeek +#define SOAP_TYPE_ngwt__CursorSeek (347) +/* ngwt:CursorSeek */ +enum ngwt__CursorSeek {current = 0, start = 1, end = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__CustomType +#define SOAP_TYPE_ngwt__CustomType (348) +/* ngwt:CustomType */ +enum ngwt__CustomType {String = 0, Numeric = 1, Date = 2, Binary = 3}; +#endif + +#ifndef SOAP_TYPE_ngwt__DeltaSyncType +#define SOAP_TYPE_ngwt__DeltaSyncType (353) +/* ngwt:DeltaSyncType */ +enum ngwt__DeltaSyncType {add = 0, delete_ = 1, update = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__DistributionType +#define SOAP_TYPE_ngwt__DistributionType (354) +/* ngwt:DistributionType */ +enum ngwt__DistributionType {TO = 0, CC = 1, BC = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__Execution +#define SOAP_TYPE_ngwt__Execution (355) +/* ngwt:Execution */ +enum ngwt__Execution {Startup = 0, Exit = 1, New = 2, FolderOpen = 3, FolderClose = 4, FolderNew = 5, User = 6}; +#endif + +#ifndef SOAP_TYPE_ngwt__FilterDate +#define SOAP_TYPE_ngwt__FilterDate (356) +/* ngwt:FilterDate */ +enum ngwt__FilterDate {Today = 0, Tomorrow = 1, ThisMonth = 2, ThisWeek = 3, ThisYear = 4, Yesterday = 5}; +#endif + +#ifndef SOAP_TYPE_ngwt__FilterOp +#define SOAP_TYPE_ngwt__FilterOp (357) +/* ngwt:FilterOp */ +enum ngwt__FilterOp {and_ = 0, or_ = 1, not_ = 2, eq = 3, ne = 4, gt = 5, lt = 6, gte = 7, lte = 8, contains = 9, containsWord = 10, begins = 11, exists = 12, notExist = 13, isOf = 14, isNotOf = 15, fieldEqual = 16, fieldGTE = 17, fieldGT = 18, fieldLTE = 19, fieldLT = 20, fieldNE = 21, fieldDateEqual = 22}; +#endif + +#ifndef SOAP_TYPE_ngwt__FolderACLStatus +#define SOAP_TYPE_ngwt__FolderACLStatus (358) +/* ngwt:FolderACLStatus */ +enum ngwt__FolderACLStatus {pending = 0, accepted = 1, deleted = 2, opened = 3, owner = 4}; +#endif + +#ifndef SOAP_TYPE_ngwt__FolderType +#define SOAP_TYPE_ngwt__FolderType (359) +/* ngwt:FolderType */ +enum ngwt__FolderType {Mailbox = 0, SentItems = 1, Draft = 2, Trash = 3, Calendar = 4, Contacts = 5, Documents = 6, Checklist = 7, Cabinet = 8, Normal_ = 9, NNTPServer = 10, NNTPNewsGroup = 11, IMAP = 12, Query = 13, Root = 14, JunkMail = 15, Notes = 16}; +#endif + +#ifndef SOAP_TYPE_ngwt__Frequency +#define SOAP_TYPE_ngwt__Frequency (360) +/* ngwt:Frequency */ +enum ngwt__Frequency {Daily = 0, Weekly = 1, Monthly = 2, Yearly = 3}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemClass +#define SOAP_TYPE_ngwt__ItemClass (363) +/* ngwt:ItemClass */ +enum ngwt__ItemClass {Public = 0, Private = 1}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemOptionsPriority +#define SOAP_TYPE_ngwt__ItemOptionsPriority (364) +/* ngwt:ItemOptionsPriority */ +enum ngwt__ItemOptionsPriority {High = 0, Standard = 1, Low = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemSecurity +#define SOAP_TYPE_ngwt__ItemSecurity (365) +/* ngwt:ItemSecurity */ +enum ngwt__ItemSecurity {Normal__ = 0, Proprietary = 1, Confidential = 2, Secret = 3, TopSecret = 4, ForYourEyesOnly = 5}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemSource +#define SOAP_TYPE_ngwt__ItemSource (366) +/* ngwt:ItemSource */ +enum ngwt__ItemSource {received_ = 0, sent_ = 1, draft_ = 2, personal_ = 3}; +#endif + +#ifndef SOAP_TYPE_ngwt__JunkHandlingListType +#define SOAP_TYPE_ngwt__JunkHandlingListType (367) +/* ngwt:JunkHandlingListType */ +enum ngwt__JunkHandlingListType {junk = 0, block = 1, trust = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__JunkMatchType +#define SOAP_TYPE_ngwt__JunkMatchType (368) +/* ngwt:JunkMatchType */ +enum ngwt__JunkMatchType {email = 0, domain = 1}; +#endif + +#ifndef SOAP_TYPE_ngwt__LinkType +#define SOAP_TYPE_ngwt__LinkType (369) +/* ngwt:LinkType */ +enum ngwt__LinkType {forward = 0, reply = 1}; +#endif + +#ifndef SOAP_TYPE_ngwt__MessageList +#define SOAP_TYPE_ngwt__MessageList (370) +/* ngwt:MessageList */ +enum ngwt__MessageList {All = 0, Modified = 1, New_ = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__MessageType +#define SOAP_TYPE_ngwt__MessageType (371) +/* ngwt:MessageType */ +enum ngwt__MessageType {Appointment__ = 0, CalendarItem__ = 1, DocumentReference_ = 2, Mail__ = 3, Note__ = 4, PhoneMessage__ = 5, Task__ = 6}; +#endif + +#ifndef SOAP_TYPE_ngwt__NotificationType +#define SOAP_TYPE_ngwt__NotificationType (374) +/* ngwt:NotificationType */ +enum ngwt__NotificationType {SharedAddressBook = 0, SharedFolder = 1}; +#endif + +#ifndef SOAP_TYPE_ngwt__OccurrenceType +#define SOAP_TYPE_ngwt__OccurrenceType (375) +/* ngwt:OccurrenceType */ +enum ngwt__OccurrenceType {First = 0, Second = 1, Third = 2, Fourth = 3, Fifth = 4, Last = 5}; +#endif + +#ifndef SOAP_TYPE_ngwt__PhoneNumberType +#define SOAP_TYPE_ngwt__PhoneNumberType (376) +/* ngwt:PhoneNumberType */ +enum ngwt__PhoneNumberType {Fax = 0, Home = 1, Mobile = 2, Office = 3, Pager = 4}; +#endif + +#ifndef SOAP_TYPE_ngwt__PostalAddressType +#define SOAP_TYPE_ngwt__PostalAddressType (377) +/* ngwt:PostalAddressType */ +enum ngwt__PostalAddressType {Home_ = 0, Office_ = 1}; +#endif + +#ifndef SOAP_TYPE_ngwt__RecipientType +#define SOAP_TYPE_ngwt__RecipientType (378) +/* ngwt:RecipientType */ +enum ngwt__RecipientType {User_ = 0, Resource__ = 1, PersonalGroup = 2, SystemGroup = 3, PersonalGroupMember = 4, SystemGroupMember = 5}; +#endif + +#ifndef SOAP_TYPE_ngwt__RetractType +#define SOAP_TYPE_ngwt__RetractType (379) +/* ngwt:RetractType */ +enum ngwt__RetractType {myMailbox = 0, recipientMailboxes = 1, allMailboxes = 2}; +#endif + +#ifndef SOAP_TYPE_ngwt__RuleActionType +#define SOAP_TYPE_ngwt__RuleActionType (380) +/* ngwt:RuleActionType */ +enum ngwt__RuleActionType {Accept = 0, Archive = 1, Category_ = 2, Delegate = 3, Delete = 4, Forward = 5, Link = 6, MarkPrivate = 7, MarkRead = 8, MarkUnread = 9, Move = 10, Purge = 11, Reply = 12, Send = 13, StopRules = 14, Unknown = 15}; +#endif + +#ifndef SOAP_TYPE_ngwt__StatusTrackingOptions +#define SOAP_TYPE_ngwt__StatusTrackingOptions (381) +/* ngwt:StatusTrackingOptions */ +enum ngwt__StatusTrackingOptions {None = 0, Delivered = 1, DeliveredAndOpened = 2, All_ = 3}; +#endif + +#ifndef SOAP_TYPE_ngwt__VersionEventType +#define SOAP_TYPE_ngwt__VersionEventType (384) +/* ngwt:VersionEventType */ +enum ngwt__VersionEventType {archive_ = 0, checkIn = 1, checkOut = 2, copyIn = 3, copyOut = 4, copyVersion = 5, created = 6, deleteVersion = 7, endAccess = 8, resetStatus = 9, restore = 10, retrieve = 11, securityModified = 12, versionDownloaded = 13, viewed = 14, unknown = 15}; +#endif + +#ifndef SOAP_TYPE_ngwt__VersionStatus +#define SOAP_TYPE_ngwt__VersionStatus (385) +/* ngwt:VersionStatus */ +enum ngwt__VersionStatus {available = 0, checkedOut = 1, inUse = 2, deleted_ = 3, archived = 4, massInUse = 5, unavailable = 6}; +#endif + +#ifndef SOAP_TYPE_ngwt__WeekDay +#define SOAP_TYPE_ngwt__WeekDay (386) +/* ngwt:WeekDay */ +enum ngwt__WeekDay {Sunday = 0, Monday = 1, Tuesday = 2, Wednesday = 3, Thursday = 4, Friday = 5, Saturday = 6}; +#endif + +#ifndef SOAP_TYPE_ngwe__EventType +#define SOAP_TYPE_ngwe__EventType (388) +/* ngwe:EventType */ +enum ngwe__EventType {AddressBookAdd = 0, AddressBookDelete = 1, AddressBookModify = 2, AddressBookItemAdd = 3, AddressBookItemDelete = 4, AddressBookItemModify = 5, FolderAccept = 6, FolderAdd = 7, FolderDelete = 8, FolderItemAdd = 9, FolderItemDelete = 10, FolderItemMove = 11, FolderModify = 12, ItemAccept = 13, ItemArchive = 14, ItemComplete = 15, ItemDecline = 16, ItemDelete = 17, ItemMarkPrivate = 18, ItemMarkRead = 19, ItemMarkUnread = 20, ItemModify = 21, ItemPurge = 22, ItemUnarchive = 23, ItemUndelete = 24, Login = 25, Logout = 26, ProxyAccessAdd = 27, ProxyAccessModify = 28, ProxyAccessDelete = 29, ProxyLogin = 30, SessionTimedOut = 31, TrustedApplicationLogin = 32, ItemMarkUnprivate = 33, ItemUnaccept = 34, ItemUncomplete = 35, PersonalGroupItemAdd = 36, PersonalGroupItemDelete = 37}; +#endif + +#ifndef SOAP_TYPE_ngwe__Field +#define SOAP_TYPE_ngwe__Field (389) +/* ngwe:Field */ +enum ngwe__Field {AcceptLevel_ = 0, Alarm_ = 1, AllDayEvent_ = 2, Attachment_ = 3, Category__ = 4, Classification_ = 5, Contact___ = 6, DueDate_ = 7, Duration_ = 8, EmailAddress_ = 9, ExpirationDate_ = 10, Hidden_ = 11, IMAddress_ = 12, MessageBody_ = 13, Name_ = 14, Organization___ = 15, Owner_ = 16, PersonalSubject_ = 17, PhoneNumber_ = 18, Place_ = 19, PostalAddress_ = 20, RecipientStatus_ = 21, Rights_ = 22, Security_ = 23, SendPriority_ = 24, StartDate_ = 25, Subject_ = 26, TaskCategory_ = 27, TaskPriority_ = 28}; +#endif + +#ifndef SOAP_TYPE_ngwe__ItemType +#define SOAP_TYPE_ngwe__ItemType (390) +/* ngwe:ItemType */ +enum ngwe__ItemType {AddressBookItem_ = 0, Appointment___ = 1, CalendarItem___ = 2, Contact____ = 3, Group__ = 4, Mail___ = 5, Note___ = 6, Organization____ = 7, PhoneMessage___ = 8, Resource___ = 9, Task___ = 10, DocumentRef_ = 11}; +#endif + +/******************************************************************************\ + * * + * Classes and Structs * + * * +\******************************************************************************/ + + + + +#ifndef SOAP_TYPE_xsd__base64Binary +#define SOAP_TYPE_xsd__base64Binary (7) +/* Base64 schema type: */ +class SOAP_CMAC xsd__base64Binary +{ +public: + unsigned char *__ptr; + int __size; + char *id; /* optional element of type xsd:string */ + char *type; /* optional element of type xsd:string */ + char *option; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 7; } /* = unique id SOAP_TYPE_xsd__base64Binary */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + xsd__base64Binary() { } + virtual ~xsd__base64Binary() { } +}; +#endif + +#if 0 /* volatile type: do no redeclare */ + +#endif + +#ifndef SOAP_TYPE_ngwt__AccessControlList +#define SOAP_TYPE_ngwt__AccessControlList (19) +/* ngwt:AccessControlList */ +class SOAP_CMAC ngwt__AccessControlList +{ +public: + std::vectorentry; /* optional element of type ngwt:AccessControlListEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 19; } /* = unique id SOAP_TYPE_ngwt__AccessControlList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessControlList() { } + virtual ~ngwt__AccessControlList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AccessMiscRight +#define SOAP_TYPE_ngwt__AccessMiscRight (20) +/* ngwt:AccessMiscRight */ +class SOAP_CMAC ngwt__AccessMiscRight +{ +public: + bool *alarms; /* optional element of type xsd:boolean */ + bool *notify; /* optional element of type xsd:boolean */ + bool *readHidden; /* optional element of type xsd:boolean */ + bool *setup; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 20; } /* = unique id SOAP_TYPE_ngwt__AccessMiscRight */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessMiscRight() { } + virtual ~ngwt__AccessMiscRight() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AccessRight +#define SOAP_TYPE_ngwt__AccessRight (21) +/* ngwt:AccessRight */ +class SOAP_CMAC ngwt__AccessRight +{ +public: + bool *read; /* optional element of type xsd:boolean */ + bool *write; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 21; } /* = unique id SOAP_TYPE_ngwt__AccessRight */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessRight() { } + virtual ~ngwt__AccessRight() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AccessRightChanges +#define SOAP_TYPE_ngwt__AccessRightChanges (22) +/* ngwt:AccessRightChanges */ +class SOAP_CMAC ngwt__AccessRightChanges +{ +public: + class ngwt__AccessRightEntry *add; /* optional element of type ngwt:AccessRightEntry */ + ngwt__AccessRightEntry *_delete; /* optional element of type ngwt:AccessRightEntry */ + ngwt__AccessRightEntry *update; /* optional element of type ngwt:AccessRightEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 22; } /* = unique id SOAP_TYPE_ngwt__AccessRightChanges */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessRightChanges() { } + virtual ~ngwt__AccessRightChanges() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AccessRightList +#define SOAP_TYPE_ngwt__AccessRightList (24) +/* ngwt:AccessRightList */ +class SOAP_CMAC ngwt__AccessRightList +{ +public: + std::vectorentry; /* optional element of type ngwt:AccessRightEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 24; } /* = unique id SOAP_TYPE_ngwt__AccessRightList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessRightList() { } + virtual ~ngwt__AccessRightList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AddressBookList +#define SOAP_TYPE_ngwt__AddressBookList (27) +/* ngwt:AddressBookList */ +class SOAP_CMAC ngwt__AddressBookList +{ +public: + std::vectorbook; /* optional element of type ngwt:AddressBook */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 27; } /* = unique id SOAP_TYPE_ngwt__AddressBookList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AddressBookList() { } + virtual ~ngwt__AddressBookList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AttachmentInfo +#define SOAP_TYPE_ngwt__AttachmentInfo (31) +/* ngwt:AttachmentInfo */ +class SOAP_CMAC ngwt__AttachmentInfo +{ +public: + std::vectorattachment; /* required element of type ngwt:AttachmentItemInfo */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 31; } /* = unique id SOAP_TYPE_ngwt__AttachmentInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AttachmentInfo() { } + virtual ~ngwt__AttachmentInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AttachmentItemInfo +#define SOAP_TYPE_ngwt__AttachmentItemInfo (32) +/* ngwt:AttachmentItemInfo */ +class SOAP_CMAC ngwt__AttachmentItemInfo +{ +public: + class ngwt__AttachmentID *id; /* optional element of type ngwt:AttachmentID */ + std::string *name; /* optional element of type xsd:string */ + std::string *contentId; /* optional element of type xsd:string */ + std::string *contentType; /* optional element of type xsd:string */ + unsigned long *size; /* optional element of type xsd:unsignedLong */ + char *date; /* optional element of type xsd:string */ + xsd__base64Binary *data; /* optional element of type xsd:base64Binary */ + bool *hidden; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 32; } /* = unique id SOAP_TYPE_ngwt__AttachmentItemInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AttachmentItemInfo() { } + virtual ~ngwt__AttachmentItemInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Authentication +#define SOAP_TYPE_ngwt__Authentication (33) +/* ngwt:Authentication */ +class SOAP_CMAC ngwt__Authentication +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 33; } /* = unique id SOAP_TYPE_ngwt__Authentication */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Authentication() { } + virtual ~ngwt__Authentication() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__CalendarFolderAttribute +#define SOAP_TYPE_ngwt__CalendarFolderAttribute (35) +/* ngwt:CalendarFolderAttribute */ +class SOAP_CMAC ngwt__CalendarFolderAttribute +{ +public: + std::vectorflags; /* sequence of 0 to 2 elements */ + unsigned long *color; /* optional element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 35; } /* = unique id SOAP_TYPE_ngwt__CalendarFolderAttribute */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__CalendarFolderAttribute() { } + virtual ~ngwt__CalendarFolderAttribute() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__CategoryList +#define SOAP_TYPE_ngwt__CategoryList (38) +/* ngwt:CategoryList */ +class SOAP_CMAC ngwt__CategoryList +{ +public: + std::vectorcategory; /* optional element of type ngwt:Category */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 38; } /* = unique id SOAP_TYPE_ngwt__CategoryList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__CategoryList() { } + virtual ~ngwt__CategoryList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__CategoryRefList +#define SOAP_TYPE_ngwt__CategoryRefList (39) +/* ngwt:CategoryRefList */ +class SOAP_CMAC ngwt__CategoryRefList +{ +public: + std::vectorcategory; /* optional element of type ngwt:uid */ + std::string *primary; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 39; } /* = unique id SOAP_TYPE_ngwt__CategoryRefList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__CategoryRefList() { } + virtual ~ngwt__CategoryRefList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Custom +#define SOAP_TYPE_ngwt__Custom (45) +/* ngwt:Custom */ +class SOAP_CMAC ngwt__Custom +{ +public: + std::string field; /* required element of type xsd:string */ +public: + std::string *value; /* optional element of type xsd:string */ + bool *locked; /* optional element of type xsd:boolean */ + enum ngwt__CustomType *type; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 45; } /* = unique id SOAP_TYPE_ngwt__Custom */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Custom() { } + virtual ~ngwt__Custom() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__CustomList +#define SOAP_TYPE_ngwt__CustomList (46) +/* ngwt:CustomList */ +class SOAP_CMAC ngwt__CustomList +{ +public: + std::vectorcustom; /* optional element of type ngwt:Custom */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 46; } /* = unique id SOAP_TYPE_ngwt__CustomList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__CustomList() { } + virtual ~ngwt__CustomList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfMonthList +#define SOAP_TYPE_ngwt__DayOfMonthList (47) +/* ngwt:DayOfMonthList */ +class SOAP_CMAC ngwt__DayOfMonthList +{ +public: + std::vectorday; /* optional element of type ngwt:DayOfMonth */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 47; } /* = unique id SOAP_TYPE_ngwt__DayOfMonthList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DayOfMonthList() { } + virtual ~ngwt__DayOfMonthList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfYearList +#define SOAP_TYPE_ngwt__DayOfYearList (49) +/* ngwt:DayOfYearList */ +class SOAP_CMAC ngwt__DayOfYearList +{ +public: + std::vectorday; /* optional element of type ngwt:DayOfYear */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 49; } /* = unique id SOAP_TYPE_ngwt__DayOfYearList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DayOfYearList() { } + virtual ~ngwt__DayOfYearList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfYearWeekList +#define SOAP_TYPE_ngwt__DayOfYearWeekList (51) +/* ngwt:DayOfYearWeekList */ +class SOAP_CMAC ngwt__DayOfYearWeekList +{ +public: + std::vectorday; /* optional element of type ngwt:DayOfYearWeek */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 51; } /* = unique id SOAP_TYPE_ngwt__DayOfYearWeekList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DayOfYearWeekList() { } + virtual ~ngwt__DayOfYearWeekList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DeltaInfo +#define SOAP_TYPE_ngwt__DeltaInfo (54) +/* ngwt:DeltaInfo */ +class SOAP_CMAC ngwt__DeltaInfo +{ +public: + int *count; /* optional element of type xsd:int */ + unsigned long *firstSequence; /* optional element of type xsd:unsignedLong */ + unsigned long *lastSequence; /* optional element of type xsd:unsignedLong */ + unsigned long lastTimePORebuild; /* required element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 54; } /* = unique id SOAP_TYPE_ngwt__DeltaInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DeltaInfo() { } + virtual ~ngwt__DeltaInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Distribution +#define SOAP_TYPE_ngwt__Distribution (55) +/* ngwt:Distribution */ +class SOAP_CMAC ngwt__Distribution +{ +public: + class ngwt__From *from; /* optional element of type ngwt:From */ + std::string *to; /* optional element of type xsd:string */ + std::string *cc; /* optional element of type xsd:string */ + std::string *bc; /* optional element of type xsd:string */ + class ngwt__RecipientList *recipients; /* optional element of type ngwt:RecipientList */ + class ngwt__SendOptions *sendoptions; /* optional element of type ngwt:SendOptions */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 55; } /* = unique id SOAP_TYPE_ngwt__Distribution */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Distribution() { } + virtual ~ngwt__Distribution() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DocumentType +#define SOAP_TYPE_ngwt__DocumentType (58) +/* ngwt:DocumentType */ +class SOAP_CMAC ngwt__DocumentType +{ +public: + std::string name; /* required element of type xsd:string */ +public: + unsigned long *life; /* optional element of type xsd:unsignedLong */ + unsigned long *maximumVersions; /* optional element of type xsd:unsignedLong */ + enum ngwt__AgeAction *ageAction; /* optional element of type ngwt:AgeAction */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 58; } /* = unique id SOAP_TYPE_ngwt__DocumentType */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DocumentType() { } + virtual ~ngwt__DocumentType() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DocumentTypeList +#define SOAP_TYPE_ngwt__DocumentTypeList (59) +/* ngwt:DocumentTypeList */ +class SOAP_CMAC ngwt__DocumentTypeList +{ +public: + std::vectoritem; /* optional element of type ngwt:DocumentType */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 59; } /* = unique id SOAP_TYPE_ngwt__DocumentTypeList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DocumentTypeList() { } + virtual ~ngwt__DocumentTypeList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__EmailAddressList +#define SOAP_TYPE_ngwt__EmailAddressList (60) +/* ngwt:EmailAddressList */ +class SOAP_CMAC ngwt__EmailAddressList +{ +public: + std::vectoremail; /* optional element of type xsd:string */ + std::string *primary; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 60; } /* = unique id SOAP_TYPE_ngwt__EmailAddressList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__EmailAddressList() { } + virtual ~ngwt__EmailAddressList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Filter +#define SOAP_TYPE_ngwt__Filter (61) +/* ngwt:Filter */ +class SOAP_CMAC ngwt__Filter +{ +public: + class ngwt__FilterElement *element; /* optional element of type ngwt:FilterElement */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 61; } /* = unique id SOAP_TYPE_ngwt__Filter */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Filter() { } + virtual ~ngwt__Filter() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FilterElement +#define SOAP_TYPE_ngwt__FilterElement (62) +/* ngwt:FilterElement */ +class SOAP_CMAC ngwt__FilterElement +{ +public: + enum ngwt__FilterOp op; /* required element of type ngwt:FilterOp */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 62; } /* = unique id SOAP_TYPE_ngwt__FilterElement */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FilterElement() { } + virtual ~ngwt__FilterElement() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FolderACL +#define SOAP_TYPE_ngwt__FolderACL (66) +/* ngwt:FolderACL */ +class SOAP_CMAC ngwt__FolderACL +{ +public: + std::vectorentry; /* optional element of type ngwt:FolderACLEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 66; } /* = unique id SOAP_TYPE_ngwt__FolderACL */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FolderACL() { } + virtual ~ngwt__FolderACL() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FolderList +#define SOAP_TYPE_ngwt__FolderList (68) +/* ngwt:FolderList */ +class SOAP_CMAC ngwt__FolderList +{ +public: + std::vectorfolder; /* optional element of type ngwt:Folder */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 68; } /* = unique id SOAP_TYPE_ngwt__FolderList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FolderList() { } + virtual ~ngwt__FolderList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FreeBusyBlockList +#define SOAP_TYPE_ngwt__FreeBusyBlockList (69) +/* ngwt:FreeBusyBlockList */ +class SOAP_CMAC ngwt__FreeBusyBlockList +{ +public: + std::vectorblock; /* optional element of type ngwt:FreeBusyBlock */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 69; } /* = unique id SOAP_TYPE_ngwt__FreeBusyBlockList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FreeBusyBlockList() { } + virtual ~ngwt__FreeBusyBlockList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FreeBusyBlock +#define SOAP_TYPE_ngwt__FreeBusyBlock (70) +/* ngwt:FreeBusyBlock */ +class SOAP_CMAC ngwt__FreeBusyBlock +{ +public: + char *startDate; /* required element of type xsd:string */ + char *endDate; /* required element of type xsd:string */ + enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */ + std::string *subject; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 70; } /* = unique id SOAP_TYPE_ngwt__FreeBusyBlock */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FreeBusyBlock() { } + virtual ~ngwt__FreeBusyBlock() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FreeBusyUserList +#define SOAP_TYPE_ngwt__FreeBusyUserList (72) +/* ngwt:FreeBusyUserList */ +class SOAP_CMAC ngwt__FreeBusyUserList +{ +public: + std::vectoruser; /* optional element of type ngwt:NameAndEmail */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 72; } /* = unique id SOAP_TYPE_ngwt__FreeBusyUserList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FreeBusyUserList() { } + virtual ~ngwt__FreeBusyUserList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FreeBusyInfoList +#define SOAP_TYPE_ngwt__FreeBusyInfoList (73) +/* ngwt:FreeBusyInfoList */ +class SOAP_CMAC ngwt__FreeBusyInfoList +{ +public: + std::vectoruser; /* optional element of type ngwt:FreeBusyInfo */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 73; } /* = unique id SOAP_TYPE_ngwt__FreeBusyInfoList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FreeBusyInfoList() { } + virtual ~ngwt__FreeBusyInfoList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FreeBusyStats +#define SOAP_TYPE_ngwt__FreeBusyStats (74) +/* ngwt:FreeBusyStats */ +class SOAP_CMAC ngwt__FreeBusyStats +{ +public: + int responded; /* required element of type xsd:int */ + int outstanding; /* required element of type xsd:int */ + int total; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 74; } /* = unique id SOAP_TYPE_ngwt__FreeBusyStats */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FreeBusyStats() { } + virtual ~ngwt__FreeBusyStats() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FullName +#define SOAP_TYPE_ngwt__FullName (76) +/* ngwt:FullName */ +class SOAP_CMAC ngwt__FullName +{ +public: + std::string *displayName; /* optional element of type xsd:string */ + std::string *namePrefix; /* optional element of type xsd:string */ + std::string *firstName; /* optional element of type xsd:string */ + std::string *middleName; /* optional element of type xsd:string */ + std::string *lastName; /* optional element of type xsd:string */ + std::string *nameSuffix; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 76; } /* = unique id SOAP_TYPE_ngwt__FullName */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FullName() { } + virtual ~ngwt__FullName() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__GroupMember +#define SOAP_TYPE_ngwt__GroupMember (78) +/* ngwt:GroupMember */ +class SOAP_CMAC ngwt__GroupMember +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + std::string *name; /* optional element of type xsd:string */ + std::string email; /* required element of type xsd:string */ +public: + enum ngwt__DistributionType distType; /* optional element of type ngwt:DistributionType */ + enum ngwt__ContactType itemType; /* optional element of type ngwt:ContactType */ + class ngwt__GroupMemberList *members; /* optional element of type ngwt:GroupMemberList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 78; } /* = unique id SOAP_TYPE_ngwt__GroupMember */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__GroupMember() { } + virtual ~ngwt__GroupMember() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__GroupMemberList +#define SOAP_TYPE_ngwt__GroupMemberList (79) +/* ngwt:GroupMemberList */ +class SOAP_CMAC ngwt__GroupMemberList +{ +public: + std::vectormember; /* optional element of type ngwt:GroupMember */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 79; } /* = unique id SOAP_TYPE_ngwt__GroupMemberList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__GroupMemberList() { } + virtual ~ngwt__GroupMemberList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Host +#define SOAP_TYPE_ngwt__Host (80) +/* ngwt:Host */ +class SOAP_CMAC ngwt__Host +{ +public: + std::string *ipAddress; /* optional element of type xsd:string */ + unsigned long *port; /* optional element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 80; } /* = unique id SOAP_TYPE_ngwt__Host */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Host() { } + virtual ~ngwt__Host() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ImAddress +#define SOAP_TYPE_ngwt__ImAddress (81) +/* ngwt:ImAddress */ +class SOAP_CMAC ngwt__ImAddress +{ +public: + std::string *service; /* optional element of type xsd:string */ + std::string *address; /* optional element of type xsd:string */ + std::string *type; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 81; } /* = unique id SOAP_TYPE_ngwt__ImAddress */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ImAddress() { } + virtual ~ngwt__ImAddress() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ImAddressList +#define SOAP_TYPE_ngwt__ImAddressList (82) +/* ngwt:ImAddressList */ +class SOAP_CMAC ngwt__ImAddressList +{ +public: + std::vectorim; /* optional element of type ngwt:ImAddress */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 82; } /* = unique id SOAP_TYPE_ngwt__ImAddressList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ImAddressList() { } + virtual ~ngwt__ImAddressList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Item +#define SOAP_TYPE_ngwt__Item (83) +/* ngwt:Item */ +class SOAP_CMAC ngwt__Item +{ +public: + std::string *id; /* optional element of type ngwt:uid */ + std::string *name; /* optional element of type xsd:string */ + unsigned long *version; /* optional element of type xsd:unsignedLong */ + char *modified; /* optional element of type xsd:string */ + class ngwt__ItemChanges *changes; /* optional element of type ngwt:ItemChanges */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 83; } /* = unique id SOAP_TYPE_ngwt__Item */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Item() { } + virtual ~ngwt__Item() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemChanges +#define SOAP_TYPE_ngwt__ItemChanges (84) +/* ngwt:ItemChanges */ +class SOAP_CMAC ngwt__ItemChanges +{ +public: + ngwt__Item *add; /* optional element of type ngwt:Item */ + ngwt__Item *_delete; /* optional element of type ngwt:Item */ + ngwt__Item *update; /* optional element of type ngwt:Item */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 84; } /* = unique id SOAP_TYPE_ngwt__ItemChanges */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ItemChanges() { } + virtual ~ngwt__ItemChanges() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemList +#define SOAP_TYPE_ngwt__ItemList (85) +/* ngwt:ItemList */ +class SOAP_CMAC ngwt__ItemList +{ +public: + std::vectoritem; /* optional element of type ngwt:Item */ + int *offset; /* optional attribute */ + int *count; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 85; } /* = unique id SOAP_TYPE_ngwt__ItemList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ItemList() { } + virtual ~ngwt__ItemList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemOptions +#define SOAP_TYPE_ngwt__ItemOptions (86) +/* ngwt:ItemOptions */ +class SOAP_CMAC ngwt__ItemOptions +{ +public: + enum ngwt__ItemOptionsPriority priority; /* optional element of type ngwt:ItemOptionsPriority */ + char *expires; /* optional element of type xsd:string */ + char *delayDeliveryUntil; /* optional element of type xsd:string */ + bool *concealSubject; /* optional element of type xsd:boolean */ + bool *hidden; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 86; } /* = unique id SOAP_TYPE_ngwt__ItemOptions */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ItemOptions() { } + virtual ~ngwt__ItemOptions() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemRefList +#define SOAP_TYPE_ngwt__ItemRefList (88) +/* ngwt:ItemRefList */ +class SOAP_CMAC ngwt__ItemRefList +{ +public: + std::vectoritem; /* required element of type ngwt:uid */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 88; } /* = unique id SOAP_TYPE_ngwt__ItemRefList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ItemRefList() { } + virtual ~ngwt__ItemRefList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Items +#define SOAP_TYPE_ngwt__Items (89) +/* ngwt:Items */ +class SOAP_CMAC ngwt__Items +{ +public: + std::vectoritem; /* optional element of type ngwt:Item */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 89; } /* = unique id SOAP_TYPE_ngwt__Items */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Items() { } + virtual ~ngwt__Items() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemStatus +#define SOAP_TYPE_ngwt__ItemStatus (90) +/* ngwt:ItemStatus */ +class SOAP_CMAC ngwt__ItemStatus +{ +public: + bool *accepted; /* optional element of type xsd:boolean */ + bool *completed; /* optional element of type xsd:boolean */ + bool *delegated; /* optional element of type xsd:boolean */ + bool *deleted; /* optional element of type xsd:boolean */ + bool *forwarded; /* optional element of type xsd:boolean */ + bool *private_; /* optional element of type xsd:boolean */ + bool *opened; /* optional element of type xsd:boolean */ + bool *read; /* optional element of type xsd:boolean */ + bool *replied; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 90; } /* = unique id SOAP_TYPE_ngwt__ItemStatus */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ItemStatus() { } + virtual ~ngwt__ItemStatus() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__JunkEntry +#define SOAP_TYPE_ngwt__JunkEntry (91) +/* ngwt:JunkEntry */ +class SOAP_CMAC ngwt__JunkEntry +{ +public: + std::string *id; /* optional element of type ngwt:uid */ + std::string match; /* required element of type xsd:string */ +public: + enum ngwt__JunkMatchType matchType; /* required element of type ngwt:JunkMatchType */ + enum ngwt__JunkHandlingListType *listType; /* optional element of type ngwt:JunkHandlingListType */ + int *useCount; /* optional element of type xsd:int */ + char *lastUsed; /* optional element of type xsd:string */ + unsigned long *version; /* optional element of type xsd:unsignedLong */ + char *modified; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 91; } /* = unique id SOAP_TYPE_ngwt__JunkEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__JunkEntry() { } + virtual ~ngwt__JunkEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__JunkHandlingList +#define SOAP_TYPE_ngwt__JunkHandlingList (92) +/* ngwt:JunkHandlingList */ +class SOAP_CMAC ngwt__JunkHandlingList +{ +public: + std::vectorentry; /* optional element of type ngwt:JunkEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 92; } /* = unique id SOAP_TYPE_ngwt__JunkHandlingList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__JunkHandlingList() { } + virtual ~ngwt__JunkHandlingList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__LibraryList +#define SOAP_TYPE_ngwt__LibraryList (94) +/* ngwt:LibraryList */ +class SOAP_CMAC ngwt__LibraryList +{ +public: + std::vectorlibrary; /* optional element of type ngwt:Library */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 94; } /* = unique id SOAP_TYPE_ngwt__LibraryList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__LibraryList() { } + virtual ~ngwt__LibraryList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__LinkInfo +#define SOAP_TYPE_ngwt__LinkInfo (95) +/* ngwt:LinkInfo */ +class SOAP_CMAC ngwt__LinkInfo +{ +public: + std::string id; /* required element of type xsd:string */ +public: + enum ngwt__LinkType type; /* required element of type ngwt:LinkType */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 95; } /* = unique id SOAP_TYPE_ngwt__LinkInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__LinkInfo() { } + virtual ~ngwt__LinkInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__MessageBody +#define SOAP_TYPE_ngwt__MessageBody (97) +/* ngwt:MessageBody */ +class SOAP_CMAC ngwt__MessageBody +{ +public: + std::vectorpart; /* required element of type ngwt:MessagePart */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 97; } /* = unique id SOAP_TYPE_ngwt__MessageBody */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__MessageBody() { } + virtual ~ngwt__MessageBody() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ModifyItem +#define SOAP_TYPE_ngwt__ModifyItem (99) +/* ngwt:ModifyItem */ +class SOAP_CMAC ngwt__ModifyItem +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + class ngwt__SharedFolderNotification *notification; /* optional element of type ngwt:SharedFolderNotification */ + ngwt__ItemChanges *updates; /* required element of type ngwt:ItemChanges */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 99; } /* = unique id SOAP_TYPE_ngwt__ModifyItem */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ModifyItem() { } + virtual ~ngwt__ModifyItem() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__MonthList +#define SOAP_TYPE_ngwt__MonthList (100) +/* ngwt:MonthList */ +class SOAP_CMAC ngwt__MonthList +{ +public: + std::vectormonth; /* optional element of type ngwt:Month */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 100; } /* = unique id SOAP_TYPE_ngwt__MonthList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__MonthList() { } + virtual ~ngwt__MonthList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__NameAndEmail +#define SOAP_TYPE_ngwt__NameAndEmail (101) +/* ngwt:NameAndEmail */ +class SOAP_CMAC ngwt__NameAndEmail +{ +public: + std::string *displayName; /* optional element of type xsd:string */ + std::string *email; /* optional element of type xsd:string */ + std::string *uuid; /* optional element of type ngwt:UUID */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 101; } /* = unique id SOAP_TYPE_ngwt__NameAndEmail */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__NameAndEmail() { } + virtual ~ngwt__NameAndEmail() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__OfficeInfo +#define SOAP_TYPE_ngwt__OfficeInfo (103) +/* ngwt:OfficeInfo */ +class SOAP_CMAC ngwt__OfficeInfo +{ +public: + class ngwt__ItemRef *organization; /* optional element of type ngwt:ItemRef */ + std::string *department; /* optional element of type xsd:string */ + std::string *title; /* optional element of type xsd:string */ + std::string *website; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 103; } /* = unique id SOAP_TYPE_ngwt__OfficeInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__OfficeInfo() { } + virtual ~ngwt__OfficeInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PersonalInfo +#define SOAP_TYPE_ngwt__PersonalInfo (105) +/* ngwt:PersonalInfo */ +class SOAP_CMAC ngwt__PersonalInfo +{ +public: + std::string *birthday; /* optional element of type xsd:date */ + std::string *website; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 105; } /* = unique id SOAP_TYPE_ngwt__PersonalInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PersonalInfo() { } + virtual ~ngwt__PersonalInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PhoneFlags +#define SOAP_TYPE_ngwt__PhoneFlags (106) +/* ngwt:PhoneFlags */ +class SOAP_CMAC ngwt__PhoneFlags +{ +public: + bool *called; /* optional element of type xsd:boolean */ + bool *pleaseCall; /* optional element of type xsd:boolean */ + bool *willCall; /* optional element of type xsd:boolean */ + bool *returnedYourCall; /* optional element of type xsd:boolean */ + bool *wantsToSeeYou; /* optional element of type xsd:boolean */ + bool *cameToSeeYou; /* optional element of type xsd:boolean */ + bool *urgent; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 106; } /* = unique id SOAP_TYPE_ngwt__PhoneFlags */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PhoneFlags() { } + virtual ~ngwt__PhoneFlags() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PhoneList +#define SOAP_TYPE_ngwt__PhoneList (107) +/* ngwt:PhoneList */ +class SOAP_CMAC ngwt__PhoneList +{ +public: + std::vectorphone; /* optional element of type ngwt:PhoneNumber */ + std::string *default_; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 107; } /* = unique id SOAP_TYPE_ngwt__PhoneList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PhoneList() { } + virtual ~ngwt__PhoneList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PostalAddress +#define SOAP_TYPE_ngwt__PostalAddress (111) +/* ngwt:PostalAddress */ +class SOAP_CMAC ngwt__PostalAddress +{ +public: + std::string *description; /* optional element of type xsd:string */ + std::string *streetAddress; /* optional element of type xsd:string */ + std::string *location; /* optional element of type xsd:string */ + std::string *city; /* optional element of type xsd:string */ + std::string *state; /* optional element of type xsd:string */ + std::string *postalCode; /* optional element of type xsd:string */ + std::string *country; /* optional element of type xsd:string */ + enum ngwt__PostalAddressType type; /* required attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 111; } /* = unique id SOAP_TYPE_ngwt__PostalAddress */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PostalAddress() { } + virtual ~ngwt__PostalAddress() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PostalAddressList +#define SOAP_TYPE_ngwt__PostalAddressList (112) +/* ngwt:PostalAddressList */ +class SOAP_CMAC ngwt__PostalAddressList +{ +public: + std::vectoraddress; /* optional element of type ngwt:PostalAddress */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 112; } /* = unique id SOAP_TYPE_ngwt__PostalAddressList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PostalAddressList() { } + virtual ~ngwt__PostalAddressList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ProblemEntry +#define SOAP_TYPE_ngwt__ProblemEntry (113) +/* ngwt:ProblemEntry */ +class SOAP_CMAC ngwt__ProblemEntry +{ +public: + std::string *element; /* optional element of type xsd:string */ + int *code; /* optional element of type xsd:int */ + std::string *description; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 113; } /* = unique id SOAP_TYPE_ngwt__ProblemEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ProblemEntry() { } + virtual ~ngwt__ProblemEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ProblemList +#define SOAP_TYPE_ngwt__ProblemList (114) +/* ngwt:ProblemList */ +class SOAP_CMAC ngwt__ProblemList +{ +public: + std::vectorentry; /* optional element of type ngwt:ProblemEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 114; } /* = unique id SOAP_TYPE_ngwt__ProblemList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ProblemList() { } + virtual ~ngwt__ProblemList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ProxyList +#define SOAP_TYPE_ngwt__ProxyList (117) +/* ngwt:ProxyList */ +class SOAP_CMAC ngwt__ProxyList +{ +public: + std::vectorproxy; /* optional element of type ngwt:ProxyUser */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 117; } /* = unique id SOAP_TYPE_ngwt__ProxyList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ProxyList() { } + virtual ~ngwt__ProxyList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Query +#define SOAP_TYPE_ngwt__Query (118) +/* ngwt:Query */ +class SOAP_CMAC ngwt__Query +{ +public: + class ngwt__QueryTarget *target; /* required element of type ngwt:QueryTarget */ + ngwt__Filter *filter; /* required element of type ngwt:Filter */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 118; } /* = unique id SOAP_TYPE_ngwt__Query */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Query() { } + virtual ~ngwt__Query() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__QueryTarget +#define SOAP_TYPE_ngwt__QueryTarget (120) +/* ngwt:QueryTarget */ +class SOAP_CMAC ngwt__QueryTarget +{ +public: + std::string *source; /* optional element of type ngwt:uid */ + std::vectorcontainer; /* optional element of type ngwt:uid */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 120; } /* = unique id SOAP_TYPE_ngwt__QueryTarget */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__QueryTarget() { } + virtual ~ngwt__QueryTarget() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RecipientList +#define SOAP_TYPE_ngwt__RecipientList (122) +/* ngwt:RecipientList */ +class SOAP_CMAC ngwt__RecipientList +{ +public: + std::vectorrecipient; /* optional element of type ngwt:Recipient */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 122; } /* = unique id SOAP_TYPE_ngwt__RecipientList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RecipientList() { } + virtual ~ngwt__RecipientList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RecipientStatus +#define SOAP_TYPE_ngwt__RecipientStatus (123) +/* ngwt:RecipientStatus */ +class SOAP_CMAC ngwt__RecipientStatus +{ +public: + char *delivered; /* optional element of type xsd:string */ + char *undeliverable; /* optional element of type xsd:string */ + char *transferred; /* optional element of type xsd:string */ + char *transferDelayed; /* optional element of type xsd:string */ + class ngwt__TransferFailedStatus *transferFailed; /* optional element of type ngwt:TransferFailedStatus */ + char *downloaded; /* optional element of type xsd:string */ + char *downloadedByThirdParty; /* optional element of type xsd:string */ + char *retractRequested; /* optional element of type xsd:string */ + char *retracted; /* optional element of type xsd:string */ + char *opened; /* optional element of type xsd:string */ + char *deleted; /* optional element of type xsd:string */ + char *undeleted; /* optional element of type xsd:string */ + char *purged; /* optional element of type xsd:string */ + class ngwt__CommentStatus *accepted; /* optional element of type ngwt:CommentStatus */ + ngwt__CommentStatus *declined; /* optional element of type ngwt:CommentStatus */ + char *replied; /* optional element of type xsd:string */ + char *forwarded; /* optional element of type xsd:string */ + char *shared; /* optional element of type xsd:string */ + char *started; /* optional element of type xsd:string */ + char *completed; /* optional element of type xsd:string */ + char *incomplete; /* optional element of type xsd:string */ + class ngwt__DelegatedStatus *delegated; /* optional element of type ngwt:DelegatedStatus */ + std::vectordelegateeStatus; /* optional element of type ngwt:DelegateeStatus */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 123; } /* = unique id SOAP_TYPE_ngwt__RecipientStatus */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RecipientStatus() { } + virtual ~ngwt__RecipientStatus() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RecurrenceDateType +#define SOAP_TYPE_ngwt__RecurrenceDateType (124) +/* ngwt:RecurrenceDateType */ +class SOAP_CMAC ngwt__RecurrenceDateType +{ +public: + std::vectordate; /* required element of type xsd:date */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 124; } /* = unique id SOAP_TYPE_ngwt__RecurrenceDateType */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RecurrenceDateType() { } + virtual ~ngwt__RecurrenceDateType() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RecurrenceRule +#define SOAP_TYPE_ngwt__RecurrenceRule (125) +/* ngwt:RecurrenceRule */ +class SOAP_CMAC ngwt__RecurrenceRule +{ +public: + enum ngwt__Frequency *frequency; /* optional element of type ngwt:Frequency */ + unsigned long *count; /* optional element of type xsd:unsignedLong */ + std::string *until; /* optional element of type xsd:date */ + unsigned long *interval; /* optional element of type xsd:unsignedLong */ + ngwt__DayOfYearWeekList *byDay; /* optional element of type ngwt:DayOfYearWeekList */ + ngwt__DayOfMonthList *byMonthDay; /* optional element of type ngwt:DayOfMonthList */ + ngwt__DayOfYearList *byYearDay; /* optional element of type ngwt:DayOfYearList */ + ngwt__MonthList *byMonth; /* optional element of type ngwt:MonthList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 125; } /* = unique id SOAP_TYPE_ngwt__RecurrenceRule */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RecurrenceRule() { } + virtual ~ngwt__RecurrenceRule() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ReferenceInfo +#define SOAP_TYPE_ngwt__ReferenceInfo (126) +/* ngwt:ReferenceInfo */ +class SOAP_CMAC ngwt__ReferenceInfo +{ +public: + char *lastReferenceDate; /* optional element of type xsd:string */ + int *referenceCount; /* optional element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 126; } /* = unique id SOAP_TYPE_ngwt__ReferenceInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ReferenceInfo() { } + virtual ~ngwt__ReferenceInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ReturnNotification +#define SOAP_TYPE_ngwt__ReturnNotification (128) +/* ngwt:ReturnNotification */ +class SOAP_CMAC ngwt__ReturnNotification +{ +public: + class ngwt__ReturnNotificationOptions *opened; /* optional element of type ngwt:ReturnNotificationOptions */ + ngwt__ReturnNotificationOptions *deleted; /* optional element of type ngwt:ReturnNotificationOptions */ + ngwt__ReturnNotificationOptions *accepted; /* optional element of type ngwt:ReturnNotificationOptions */ + ngwt__ReturnNotificationOptions *declined; /* optional element of type ngwt:ReturnNotificationOptions */ + ngwt__ReturnNotificationOptions *completed; /* optional element of type ngwt:ReturnNotificationOptions */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 128; } /* = unique id SOAP_TYPE_ngwt__ReturnNotification */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ReturnNotification() { } + virtual ~ngwt__ReturnNotification() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ReturnNotificationOptions +#define SOAP_TYPE_ngwt__ReturnNotificationOptions (129) +/* ngwt:ReturnNotificationOptions */ +class SOAP_CMAC ngwt__ReturnNotificationOptions +{ +public: + bool mail; /* optional element of type xsd:boolean */ + bool notify; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 129; } /* = unique id SOAP_TYPE_ngwt__ReturnNotificationOptions */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ReturnNotificationOptions() { } + virtual ~ngwt__ReturnNotificationOptions() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Rights +#define SOAP_TYPE_ngwt__Rights (130) +/* ngwt:Rights */ +class SOAP_CMAC ngwt__Rights +{ +public: + bool *read; /* optional element of type xsd:boolean */ + bool *add; /* optional element of type xsd:boolean */ + bool *edit; /* optional element of type xsd:boolean */ + bool *_delete; /* optional element of type xsd:boolean */ + bool *share; /* optional element of type xsd:boolean */ + bool *manage; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 130; } /* = unique id SOAP_TYPE_ngwt__Rights */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Rights() { } + virtual ~ngwt__Rights() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RuleAction +#define SOAP_TYPE_ngwt__RuleAction (132) +/* ngwt:RuleAction */ +class SOAP_CMAC ngwt__RuleAction +{ +public: + enum ngwt__RuleActionType type; /* required element of type ngwt:RuleActionType */ + std::string *container; /* optional element of type ngwt:uid */ + class ngwt__Mail *item; /* optional element of type ngwt:Mail */ + std::string *message; /* optional element of type xsd:string */ + enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */ + ngwt__CategoryRefList *categories; /* optional element of type ngwt:CategoryRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 132; } /* = unique id SOAP_TYPE_ngwt__RuleAction */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RuleAction() { } + virtual ~ngwt__RuleAction() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RuleActionList +#define SOAP_TYPE_ngwt__RuleActionList (133) +/* ngwt:RuleActionList */ +class SOAP_CMAC ngwt__RuleActionList +{ +public: + std::vectoraction; /* optional element of type ngwt:RuleAction */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 133; } /* = unique id SOAP_TYPE_ngwt__RuleActionList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RuleActionList() { } + virtual ~ngwt__RuleActionList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__RuleList +#define SOAP_TYPE_ngwt__RuleList (134) +/* ngwt:RuleList */ +class SOAP_CMAC ngwt__RuleList +{ +public: + std::vectorrule; /* optional element of type ngwt:Rule */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 134; } /* = unique id SOAP_TYPE_ngwt__RuleList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__RuleList() { } + virtual ~ngwt__RuleList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SendOptionsRequestReply +#define SOAP_TYPE_ngwt__SendOptionsRequestReply (135) +/* ngwt:SendOptionsRequestReply */ +class SOAP_CMAC ngwt__SendOptionsRequestReply +{ +public: + bool *whenConvenient; /* optional element of type xsd:boolean */ + char *byDate; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 135; } /* = unique id SOAP_TYPE_ngwt__SendOptionsRequestReply */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SendOptionsRequestReply() { } + virtual ~ngwt__SendOptionsRequestReply() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SendOptions +#define SOAP_TYPE_ngwt__SendOptions (136) +/* ngwt:SendOptions */ +class SOAP_CMAC ngwt__SendOptions +{ +public: + ngwt__SendOptionsRequestReply *requestReply; /* optional element of type ngwt:SendOptionsRequestReply */ + std::string *mimeEncoding; /* optional element of type xsd:string */ + class ngwt__StatusTracking *statusTracking; /* optional element of type ngwt:StatusTracking */ + ngwt__ReturnNotification *notification; /* optional element of type ngwt:ReturnNotification */ + bool updateFrequentContacts; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 136; } /* = unique id SOAP_TYPE_ngwt__SendOptions */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SendOptions() { } + virtual ~ngwt__SendOptions() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Settings +#define SOAP_TYPE_ngwt__Settings (137) +/* ngwt:Settings */ +class SOAP_CMAC ngwt__Settings +{ +public: + std::vectorgroup; /* optional element of type ngwt:SettingsGroup */ + std::vectorsetting; /* optional element of type ngwt:Custom */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 137; } /* = unique id SOAP_TYPE_ngwt__Settings */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Settings() { } + virtual ~ngwt__Settings() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SettingsGroup +#define SOAP_TYPE_ngwt__SettingsGroup (138) +/* ngwt:SettingsGroup */ +class SOAP_CMAC ngwt__SettingsGroup +{ +public: + std::vectorsetting; /* optional element of type ngwt:Custom */ + std::string *type; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 138; } /* = unique id SOAP_TYPE_ngwt__SettingsGroup */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SettingsGroup() { } + virtual ~ngwt__SettingsGroup() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SettingsList +#define SOAP_TYPE_ngwt__SettingsList (139) +/* ngwt:SettingsList */ +class SOAP_CMAC ngwt__SettingsList +{ +public: + std::vectorsetting; /* optional element of type ngwt:Custom */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 139; } /* = unique id SOAP_TYPE_ngwt__SettingsList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SettingsList() { } + virtual ~ngwt__SettingsList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SharedFolderNotification +#define SOAP_TYPE_ngwt__SharedFolderNotification (141) +/* ngwt:SharedFolderNotification */ +class SOAP_CMAC ngwt__SharedFolderNotification +{ +public: + std::string *subject; /* optional element of type xsd:string */ + std::string *message; /* optional element of type xsd:string */ + std::string *description; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 141; } /* = unique id SOAP_TYPE_ngwt__SharedFolderNotification */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SharedFolderNotification() { } + virtual ~ngwt__SharedFolderNotification() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Signature +#define SOAP_TYPE_ngwt__Signature (143) +/* ngwt:Signature */ +class SOAP_CMAC ngwt__Signature +{ +public: + std::string *id; /* optional element of type ngwt:uid */ + std::string *name; /* optional element of type xsd:string */ + bool default_; /* optional element of type xsd:boolean */ + class ngwt__SignatureData *part; /* optional element of type ngwt:SignatureData */ + bool global; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 143; } /* = unique id SOAP_TYPE_ngwt__Signature */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Signature() { } + virtual ~ngwt__Signature() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Signatures +#define SOAP_TYPE_ngwt__Signatures (144) +/* ngwt:Signatures */ +class SOAP_CMAC ngwt__Signatures +{ +public: + std::vectorsignature; /* optional element of type ngwt:Signature */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 144; } /* = unique id SOAP_TYPE_ngwt__Signatures */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Signatures() { } + virtual ~ngwt__Signatures() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SignatureData +#define SOAP_TYPE_ngwt__SignatureData (145) +/* ngwt:SignatureData */ +class SOAP_CMAC ngwt__SignatureData +{ +public: + unsigned long *size; /* optional element of type xsd:unsignedLong */ + xsd__base64Binary *data; /* optional element of type xsd:base64Binary */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 145; } /* = unique id SOAP_TYPE_ngwt__SignatureData */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SignatureData() { } + virtual ~ngwt__SignatureData() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SMimeOperation +#define SOAP_TYPE_ngwt__SMimeOperation (146) +/* ngwt:SMimeOperation */ +class SOAP_CMAC ngwt__SMimeOperation +{ +public: + bool *signed_; /* optional element of type xsd:boolean */ + bool *encrypted; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 146; } /* = unique id SOAP_TYPE_ngwt__SMimeOperation */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SMimeOperation() { } + virtual ~ngwt__SMimeOperation() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Status +#define SOAP_TYPE_ngwt__Status (147) +/* ngwt:Status */ +class SOAP_CMAC ngwt__Status +{ +public: + int code; /* required element of type xsd:int */ + std::string *description; /* optional element of type xsd:string */ + std::string *info; /* optional element of type xsd:string */ + ngwt__ProblemList *problems; /* optional element of type ngwt:ProblemList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 147; } /* = unique id SOAP_TYPE_ngwt__Status */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Status() { } + virtual ~ngwt__Status() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Timezone +#define SOAP_TYPE_ngwt__Timezone (151) +/* ngwt:Timezone */ +class SOAP_CMAC ngwt__Timezone +{ +public: + std::string *id; /* optional element of type xsd:string */ + std::string *description; /* optional element of type xsd:string */ + class ngwt__TimezoneComponent *daylight; /* optional element of type ngwt:TimezoneComponent */ + ngwt__TimezoneComponent *standard; /* optional element of type ngwt:TimezoneComponent */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 151; } /* = unique id SOAP_TYPE_ngwt__Timezone */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Timezone() { } + virtual ~ngwt__Timezone() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__TimezoneComponent +#define SOAP_TYPE_ngwt__TimezoneComponent (152) +/* ngwt:TimezoneComponent */ +class SOAP_CMAC ngwt__TimezoneComponent +{ +public: + std::string name; /* required element of type xsd:string */ +public: + unsigned char *month; /* optional element of type ngwt:Month */ + unsigned char *day; /* optional element of type ngwt:Day */ + class ngwt__DayOfWeek *dayOfWeek; /* optional element of type ngwt:DayOfWeek */ + unsigned char *hour; /* optional element of type ngwt:Hour */ + unsigned char *minute; /* optional element of type ngwt:Minute */ + int offset; /* required element of type ngwt:GMTOffset */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 152; } /* = unique id SOAP_TYPE_ngwt__TimezoneComponent */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__TimezoneComponent() { } + virtual ~ngwt__TimezoneComponent() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__TimezoneList +#define SOAP_TYPE_ngwt__TimezoneList (153) +/* ngwt:TimezoneList */ +class SOAP_CMAC ngwt__TimezoneList +{ +public: + std::vectortimezone; /* optional element of type ngwt:Timezone */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 153; } /* = unique id SOAP_TYPE_ngwt__TimezoneList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__TimezoneList() { } + virtual ~ngwt__TimezoneList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__UserInfo +#define SOAP_TYPE_ngwt__UserInfo (156) +/* ngwt:UserInfo */ +class SOAP_CMAC ngwt__UserInfo +{ +public: + std::string name; /* required element of type xsd:string */ +public: + std::string *email; /* optional element of type xsd:string */ + std::string *uuid; /* optional element of type ngwt:UUID */ + std::string *userid; /* optional element of type xsd:string */ + enum ngwt__RecipientType *recipType; /* optional element of type ngwt:RecipientType */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 156; } /* = unique id SOAP_TYPE_ngwt__UserInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__UserInfo() { } + virtual ~ngwt__UserInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__UserList +#define SOAP_TYPE_ngwt__UserList (157) +/* ngwt:UserList */ +class SOAP_CMAC ngwt__UserList +{ +public: + std::vectoruser; /* optional element of type ngwt:UserInfo */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 157; } /* = unique id SOAP_TYPE_ngwt__UserList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__UserList() { } + virtual ~ngwt__UserList() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__acceptRequest +#define SOAP_TYPE__ngwm__acceptRequest (160) +/* ngwm:acceptRequest */ +class SOAP_CMAC _ngwm__acceptRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + std::string *comment; /* optional element of type xsd:string */ + enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */ + unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 160; } /* = unique id SOAP_TYPE__ngwm__acceptRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__acceptRequest() { } + virtual ~_ngwm__acceptRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__acceptResponse +#define SOAP_TYPE__ngwm__acceptResponse (161) +/* ngwm:acceptResponse */ +class SOAP_CMAC _ngwm__acceptResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 161; } /* = unique id SOAP_TYPE__ngwm__acceptResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__acceptResponse() { } + virtual ~_ngwm__acceptResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__acceptShareRequest +#define SOAP_TYPE__ngwm__acceptShareRequest (162) +/* ngwm:acceptShareRequest */ +class SOAP_CMAC _ngwm__acceptShareRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + std::string *name; /* optional element of type xsd:string */ + std::string *container; /* optional element of type ngwt:uid */ + std::string *ngwt__description; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 162; } /* = unique id SOAP_TYPE__ngwm__acceptShareRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__acceptShareRequest() { } + virtual ~_ngwm__acceptShareRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__acceptShareResponse +#define SOAP_TYPE__ngwm__acceptShareResponse (163) +/* ngwm:acceptShareResponse */ +class SOAP_CMAC _ngwm__acceptShareResponse +{ +public: + std::string *id; /* RPC return element */ /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 163; } /* = unique id SOAP_TYPE__ngwm__acceptShareResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__acceptShareResponse() { } + virtual ~_ngwm__acceptShareResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__addItemRequest +#define SOAP_TYPE__ngwm__addItemRequest (164) +/* ngwm:addItemRequest */ +class SOAP_CMAC _ngwm__addItemRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ + std::string id; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 164; } /* = unique id SOAP_TYPE__ngwm__addItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__addItemRequest() { } + virtual ~_ngwm__addItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__addItemResponse +#define SOAP_TYPE__ngwm__addItemResponse (165) +/* ngwm:addItemResponse */ +class SOAP_CMAC _ngwm__addItemResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 165; } /* = unique id SOAP_TYPE__ngwm__addItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__addItemResponse() { } + virtual ~_ngwm__addItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__addItemsRequest +#define SOAP_TYPE__ngwm__addItemsRequest (166) +/* ngwm:addItemsRequest */ +class SOAP_CMAC _ngwm__addItemsRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 166; } /* = unique id SOAP_TYPE__ngwm__addItemsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__addItemsRequest() { } + virtual ~_ngwm__addItemsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__addItemsResponse +#define SOAP_TYPE__ngwm__addItemsResponse (167) +/* ngwm:addItemsResponse */ +class SOAP_CMAC _ngwm__addItemsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 167; } /* = unique id SOAP_TYPE__ngwm__addItemsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__addItemsResponse() { } + virtual ~_ngwm__addItemsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__addMembersRequest +#define SOAP_TYPE__ngwm__addMembersRequest (168) +/* ngwm:addMembersRequest */ +class SOAP_CMAC _ngwm__addMembersRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + ngwt__GroupMemberList *members; /* required element of type ngwt:GroupMemberList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 168; } /* = unique id SOAP_TYPE__ngwm__addMembersRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__addMembersRequest() { } + virtual ~_ngwm__addMembersRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__addMembersResponse +#define SOAP_TYPE__ngwm__addMembersResponse (169) +/* ngwm:addMembersResponse */ +class SOAP_CMAC _ngwm__addMembersResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 169; } /* = unique id SOAP_TYPE__ngwm__addMembersResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__addMembersResponse() { } + virtual ~_ngwm__addMembersResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionRequest +#define SOAP_TYPE__ngwm__closeFreeBusySessionRequest (170) +/* ngwm:closeFreeBusySessionRequest */ +class SOAP_CMAC _ngwm__closeFreeBusySessionRequest +{ +public: + int freeBusySessionId; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 170; } /* = unique id SOAP_TYPE__ngwm__closeFreeBusySessionRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__closeFreeBusySessionRequest() { } + virtual ~_ngwm__closeFreeBusySessionRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__closeFreeBusySessionResponse +#define SOAP_TYPE__ngwm__closeFreeBusySessionResponse (171) +/* ngwm:closeFreeBusySessionResponse */ +class SOAP_CMAC _ngwm__closeFreeBusySessionResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 171; } /* = unique id SOAP_TYPE__ngwm__closeFreeBusySessionResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__closeFreeBusySessionResponse() { } + virtual ~_ngwm__closeFreeBusySessionResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__completeRequest +#define SOAP_TYPE__ngwm__completeRequest (172) +/* ngwm:completeRequest */ +class SOAP_CMAC _ngwm__completeRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 172; } /* = unique id SOAP_TYPE__ngwm__completeRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__completeRequest() { } + virtual ~_ngwm__completeRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__completeResponse +#define SOAP_TYPE__ngwm__completeResponse (173) +/* ngwm:completeResponse */ +class SOAP_CMAC _ngwm__completeResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 173; } /* = unique id SOAP_TYPE__ngwm__completeResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__completeResponse() { } + virtual ~_ngwm__completeResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createCursorRequest +#define SOAP_TYPE__ngwm__createCursorRequest (174) +/* ngwm:createCursorRequest */ +class SOAP_CMAC _ngwm__createCursorRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + std::string *view; /* optional element of type ngwt:View */ + ngwt__Filter *filter; /* optional element of type ngwt:Filter */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 174; } /* = unique id SOAP_TYPE__ngwm__createCursorRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createCursorRequest() { } + virtual ~_ngwm__createCursorRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createCursorResponse +#define SOAP_TYPE__ngwm__createCursorResponse (175) +/* ngwm:createCursorResponse */ +class SOAP_CMAC _ngwm__createCursorResponse +{ +public: + int *cursor; /* RPC return element */ /* optional element of type xsd:int */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 175; } /* = unique id SOAP_TYPE__ngwm__createCursorResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createCursorResponse() { } + virtual ~_ngwm__createCursorResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createItemRequest +#define SOAP_TYPE__ngwm__createItemRequest (176) +/* ngwm:createItemRequest */ +class SOAP_CMAC _ngwm__createItemRequest +{ +public: + ngwt__Item *item; /* required element of type ngwt:Item */ + ngwt__SharedFolderNotification *notification; /* optional element of type ngwt:SharedFolderNotification */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 176; } /* = unique id SOAP_TYPE__ngwm__createItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createItemRequest() { } + virtual ~_ngwm__createItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createItemResponse +#define SOAP_TYPE__ngwm__createItemResponse (177) +/* ngwm:createItemResponse */ +class SOAP_CMAC _ngwm__createItemResponse +{ +public: + std::vectorid; /* RPC return element */ /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 177; } /* = unique id SOAP_TYPE__ngwm__createItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createItemResponse() { } + virtual ~_ngwm__createItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createItemsRequest +#define SOAP_TYPE__ngwm__createItemsRequest (178) +/* ngwm:createItemsRequest */ +class SOAP_CMAC _ngwm__createItemsRequest +{ +public: + std::vectoritem; /* required element of type ngwt:Item */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 178; } /* = unique id SOAP_TYPE__ngwm__createItemsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createItemsRequest() { } + virtual ~_ngwm__createItemsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createItemsResponse +#define SOAP_TYPE__ngwm__createItemsResponse (179) +/* ngwm:createItemsResponse */ +class SOAP_CMAC _ngwm__createItemsResponse +{ +public: + std::vectorid; /* RPC return element */ /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 179; } /* = unique id SOAP_TYPE__ngwm__createItemsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createItemsResponse() { } + virtual ~_ngwm__createItemsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createJunkEntryRequest +#define SOAP_TYPE__ngwm__createJunkEntryRequest (180) +/* ngwm:createJunkEntryRequest */ +class SOAP_CMAC _ngwm__createJunkEntryRequest +{ +public: + ngwt__JunkEntry *entry; /* required element of type ngwt:JunkEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 180; } /* = unique id SOAP_TYPE__ngwm__createJunkEntryRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createJunkEntryRequest() { } + virtual ~_ngwm__createJunkEntryRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createJunkEntryResponse +#define SOAP_TYPE__ngwm__createJunkEntryResponse (181) +/* ngwm:createJunkEntryResponse */ +class SOAP_CMAC _ngwm__createJunkEntryResponse +{ +public: + std::string *id; /* RPC return element */ /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 181; } /* = unique id SOAP_TYPE__ngwm__createJunkEntryResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createJunkEntryResponse() { } + virtual ~_ngwm__createJunkEntryResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createProxyAccessRequest +#define SOAP_TYPE__ngwm__createProxyAccessRequest (182) +/* ngwm:createProxyAccessRequest */ +class SOAP_CMAC _ngwm__createProxyAccessRequest +{ +public: + ngwt__AccessRightEntry *entry; /* required element of type ngwt:AccessRightEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 182; } /* = unique id SOAP_TYPE__ngwm__createProxyAccessRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createProxyAccessRequest() { } + virtual ~_ngwm__createProxyAccessRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createProxyAccessResponse +#define SOAP_TYPE__ngwm__createProxyAccessResponse (183) +/* ngwm:createProxyAccessResponse */ +class SOAP_CMAC _ngwm__createProxyAccessResponse +{ +public: + std::string *id; /* RPC return element */ /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 183; } /* = unique id SOAP_TYPE__ngwm__createProxyAccessResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createProxyAccessResponse() { } + virtual ~_ngwm__createProxyAccessResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createSignatureRequest +#define SOAP_TYPE__ngwm__createSignatureRequest (184) +/* ngwm:createSignatureRequest */ +class SOAP_CMAC _ngwm__createSignatureRequest +{ +public: + ngwt__Signature *signature; /* required element of type ngwt:Signature */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 184; } /* = unique id SOAP_TYPE__ngwm__createSignatureRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createSignatureRequest() { } + virtual ~_ngwm__createSignatureRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__createSignatureResponse +#define SOAP_TYPE__ngwm__createSignatureResponse (185) +/* ngwm:createSignatureResponse */ +class SOAP_CMAC _ngwm__createSignatureResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 185; } /* = unique id SOAP_TYPE__ngwm__createSignatureResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__createSignatureResponse() { } + virtual ~_ngwm__createSignatureResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__declineRequest +#define SOAP_TYPE__ngwm__declineRequest (186) +/* ngwm:declineRequest */ +class SOAP_CMAC _ngwm__declineRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + std::string *comment; /* optional element of type xsd:string */ + unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 186; } /* = unique id SOAP_TYPE__ngwm__declineRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__declineRequest() { } + virtual ~_ngwm__declineRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__declineResponse +#define SOAP_TYPE__ngwm__declineResponse (187) +/* ngwm:declineResponse */ +class SOAP_CMAC _ngwm__declineResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 187; } /* = unique id SOAP_TYPE__ngwm__declineResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__declineResponse() { } + virtual ~_ngwm__declineResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__delegateRequest +#define SOAP_TYPE__ngwm__delegateRequest (188) +/* ngwm:delegateRequest */ +class SOAP_CMAC _ngwm__delegateRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + std::string *commentToOrganizer; /* optional element of type xsd:string */ + std::string *commentToDelegatee; /* optional element of type xsd:string */ + ngwt__Distribution *distribution; /* required element of type ngwt:Distribution */ + unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 188; } /* = unique id SOAP_TYPE__ngwm__delegateRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__delegateRequest() { } + virtual ~_ngwm__delegateRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__delegateResponse +#define SOAP_TYPE__ngwm__delegateResponse (189) +/* ngwm:delegateResponse */ +class SOAP_CMAC _ngwm__delegateResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 189; } /* = unique id SOAP_TYPE__ngwm__delegateResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__delegateResponse() { } + virtual ~_ngwm__delegateResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__destroyCursorRequest +#define SOAP_TYPE__ngwm__destroyCursorRequest (190) +/* ngwm:destroyCursorRequest */ +class SOAP_CMAC _ngwm__destroyCursorRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + int cursor; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 190; } /* = unique id SOAP_TYPE__ngwm__destroyCursorRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__destroyCursorRequest() { } + virtual ~_ngwm__destroyCursorRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__destroyCursorResponse +#define SOAP_TYPE__ngwm__destroyCursorResponse (191) +/* ngwm:destroyCursorResponse */ +class SOAP_CMAC _ngwm__destroyCursorResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 191; } /* = unique id SOAP_TYPE__ngwm__destroyCursorResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__destroyCursorResponse() { } + virtual ~_ngwm__destroyCursorResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__executeRuleRequest +#define SOAP_TYPE__ngwm__executeRuleRequest (192) +/* ngwm:executeRuleRequest */ +class SOAP_CMAC _ngwm__executeRuleRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 192; } /* = unique id SOAP_TYPE__ngwm__executeRuleRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__executeRuleRequest() { } + virtual ~_ngwm__executeRuleRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__executeRuleResponse +#define SOAP_TYPE__ngwm__executeRuleResponse (193) +/* ngwm:executeRuleResponse */ +class SOAP_CMAC _ngwm__executeRuleResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 193; } /* = unique id SOAP_TYPE__ngwm__executeRuleResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__executeRuleResponse() { } + virtual ~_ngwm__executeRuleResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__forwardRequest +#define SOAP_TYPE__ngwm__forwardRequest (194) +/* ngwm:forwardRequest */ +class SOAP_CMAC _ngwm__forwardRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + std::string *view; /* optional element of type ngwt:View */ + bool embed; /* required element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 194; } /* = unique id SOAP_TYPE__ngwm__forwardRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__forwardRequest() { } + virtual ~_ngwm__forwardRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__forwardResponse +#define SOAP_TYPE__ngwm__forwardResponse (195) +/* ngwm:forwardResponse */ +class SOAP_CMAC _ngwm__forwardResponse +{ +public: + ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 195; } /* = unique id SOAP_TYPE__ngwm__forwardResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__forwardResponse() { } + virtual ~_ngwm__forwardResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getAddressBookListRequest +#define SOAP_TYPE__ngwm__getAddressBookListRequest (196) +/* ngwm:getAddressBookListRequest */ +class SOAP_CMAC _ngwm__getAddressBookListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 196; } /* = unique id SOAP_TYPE__ngwm__getAddressBookListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getAddressBookListRequest() { } + virtual ~_ngwm__getAddressBookListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getAddressBookListResponse +#define SOAP_TYPE__ngwm__getAddressBookListResponse (197) +/* ngwm:getAddressBookListResponse */ +class SOAP_CMAC _ngwm__getAddressBookListResponse +{ +public: + ngwt__AddressBookList *books; /* RPC return element */ /* optional element of type ngwt:AddressBookList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 197; } /* = unique id SOAP_TYPE__ngwm__getAddressBookListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getAddressBookListResponse() { } + virtual ~_ngwm__getAddressBookListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getAttachmentRequest +#define SOAP_TYPE__ngwm__getAttachmentRequest (198) +/* ngwm:getAttachmentRequest */ +class SOAP_CMAC _ngwm__getAttachmentRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + int offset; /* required element of type xsd:int */ + int length; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 198; } /* = unique id SOAP_TYPE__ngwm__getAttachmentRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getAttachmentRequest() { } + virtual ~_ngwm__getAttachmentRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getAttachmentResponse +#define SOAP_TYPE__ngwm__getAttachmentResponse (199) +/* ngwm:getAttachmentResponse */ +class SOAP_CMAC _ngwm__getAttachmentResponse +{ +public: + ngwt__MessagePart *part; /* RPC return element */ /* optional element of type ngwt:MessagePart */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 199; } /* = unique id SOAP_TYPE__ngwm__getAttachmentResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getAttachmentResponse() { } + virtual ~_ngwm__getAttachmentResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getCategoryListRequest +#define SOAP_TYPE__ngwm__getCategoryListRequest (200) +/* ngwm:getCategoryListRequest */ +class SOAP_CMAC _ngwm__getCategoryListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 200; } /* = unique id SOAP_TYPE__ngwm__getCategoryListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getCategoryListRequest() { } + virtual ~_ngwm__getCategoryListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getCategoryListResponse +#define SOAP_TYPE__ngwm__getCategoryListResponse (201) +/* ngwm:getCategoryListResponse */ +class SOAP_CMAC _ngwm__getCategoryListResponse +{ +public: + ngwt__CategoryList *categories; /* RPC return element */ /* optional element of type ngwt:CategoryList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 201; } /* = unique id SOAP_TYPE__ngwm__getCategoryListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getCategoryListResponse() { } + virtual ~_ngwm__getCategoryListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getCustomListRequest +#define SOAP_TYPE__ngwm__getCustomListRequest (202) +/* ngwm:getCustomListRequest */ +class SOAP_CMAC _ngwm__getCustomListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 202; } /* = unique id SOAP_TYPE__ngwm__getCustomListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getCustomListRequest() { } + virtual ~_ngwm__getCustomListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getCustomListResponse +#define SOAP_TYPE__ngwm__getCustomListResponse (203) +/* ngwm:getCustomListResponse */ +class SOAP_CMAC _ngwm__getCustomListResponse +{ +public: + ngwt__CustomList *customs; /* RPC return element */ /* optional element of type ngwt:CustomList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 203; } /* = unique id SOAP_TYPE__ngwm__getCustomListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getCustomListResponse() { } + virtual ~_ngwm__getCustomListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getDeltasRequest +#define SOAP_TYPE__ngwm__getDeltasRequest (204) +/* ngwm:getDeltasRequest */ +class SOAP_CMAC _ngwm__getDeltasRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + std::string *view; /* optional element of type ngwt:View */ + ngwt__DeltaInfo *deltaInfo; /* required element of type ngwt:DeltaInfo */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 204; } /* = unique id SOAP_TYPE__ngwm__getDeltasRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getDeltasRequest() { } + virtual ~_ngwm__getDeltasRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getDeltasResponse +#define SOAP_TYPE__ngwm__getDeltasResponse (205) +/* ngwm:getDeltasResponse */ +class SOAP_CMAC _ngwm__getDeltasResponse +{ +public: + ngwt__Items *items; /* RPC return element */ /* optional element of type ngwt:Items */ + ngwt__DeltaInfo *deltaInfo; /* required element of type ngwt:DeltaInfo */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 205; } /* = unique id SOAP_TYPE__ngwm__getDeltasResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getDeltasResponse() { } + virtual ~_ngwm__getDeltasResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getDeltaInfoRequest +#define SOAP_TYPE__ngwm__getDeltaInfoRequest (206) +/* ngwm:getDeltaInfoRequest */ +class SOAP_CMAC _ngwm__getDeltaInfoRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 206; } /* = unique id SOAP_TYPE__ngwm__getDeltaInfoRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getDeltaInfoRequest() { } + virtual ~_ngwm__getDeltaInfoRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getDeltaInfoResponse +#define SOAP_TYPE__ngwm__getDeltaInfoResponse (207) +/* ngwm:getDeltaInfoResponse */ +class SOAP_CMAC _ngwm__getDeltaInfoResponse +{ +public: + ngwt__DeltaInfo *deltaInfo; /* RPC return element */ /* required element of type ngwt:DeltaInfo */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 207; } /* = unique id SOAP_TYPE__ngwm__getDeltaInfoResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getDeltaInfoResponse() { } + virtual ~_ngwm__getDeltaInfoResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getDocumentTypeListRequest +#define SOAP_TYPE__ngwm__getDocumentTypeListRequest (208) +/* ngwm:getDocumentTypeListRequest */ +class SOAP_CMAC _ngwm__getDocumentTypeListRequest +{ +public: + std::string library; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 208; } /* = unique id SOAP_TYPE__ngwm__getDocumentTypeListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getDocumentTypeListRequest() { } + virtual ~_ngwm__getDocumentTypeListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getDocumentTypeListResponse +#define SOAP_TYPE__ngwm__getDocumentTypeListResponse (209) +/* ngwm:getDocumentTypeListResponse */ +class SOAP_CMAC _ngwm__getDocumentTypeListResponse +{ +public: + ngwt__DocumentTypeList *items; /* RPC return element */ /* optional element of type ngwt:DocumentTypeList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 209; } /* = unique id SOAP_TYPE__ngwm__getDocumentTypeListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getDocumentTypeListResponse() { } + virtual ~_ngwm__getDocumentTypeListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getFolderRequest +#define SOAP_TYPE__ngwm__getFolderRequest (210) +/* ngwm:getFolderRequest */ +class SOAP_CMAC _ngwm__getFolderRequest +{ +public: + std::string *id; /* optional element of type ngwt:uid */ + enum ngwt__FolderType *folderType; /* optional element of type ngwt:FolderType */ + enum ngwt__MessageTypeList *types; /* optional element of type ngwt:MessageTypeList */ + enum ngwt__ItemSourceList *source; /* optional element of type ngwt:ItemSourceList */ + std::string *view; /* optional element of type ngwt:View */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 210; } /* = unique id SOAP_TYPE__ngwm__getFolderRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getFolderRequest() { } + virtual ~_ngwm__getFolderRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getFolderResponse +#define SOAP_TYPE__ngwm__getFolderResponse (211) +/* ngwm:getFolderResponse */ +class SOAP_CMAC _ngwm__getFolderResponse +{ +public: + ngwt__Folder *folder; /* RPC return element */ /* optional element of type ngwt:Folder */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 211; } /* = unique id SOAP_TYPE__ngwm__getFolderResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getFolderResponse() { } + virtual ~_ngwm__getFolderResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getFolderListRequest +#define SOAP_TYPE__ngwm__getFolderListRequest (212) +/* ngwm:getFolderListRequest */ +class SOAP_CMAC _ngwm__getFolderListRequest +{ +public: + std::string parent; /* required element of type ngwt:uid */ +public: + std::string *view; /* optional element of type ngwt:View */ + bool recurse; /* required element of type xsd:boolean */ + bool imap; /* required element of type xsd:boolean */ + bool nntp; /* required element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 212; } /* = unique id SOAP_TYPE__ngwm__getFolderListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getFolderListRequest() { } + virtual ~_ngwm__getFolderListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getFolderListResponse +#define SOAP_TYPE__ngwm__getFolderListResponse (213) +/* ngwm:getFolderListResponse */ +class SOAP_CMAC _ngwm__getFolderListResponse +{ +public: + ngwt__FolderList *folders; /* RPC return element */ /* optional element of type ngwt:FolderList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 213; } /* = unique id SOAP_TYPE__ngwm__getFolderListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getFolderListResponse() { } + virtual ~_ngwm__getFolderListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getFreeBusyRequest +#define SOAP_TYPE__ngwm__getFreeBusyRequest (214) +/* ngwm:getFreeBusyRequest */ +class SOAP_CMAC _ngwm__getFreeBusyRequest +{ +public: + std::string freeBusySessionId; /* required element of type xsd:string */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 214; } /* = unique id SOAP_TYPE__ngwm__getFreeBusyRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getFreeBusyRequest() { } + virtual ~_ngwm__getFreeBusyRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getFreeBusyResponse +#define SOAP_TYPE__ngwm__getFreeBusyResponse (215) +/* ngwm:getFreeBusyResponse */ +class SOAP_CMAC _ngwm__getFreeBusyResponse +{ +public: + ngwt__FreeBusyStats *freeBusyStats; /* RPC return element */ /* optional element of type ngwt:FreeBusyStats */ + ngwt__FreeBusyInfoList *freeBusyInfo; /* optional element of type ngwt:FreeBusyInfoList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 215; } /* = unique id SOAP_TYPE__ngwm__getFreeBusyResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getFreeBusyResponse() { } + virtual ~_ngwm__getFreeBusyResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getItemRequest +#define SOAP_TYPE__ngwm__getItemRequest (216) +/* ngwm:getItemRequest */ +class SOAP_CMAC _ngwm__getItemRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + std::string *view; /* optional element of type ngwt:View */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 216; } /* = unique id SOAP_TYPE__ngwm__getItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getItemRequest() { } + virtual ~_ngwm__getItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getItemResponse +#define SOAP_TYPE__ngwm__getItemResponse (217) +/* ngwm:getItemResponse */ +class SOAP_CMAC _ngwm__getItemResponse +{ +public: + ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 217; } /* = unique id SOAP_TYPE__ngwm__getItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getItemResponse() { } + virtual ~_ngwm__getItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getItemsRequest +#define SOAP_TYPE__ngwm__getItemsRequest (218) +/* ngwm:getItemsRequest */ +class SOAP_CMAC _ngwm__getItemsRequest +{ +public: + std::string *container; /* optional element of type ngwt:uid */ + std::string *view; /* optional element of type ngwt:View */ + ngwt__Filter *filter; /* optional element of type ngwt:Filter */ + ngwt__ItemRefList *items; /* optional element of type ngwt:ItemRefList */ + int count; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 218; } /* = unique id SOAP_TYPE__ngwm__getItemsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getItemsRequest() { } + virtual ~_ngwm__getItemsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getItemsResponse +#define SOAP_TYPE__ngwm__getItemsResponse (219) +/* ngwm:getItemsResponse */ +class SOAP_CMAC _ngwm__getItemsResponse +{ +public: + ngwt__Items *items; /* RPC return element */ /* optional element of type ngwt:Items */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 219; } /* = unique id SOAP_TYPE__ngwm__getItemsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getItemsResponse() { } + virtual ~_ngwm__getItemsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getJunkEntriesRequest +#define SOAP_TYPE__ngwm__getJunkEntriesRequest (220) +/* ngwm:getJunkEntriesRequest */ +class SOAP_CMAC _ngwm__getJunkEntriesRequest +{ +public: + enum ngwt__JunkHandlingListType *container; /* optional element of type ngwt:JunkHandlingListType */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 220; } /* = unique id SOAP_TYPE__ngwm__getJunkEntriesRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getJunkEntriesRequest() { } + virtual ~_ngwm__getJunkEntriesRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getJunkEntriesResponse +#define SOAP_TYPE__ngwm__getJunkEntriesResponse (221) +/* ngwm:getJunkEntriesResponse */ +class SOAP_CMAC _ngwm__getJunkEntriesResponse +{ +public: + ngwt__JunkHandlingList *junk; /* RPC return element */ /* optional element of type ngwt:JunkHandlingList */ + ngwt__JunkHandlingList *block; /* optional element of type ngwt:JunkHandlingList */ + ngwt__JunkHandlingList *trust; /* optional element of type ngwt:JunkHandlingList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 221; } /* = unique id SOAP_TYPE__ngwm__getJunkEntriesResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getJunkEntriesResponse() { } + virtual ~_ngwm__getJunkEntriesResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsRequest +#define SOAP_TYPE__ngwm__getJunkMailSettingsRequest (222) +/* ngwm:getJunkMailSettingsRequest */ +class SOAP_CMAC _ngwm__getJunkMailSettingsRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 222; } /* = unique id SOAP_TYPE__ngwm__getJunkMailSettingsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getJunkMailSettingsRequest() { } + virtual ~_ngwm__getJunkMailSettingsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getJunkMailSettingsResponse +#define SOAP_TYPE__ngwm__getJunkMailSettingsResponse (223) +/* ngwm:getJunkMailSettingsResponse */ +class SOAP_CMAC _ngwm__getJunkMailSettingsResponse +{ +public: + ngwt__SettingsList *settings; /* RPC return element */ /* optional element of type ngwt:SettingsList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 223; } /* = unique id SOAP_TYPE__ngwm__getJunkMailSettingsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getJunkMailSettingsResponse() { } + virtual ~_ngwm__getJunkMailSettingsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getLibraryItemRequest +#define SOAP_TYPE__ngwm__getLibraryItemRequest (224) +/* ngwm:getLibraryItemRequest */ +class SOAP_CMAC _ngwm__getLibraryItemRequest +{ +public: + std::string library; /* required element of type ngwt:uid */ +public: + unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */ + std::string *versionNumber; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 224; } /* = unique id SOAP_TYPE__ngwm__getLibraryItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getLibraryItemRequest() { } + virtual ~_ngwm__getLibraryItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getLibraryItemResponse +#define SOAP_TYPE__ngwm__getLibraryItemResponse (225) +/* ngwm:getLibraryItemResponse */ +class SOAP_CMAC _ngwm__getLibraryItemResponse +{ +public: + ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 225; } /* = unique id SOAP_TYPE__ngwm__getLibraryItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getLibraryItemResponse() { } + virtual ~_ngwm__getLibraryItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getLibraryListRequest +#define SOAP_TYPE__ngwm__getLibraryListRequest (226) +/* ngwm:getLibraryListRequest */ +class SOAP_CMAC _ngwm__getLibraryListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 226; } /* = unique id SOAP_TYPE__ngwm__getLibraryListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getLibraryListRequest() { } + virtual ~_ngwm__getLibraryListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getLibraryListResponse +#define SOAP_TYPE__ngwm__getLibraryListResponse (227) +/* ngwm:getLibraryListResponse */ +class SOAP_CMAC _ngwm__getLibraryListResponse +{ +public: + ngwt__LibraryList *libraries; /* RPC return element */ /* optional element of type ngwt:LibraryList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 227; } /* = unique id SOAP_TYPE__ngwm__getLibraryListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getLibraryListResponse() { } + virtual ~_ngwm__getLibraryListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getQuickMessagesRequest +#define SOAP_TYPE__ngwm__getQuickMessagesRequest (228) +/* ngwm:getQuickMessagesRequest */ +class SOAP_CMAC _ngwm__getQuickMessagesRequest +{ +public: + enum ngwt__MessageList list; /* required element of type ngwt:MessageList */ + char *ngwt__startDate; /* optional element of type xsd:string */ + std::string *container; /* optional element of type ngwt:uid */ + enum ngwt__MessageTypeList *types; /* optional element of type ngwt:MessageTypeList */ + enum ngwt__ItemSourceList *source; /* optional element of type ngwt:ItemSourceList */ + std::string *view; /* optional element of type ngwt:View */ + int count; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 228; } /* = unique id SOAP_TYPE__ngwm__getQuickMessagesRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getQuickMessagesRequest() { } + virtual ~_ngwm__getQuickMessagesRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getQuickMessagesResponse +#define SOAP_TYPE__ngwm__getQuickMessagesResponse (229) +/* ngwm:getQuickMessagesResponse */ +class SOAP_CMAC _ngwm__getQuickMessagesResponse +{ +public: + char *ngwt__startDate; /* RPC return element */ /* optional element of type xsd:string */ + ngwt__Items *items; /* optional element of type ngwt:Items */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 229; } /* = unique id SOAP_TYPE__ngwm__getQuickMessagesResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getQuickMessagesResponse() { } + virtual ~_ngwm__getQuickMessagesResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getProxyAccessListRequest +#define SOAP_TYPE__ngwm__getProxyAccessListRequest (230) +/* ngwm:getProxyAccessListRequest */ +class SOAP_CMAC _ngwm__getProxyAccessListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 230; } /* = unique id SOAP_TYPE__ngwm__getProxyAccessListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getProxyAccessListRequest() { } + virtual ~_ngwm__getProxyAccessListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getProxyAccessListResponse +#define SOAP_TYPE__ngwm__getProxyAccessListResponse (231) +/* ngwm:getProxyAccessListResponse */ +class SOAP_CMAC _ngwm__getProxyAccessListResponse +{ +public: + ngwt__AccessRightList *accessRights; /* RPC return element */ /* optional element of type ngwt:AccessRightList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 231; } /* = unique id SOAP_TYPE__ngwm__getProxyAccessListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getProxyAccessListResponse() { } + virtual ~_ngwm__getProxyAccessListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getProxyListRequest +#define SOAP_TYPE__ngwm__getProxyListRequest (232) +/* ngwm:getProxyListRequest */ +class SOAP_CMAC _ngwm__getProxyListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 232; } /* = unique id SOAP_TYPE__ngwm__getProxyListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getProxyListRequest() { } + virtual ~_ngwm__getProxyListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getProxyListResponse +#define SOAP_TYPE__ngwm__getProxyListResponse (233) +/* ngwm:getProxyListResponse */ +class SOAP_CMAC _ngwm__getProxyListResponse +{ +public: + ngwt__ProxyList *proxies; /* RPC return element */ /* optional element of type ngwt:ProxyList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 233; } /* = unique id SOAP_TYPE__ngwm__getProxyListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getProxyListResponse() { } + virtual ~_ngwm__getProxyListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getRuleListRequest +#define SOAP_TYPE__ngwm__getRuleListRequest (234) +/* ngwm:getRuleListRequest */ +class SOAP_CMAC _ngwm__getRuleListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 234; } /* = unique id SOAP_TYPE__ngwm__getRuleListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getRuleListRequest() { } + virtual ~_ngwm__getRuleListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getRuleListResponse +#define SOAP_TYPE__ngwm__getRuleListResponse (235) +/* ngwm:getRuleListResponse */ +class SOAP_CMAC _ngwm__getRuleListResponse +{ +public: + ngwt__RuleList *rules; /* RPC return element */ /* optional element of type ngwt:RuleList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 235; } /* = unique id SOAP_TYPE__ngwm__getRuleListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getRuleListResponse() { } + virtual ~_ngwm__getRuleListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getSettingsRequest +#define SOAP_TYPE__ngwm__getSettingsRequest (236) +/* ngwm:getSettingsRequest */ +class SOAP_CMAC _ngwm__getSettingsRequest +{ +public: + std::string *id; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 236; } /* = unique id SOAP_TYPE__ngwm__getSettingsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getSettingsRequest() { } + virtual ~_ngwm__getSettingsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getSettingsResponse +#define SOAP_TYPE__ngwm__getSettingsResponse (237) +/* ngwm:getSettingsResponse */ +class SOAP_CMAC _ngwm__getSettingsResponse +{ +public: + ngwt__Settings *settings; /* RPC return element */ /* optional element of type ngwt:Settings */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 237; } /* = unique id SOAP_TYPE__ngwm__getSettingsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getSettingsResponse() { } + virtual ~_ngwm__getSettingsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getSignaturesRequest +#define SOAP_TYPE__ngwm__getSignaturesRequest (238) +/* ngwm:getSignaturesRequest */ +class SOAP_CMAC _ngwm__getSignaturesRequest +{ +public: + bool global; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 238; } /* = unique id SOAP_TYPE__ngwm__getSignaturesRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getSignaturesRequest() { } + virtual ~_ngwm__getSignaturesRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getSignaturesResponse +#define SOAP_TYPE__ngwm__getSignaturesResponse (239) +/* ngwm:getSignaturesResponse */ +class SOAP_CMAC _ngwm__getSignaturesResponse +{ +public: + ngwt__Signatures *signatures; /* RPC return element */ /* optional element of type ngwt:Signatures */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 239; } /* = unique id SOAP_TYPE__ngwm__getSignaturesResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getSignaturesResponse() { } + virtual ~_ngwm__getSignaturesResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getTimestampRequest +#define SOAP_TYPE__ngwm__getTimestampRequest (240) +/* ngwm:getTimestampRequest */ +class SOAP_CMAC _ngwm__getTimestampRequest +{ +public: + bool *backup; /* optional element of type xsd:boolean */ + bool *retention; /* optional element of type xsd:boolean */ + bool *noop; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 240; } /* = unique id SOAP_TYPE__ngwm__getTimestampRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getTimestampRequest() { } + virtual ~_ngwm__getTimestampRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getTimestampResponse +#define SOAP_TYPE__ngwm__getTimestampResponse (241) +/* ngwm:getTimestampResponse */ +class SOAP_CMAC _ngwm__getTimestampResponse +{ +public: + char *backup; /* RPC return element */ /* optional element of type xsd:string */ + char *retention; /* optional element of type xsd:string */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 241; } /* = unique id SOAP_TYPE__ngwm__getTimestampResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getTimestampResponse() { } + virtual ~_ngwm__getTimestampResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getTimezoneListRequest +#define SOAP_TYPE__ngwm__getTimezoneListRequest (242) +/* ngwm:getTimezoneListRequest */ +class SOAP_CMAC _ngwm__getTimezoneListRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 242; } /* = unique id SOAP_TYPE__ngwm__getTimezoneListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getTimezoneListRequest() { } + virtual ~_ngwm__getTimezoneListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getTimezoneListResponse +#define SOAP_TYPE__ngwm__getTimezoneListResponse (243) +/* ngwm:getTimezoneListResponse */ +class SOAP_CMAC _ngwm__getTimezoneListResponse +{ +public: + ngwt__TimezoneList *timezones; /* RPC return element */ /* optional element of type ngwt:TimezoneList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 243; } /* = unique id SOAP_TYPE__ngwm__getTimezoneListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getTimezoneListResponse() { } + virtual ~_ngwm__getTimezoneListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getUserListRequest +#define SOAP_TYPE__ngwm__getUserListRequest (244) +/* ngwm:getUserListRequest */ +class SOAP_CMAC _ngwm__getUserListRequest +{ +public: + std::string *name; /* optional element of type xsd:string */ + std::string *key; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 244; } /* = unique id SOAP_TYPE__ngwm__getUserListRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getUserListRequest() { } + virtual ~_ngwm__getUserListRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__getUserListResponse +#define SOAP_TYPE__ngwm__getUserListResponse (245) +/* ngwm:getUserListResponse */ +class SOAP_CMAC _ngwm__getUserListResponse +{ +public: + ngwt__UserList *users; /* RPC return element */ /* optional element of type ngwt:UserList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 245; } /* = unique id SOAP_TYPE__ngwm__getUserListResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__getUserListResponse() { } + virtual ~_ngwm__getUserListResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__loginRequest +#define SOAP_TYPE__ngwm__loginRequest (246) +/* ngwm:loginRequest */ +class SOAP_CMAC _ngwm__loginRequest +{ +public: + ngwt__Authentication *auth; /* required element of type ngwt:Authentication */ + std::string language; /* required element of type xsd:language */ + std::string version; /* required element of type xsd:decimal */ +public: + std::string *application; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 246; } /* = unique id SOAP_TYPE__ngwm__loginRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__loginRequest() { } + virtual ~_ngwm__loginRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__loginResponse +#define SOAP_TYPE__ngwm__loginResponse (247) +/* ngwm:loginResponse */ +class SOAP_CMAC _ngwm__loginResponse +{ +public: + std::string *session; /* RPC return element */ /* optional element of type xsd:string */ + ngwt__UserInfo *userinfo; /* optional element of type ngwt:UserInfo */ + ngwt__AccessRightEntry *entry; /* optional element of type ngwt:AccessRightEntry */ + std::string *gwVersion; /* optional element of type xsd:string */ + std::string *build; /* optional element of type xsd:string */ + std::vectorredirectToHost; /* optional element of type ngwt:Host */ + char *serverUTCTime; /* optional element of type xsd:string */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 247; } /* = unique id SOAP_TYPE__ngwm__loginResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__loginResponse() { } + virtual ~_ngwm__loginResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__logoutRequest +#define SOAP_TYPE__ngwm__logoutRequest (248) +/* ngwm:logoutRequest */ +class SOAP_CMAC _ngwm__logoutRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 248; } /* = unique id SOAP_TYPE__ngwm__logoutRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__logoutRequest() { } + virtual ~_ngwm__logoutRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__logoutResponse +#define SOAP_TYPE__ngwm__logoutResponse (249) +/* ngwm:logoutResponse */ +class SOAP_CMAC _ngwm__logoutResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 249; } /* = unique id SOAP_TYPE__ngwm__logoutResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__logoutResponse() { } + virtual ~_ngwm__logoutResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markPrivateRequest +#define SOAP_TYPE__ngwm__markPrivateRequest (250) +/* ngwm:markPrivateRequest */ +class SOAP_CMAC _ngwm__markPrivateRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 250; } /* = unique id SOAP_TYPE__ngwm__markPrivateRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markPrivateRequest() { } + virtual ~_ngwm__markPrivateRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markPrivateResponse +#define SOAP_TYPE__ngwm__markPrivateResponse (251) +/* ngwm:markPrivateResponse */ +class SOAP_CMAC _ngwm__markPrivateResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 251; } /* = unique id SOAP_TYPE__ngwm__markPrivateResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markPrivateResponse() { } + virtual ~_ngwm__markPrivateResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markReadRequest +#define SOAP_TYPE__ngwm__markReadRequest (252) +/* ngwm:markReadRequest */ +class SOAP_CMAC _ngwm__markReadRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 252; } /* = unique id SOAP_TYPE__ngwm__markReadRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markReadRequest() { } + virtual ~_ngwm__markReadRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markReadResponse +#define SOAP_TYPE__ngwm__markReadResponse (253) +/* ngwm:markReadResponse */ +class SOAP_CMAC _ngwm__markReadResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 253; } /* = unique id SOAP_TYPE__ngwm__markReadResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markReadResponse() { } + virtual ~_ngwm__markReadResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markUnPrivateRequest +#define SOAP_TYPE__ngwm__markUnPrivateRequest (254) +/* ngwm:markUnPrivateRequest */ +class SOAP_CMAC _ngwm__markUnPrivateRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 254; } /* = unique id SOAP_TYPE__ngwm__markUnPrivateRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markUnPrivateRequest() { } + virtual ~_ngwm__markUnPrivateRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markUnPrivateResponse +#define SOAP_TYPE__ngwm__markUnPrivateResponse (255) +/* ngwm:markUnPrivateResponse */ +class SOAP_CMAC _ngwm__markUnPrivateResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 255; } /* = unique id SOAP_TYPE__ngwm__markUnPrivateResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markUnPrivateResponse() { } + virtual ~_ngwm__markUnPrivateResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markUnReadRequest +#define SOAP_TYPE__ngwm__markUnReadRequest (256) +/* ngwm:markUnReadRequest */ +class SOAP_CMAC _ngwm__markUnReadRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 256; } /* = unique id SOAP_TYPE__ngwm__markUnReadRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markUnReadRequest() { } + virtual ~_ngwm__markUnReadRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__markUnReadResponse +#define SOAP_TYPE__ngwm__markUnReadResponse (257) +/* ngwm:markUnReadResponse */ +class SOAP_CMAC _ngwm__markUnReadResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 257; } /* = unique id SOAP_TYPE__ngwm__markUnReadResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__markUnReadResponse() { } + virtual ~_ngwm__markUnReadResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyItemRequest +#define SOAP_TYPE__ngwm__modifyItemRequest (258) +/* ngwm:modifyItemRequest */ +class SOAP_CMAC _ngwm__modifyItemRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + ngwt__SharedFolderNotification *notification; /* optional element of type ngwt:SharedFolderNotification */ + ngwt__ItemChanges *updates; /* required element of type ngwt:ItemChanges */ + unsigned long recurrenceAllInstances; /* optional element of type xsd:unsignedLong */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 258; } /* = unique id SOAP_TYPE__ngwm__modifyItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyItemRequest() { } + virtual ~_ngwm__modifyItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyItemResponse +#define SOAP_TYPE__ngwm__modifyItemResponse (259) +/* ngwm:modifyItemResponse */ +class SOAP_CMAC _ngwm__modifyItemResponse +{ +public: + char *ngwt__modified; /* RPC return element */ /* optional element of type xsd:string */ + std::vectorid; /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 259; } /* = unique id SOAP_TYPE__ngwm__modifyItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyItemResponse() { } + virtual ~_ngwm__modifyItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyItemsRequest +#define SOAP_TYPE__ngwm__modifyItemsRequest (260) +/* ngwm:modifyItemsRequest */ +class SOAP_CMAC _ngwm__modifyItemsRequest +{ +public: + std::vectoritem; /* required element of type ngwt:ModifyItem */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 260; } /* = unique id SOAP_TYPE__ngwm__modifyItemsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyItemsRequest() { } + virtual ~_ngwm__modifyItemsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyItemsResponse +#define SOAP_TYPE__ngwm__modifyItemsResponse (261) +/* ngwm:modifyItemsResponse */ +class SOAP_CMAC _ngwm__modifyItemsResponse +{ +public: + std::vectorngwt__modified; /* optional element of type xsd:string */ + std::vectorid; /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 261; } /* = unique id SOAP_TYPE__ngwm__modifyItemsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyItemsResponse() { } + virtual ~_ngwm__modifyItemsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyJunkEntryRequest +#define SOAP_TYPE__ngwm__modifyJunkEntryRequest (262) +/* ngwm:modifyJunkEntryRequest */ +class SOAP_CMAC _ngwm__modifyJunkEntryRequest +{ +public: + ngwt__JunkEntry *entry; /* required element of type ngwt:JunkEntry */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 262; } /* = unique id SOAP_TYPE__ngwm__modifyJunkEntryRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyJunkEntryRequest() { } + virtual ~_ngwm__modifyJunkEntryRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyJunkEntryResponse +#define SOAP_TYPE__ngwm__modifyJunkEntryResponse (263) +/* ngwm:modifyJunkEntryResponse */ +class SOAP_CMAC _ngwm__modifyJunkEntryResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 263; } /* = unique id SOAP_TYPE__ngwm__modifyJunkEntryResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyJunkEntryResponse() { } + virtual ~_ngwm__modifyJunkEntryResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest +#define SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest (264) +/* ngwm:modifyJunkMailSettingsRequest */ +class SOAP_CMAC _ngwm__modifyJunkMailSettingsRequest +{ +public: + ngwt__SettingsList *settings; /* required element of type ngwt:SettingsList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 264; } /* = unique id SOAP_TYPE__ngwm__modifyJunkMailSettingsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyJunkMailSettingsRequest() { } + virtual ~_ngwm__modifyJunkMailSettingsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse +#define SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse (265) +/* ngwm:modifyJunkMailSettingsResponse */ +class SOAP_CMAC _ngwm__modifyJunkMailSettingsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 265; } /* = unique id SOAP_TYPE__ngwm__modifyJunkMailSettingsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyJunkMailSettingsResponse() { } + virtual ~_ngwm__modifyJunkMailSettingsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyPasswordRequest +#define SOAP_TYPE__ngwm__modifyPasswordRequest (266) +/* ngwm:modifyPasswordRequest */ +class SOAP_CMAC _ngwm__modifyPasswordRequest +{ +public: + std::string *old; /* optional element of type xsd:string */ + std::string *_new; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 266; } /* = unique id SOAP_TYPE__ngwm__modifyPasswordRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyPasswordRequest() { } + virtual ~_ngwm__modifyPasswordRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyPasswordResponse +#define SOAP_TYPE__ngwm__modifyPasswordResponse (267) +/* ngwm:modifyPasswordResponse */ +class SOAP_CMAC _ngwm__modifyPasswordResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 267; } /* = unique id SOAP_TYPE__ngwm__modifyPasswordResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyPasswordResponse() { } + virtual ~_ngwm__modifyPasswordResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyProxyAccessRequest +#define SOAP_TYPE__ngwm__modifyProxyAccessRequest (268) +/* ngwm:modifyProxyAccessRequest */ +class SOAP_CMAC _ngwm__modifyProxyAccessRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + ngwt__AccessRightChanges *updates; /* required element of type ngwt:AccessRightChanges */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 268; } /* = unique id SOAP_TYPE__ngwm__modifyProxyAccessRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyProxyAccessRequest() { } + virtual ~_ngwm__modifyProxyAccessRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifyProxyAccessResponse +#define SOAP_TYPE__ngwm__modifyProxyAccessResponse (269) +/* ngwm:modifyProxyAccessResponse */ +class SOAP_CMAC _ngwm__modifyProxyAccessResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 269; } /* = unique id SOAP_TYPE__ngwm__modifyProxyAccessResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifyProxyAccessResponse() { } + virtual ~_ngwm__modifyProxyAccessResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifySettingsRequest +#define SOAP_TYPE__ngwm__modifySettingsRequest (270) +/* ngwm:modifySettingsRequest */ +class SOAP_CMAC _ngwm__modifySettingsRequest +{ +public: + ngwt__SettingsList *settings; /* required element of type ngwt:SettingsList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 270; } /* = unique id SOAP_TYPE__ngwm__modifySettingsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifySettingsRequest() { } + virtual ~_ngwm__modifySettingsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifySettingsResponse +#define SOAP_TYPE__ngwm__modifySettingsResponse (271) +/* ngwm:modifySettingsResponse */ +class SOAP_CMAC _ngwm__modifySettingsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 271; } /* = unique id SOAP_TYPE__ngwm__modifySettingsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifySettingsResponse() { } + virtual ~_ngwm__modifySettingsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifySignaturesRequest +#define SOAP_TYPE__ngwm__modifySignaturesRequest (272) +/* ngwm:modifySignaturesRequest */ +class SOAP_CMAC _ngwm__modifySignaturesRequest +{ +public: + ngwt__Signatures *updates; /* required element of type ngwt:Signatures */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 272; } /* = unique id SOAP_TYPE__ngwm__modifySignaturesRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifySignaturesRequest() { } + virtual ~_ngwm__modifySignaturesRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__modifySignaturesResponse +#define SOAP_TYPE__ngwm__modifySignaturesResponse (273) +/* ngwm:modifySignaturesResponse */ +class SOAP_CMAC _ngwm__modifySignaturesResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 273; } /* = unique id SOAP_TYPE__ngwm__modifySignaturesResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__modifySignaturesResponse() { } + virtual ~_ngwm__modifySignaturesResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__moveItemRequest +#define SOAP_TYPE__ngwm__moveItemRequest (274) +/* ngwm:moveItemRequest */ +class SOAP_CMAC _ngwm__moveItemRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ + std::string container; /* required element of type ngwt:uid */ +public: + std::string *from; /* optional element of type ngwt:uid */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 274; } /* = unique id SOAP_TYPE__ngwm__moveItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__moveItemRequest() { } + virtual ~_ngwm__moveItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__moveItemResponse +#define SOAP_TYPE__ngwm__moveItemResponse (275) +/* ngwm:moveItemResponse */ +class SOAP_CMAC _ngwm__moveItemResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 275; } /* = unique id SOAP_TYPE__ngwm__moveItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__moveItemResponse() { } + virtual ~_ngwm__moveItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__positionCursorRequest +#define SOAP_TYPE__ngwm__positionCursorRequest (276) +/* ngwm:positionCursorRequest */ +class SOAP_CMAC _ngwm__positionCursorRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + int cursor; /* required element of type xsd:int */ + enum ngwt__CursorSeek seek; /* required element of type ngwt:CursorSeek */ + int offset; /* required element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 276; } /* = unique id SOAP_TYPE__ngwm__positionCursorRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__positionCursorRequest() { } + virtual ~_ngwm__positionCursorRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__positionCursorResponse +#define SOAP_TYPE__ngwm__positionCursorResponse (277) +/* ngwm:positionCursorResponse */ +class SOAP_CMAC _ngwm__positionCursorResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 277; } /* = unique id SOAP_TYPE__ngwm__positionCursorResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__positionCursorResponse() { } + virtual ~_ngwm__positionCursorResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsRequest +#define SOAP_TYPE__ngwm__purgeDeletedItemsRequest (278) +/* ngwm:purgeDeletedItemsRequest */ +class SOAP_CMAC _ngwm__purgeDeletedItemsRequest +{ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 278; } /* = unique id SOAP_TYPE__ngwm__purgeDeletedItemsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__purgeDeletedItemsRequest() { } + virtual ~_ngwm__purgeDeletedItemsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__purgeDeletedItemsResponse +#define SOAP_TYPE__ngwm__purgeDeletedItemsResponse (279) +/* ngwm:purgeDeletedItemsResponse */ +class SOAP_CMAC _ngwm__purgeDeletedItemsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 279; } /* = unique id SOAP_TYPE__ngwm__purgeDeletedItemsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__purgeDeletedItemsResponse() { } + virtual ~_ngwm__purgeDeletedItemsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__purgeRequest +#define SOAP_TYPE__ngwm__purgeRequest (280) +/* ngwm:purgeRequest */ +class SOAP_CMAC _ngwm__purgeRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 280; } /* = unique id SOAP_TYPE__ngwm__purgeRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__purgeRequest() { } + virtual ~_ngwm__purgeRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__purgeResponse +#define SOAP_TYPE__ngwm__purgeResponse (281) +/* ngwm:purgeResponse */ +class SOAP_CMAC _ngwm__purgeResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 281; } /* = unique id SOAP_TYPE__ngwm__purgeResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__purgeResponse() { } + virtual ~_ngwm__purgeResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__readCursorRequest +#define SOAP_TYPE__ngwm__readCursorRequest (282) +/* ngwm:readCursorRequest */ +class SOAP_CMAC _ngwm__readCursorRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + int cursor; /* required element of type xsd:int */ + bool forward; /* required element of type xsd:boolean */ + enum ngwt__CursorSeek *position; /* optional element of type ngwt:CursorSeek */ + int *count; /* optional element of type xsd:int */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 282; } /* = unique id SOAP_TYPE__ngwm__readCursorRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__readCursorRequest() { } + virtual ~_ngwm__readCursorRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__readCursorResponse +#define SOAP_TYPE__ngwm__readCursorResponse (283) +/* ngwm:readCursorResponse */ +class SOAP_CMAC _ngwm__readCursorResponse +{ +public: + ngwt__ItemList *items; /* RPC return element */ /* optional element of type ngwt:ItemList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 283; } /* = unique id SOAP_TYPE__ngwm__readCursorResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__readCursorResponse() { } + virtual ~_ngwm__readCursorResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionRequest +#define SOAP_TYPE__ngwm__removeCustomDefinitionRequest (284) +/* ngwm:removeCustomDefinitionRequest */ +class SOAP_CMAC _ngwm__removeCustomDefinitionRequest +{ +public: + ngwt__CustomList *customs; /* optional element of type ngwt:CustomList */ + bool books; /* required element of type xsd:boolean */ + bool doAsynchronous; /* required element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 284; } /* = unique id SOAP_TYPE__ngwm__removeCustomDefinitionRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeCustomDefinitionRequest() { } + virtual ~_ngwm__removeCustomDefinitionRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeCustomDefinitionResponse +#define SOAP_TYPE__ngwm__removeCustomDefinitionResponse (285) +/* ngwm:removeCustomDefinitionResponse */ +class SOAP_CMAC _ngwm__removeCustomDefinitionResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 285; } /* = unique id SOAP_TYPE__ngwm__removeCustomDefinitionResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeCustomDefinitionResponse() { } + virtual ~_ngwm__removeCustomDefinitionResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeItemRequest +#define SOAP_TYPE__ngwm__removeItemRequest (286) +/* ngwm:removeItemRequest */ +class SOAP_CMAC _ngwm__removeItemRequest +{ +public: + std::string *container; /* optional element of type ngwt:uid */ + std::string id; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 286; } /* = unique id SOAP_TYPE__ngwm__removeItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeItemRequest() { } + virtual ~_ngwm__removeItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeItemResponse +#define SOAP_TYPE__ngwm__removeItemResponse (287) +/* ngwm:removeItemResponse */ +class SOAP_CMAC _ngwm__removeItemResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 287; } /* = unique id SOAP_TYPE__ngwm__removeItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeItemResponse() { } + virtual ~_ngwm__removeItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeItemsRequest +#define SOAP_TYPE__ngwm__removeItemsRequest (288) +/* ngwm:removeItemsRequest */ +class SOAP_CMAC _ngwm__removeItemsRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 288; } /* = unique id SOAP_TYPE__ngwm__removeItemsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeItemsRequest() { } + virtual ~_ngwm__removeItemsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeItemsResponse +#define SOAP_TYPE__ngwm__removeItemsResponse (289) +/* ngwm:removeItemsResponse */ +class SOAP_CMAC _ngwm__removeItemsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 289; } /* = unique id SOAP_TYPE__ngwm__removeItemsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeItemsResponse() { } + virtual ~_ngwm__removeItemsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeJunkEntryRequest +#define SOAP_TYPE__ngwm__removeJunkEntryRequest (290) +/* ngwm:removeJunkEntryRequest */ +class SOAP_CMAC _ngwm__removeJunkEntryRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 290; } /* = unique id SOAP_TYPE__ngwm__removeJunkEntryRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeJunkEntryRequest() { } + virtual ~_ngwm__removeJunkEntryRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeJunkEntryResponse +#define SOAP_TYPE__ngwm__removeJunkEntryResponse (291) +/* ngwm:removeJunkEntryResponse */ +class SOAP_CMAC _ngwm__removeJunkEntryResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 291; } /* = unique id SOAP_TYPE__ngwm__removeJunkEntryResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeJunkEntryResponse() { } + virtual ~_ngwm__removeJunkEntryResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeMembersRequest +#define SOAP_TYPE__ngwm__removeMembersRequest (292) +/* ngwm:removeMembersRequest */ +class SOAP_CMAC _ngwm__removeMembersRequest +{ +public: + std::string container; /* required element of type ngwt:uid */ +public: + ngwt__GroupMemberList *members; /* required element of type ngwt:GroupMemberList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 292; } /* = unique id SOAP_TYPE__ngwm__removeMembersRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeMembersRequest() { } + virtual ~_ngwm__removeMembersRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeMembersResponse +#define SOAP_TYPE__ngwm__removeMembersResponse (293) +/* ngwm:removeMembersResponse */ +class SOAP_CMAC _ngwm__removeMembersResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 293; } /* = unique id SOAP_TYPE__ngwm__removeMembersResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeMembersResponse() { } + virtual ~_ngwm__removeMembersResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeProxyAccessRequest +#define SOAP_TYPE__ngwm__removeProxyAccessRequest (294) +/* ngwm:removeProxyAccessRequest */ +class SOAP_CMAC _ngwm__removeProxyAccessRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 294; } /* = unique id SOAP_TYPE__ngwm__removeProxyAccessRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeProxyAccessRequest() { } + virtual ~_ngwm__removeProxyAccessRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeProxyAccessResponse +#define SOAP_TYPE__ngwm__removeProxyAccessResponse (295) +/* ngwm:removeProxyAccessResponse */ +class SOAP_CMAC _ngwm__removeProxyAccessResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 295; } /* = unique id SOAP_TYPE__ngwm__removeProxyAccessResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeProxyAccessResponse() { } + virtual ~_ngwm__removeProxyAccessResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeProxyUserRequest +#define SOAP_TYPE__ngwm__removeProxyUserRequest (296) +/* ngwm:removeProxyUserRequest */ +class SOAP_CMAC _ngwm__removeProxyUserRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 296; } /* = unique id SOAP_TYPE__ngwm__removeProxyUserRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeProxyUserRequest() { } + virtual ~_ngwm__removeProxyUserRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeProxyUserResponse +#define SOAP_TYPE__ngwm__removeProxyUserResponse (297) +/* ngwm:removeProxyUserResponse */ +class SOAP_CMAC _ngwm__removeProxyUserResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 297; } /* = unique id SOAP_TYPE__ngwm__removeProxyUserResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeProxyUserResponse() { } + virtual ~_ngwm__removeProxyUserResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeSignatureRequest +#define SOAP_TYPE__ngwm__removeSignatureRequest (298) +/* ngwm:removeSignatureRequest */ +class SOAP_CMAC _ngwm__removeSignatureRequest +{ +public: + std::string *id; /* optional element of type ngwt:uid */ + bool *all; /* optional element of type xsd:boolean */ + bool global; /* optional element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 298; } /* = unique id SOAP_TYPE__ngwm__removeSignatureRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeSignatureRequest() { } + virtual ~_ngwm__removeSignatureRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__removeSignatureResponse +#define SOAP_TYPE__ngwm__removeSignatureResponse (299) +/* ngwm:removeSignatureResponse */ +class SOAP_CMAC _ngwm__removeSignatureResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 299; } /* = unique id SOAP_TYPE__ngwm__removeSignatureResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__removeSignatureResponse() { } + virtual ~_ngwm__removeSignatureResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__replyRequest +#define SOAP_TYPE__ngwm__replyRequest (300) +/* ngwm:replyRequest */ +class SOAP_CMAC _ngwm__replyRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + std::string *view; /* optional element of type ngwt:View */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 300; } /* = unique id SOAP_TYPE__ngwm__replyRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__replyRequest() { } + virtual ~_ngwm__replyRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__replyResponse +#define SOAP_TYPE__ngwm__replyResponse (301) +/* ngwm:replyResponse */ +class SOAP_CMAC _ngwm__replyResponse +{ +public: + ngwt__Item *item; /* RPC return element */ /* optional element of type ngwt:Item */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 301; } /* = unique id SOAP_TYPE__ngwm__replyResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__replyResponse() { } + virtual ~_ngwm__replyResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__retractRequest +#define SOAP_TYPE__ngwm__retractRequest (302) +/* ngwm:retractRequest */ +class SOAP_CMAC _ngwm__retractRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + std::string *comment; /* optional element of type xsd:string */ + bool retractingAllInstances; /* optional element of type xsd:boolean */ + bool retractCausedByResend; /* optional element of type xsd:boolean */ + enum ngwt__RetractType *retractType; /* optional element of type ngwt:RetractType */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 302; } /* = unique id SOAP_TYPE__ngwm__retractRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__retractRequest() { } + virtual ~_ngwm__retractRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__retractResponse +#define SOAP_TYPE__ngwm__retractResponse (303) +/* ngwm:retractResponse */ +class SOAP_CMAC _ngwm__retractResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 303; } /* = unique id SOAP_TYPE__ngwm__retractResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__retractResponse() { } + virtual ~_ngwm__retractResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__sendItemRequest +#define SOAP_TYPE__ngwm__sendItemRequest (304) +/* ngwm:sendItemRequest */ +class SOAP_CMAC _ngwm__sendItemRequest +{ +public: + ngwt__Item *item; /* required element of type ngwt:Item */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 304; } /* = unique id SOAP_TYPE__ngwm__sendItemRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__sendItemRequest() { } + virtual ~_ngwm__sendItemRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__sendItemResponse +#define SOAP_TYPE__ngwm__sendItemResponse (305) +/* ngwm:sendItemResponse */ +class SOAP_CMAC _ngwm__sendItemResponse +{ +public: + std::vectorid; /* RPC return element */ /* optional element of type ngwt:uid */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 305; } /* = unique id SOAP_TYPE__ngwm__sendItemResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__sendItemResponse() { } + virtual ~_ngwm__sendItemResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__setTimestampRequest +#define SOAP_TYPE__ngwm__setTimestampRequest (306) +/* ngwm:setTimestampRequest */ +class SOAP_CMAC _ngwm__setTimestampRequest +{ +public: + char *backup; /* optional element of type xsd:string */ + char *retention; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 306; } /* = unique id SOAP_TYPE__ngwm__setTimestampRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__setTimestampRequest() { } + virtual ~_ngwm__setTimestampRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__setTimestampResponse +#define SOAP_TYPE__ngwm__setTimestampResponse (307) +/* ngwm:setTimestampResponse */ +class SOAP_CMAC _ngwm__setTimestampResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 307; } /* = unique id SOAP_TYPE__ngwm__setTimestampResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__setTimestampResponse() { } + virtual ~_ngwm__setTimestampResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__startFreeBusySessionRequest +#define SOAP_TYPE__ngwm__startFreeBusySessionRequest (308) +/* ngwm:startFreeBusySessionRequest */ +class SOAP_CMAC _ngwm__startFreeBusySessionRequest +{ +public: + ngwt__FreeBusyUserList *users; /* required element of type ngwt:FreeBusyUserList */ + char *startDate; /* required element of type xsd:string */ + char *endDate; /* required element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 308; } /* = unique id SOAP_TYPE__ngwm__startFreeBusySessionRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__startFreeBusySessionRequest() { } + virtual ~_ngwm__startFreeBusySessionRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__startFreeBusySessionResponse +#define SOAP_TYPE__ngwm__startFreeBusySessionResponse (309) +/* ngwm:startFreeBusySessionResponse */ +class SOAP_CMAC _ngwm__startFreeBusySessionResponse +{ +public: + int *freeBusySessionId; /* RPC return element */ /* optional element of type xsd:int */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 309; } /* = unique id SOAP_TYPE__ngwm__startFreeBusySessionResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__startFreeBusySessionResponse() { } + virtual ~_ngwm__startFreeBusySessionResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__unacceptRequest +#define SOAP_TYPE__ngwm__unacceptRequest (310) +/* ngwm:unacceptRequest */ +class SOAP_CMAC _ngwm__unacceptRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 310; } /* = unique id SOAP_TYPE__ngwm__unacceptRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__unacceptRequest() { } + virtual ~_ngwm__unacceptRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__unacceptResponse +#define SOAP_TYPE__ngwm__unacceptResponse (311) +/* ngwm:unacceptResponse */ +class SOAP_CMAC _ngwm__unacceptResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 311; } /* = unique id SOAP_TYPE__ngwm__unacceptResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__unacceptResponse() { } + virtual ~_ngwm__unacceptResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__uncompleteRequest +#define SOAP_TYPE__ngwm__uncompleteRequest (312) +/* ngwm:uncompleteRequest */ +class SOAP_CMAC _ngwm__uncompleteRequest +{ +public: + ngwt__ItemRefList *items; /* required element of type ngwt:ItemRefList */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 312; } /* = unique id SOAP_TYPE__ngwm__uncompleteRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__uncompleteRequest() { } + virtual ~_ngwm__uncompleteRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__uncompleteResponse +#define SOAP_TYPE__ngwm__uncompleteResponse (313) +/* ngwm:uncompleteResponse */ +class SOAP_CMAC _ngwm__uncompleteResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 313; } /* = unique id SOAP_TYPE__ngwm__uncompleteResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__uncompleteResponse() { } + virtual ~_ngwm__uncompleteResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__updateVersionStatusRequest +#define SOAP_TYPE__ngwm__updateVersionStatusRequest (314) +/* ngwm:updateVersionStatusRequest */ +class SOAP_CMAC _ngwm__updateVersionStatusRequest +{ +public: + std::string id; /* required element of type ngwt:uid */ +public: + enum ngwt__VersionEventType event; /* required element of type ngwt:VersionEventType */ + ngwt__SignatureData *part; /* optional element of type ngwt:SignatureData */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 314; } /* = unique id SOAP_TYPE__ngwm__updateVersionStatusRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__updateVersionStatusRequest() { } + virtual ~_ngwm__updateVersionStatusRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwm__updateVersionStatusResponse +#define SOAP_TYPE__ngwm__updateVersionStatusResponse (315) +/* ngwm:updateVersionStatusResponse */ +class SOAP_CMAC _ngwm__updateVersionStatusResponse +{ +public: + ngwt__SignatureData *part; /* RPC return element */ /* optional element of type ngwt:SignatureData */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 315; } /* = unique id SOAP_TYPE__ngwm__updateVersionStatusResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwm__updateVersionStatusResponse() { } + virtual ~_ngwm__updateVersionStatusResponse() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__ContainerList +#define SOAP_TYPE_ngwe__ContainerList (316) +/* ngwe:ContainerList */ +class SOAP_CMAC ngwe__ContainerList +{ +public: + std::vectorcontainer; /* optional element of type ngwt:uid */ + bool *not_; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 316; } /* = unique id SOAP_TYPE_ngwe__ContainerList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__ContainerList() { } + virtual ~ngwe__ContainerList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__Event +#define SOAP_TYPE_ngwe__Event (317) +/* ngwe:Event */ +class SOAP_CMAC ngwe__Event +{ +public: + enum ngwe__EventType event; /* required element of type ngwe:EventType */ + std::string *id; /* optional element of type ngwt:uid */ + char *timeStamp; /* optional element of type xsd:string */ + enum ngwe__FieldList *field; /* optional element of type ngwe:FieldList */ + std::string *container; /* optional element of type ngwt:uid */ + std::string *from; /* optional element of type ngwt:uid */ + std::string *key; /* optional element of type xsd:string */ + unsigned long *uid; /* optional element of type xsd:unsignedLong */ + enum ngwe__ItemType *type; /* optional element of type ngwe:ItemType */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 317; } /* = unique id SOAP_TYPE_ngwe__Event */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__Event() { } + virtual ~ngwe__Event() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__EventDefinition +#define SOAP_TYPE_ngwe__EventDefinition (318) +/* ngwe:EventDefinition */ +class SOAP_CMAC ngwe__EventDefinition +{ +public: + class ngwe__EventTypeList *events; /* required element of type ngwe:EventTypeList */ + enum ngwe__ItemTypeList *type; /* optional element of type ngwe:ItemTypeList */ + enum ngwe__FieldList *field; /* optional element of type ngwe:FieldList */ + ngwe__ContainerList *containers; /* optional element of type ngwe:ContainerList */ + std::string *subType; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 318; } /* = unique id SOAP_TYPE_ngwe__EventDefinition */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__EventDefinition() { } + virtual ~ngwe__EventDefinition() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__EventList +#define SOAP_TYPE_ngwe__EventList (319) +/* ngwe:EventList */ +class SOAP_CMAC ngwe__EventList +{ +public: + std::vectorevent; /* optional element of type ngwe:Event */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 319; } /* = unique id SOAP_TYPE_ngwe__EventList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__EventList() { } + virtual ~ngwe__EventList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__Events +#define SOAP_TYPE_ngwe__Events (320) +/* ngwe:Events */ +class SOAP_CMAC ngwe__Events +{ +public: + std::string key; /* required element of type xsd:string */ +public: + std::string *persistence; /* optional element of type xsd:duration */ + std::string *ipAddress; /* optional element of type xsd:string */ + int *port; /* optional element of type xsd:int */ + bool http; /* optional element of type xsd:boolean */ + ngwe__EventDefinition *definition; /* optional element of type ngwe:EventDefinition */ + bool *enabled; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 320; } /* = unique id SOAP_TYPE_ngwe__Events */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__Events() { } + virtual ~ngwe__Events() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__EventsList +#define SOAP_TYPE_ngwe__EventsList (321) +/* ngwe:EventsList */ +class SOAP_CMAC ngwe__EventsList +{ +public: + std::vectorevent; /* optional element of type ngwe:Events */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 321; } /* = unique id SOAP_TYPE_ngwe__EventsList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__EventsList() { } + virtual ~ngwe__EventsList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__EventTypeList +#define SOAP_TYPE_ngwe__EventTypeList (322) +/* ngwe:EventTypeList */ +class SOAP_CMAC ngwe__EventTypeList +{ +public: + std::vectorevent; /* sequence of 1 to 36 elements */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 322; } /* = unique id SOAP_TYPE_ngwe__EventTypeList */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__EventTypeList() { } + virtual ~ngwe__EventTypeList() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwe__Notify +#define SOAP_TYPE_ngwe__Notify (323) +/* ngwe:Notify */ +class SOAP_CMAC ngwe__Notify +{ +public: + std::string userid; /* required element of type xsd:string */ + std::string key; /* required element of type xsd:string */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 323; } /* = unique id SOAP_TYPE_ngwe__Notify */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwe__Notify() { } + virtual ~ngwe__Notify() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationRequest +#define SOAP_TYPE__ngwe__cleanEventConfigurationRequest (324) +/* ngwe:cleanEventConfigurationRequest */ +class SOAP_CMAC _ngwe__cleanEventConfigurationRequest +{ +public: + bool all; /* required element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 324; } /* = unique id SOAP_TYPE__ngwe__cleanEventConfigurationRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__cleanEventConfigurationRequest() { } + virtual ~_ngwe__cleanEventConfigurationRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__cleanEventConfigurationResponse +#define SOAP_TYPE__ngwe__cleanEventConfigurationResponse (325) +/* ngwe:cleanEventConfigurationResponse */ +class SOAP_CMAC _ngwe__cleanEventConfigurationResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 325; } /* = unique id SOAP_TYPE__ngwe__cleanEventConfigurationResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__cleanEventConfigurationResponse() { } + virtual ~_ngwe__cleanEventConfigurationResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__configureEventsRequest +#define SOAP_TYPE__ngwe__configureEventsRequest (326) +/* ngwe:configureEventsRequest */ +class SOAP_CMAC _ngwe__configureEventsRequest +{ +public: + ngwe__Events *events; /* optional element of type ngwe:Events */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 326; } /* = unique id SOAP_TYPE__ngwe__configureEventsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__configureEventsRequest() { } + virtual ~_ngwe__configureEventsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__configureEventsResponse +#define SOAP_TYPE__ngwe__configureEventsResponse (327) +/* ngwe:configureEventsResponse */ +class SOAP_CMAC _ngwe__configureEventsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 327; } /* = unique id SOAP_TYPE__ngwe__configureEventsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__configureEventsResponse() { } + virtual ~_ngwe__configureEventsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__getEventConfigurationRequest +#define SOAP_TYPE__ngwe__getEventConfigurationRequest (328) +/* ngwe:getEventConfigurationRequest */ +class SOAP_CMAC _ngwe__getEventConfigurationRequest +{ +public: + std::string *key; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 328; } /* = unique id SOAP_TYPE__ngwe__getEventConfigurationRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__getEventConfigurationRequest() { } + virtual ~_ngwe__getEventConfigurationRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__getEventConfigurationResponse +#define SOAP_TYPE__ngwe__getEventConfigurationResponse (329) +/* ngwe:getEventConfigurationResponse */ +class SOAP_CMAC _ngwe__getEventConfigurationResponse +{ +public: + ngwe__EventsList *events; /* RPC return element */ /* optional element of type ngwe:EventsList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 329; } /* = unique id SOAP_TYPE__ngwe__getEventConfigurationResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__getEventConfigurationResponse() { } + virtual ~_ngwe__getEventConfigurationResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__getEventsRequest +#define SOAP_TYPE__ngwe__getEventsRequest (330) +/* ngwe:getEventsRequest */ +class SOAP_CMAC _ngwe__getEventsRequest +{ +public: + std::string key; /* required element of type xsd:string */ +public: + char *from; /* optional element of type xsd:string */ + char *until; /* optional element of type xsd:string */ + unsigned long *uid; /* optional element of type xsd:unsignedLong */ + int count; /* required element of type xsd:int */ + bool remove; /* required element of type xsd:boolean */ + bool notify; /* required element of type xsd:boolean */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 330; } /* = unique id SOAP_TYPE__ngwe__getEventsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__getEventsRequest() { } + virtual ~_ngwe__getEventsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__getEventsResponse +#define SOAP_TYPE__ngwe__getEventsResponse (331) +/* ngwe:getEventsResponse */ +class SOAP_CMAC _ngwe__getEventsResponse +{ +public: + ngwe__EventList *events; /* RPC return element */ /* optional element of type ngwe:EventList */ + ngwt__Status *status; /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 331; } /* = unique id SOAP_TYPE__ngwe__getEventsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__getEventsResponse() { } + virtual ~_ngwe__getEventsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__removeEventConfigurationRequest +#define SOAP_TYPE__ngwe__removeEventConfigurationRequest (332) +/* ngwe:removeEventConfigurationRequest */ +class SOAP_CMAC _ngwe__removeEventConfigurationRequest +{ +public: + std::string key; /* required element of type xsd:string */ +public: + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 332; } /* = unique id SOAP_TYPE__ngwe__removeEventConfigurationRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__removeEventConfigurationRequest() { } + virtual ~_ngwe__removeEventConfigurationRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__removeEventConfigurationResponse +#define SOAP_TYPE__ngwe__removeEventConfigurationResponse (333) +/* ngwe:removeEventConfigurationResponse */ +class SOAP_CMAC _ngwe__removeEventConfigurationResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 333; } /* = unique id SOAP_TYPE__ngwe__removeEventConfigurationResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__removeEventConfigurationResponse() { } + virtual ~_ngwe__removeEventConfigurationResponse() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__removeEventsRequest +#define SOAP_TYPE__ngwe__removeEventsRequest (334) +/* ngwe:removeEventsRequest */ +class SOAP_CMAC _ngwe__removeEventsRequest +{ +public: + std::string key; /* required element of type xsd:string */ +public: + char *from; /* optional element of type xsd:string */ + char *until; /* optional element of type xsd:string */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 334; } /* = unique id SOAP_TYPE__ngwe__removeEventsRequest */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__removeEventsRequest() { } + virtual ~_ngwe__removeEventsRequest() { } +}; +#endif + +#ifndef SOAP_TYPE__ngwe__removeEventsResponse +#define SOAP_TYPE__ngwe__removeEventsResponse (335) +/* ngwe:removeEventsResponse */ +class SOAP_CMAC _ngwe__removeEventsResponse +{ +public: + ngwt__Status *status; /* RPC return element */ /* required element of type ngwt:Status */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 335; } /* = unique id SOAP_TYPE__ngwe__removeEventsResponse */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + _ngwe__removeEventsResponse() { } + virtual ~_ngwe__removeEventsResponse() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AccessControlListEntry +#define SOAP_TYPE_ngwt__AccessControlListEntry (18) +/* ngwt:AccessControlListEntry */ +class SOAP_CMAC ngwt__AccessControlListEntry : public ngwt__NameAndEmail +{ +public: + ngwt__Rights *rights; /* required element of type ngwt:Rights */ +public: + virtual int soap_type() const { return 18; } /* = unique id SOAP_TYPE_ngwt__AccessControlListEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessControlListEntry() { } + virtual ~ngwt__AccessControlListEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AccessRightEntry +#define SOAP_TYPE_ngwt__AccessRightEntry (23) +/* ngwt:AccessRightEntry */ +class SOAP_CMAC ngwt__AccessRightEntry : public ngwt__NameAndEmail +{ +public: + std::string *id; /* optional element of type ngwt:uid */ + ngwt__AccessRight *appointment; /* optional element of type ngwt:AccessRight */ + ngwt__AccessRight *mail; /* optional element of type ngwt:AccessRight */ + ngwt__AccessMiscRight *misc; /* optional element of type ngwt:AccessMiscRight */ + ngwt__AccessRight *note; /* optional element of type ngwt:AccessRight */ + ngwt__AccessRight *task; /* optional element of type ngwt:AccessRight */ +public: + virtual int soap_type() const { return 23; } /* = unique id SOAP_TYPE_ngwt__AccessRightEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AccessRightEntry() { } + virtual ~ngwt__AccessRightEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AddressBook +#define SOAP_TYPE_ngwt__AddressBook (25) +/* ngwt:AddressBook */ +class SOAP_CMAC ngwt__AddressBook : public ngwt__Item +{ +public: + std::string *description; /* optional element of type xsd:string */ + bool *isPersonal; /* optional element of type xsd:boolean */ + bool *isFrequentContacts; /* optional element of type xsd:boolean */ +public: + virtual int soap_type() const { return 25; } /* = unique id SOAP_TYPE_ngwt__AddressBook */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AddressBook() { } + virtual ~ngwt__AddressBook() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Alarm +#define SOAP_TYPE_ngwt__Alarm (28) +/* Primitive ngwt:Alarm schema type: */ +class SOAP_CMAC ngwt__Alarm +{ +public: + int __item; + bool *enabled; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 28; } /* = unique id SOAP_TYPE_ngwt__Alarm */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Alarm() { } + virtual ~ngwt__Alarm() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Category +#define SOAP_TYPE_ngwt__Category (37) +/* ngwt:Category */ +class SOAP_CMAC ngwt__Category : public ngwt__Item +{ +public: + enum ngwt__CategoryType *type; /* optional element of type ngwt:CategoryType */ + unsigned long *color; /* optional element of type xsd:unsignedLong */ +public: + virtual int soap_type() const { return 37; } /* = unique id SOAP_TYPE_ngwt__Category */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Category() { } + virtual ~ngwt__Category() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__CommentStatus +#define SOAP_TYPE_ngwt__CommentStatus (40) +/* Primitive ngwt:CommentStatus schema type: */ +class SOAP_CMAC ngwt__CommentStatus +{ +public: + char *__item; + std::string *comment; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 40; } /* = unique id SOAP_TYPE_ngwt__CommentStatus */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__CommentStatus() { } + virtual ~ngwt__CommentStatus() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ContainerItem +#define SOAP_TYPE_ngwt__ContainerItem (43) +/* ngwt:ContainerItem */ +class SOAP_CMAC ngwt__ContainerItem : public ngwt__Item +{ +public: + std::vectorcontainer; /* required element of type ngwt:ContainerRef */ + ngwt__CategoryRefList *categories; /* optional element of type ngwt:CategoryRefList */ + char *created; /* optional element of type xsd:string */ + ngwt__CustomList *customs; /* optional element of type ngwt:CustomList */ +public: + virtual int soap_type() const { return 43; } /* = unique id SOAP_TYPE_ngwt__ContainerItem */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ContainerItem() { } + virtual ~ngwt__ContainerItem() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ContainerRef +#define SOAP_TYPE_ngwt__ContainerRef (44) +/* Primitive ngwt:ContainerRef schema type: */ +class SOAP_CMAC ngwt__ContainerRef +{ +public: + std::string __item; +public: + char *deleted; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 44; } /* = unique id SOAP_TYPE_ngwt__ContainerRef */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ContainerRef() { } + virtual ~ngwt__ContainerRef() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DelegatedStatus +#define SOAP_TYPE_ngwt__DelegatedStatus (52) +/* Primitive ngwt:DelegatedStatus schema type: */ +class SOAP_CMAC ngwt__DelegatedStatus +{ +public: + ngwt__CommentStatus *__item; + std::string *userid; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 52; } /* = unique id SOAP_TYPE_ngwt__DelegatedStatus */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DelegatedStatus() { } + virtual ~ngwt__DelegatedStatus() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DelegateeStatus +#define SOAP_TYPE_ngwt__DelegateeStatus (53) +/* ngwt:DelegateeStatus */ +class SOAP_CMAC ngwt__DelegateeStatus : public ngwt__RecipientStatus +{ +public: + std::string *userid; /* optional attribute */ +public: + virtual int soap_type() const { return 53; } /* = unique id SOAP_TYPE_ngwt__DelegateeStatus */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DelegateeStatus() { } + virtual ~ngwt__DelegateeStatus() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FilterEntry +#define SOAP_TYPE_ngwt__FilterEntry (63) +/* ngwt:FilterEntry */ +class SOAP_CMAC ngwt__FilterEntry : public ngwt__FilterElement +{ +public: + std::string *field; /* optional element of type xsd:string */ + ngwt__Custom *custom; /* optional element of type ngwt:Custom */ + std::string *value; /* optional element of type xsd:string */ + enum ngwt__FilterDate *date; /* optional element of type ngwt:FilterDate */ +public: + virtual int soap_type() const { return 63; } /* = unique id SOAP_TYPE_ngwt__FilterEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FilterEntry() { } + virtual ~ngwt__FilterEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FilterGroup +#define SOAP_TYPE_ngwt__FilterGroup (64) +/* ngwt:FilterGroup */ +class SOAP_CMAC ngwt__FilterGroup : public ngwt__FilterElement +{ +public: + std::vectorelement; /* required element of type ngwt:FilterElement */ +public: + virtual int soap_type() const { return 64; } /* = unique id SOAP_TYPE_ngwt__FilterGroup */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FilterGroup() { } + virtual ~ngwt__FilterGroup() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Folder +#define SOAP_TYPE_ngwt__Folder (65) +/* ngwt:Folder */ +class SOAP_CMAC ngwt__Folder : public ngwt__Item +{ +public: + std::string parent; /* required element of type ngwt:uid */ +public: + std::string *description; /* optional element of type xsd:string */ + int *count; /* optional element of type xsd:int */ + bool *hasUnread; /* optional element of type xsd:boolean */ + int *unreadCount; /* optional element of type xsd:int */ + unsigned long *sequence; /* optional element of type xsd:unsignedLong */ + std::string *settings; /* optional element of type ngwt:uid */ + ngwt__CalendarFolderAttribute *calendarAttribute; /* optional element of type ngwt:CalendarFolderAttribute */ +public: + virtual int soap_type() const { return 65; } /* = unique id SOAP_TYPE_ngwt__Folder */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Folder() { } + virtual ~ngwt__Folder() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FreeBusyInfo +#define SOAP_TYPE_ngwt__FreeBusyInfo (71) +/* ngwt:FreeBusyInfo */ +class SOAP_CMAC ngwt__FreeBusyInfo : public ngwt__NameAndEmail +{ +public: + ngwt__FreeBusyBlockList *blocks; /* required element of type ngwt:FreeBusyBlockList */ +public: + virtual int soap_type() const { return 71; } /* = unique id SOAP_TYPE_ngwt__FreeBusyInfo */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FreeBusyInfo() { } + virtual ~ngwt__FreeBusyInfo() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__From +#define SOAP_TYPE_ngwt__From (75) +/* ngwt:From */ +class SOAP_CMAC ngwt__From : public ngwt__NameAndEmail +{ +public: + std::string *replyTo; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 75; } /* = unique id SOAP_TYPE_ngwt__From */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__From() { } + virtual ~ngwt__From() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ItemRef +#define SOAP_TYPE_ngwt__ItemRef (87) +/* Primitive ngwt:ItemRef schema type: */ +class SOAP_CMAC ngwt__ItemRef +{ +public: + std::string __item; +public: + std::string *uid; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 87; } /* = unique id SOAP_TYPE_ngwt__ItemRef */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ItemRef() { } + virtual ~ngwt__ItemRef() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Library +#define SOAP_TYPE_ngwt__Library (93) +/* ngwt:Library */ +class SOAP_CMAC ngwt__Library : public ngwt__Item +{ +public: + std::string *description; /* optional element of type xsd:string */ + std::string *domain; /* optional element of type xsd:string */ + std::string *postOffice; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 93; } /* = unique id SOAP_TYPE_ngwt__Library */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Library() { } + virtual ~ngwt__Library() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__MessagePart +#define SOAP_TYPE_ngwt__MessagePart (98) +/* Primitive ngwt:MessagePart schema type: */ +class SOAP_CMAC ngwt__MessagePart +{ +public: + xsd__base64Binary __item; + std::string *id; /* optional attribute */ + std::string *contentId; /* optional attribute */ + std::string *contentType; /* optional attribute */ + int *length; /* optional attribute */ + int *offset; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 98; } /* = unique id SOAP_TYPE_ngwt__MessagePart */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__MessagePart() { } + virtual ~ngwt__MessagePart() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PhoneNumber +#define SOAP_TYPE_ngwt__PhoneNumber (109) +/* Primitive ngwt:PhoneNumber schema type: */ +class SOAP_CMAC ngwt__PhoneNumber +{ +public: + std::string __item; +public: + enum ngwt__PhoneNumberType type; /* required attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 109; } /* = unique id SOAP_TYPE_ngwt__PhoneNumber */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PhoneNumber() { } + virtual ~ngwt__PhoneNumber() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PlainText +#define SOAP_TYPE_ngwt__PlainText (110) +/* ngwt:PlainText */ +class SOAP_CMAC ngwt__PlainText : public ngwt__Authentication +{ +public: + std::string username; /* required element of type xsd:string */ +public: + std::string *password; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 110; } /* = unique id SOAP_TYPE_ngwt__PlainText */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PlainText() { } + virtual ~ngwt__PlainText() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Proxy +#define SOAP_TYPE_ngwt__Proxy (115) +/* ngwt:Proxy */ +class SOAP_CMAC ngwt__Proxy : public ngwt__Authentication +{ +public: + std::string username; /* required element of type xsd:string */ +public: + std::string *password; /* optional element of type xsd:string */ + std::string proxy; /* required element of type xsd:string */ +public: + virtual int soap_type() const { return 115; } /* = unique id SOAP_TYPE_ngwt__Proxy */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Proxy() { } + virtual ~ngwt__Proxy() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ProxyUser +#define SOAP_TYPE_ngwt__ProxyUser (116) +/* ngwt:ProxyUser */ +class SOAP_CMAC ngwt__ProxyUser : public ngwt__NameAndEmail +{ +public: + std::string *id; /* optional element of type ngwt:uid */ +public: + virtual int soap_type() const { return 116; } /* = unique id SOAP_TYPE_ngwt__ProxyUser */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ProxyUser() { } + virtual ~ngwt__ProxyUser() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Recipient +#define SOAP_TYPE_ngwt__Recipient (121) +/* ngwt:Recipient */ +class SOAP_CMAC ngwt__Recipient : public ngwt__NameAndEmail +{ +public: + enum ngwt__DistributionType distType; /* optional element of type ngwt:DistributionType */ + enum ngwt__RecipientType recipType; /* optional element of type ngwt:RecipientType */ + ngwt__RecipientStatus *recipientStatus; /* optional element of type ngwt:RecipientStatus */ + enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */ +public: + virtual int soap_type() const { return 121; } /* = unique id SOAP_TYPE_ngwt__Recipient */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Recipient() { } + virtual ~ngwt__Recipient() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__TransferFailedStatus +#define SOAP_TYPE_ngwt__TransferFailedStatus (154) +/* ngwt:TransferFailedStatus */ +class SOAP_CMAC ngwt__TransferFailedStatus : public ngwt__RecipientStatus +{ +public: + std::string *FailureReason; /* optional attribute */ +public: + virtual int soap_type() const { return 154; } /* = unique id SOAP_TYPE_ngwt__TransferFailedStatus */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__TransferFailedStatus() { } + virtual ~ngwt__TransferFailedStatus() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__TrustedApplication +#define SOAP_TYPE_ngwt__TrustedApplication (155) +/* ngwt:TrustedApplication */ +class SOAP_CMAC ngwt__TrustedApplication : public ngwt__Authentication +{ +public: + std::string username; /* required element of type xsd:string */ + std::string name; /* required element of type xsd:string */ + std::string key; /* required element of type xsd:string */ +public: + virtual int soap_type() const { return 155; } /* = unique id SOAP_TYPE_ngwt__TrustedApplication */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__TrustedApplication() { } + virtual ~ngwt__TrustedApplication() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AddressBookItem +#define SOAP_TYPE_ngwt__AddressBookItem (26) +/* ngwt:AddressBookItem */ +class SOAP_CMAC ngwt__AddressBookItem : public ngwt__ContainerItem +{ +public: + std::string *uuid; /* optional element of type ngwt:UUID */ + std::string *comment; /* optional element of type xsd:string */ + enum ngwt__DeltaSyncType *sync; /* optional element of type ngwt:DeltaSyncType */ + std::string *domain; /* optional element of type xsd:string */ + std::string *postOffice; /* optional element of type xsd:string */ + std::string *distinguishedName; /* optional element of type xsd:string */ + std::string *userid; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 26; } /* = unique id SOAP_TYPE_ngwt__AddressBookItem */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AddressBookItem() { } + virtual ~ngwt__AddressBookItem() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__AttachmentID +#define SOAP_TYPE_ngwt__AttachmentID (30) +/* Primitive ngwt:AttachmentID schema type: */ +class SOAP_CMAC ngwt__AttachmentID +{ +public: + std::string __item; +public: + bool *itemReference; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 30; } /* = unique id SOAP_TYPE_ngwt__AttachmentID */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__AttachmentID() { } + virtual ~ngwt__AttachmentID() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__BoxEntry +#define SOAP_TYPE_ngwt__BoxEntry (34) +/* ngwt:BoxEntry */ +class SOAP_CMAC ngwt__BoxEntry : public ngwt__ContainerItem +{ +public: + ngwt__ItemStatus *status; /* optional element of type ngwt:ItemStatus */ + std::string *thread; /* optional element of type xsd:string */ + std::string *msgId; /* optional element of type xsd:string */ + std::string *messageId; /* optional element of type xsd:string */ + enum ngwt__ItemSource *source; /* optional element of type ngwt:ItemSource */ + bool *returnSentItemsId; /* optional element of type xsd:boolean */ + char *delivered; /* required element of type xsd:string */ + enum ngwt__ItemClass *class_; /* optional element of type ngwt:ItemClass */ + enum ngwt__ItemSecurity *security; /* optional element of type ngwt:ItemSecurity */ + std::string *comment; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 34; } /* = unique id SOAP_TYPE_ngwt__BoxEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__BoxEntry() { } + virtual ~ngwt__BoxEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfWeek +#define SOAP_TYPE_ngwt__DayOfWeek (48) +/* Primitive ngwt:DayOfWeek schema type: */ +class SOAP_CMAC ngwt__DayOfWeek +{ +public: + enum ngwt__WeekDay __item; + enum ngwt__OccurrenceType *occurrence; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 48; } /* = unique id SOAP_TYPE_ngwt__DayOfWeek */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DayOfWeek() { } + virtual ~ngwt__DayOfWeek() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfYearWeek +#define SOAP_TYPE_ngwt__DayOfYearWeek (50) +/* Primitive ngwt:DayOfYearWeek schema type: */ +class SOAP_CMAC ngwt__DayOfYearWeek +{ +public: + enum ngwt__WeekDay __item; + short *occurrence; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 50; } /* = unique id SOAP_TYPE_ngwt__DayOfYearWeek */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DayOfYearWeek() { } + virtual ~ngwt__DayOfYearWeek() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Document +#define SOAP_TYPE_ngwt__Document (56) +/* ngwt:Document */ +class SOAP_CMAC ngwt__Document : public ngwt__ContainerItem +{ +public: + std::string *subject; /* optional element of type xsd:string */ + ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */ + unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */ + std::string *documentTypeName; /* optional element of type xsd:string */ + ngwt__NameAndEmail *author; /* optional element of type ngwt:NameAndEmail */ + ngwt__NameAndEmail *creator; /* optional element of type ngwt:NameAndEmail */ + unsigned long *officialVersion; /* optional element of type xsd:unsignedLong */ + unsigned long *currentVersion; /* optional element of type xsd:unsignedLong */ + ngwt__AccessControlList *current; /* optional element of type ngwt:AccessControlList */ + ngwt__AccessControlList *official; /* optional element of type ngwt:AccessControlList */ + ngwt__AccessControlList *other; /* optional element of type ngwt:AccessControlList */ +public: + virtual int soap_type() const { return 56; } /* = unique id SOAP_TYPE_ngwt__Document */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Document() { } + virtual ~ngwt__Document() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__FolderACLEntry +#define SOAP_TYPE_ngwt__FolderACLEntry (67) +/* ngwt:FolderACLEntry */ +class SOAP_CMAC ngwt__FolderACLEntry : public ngwt__AccessControlListEntry +{ +public: + enum ngwt__FolderACLStatus *status; /* optional element of type ngwt:FolderACLStatus */ +public: + virtual int soap_type() const { return 67; } /* = unique id SOAP_TYPE_ngwt__FolderACLEntry */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__FolderACLEntry() { } + virtual ~ngwt__FolderACLEntry() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__QueryFolder +#define SOAP_TYPE_ngwt__QueryFolder (119) +/* ngwt:QueryFolder */ +class SOAP_CMAC ngwt__QueryFolder : public ngwt__Folder +{ +public: + enum ngwt__FolderType *folderType; /* optional element of type ngwt:FolderType */ + ngwt__Query *query; /* optional element of type ngwt:Query */ +public: + virtual int soap_type() const { return 119; } /* = unique id SOAP_TYPE_ngwt__QueryFolder */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__QueryFolder() { } + virtual ~ngwt__QueryFolder() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Rule +#define SOAP_TYPE_ngwt__Rule (131) +/* ngwt:Rule */ +class SOAP_CMAC ngwt__Rule : public ngwt__ContainerItem +{ +public: + enum ngwt__Execution *execution; /* optional element of type ngwt:Execution */ + unsigned long sequence; /* required element of type xsd:unsignedLong */ + bool enabled; /* optional element of type xsd:boolean */ + enum ngwt__MessageTypeList *types; /* optional element of type ngwt:MessageTypeList */ + enum ngwt__ItemSourceList *source; /* optional element of type ngwt:ItemSourceList */ + enum ngwt__AppointmentConflict conflict; /* optional element of type ngwt:AppointmentConflict */ + ngwt__Filter *filter; /* optional element of type ngwt:Filter */ + ngwt__RuleActionList *actions; /* optional element of type ngwt:RuleActionList */ +public: + virtual int soap_type() const { return 131; } /* = unique id SOAP_TYPE_ngwt__Rule */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Rule() { } + virtual ~ngwt__Rule() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SharedFolder +#define SOAP_TYPE_ngwt__SharedFolder (140) +/* ngwt:SharedFolder */ +class SOAP_CMAC ngwt__SharedFolder : public ngwt__Folder +{ +public: + ngwt__Rights *rights; /* optional element of type ngwt:Rights */ + ngwt__FolderACL *acl; /* optional element of type ngwt:FolderACL */ + std::string *owner; /* optional element of type ngwt:UUID */ + bool *isSharedByMe; /* optional element of type xsd:boolean */ + bool *isSharedToMe; /* optional element of type xsd:boolean */ +public: + virtual int soap_type() const { return 140; } /* = unique id SOAP_TYPE_ngwt__SharedFolder */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SharedFolder() { } + virtual ~ngwt__SharedFolder() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__StatusTracking +#define SOAP_TYPE_ngwt__StatusTracking (148) +/* Primitive ngwt:StatusTracking schema type: */ +class SOAP_CMAC ngwt__StatusTracking +{ +public: + enum ngwt__StatusTrackingOptions __item; + bool *autoDelete; /* optional attribute */ + struct soap *soap; /* transient */ +public: + virtual int soap_type() const { return 148; } /* = unique id SOAP_TYPE_ngwt__StatusTracking */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__StatusTracking() { } + virtual ~ngwt__StatusTracking() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SystemFolder +#define SOAP_TYPE_ngwt__SystemFolder (149) +/* ngwt:SystemFolder */ +class SOAP_CMAC ngwt__SystemFolder : public ngwt__Folder +{ +public: + bool *isSystemFolder; /* optional element of type xsd:boolean */ + enum ngwt__FolderType *folderType; /* optional element of type ngwt:FolderType */ + ngwt__FolderACL *acl; /* optional element of type ngwt:FolderACL */ + bool *isSharedByMe; /* optional element of type xsd:boolean */ +public: + virtual int soap_type() const { return 149; } /* = unique id SOAP_TYPE_ngwt__SystemFolder */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SystemFolder() { } + virtual ~ngwt__SystemFolder() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Version +#define SOAP_TYPE_ngwt__Version (158) +/* ngwt:Version */ +class SOAP_CMAC ngwt__Version : public ngwt__ContainerItem +{ +public: + ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */ + unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */ + ngwt__NameAndEmail *versionCreator; /* optional element of type ngwt:NameAndEmail */ + ngwt__NameAndEmail *retrievedBy; /* optional element of type ngwt:NameAndEmail */ + char *retrievedDate; /* optional element of type xsd:string */ + unsigned long versionNumber; /* required element of type xsd:unsignedLong */ + std::string *versionDescription; /* optional element of type xsd:string */ + enum ngwt__VersionStatus *versionStatus; /* optional element of type ngwt:VersionStatus */ + unsigned long *life; /* optional element of type xsd:unsignedLong */ + enum ngwt__AgeAction *ageAction; /* optional element of type ngwt:AgeAction */ + unsigned long *fileSize; /* optional element of type xsd:unsignedLong */ + std::string *filename; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 158; } /* = unique id SOAP_TYPE_ngwt__Version */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Version() { } + virtual ~ngwt__Version() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__VersionEvent +#define SOAP_TYPE_ngwt__VersionEvent (159) +/* ngwt:VersionEvent */ +class SOAP_CMAC ngwt__VersionEvent : public ngwt__ContainerItem +{ +public: + ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */ + unsigned long documentNumber; /* required element of type xsd:unsignedLong */ + unsigned long versionNumber; /* required element of type xsd:unsignedLong */ + ngwt__NameAndEmail *creator; /* optional element of type ngwt:NameAndEmail */ + enum ngwt__VersionEventType event; /* required element of type ngwt:VersionEventType */ + unsigned long *eventNumber; /* optional element of type xsd:unsignedLong */ + std::string *filename; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 159; } /* = unique id SOAP_TYPE_ngwt__VersionEvent */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__VersionEvent() { } + virtual ~ngwt__VersionEvent() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Contact +#define SOAP_TYPE_ngwt__Contact (41) +/* ngwt:Contact */ +class SOAP_CMAC ngwt__Contact : public ngwt__AddressBookItem +{ +public: + ngwt__FullName *fullName; /* optional element of type ngwt:FullName */ + ngwt__EmailAddressList *emailList; /* optional element of type ngwt:EmailAddressList */ + ngwt__ImAddressList *imList; /* optional element of type ngwt:ImAddressList */ + ngwt__PhoneList *phoneList; /* optional element of type ngwt:PhoneList */ + ngwt__PostalAddressList *addressList; /* optional element of type ngwt:PostalAddressList */ + ngwt__OfficeInfo *officeInfo; /* optional element of type ngwt:OfficeInfo */ + ngwt__PersonalInfo *personalInfo; /* optional element of type ngwt:PersonalInfo */ + ngwt__ReferenceInfo *referenceInfo; /* optional element of type ngwt:ReferenceInfo */ +public: + virtual int soap_type() const { return 41; } /* = unique id SOAP_TYPE_ngwt__Contact */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Contact() { } + virtual ~ngwt__Contact() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__ContactFolder +#define SOAP_TYPE_ngwt__ContactFolder (42) +/* ngwt:ContactFolder */ +class SOAP_CMAC ngwt__ContactFolder : public ngwt__SystemFolder +{ +public: + std::string *addressBook; /* optional element of type ngwt:uid */ +public: + virtual int soap_type() const { return 42; } /* = unique id SOAP_TYPE_ngwt__ContactFolder */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__ContactFolder() { } + virtual ~ngwt__ContactFolder() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Group +#define SOAP_TYPE_ngwt__Group (77) +/* ngwt:Group */ +class SOAP_CMAC ngwt__Group : public ngwt__AddressBookItem +{ +public: + ngwt__GroupMemberList *members; /* optional element of type ngwt:GroupMemberList */ +public: + virtual int soap_type() const { return 77; } /* = unique id SOAP_TYPE_ngwt__Group */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Group() { } + virtual ~ngwt__Group() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Mail +#define SOAP_TYPE_ngwt__Mail (96) +/* ngwt:Mail */ +class SOAP_CMAC ngwt__Mail : public ngwt__BoxEntry +{ +public: + std::string *subject; /* optional element of type xsd:string */ + std::string *originalSubject; /* optional element of type xsd:string */ + std::string *subjectPrefix; /* optional element of type xsd:string */ + ngwt__Distribution *distribution; /* optional element of type ngwt:Distribution */ + ngwt__MessageBody *message; /* optional element of type ngwt:MessageBody */ + ngwt__AttachmentInfo *attachments; /* optional element of type ngwt:AttachmentInfo */ + ngwt__ItemOptions *options; /* optional element of type ngwt:ItemOptions */ + ngwt__LinkInfo *link; /* optional element of type ngwt:LinkInfo */ + bool hasAttachment; /* optional element of type xsd:boolean */ + int size; /* optional element of type xsd:int */ + std::string *subType; /* optional element of type xsd:string */ + bool *nntpOrImap; /* optional element of type xsd:boolean */ + ngwt__SMimeOperation *smimeType; /* optional element of type ngwt:SMimeOperation */ +public: + virtual int soap_type() const { return 96; } /* = unique id SOAP_TYPE_ngwt__Mail */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Mail() { } + virtual ~ngwt__Mail() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Organization +#define SOAP_TYPE_ngwt__Organization (104) +/* ngwt:Organization */ +class SOAP_CMAC ngwt__Organization : public ngwt__AddressBookItem +{ +public: + ngwt__ItemRef *contact; /* optional element of type ngwt:ItemRef */ + std::string *phone; /* optional element of type xsd:string */ + std::string *fax; /* optional element of type xsd:string */ + ngwt__PostalAddress *address; /* optional element of type ngwt:PostalAddress */ + std::string *website; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 104; } /* = unique id SOAP_TYPE_ngwt__Organization */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Organization() { } + virtual ~ngwt__Organization() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Resource +#define SOAP_TYPE_ngwt__Resource (127) +/* ngwt:Resource */ +class SOAP_CMAC ngwt__Resource : public ngwt__AddressBookItem +{ +public: + std::string *phone; /* optional element of type xsd:string */ + std::string *resourceType; /* optional element of type xsd:string */ + std::string *email; /* optional element of type xsd:string */ + ngwt__ItemRef *owner; /* optional element of type ngwt:ItemRef */ +public: + virtual int soap_type() const { return 127; } /* = unique id SOAP_TYPE_ngwt__Resource */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Resource() { } + virtual ~ngwt__Resource() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__CalendarItem +#define SOAP_TYPE_ngwt__CalendarItem (36) +/* ngwt:CalendarItem */ +class SOAP_CMAC ngwt__CalendarItem : public ngwt__Mail +{ +public: + ngwt__RecurrenceDateType *rdate; /* optional element of type ngwt:RecurrenceDateType */ + ngwt__RecurrenceRule *rrule; /* optional element of type ngwt:RecurrenceRule */ + ngwt__RecurrenceDateType *exdate; /* optional element of type ngwt:RecurrenceDateType */ + unsigned long *recurrenceKey; /* optional element of type xsd:unsignedLong */ + std::string *iCalId; /* optional element of type xsd:string */ +public: + virtual int soap_type() const { return 36; } /* = unique id SOAP_TYPE_ngwt__CalendarItem */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__CalendarItem() { } + virtual ~ngwt__CalendarItem() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__DocumentRef +#define SOAP_TYPE_ngwt__DocumentRef (57) +/* ngwt:DocumentRef */ +class SOAP_CMAC ngwt__DocumentRef : public ngwt__Mail +{ +public: + ngwt__NameAndEmail *library; /* optional element of type ngwt:NameAndEmail */ + unsigned long *documentNumber; /* optional element of type xsd:unsignedLong */ + std::string *filename; /* optional element of type xsd:string */ + std::string *documentTypeName; /* optional element of type xsd:string */ + ngwt__NameAndEmail *author; /* optional element of type ngwt:NameAndEmail */ + ngwt__NameAndEmail *creator; /* optional element of type ngwt:NameAndEmail */ + unsigned long *officialVersion; /* optional element of type xsd:unsignedLong */ + unsigned long *currentVersion; /* optional element of type xsd:unsignedLong */ + unsigned long *versionNumber; /* optional element of type xsd:unsignedLong */ + char *versionDescription; /* optional element of type xsd:anyType */ + unsigned long *fileSize; /* optional element of type xsd:unsignedLong */ + ngwt__AccessControlList *acl; /* optional element of type ngwt:AccessControlList */ +public: + virtual int soap_type() const { return 57; } /* = unique id SOAP_TYPE_ngwt__DocumentRef */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__DocumentRef() { } + virtual ~ngwt__DocumentRef() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__PhoneMessage +#define SOAP_TYPE_ngwt__PhoneMessage (108) +/* ngwt:PhoneMessage */ +class SOAP_CMAC ngwt__PhoneMessage : public ngwt__Mail +{ +public: + std::string *caller; /* optional element of type xsd:string */ + std::string *company; /* optional element of type xsd:string */ + std::string *phone; /* optional element of type xsd:string */ + ngwt__PhoneFlags *flags; /* optional element of type ngwt:PhoneFlags */ +public: + virtual int soap_type() const { return 108; } /* = unique id SOAP_TYPE_ngwt__PhoneMessage */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__PhoneMessage() { } + virtual ~ngwt__PhoneMessage() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__SharedNotification +#define SOAP_TYPE_ngwt__SharedNotification (142) +/* ngwt:SharedNotification */ +class SOAP_CMAC ngwt__SharedNotification : public ngwt__Mail +{ +public: + enum ngwt__NotificationType notification; /* required element of type ngwt:NotificationType */ + std::string *description; /* optional element of type xsd:string */ + ngwt__Rights *rights; /* optional element of type ngwt:Rights */ +public: + virtual int soap_type() const { return 142; } /* = unique id SOAP_TYPE_ngwt__SharedNotification */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__SharedNotification() { } + virtual ~ngwt__SharedNotification() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Appointment +#define SOAP_TYPE_ngwt__Appointment (29) +/* ngwt:Appointment */ +class SOAP_CMAC ngwt__Appointment : public ngwt__CalendarItem +{ +public: + char *startDate; /* optional element of type xsd:string */ + char *endDate; /* optional element of type xsd:string */ + std::string *startDay; /* optional element of type xsd:date */ + std::string *endDay; /* optional element of type xsd:date */ + enum ngwt__AcceptLevel *acceptLevel; /* optional element of type ngwt:AcceptLevel */ + ngwt__Alarm *alarm; /* optional element of type ngwt:Alarm */ + bool *allDayEvent; /* optional element of type xsd:boolean */ + std::string *place; /* optional element of type xsd:string */ + ngwt__Timezone *timezone; /* optional element of type ngwt:Timezone */ +public: + virtual int soap_type() const { return 29; } /* = unique id SOAP_TYPE_ngwt__Appointment */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Appointment() { } + virtual ~ngwt__Appointment() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Note +#define SOAP_TYPE_ngwt__Note (102) +/* ngwt:Note */ +class SOAP_CMAC ngwt__Note : public ngwt__CalendarItem +{ +public: + std::string *startDate; /* optional element of type xsd:date */ +public: + virtual int soap_type() const { return 102; } /* = unique id SOAP_TYPE_ngwt__Note */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Note() { } + virtual ~ngwt__Note() { } +}; +#endif + +#ifndef SOAP_TYPE_ngwt__Task +#define SOAP_TYPE_ngwt__Task (150) +/* ngwt:Task */ +class SOAP_CMAC ngwt__Task : public ngwt__CalendarItem +{ +public: + std::string *startDate; /* optional element of type xsd:date */ + std::string *dueDate; /* optional element of type xsd:date */ + std::string *assignedDate; /* optional element of type xsd:date */ + std::string *taskPriority; /* optional element of type xsd:string */ + bool *completed; /* optional element of type xsd:boolean */ +public: + virtual int soap_type() const { return 150; } /* = unique id SOAP_TYPE_ngwt__Task */ + virtual void soap_default(struct soap*); + virtual void soap_serialize(struct soap*) const; + virtual int soap_put(struct soap*, const char*, const char*) const; + virtual int soap_out(struct soap*, const char*, int, const char*) const; + virtual void *soap_get(struct soap*, const char*, const char*); + virtual void *soap_in(struct soap*, const char*, const char*); + ngwt__Task() { } + virtual ~ngwt__Task() { } +}; +#endif + +#ifndef SOAP_TYPE_SOAP_ENV__Header +#define SOAP_TYPE_SOAP_ENV__Header (602) +/* SOAP Header: */ +struct SOAP_ENV__Header +{ + bool ngwt__gwTrace; /* required element of type xsd:boolean */ + std::string ngwt__session; /* required element of type xsd:string */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__acceptRequest +#define SOAP_TYPE___ngw__acceptRequest (606) +/* Operation wrapper: */ +struct __ngw__acceptRequest +{ + _ngwm__acceptRequest *ngwm__acceptRequest; /* optional element of type ngwm:acceptRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__acceptShareRequest +#define SOAP_TYPE___ngw__acceptShareRequest (610) +/* Operation wrapper: */ +struct __ngw__acceptShareRequest +{ + _ngwm__acceptShareRequest *ngwm__acceptShareRequest; /* optional element of type ngwm:acceptShareRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__addItemRequest +#define SOAP_TYPE___ngw__addItemRequest (614) +/* Operation wrapper: */ +struct __ngw__addItemRequest +{ + _ngwm__addItemRequest *ngwm__addItemRequest; /* optional element of type ngwm:addItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__addItemsRequest +#define SOAP_TYPE___ngw__addItemsRequest (618) +/* Operation wrapper: */ +struct __ngw__addItemsRequest +{ + _ngwm__addItemsRequest *ngwm__addItemsRequest; /* optional element of type ngwm:addItemsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__addMembersRequest +#define SOAP_TYPE___ngw__addMembersRequest (622) +/* Operation wrapper: */ +struct __ngw__addMembersRequest +{ + _ngwm__addMembersRequest *ngwm__addMembersRequest; /* optional element of type ngwm:addMembersRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__closeFreeBusySessionRequest +#define SOAP_TYPE___ngw__closeFreeBusySessionRequest (626) +/* Operation wrapper: */ +struct __ngw__closeFreeBusySessionRequest +{ + _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest; /* optional element of type ngwm:closeFreeBusySessionRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__completeRequest +#define SOAP_TYPE___ngw__completeRequest (630) +/* Operation wrapper: */ +struct __ngw__completeRequest +{ + _ngwm__completeRequest *ngwm__completeRequest; /* optional element of type ngwm:completeRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__createCursorRequest +#define SOAP_TYPE___ngw__createCursorRequest (634) +/* Operation wrapper: */ +struct __ngw__createCursorRequest +{ + _ngwm__createCursorRequest *ngwm__createCursorRequest; /* optional element of type ngwm:createCursorRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__createItemRequest +#define SOAP_TYPE___ngw__createItemRequest (638) +/* Operation wrapper: */ +struct __ngw__createItemRequest +{ + _ngwm__createItemRequest *ngwm__createItemRequest; /* optional element of type ngwm:createItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__createItemsRequest +#define SOAP_TYPE___ngw__createItemsRequest (642) +/* Operation wrapper: */ +struct __ngw__createItemsRequest +{ + _ngwm__createItemsRequest *ngwm__createItemsRequest; /* optional element of type ngwm:createItemsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__createJunkEntryRequest +#define SOAP_TYPE___ngw__createJunkEntryRequest (646) +/* Operation wrapper: */ +struct __ngw__createJunkEntryRequest +{ + _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest; /* optional element of type ngwm:createJunkEntryRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__createProxyAccessRequest +#define SOAP_TYPE___ngw__createProxyAccessRequest (650) +/* Operation wrapper: */ +struct __ngw__createProxyAccessRequest +{ + _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest; /* optional element of type ngwm:createProxyAccessRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__createSignatureRequest +#define SOAP_TYPE___ngw__createSignatureRequest (654) +/* Operation wrapper: */ +struct __ngw__createSignatureRequest +{ + _ngwm__createSignatureRequest *ngwm__createSignatureRequest; /* optional element of type ngwm:createSignatureRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__declineRequest +#define SOAP_TYPE___ngw__declineRequest (658) +/* Operation wrapper: */ +struct __ngw__declineRequest +{ + _ngwm__declineRequest *ngwm__declineRequest; /* optional element of type ngwm:declineRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__delegateRequest +#define SOAP_TYPE___ngw__delegateRequest (662) +/* Operation wrapper: */ +struct __ngw__delegateRequest +{ + _ngwm__delegateRequest *ngwm__delegateRequest; /* optional element of type ngwm:delegateRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__destroyCursorRequest +#define SOAP_TYPE___ngw__destroyCursorRequest (666) +/* Operation wrapper: */ +struct __ngw__destroyCursorRequest +{ + _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest; /* optional element of type ngwm:destroyCursorRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__executeRuleRequest +#define SOAP_TYPE___ngw__executeRuleRequest (670) +/* Operation wrapper: */ +struct __ngw__executeRuleRequest +{ + _ngwm__executeRuleRequest *ngwm__executeRuleRequest; /* optional element of type ngwm:executeRuleRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__forwardRequest +#define SOAP_TYPE___ngw__forwardRequest (674) +/* Operation wrapper: */ +struct __ngw__forwardRequest +{ + _ngwm__forwardRequest *ngwm__forwardRequest; /* optional element of type ngwm:forwardRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getAddressBookListRequest +#define SOAP_TYPE___ngw__getAddressBookListRequest (678) +/* Operation wrapper: */ +struct __ngw__getAddressBookListRequest +{ + _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest; /* optional element of type ngwm:getAddressBookListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getAttachmentRequestMessage +#define SOAP_TYPE___ngw__getAttachmentRequestMessage (682) +/* Operation wrapper: */ +struct __ngw__getAttachmentRequestMessage +{ + _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest; /* optional element of type ngwm:getAttachmentRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getCategoryListRequest +#define SOAP_TYPE___ngw__getCategoryListRequest (686) +/* Operation wrapper: */ +struct __ngw__getCategoryListRequest +{ + _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest; /* optional element of type ngwm:getCategoryListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getCustomListRequest +#define SOAP_TYPE___ngw__getCustomListRequest (690) +/* Operation wrapper: */ +struct __ngw__getCustomListRequest +{ + _ngwm__getCustomListRequest *ngwm__getCustomListRequest; /* optional element of type ngwm:getCustomListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getDeltasRequest +#define SOAP_TYPE___ngw__getDeltasRequest (694) +/* Operation wrapper: */ +struct __ngw__getDeltasRequest +{ + _ngwm__getDeltasRequest *ngwm__getDeltasRequest; /* optional element of type ngwm:getDeltasRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getDeltaInfoRequest +#define SOAP_TYPE___ngw__getDeltaInfoRequest (698) +/* Operation wrapper: */ +struct __ngw__getDeltaInfoRequest +{ + _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest; /* optional element of type ngwm:getDeltaInfoRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getDocumentTypeListRequest +#define SOAP_TYPE___ngw__getDocumentTypeListRequest (702) +/* Operation wrapper: */ +struct __ngw__getDocumentTypeListRequest +{ + _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest; /* optional element of type ngwm:getDocumentTypeListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getFolderRequest +#define SOAP_TYPE___ngw__getFolderRequest (706) +/* Operation wrapper: */ +struct __ngw__getFolderRequest +{ + _ngwm__getFolderRequest *ngwm__getFolderRequest; /* optional element of type ngwm:getFolderRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getFolderListRequest +#define SOAP_TYPE___ngw__getFolderListRequest (710) +/* Operation wrapper: */ +struct __ngw__getFolderListRequest +{ + _ngwm__getFolderListRequest *ngwm__getFolderListRequest; /* optional element of type ngwm:getFolderListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getFreeBusyRequest +#define SOAP_TYPE___ngw__getFreeBusyRequest (714) +/* Operation wrapper: */ +struct __ngw__getFreeBusyRequest +{ + _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest; /* optional element of type ngwm:getFreeBusyRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getItemRequest +#define SOAP_TYPE___ngw__getItemRequest (718) +/* Operation wrapper: */ +struct __ngw__getItemRequest +{ + _ngwm__getItemRequest *ngwm__getItemRequest; /* optional element of type ngwm:getItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getItemsRequest +#define SOAP_TYPE___ngw__getItemsRequest (722) +/* Operation wrapper: */ +struct __ngw__getItemsRequest +{ + _ngwm__getItemsRequest *ngwm__getItemsRequest; /* optional element of type ngwm:getItemsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getJunkEntriesRequest +#define SOAP_TYPE___ngw__getJunkEntriesRequest (726) +/* Operation wrapper: */ +struct __ngw__getJunkEntriesRequest +{ + _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest; /* optional element of type ngwm:getJunkEntriesRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getJunkMailSettingsRequest +#define SOAP_TYPE___ngw__getJunkMailSettingsRequest (730) +/* Operation wrapper: */ +struct __ngw__getJunkMailSettingsRequest +{ + _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest; /* optional element of type ngwm:getJunkMailSettingsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getLibraryItemRequest +#define SOAP_TYPE___ngw__getLibraryItemRequest (734) +/* Operation wrapper: */ +struct __ngw__getLibraryItemRequest +{ + _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest; /* optional element of type ngwm:getLibraryItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getLibraryListRequest +#define SOAP_TYPE___ngw__getLibraryListRequest (738) +/* Operation wrapper: */ +struct __ngw__getLibraryListRequest +{ + _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest; /* optional element of type ngwm:getLibraryListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getQuickMessagesRequest +#define SOAP_TYPE___ngw__getQuickMessagesRequest (742) +/* Operation wrapper: */ +struct __ngw__getQuickMessagesRequest +{ + _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest; /* optional element of type ngwm:getQuickMessagesRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getProxyAccessListRequest +#define SOAP_TYPE___ngw__getProxyAccessListRequest (746) +/* Operation wrapper: */ +struct __ngw__getProxyAccessListRequest +{ + _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest; /* optional element of type ngwm:getProxyAccessListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getProxyListRequest +#define SOAP_TYPE___ngw__getProxyListRequest (750) +/* Operation wrapper: */ +struct __ngw__getProxyListRequest +{ + _ngwm__getProxyListRequest *ngwm__getProxyListRequest; /* optional element of type ngwm:getProxyListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getRuleListRequest +#define SOAP_TYPE___ngw__getRuleListRequest (754) +/* Operation wrapper: */ +struct __ngw__getRuleListRequest +{ + _ngwm__getRuleListRequest *ngwm__getRuleListRequest; /* optional element of type ngwm:getRuleListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getSettingsRequest +#define SOAP_TYPE___ngw__getSettingsRequest (758) +/* Operation wrapper: */ +struct __ngw__getSettingsRequest +{ + _ngwm__getSettingsRequest *ngwm__getSettingsRequest; /* optional element of type ngwm:getSettingsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getSignaturesRequest +#define SOAP_TYPE___ngw__getSignaturesRequest (762) +/* Operation wrapper: */ +struct __ngw__getSignaturesRequest +{ + _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest; /* optional element of type ngwm:getSignaturesRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getTimestampRequest +#define SOAP_TYPE___ngw__getTimestampRequest (766) +/* Operation wrapper: */ +struct __ngw__getTimestampRequest +{ + _ngwm__getTimestampRequest *ngwm__getTimestampRequest; /* optional element of type ngwm:getTimestampRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getTimezoneListRequest +#define SOAP_TYPE___ngw__getTimezoneListRequest (770) +/* Operation wrapper: */ +struct __ngw__getTimezoneListRequest +{ + _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest; /* optional element of type ngwm:getTimezoneListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getUserListRequest +#define SOAP_TYPE___ngw__getUserListRequest (774) +/* Operation wrapper: */ +struct __ngw__getUserListRequest +{ + _ngwm__getUserListRequest *ngwm__getUserListRequest; /* optional element of type ngwm:getUserListRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__loginRequest +#define SOAP_TYPE___ngw__loginRequest (778) +/* Operation wrapper: */ +struct __ngw__loginRequest +{ + _ngwm__loginRequest *ngwm__loginRequest; /* optional element of type ngwm:loginRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__logoutRequest +#define SOAP_TYPE___ngw__logoutRequest (782) +/* Operation wrapper: */ +struct __ngw__logoutRequest +{ + _ngwm__logoutRequest *ngwm__logoutRequest; /* optional element of type ngwm:logoutRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__markPrivateRequest +#define SOAP_TYPE___ngw__markPrivateRequest (786) +/* Operation wrapper: */ +struct __ngw__markPrivateRequest +{ + _ngwm__markPrivateRequest *ngwm__markPrivateRequest; /* optional element of type ngwm:markPrivateRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__markReadRequest +#define SOAP_TYPE___ngw__markReadRequest (790) +/* Operation wrapper: */ +struct __ngw__markReadRequest +{ + _ngwm__markReadRequest *ngwm__markReadRequest; /* optional element of type ngwm:markReadRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__markUnPrivateRequest +#define SOAP_TYPE___ngw__markUnPrivateRequest (794) +/* Operation wrapper: */ +struct __ngw__markUnPrivateRequest +{ + _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest; /* optional element of type ngwm:markUnPrivateRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__markUnReadRequest +#define SOAP_TYPE___ngw__markUnReadRequest (798) +/* Operation wrapper: */ +struct __ngw__markUnReadRequest +{ + _ngwm__markUnReadRequest *ngwm__markUnReadRequest; /* optional element of type ngwm:markUnReadRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifyItemRequest +#define SOAP_TYPE___ngw__modifyItemRequest (802) +/* Operation wrapper: */ +struct __ngw__modifyItemRequest +{ + _ngwm__modifyItemRequest *ngwm__modifyItemRequest; /* optional element of type ngwm:modifyItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifyJunkEntryRequest +#define SOAP_TYPE___ngw__modifyJunkEntryRequest (806) +/* Operation wrapper: */ +struct __ngw__modifyJunkEntryRequest +{ + _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest; /* optional element of type ngwm:modifyJunkEntryRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifyJunkMailSettingsRequest +#define SOAP_TYPE___ngw__modifyJunkMailSettingsRequest (810) +/* Operation wrapper: */ +struct __ngw__modifyJunkMailSettingsRequest +{ + _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest; /* optional element of type ngwm:modifyJunkMailSettingsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifyPasswordRequest +#define SOAP_TYPE___ngw__modifyPasswordRequest (814) +/* Operation wrapper: */ +struct __ngw__modifyPasswordRequest +{ + _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest; /* optional element of type ngwm:modifyPasswordRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifyProxyAccessRequest +#define SOAP_TYPE___ngw__modifyProxyAccessRequest (818) +/* Operation wrapper: */ +struct __ngw__modifyProxyAccessRequest +{ + _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest; /* optional element of type ngwm:modifyProxyAccessRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifySettingsRequest +#define SOAP_TYPE___ngw__modifySettingsRequest (822) +/* Operation wrapper: */ +struct __ngw__modifySettingsRequest +{ + _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest; /* optional element of type ngwm:modifySettingsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__modifySignaturesRequest +#define SOAP_TYPE___ngw__modifySignaturesRequest (826) +/* Operation wrapper: */ +struct __ngw__modifySignaturesRequest +{ + _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest; /* optional element of type ngwm:modifySignaturesRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__moveItemRequest +#define SOAP_TYPE___ngw__moveItemRequest (830) +/* Operation wrapper: */ +struct __ngw__moveItemRequest +{ + _ngwm__moveItemRequest *ngwm__moveItemRequest; /* optional element of type ngwm:moveItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__positionCursorRequest +#define SOAP_TYPE___ngw__positionCursorRequest (834) +/* Operation wrapper: */ +struct __ngw__positionCursorRequest +{ + _ngwm__positionCursorRequest *ngwm__positionCursorRequest; /* optional element of type ngwm:positionCursorRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__purgeDeletedItemsRequest +#define SOAP_TYPE___ngw__purgeDeletedItemsRequest (838) +/* Operation wrapper: */ +struct __ngw__purgeDeletedItemsRequest +{ + _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest; /* optional element of type ngwm:purgeDeletedItemsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__purgeRequest +#define SOAP_TYPE___ngw__purgeRequest (842) +/* Operation wrapper: */ +struct __ngw__purgeRequest +{ + _ngwm__purgeRequest *ngwm__purgeRequest; /* optional element of type ngwm:purgeRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__readCursorRequest +#define SOAP_TYPE___ngw__readCursorRequest (846) +/* Operation wrapper: */ +struct __ngw__readCursorRequest +{ + _ngwm__readCursorRequest *ngwm__readCursorRequest; /* optional element of type ngwm:readCursorRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeCustomDefinitionRequest +#define SOAP_TYPE___ngw__removeCustomDefinitionRequest (850) +/* Operation wrapper: */ +struct __ngw__removeCustomDefinitionRequest +{ + _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest; /* optional element of type ngwm:removeCustomDefinitionRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeItemRequest +#define SOAP_TYPE___ngw__removeItemRequest (854) +/* Operation wrapper: */ +struct __ngw__removeItemRequest +{ + _ngwm__removeItemRequest *ngwm__removeItemRequest; /* optional element of type ngwm:removeItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeItemsRequest +#define SOAP_TYPE___ngw__removeItemsRequest (858) +/* Operation wrapper: */ +struct __ngw__removeItemsRequest +{ + _ngwm__removeItemsRequest *ngwm__removeItemsRequest; /* optional element of type ngwm:removeItemsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeJunkEntryRequest +#define SOAP_TYPE___ngw__removeJunkEntryRequest (862) +/* Operation wrapper: */ +struct __ngw__removeJunkEntryRequest +{ + _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest; /* optional element of type ngwm:removeJunkEntryRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeMembersRequest +#define SOAP_TYPE___ngw__removeMembersRequest (866) +/* Operation wrapper: */ +struct __ngw__removeMembersRequest +{ + _ngwm__removeMembersRequest *ngwm__removeMembersRequest; /* optional element of type ngwm:removeMembersRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeProxyAccessRequest +#define SOAP_TYPE___ngw__removeProxyAccessRequest (870) +/* Operation wrapper: */ +struct __ngw__removeProxyAccessRequest +{ + _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest; /* optional element of type ngwm:removeProxyAccessRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeProxyUserRequest +#define SOAP_TYPE___ngw__removeProxyUserRequest (874) +/* Operation wrapper: */ +struct __ngw__removeProxyUserRequest +{ + _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest; /* optional element of type ngwm:removeProxyUserRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeSignatureRequest +#define SOAP_TYPE___ngw__removeSignatureRequest (878) +/* Operation wrapper: */ +struct __ngw__removeSignatureRequest +{ + _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest; /* optional element of type ngwm:removeSignatureRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__replyRequest +#define SOAP_TYPE___ngw__replyRequest (882) +/* Operation wrapper: */ +struct __ngw__replyRequest +{ + _ngwm__replyRequest *ngwm__replyRequest; /* optional element of type ngwm:replyRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__retractRequest +#define SOAP_TYPE___ngw__retractRequest (886) +/* Operation wrapper: */ +struct __ngw__retractRequest +{ + _ngwm__retractRequest *ngwm__retractRequest; /* optional element of type ngwm:retractRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__sendItemRequest +#define SOAP_TYPE___ngw__sendItemRequest (890) +/* Operation wrapper: */ +struct __ngw__sendItemRequest +{ + _ngwm__sendItemRequest *ngwm__sendItemRequest; /* optional element of type ngwm:sendItemRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__setTimestampRequest +#define SOAP_TYPE___ngw__setTimestampRequest (894) +/* Operation wrapper: */ +struct __ngw__setTimestampRequest +{ + _ngwm__setTimestampRequest *ngwm__setTimestampRequest; /* optional element of type ngwm:setTimestampRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__startFreeBusySessionRequest +#define SOAP_TYPE___ngw__startFreeBusySessionRequest (898) +/* Operation wrapper: */ +struct __ngw__startFreeBusySessionRequest +{ + _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest; /* optional element of type ngwm:startFreeBusySessionRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__unacceptRequest +#define SOAP_TYPE___ngw__unacceptRequest (902) +/* Operation wrapper: */ +struct __ngw__unacceptRequest +{ + _ngwm__unacceptRequest *ngwm__unacceptRequest; /* optional element of type ngwm:unacceptRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__uncompleteRequest +#define SOAP_TYPE___ngw__uncompleteRequest (906) +/* Operation wrapper: */ +struct __ngw__uncompleteRequest +{ + _ngwm__uncompleteRequest *ngwm__uncompleteRequest; /* optional element of type ngwm:uncompleteRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__updateVersionStatusRequest +#define SOAP_TYPE___ngw__updateVersionStatusRequest (910) +/* Operation wrapper: */ +struct __ngw__updateVersionStatusRequest +{ + _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest; /* optional element of type ngwm:updateVersionStatusRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__cleanEventConfigurationRequest +#define SOAP_TYPE___ngw__cleanEventConfigurationRequest (914) +/* Operation wrapper: */ +struct __ngw__cleanEventConfigurationRequest +{ + _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest; /* optional element of type ngwe:cleanEventConfigurationRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__configureEventsRequest +#define SOAP_TYPE___ngw__configureEventsRequest (918) +/* Operation wrapper: */ +struct __ngw__configureEventsRequest +{ + _ngwe__configureEventsRequest *ngwe__configureEventsRequest; /* optional element of type ngwe:configureEventsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getEventConfigurationRequest +#define SOAP_TYPE___ngw__getEventConfigurationRequest (922) +/* Operation wrapper: */ +struct __ngw__getEventConfigurationRequest +{ + _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest; /* optional element of type ngwe:getEventConfigurationRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__getEventsRequest +#define SOAP_TYPE___ngw__getEventsRequest (926) +/* Operation wrapper: */ +struct __ngw__getEventsRequest +{ + _ngwe__getEventsRequest *ngwe__getEventsRequest; /* optional element of type ngwe:getEventsRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeEventConfigurationRequest +#define SOAP_TYPE___ngw__removeEventConfigurationRequest (930) +/* Operation wrapper: */ +struct __ngw__removeEventConfigurationRequest +{ + _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest; /* optional element of type ngwe:removeEventConfigurationRequest */ +}; +#endif + +#ifndef SOAP_TYPE___ngw__removeEventsRequest +#define SOAP_TYPE___ngw__removeEventsRequest (934) +/* Operation wrapper: */ +struct __ngw__removeEventsRequest +{ + _ngwe__removeEventsRequest *ngwe__removeEventsRequest; /* optional element of type ngwe:removeEventsRequest */ +}; +#endif + +#ifndef SOAP_TYPE_SOAP_ENV__Code +#define SOAP_TYPE_SOAP_ENV__Code (935) +/* SOAP Fault Code: */ +struct SOAP_ENV__Code +{ + char *SOAP_ENV__Value; /* optional element of type QName */ + struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */ +}; +#endif + +#ifndef SOAP_TYPE_SOAP_ENV__Detail +#define SOAP_TYPE_SOAP_ENV__Detail (937) +/* SOAP-ENV:Detail */ +struct SOAP_ENV__Detail +{ + int __type; /* any type of element (defined below) */ + void *fault; /* transient */ + char *__any; +}; +#endif + +#ifndef SOAP_TYPE_SOAP_ENV__Fault +#define SOAP_TYPE_SOAP_ENV__Fault (940) +/* SOAP Fault: */ +struct SOAP_ENV__Fault +{ + char *faultcode; /* optional element of type QName */ + char *faultstring; /* optional element of type xsd:string */ + char *faultactor; /* optional element of type xsd:string */ + struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */ + struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */ + char *SOAP_ENV__Reason; /* optional element of type xsd:string */ + char *SOAP_ENV__Node; /* optional element of type xsd:string */ + char *SOAP_ENV__Role; /* optional element of type xsd:string */ + struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */ +}; +#endif + +/******************************************************************************\ + * * + * Types with Custom Serializers * + * * +\******************************************************************************/ + + +/******************************************************************************\ + * * + * Typedefs * + * * +\******************************************************************************/ + +#ifndef SOAP_TYPE__XML +#define SOAP_TYPE__XML (4) +typedef char *_XML; +#endif + +#ifndef SOAP_TYPE__QName +#define SOAP_TYPE__QName (5) +typedef char *_QName; +#endif + +#ifndef SOAP_TYPE_xsd__date +#define SOAP_TYPE_xsd__date (14) +typedef std::string xsd__date; +#endif + +#ifndef SOAP_TYPE_xsd__decimal +#define SOAP_TYPE_xsd__decimal (15) +typedef std::string xsd__decimal; +#endif + +#ifndef SOAP_TYPE_xsd__duration +#define SOAP_TYPE_xsd__duration (16) +typedef std::string xsd__duration; +#endif + +#ifndef SOAP_TYPE_xsd__language +#define SOAP_TYPE_xsd__language (17) +typedef std::string xsd__language; +#endif + +#ifndef SOAP_TYPE_ngwt__View +#define SOAP_TYPE_ngwt__View (338) +typedef std::string ngwt__View; +#endif + +#ifndef SOAP_TYPE_ngwt__Day +#define SOAP_TYPE_ngwt__Day (349) +typedef unsigned char ngwt__Day; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfMonth +#define SOAP_TYPE_ngwt__DayOfMonth (350) +typedef char ngwt__DayOfMonth; +#endif + +#ifndef SOAP_TYPE_ngwt__DayOfYear +#define SOAP_TYPE_ngwt__DayOfYear (352) +typedef short ngwt__DayOfYear; +#endif + +#ifndef SOAP_TYPE_ngwt__GMTOffset +#define SOAP_TYPE_ngwt__GMTOffset (361) +typedef int ngwt__GMTOffset; +#endif + +#ifndef SOAP_TYPE_ngwt__Hour +#define SOAP_TYPE_ngwt__Hour (362) +typedef unsigned char ngwt__Hour; +#endif + +#ifndef SOAP_TYPE_ngwt__Minute +#define SOAP_TYPE_ngwt__Minute (372) +typedef unsigned char ngwt__Minute; +#endif + +#ifndef SOAP_TYPE_ngwt__Month +#define SOAP_TYPE_ngwt__Month (373) +typedef unsigned char ngwt__Month; +#endif + +#ifndef SOAP_TYPE_ngwt__uid +#define SOAP_TYPE_ngwt__uid (382) +typedef std::string ngwt__uid; +#endif + +#ifndef SOAP_TYPE_ngwt__UUID +#define SOAP_TYPE_ngwt__UUID (383) +typedef std::string ngwt__UUID; +#endif + +#ifndef SOAP_TYPE_ngwt__WeekOfYear +#define SOAP_TYPE_ngwt__WeekOfYear (387) +typedef short ngwt__WeekOfYear; +#endif + + +/******************************************************************************\ + * * + * Externals * + * * +\******************************************************************************/ + + +/******************************************************************************\ + * * + * Service Operations * + * * +\******************************************************************************/ + + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__acceptRequest(struct soap*, _ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__acceptShareRequest(struct soap*, _ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__addItemRequest(struct soap*, _ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__addItemsRequest(struct soap*, _ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__addMembersRequest(struct soap*, _ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__closeFreeBusySessionRequest(struct soap*, _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__completeRequest(struct soap*, _ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__createCursorRequest(struct soap*, _ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__createItemRequest(struct soap*, _ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__createItemsRequest(struct soap*, _ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__createJunkEntryRequest(struct soap*, _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__createProxyAccessRequest(struct soap*, _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__createSignatureRequest(struct soap*, _ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__declineRequest(struct soap*, _ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__delegateRequest(struct soap*, _ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__destroyCursorRequest(struct soap*, _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__executeRuleRequest(struct soap*, _ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__forwardRequest(struct soap*, _ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getAddressBookListRequest(struct soap*, _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getAttachmentRequestMessage(struct soap*, _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getCategoryListRequest(struct soap*, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getCustomListRequest(struct soap*, _ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getDeltasRequest(struct soap*, _ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getDeltaInfoRequest(struct soap*, _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getDocumentTypeListRequest(struct soap*, _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getFolderRequest(struct soap*, _ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getFolderListRequest(struct soap*, _ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getFreeBusyRequest(struct soap*, _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getItemRequest(struct soap*, _ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getItemsRequest(struct soap*, _ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getJunkEntriesRequest(struct soap*, _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getJunkMailSettingsRequest(struct soap*, _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getLibraryItemRequest(struct soap*, _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getLibraryListRequest(struct soap*, _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getQuickMessagesRequest(struct soap*, _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getProxyAccessListRequest(struct soap*, _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getProxyListRequest(struct soap*, _ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getRuleListRequest(struct soap*, _ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getSettingsRequest(struct soap*, _ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getSignaturesRequest(struct soap*, _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getTimestampRequest(struct soap*, _ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getTimezoneListRequest(struct soap*, _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getUserListRequest(struct soap*, _ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__loginRequest(struct soap*, _ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__logoutRequest(struct soap*, _ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__markPrivateRequest(struct soap*, _ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__markReadRequest(struct soap*, _ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__markUnPrivateRequest(struct soap*, _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__markUnReadRequest(struct soap*, _ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyItemRequest(struct soap*, _ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyJunkEntryRequest(struct soap*, _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyJunkMailSettingsRequest(struct soap*, _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyPasswordRequest(struct soap*, _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifyProxyAccessRequest(struct soap*, _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifySettingsRequest(struct soap*, _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__modifySignaturesRequest(struct soap*, _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__moveItemRequest(struct soap*, _ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__positionCursorRequest(struct soap*, _ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__purgeDeletedItemsRequest(struct soap*, _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__purgeRequest(struct soap*, _ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__readCursorRequest(struct soap*, _ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeCustomDefinitionRequest(struct soap*, _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeItemRequest(struct soap*, _ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeItemsRequest(struct soap*, _ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeJunkEntryRequest(struct soap*, _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeMembersRequest(struct soap*, _ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeProxyAccessRequest(struct soap*, _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeProxyUserRequest(struct soap*, _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeSignatureRequest(struct soap*, _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__replyRequest(struct soap*, _ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__retractRequest(struct soap*, _ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__sendItemRequest(struct soap*, _ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__setTimestampRequest(struct soap*, _ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__startFreeBusySessionRequest(struct soap*, _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__unacceptRequest(struct soap*, _ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__uncompleteRequest(struct soap*, _ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__updateVersionStatusRequest(struct soap*, _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__cleanEventConfigurationRequest(struct soap*, _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__configureEventsRequest(struct soap*, _ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getEventConfigurationRequest(struct soap*, _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__getEventsRequest(struct soap*, _ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeEventConfigurationRequest(struct soap*, _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse); + +SOAP_FMAC5 int SOAP_FMAC6 __ngw__removeEventsRequest(struct soap*, _ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse); + +/******************************************************************************\ + * * + * Stubs * + * * +\******************************************************************************/ + + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptRequest *ngwm__acceptRequest, _ngwm__acceptResponse *ngwm__acceptResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__acceptShareRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__acceptShareRequest *ngwm__acceptShareRequest, _ngwm__acceptShareResponse *ngwm__acceptShareResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemRequest *ngwm__addItemRequest, _ngwm__addItemResponse *ngwm__addItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addItemsRequest *ngwm__addItemsRequest, _ngwm__addItemsResponse *ngwm__addItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__addMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__addMembersRequest *ngwm__addMembersRequest, _ngwm__addMembersResponse *ngwm__addMembersResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__closeFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__closeFreeBusySessionRequest *ngwm__closeFreeBusySessionRequest, _ngwm__closeFreeBusySessionResponse *ngwm__closeFreeBusySessionResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__completeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__completeRequest *ngwm__completeRequest, _ngwm__completeResponse *ngwm__completeResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createCursorRequest *ngwm__createCursorRequest, _ngwm__createCursorResponse *ngwm__createCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemRequest *ngwm__createItemRequest, _ngwm__createItemResponse *ngwm__createItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createItemsRequest *ngwm__createItemsRequest, _ngwm__createItemsResponse *ngwm__createItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createJunkEntryRequest *ngwm__createJunkEntryRequest, _ngwm__createJunkEntryResponse *ngwm__createJunkEntryResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createProxyAccessRequest *ngwm__createProxyAccessRequest, _ngwm__createProxyAccessResponse *ngwm__createProxyAccessResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__createSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__createSignatureRequest *ngwm__createSignatureRequest, _ngwm__createSignatureResponse *ngwm__createSignatureResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__declineRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__declineRequest *ngwm__declineRequest, _ngwm__declineResponse *ngwm__declineResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__delegateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__delegateRequest *ngwm__delegateRequest, _ngwm__delegateResponse *ngwm__delegateResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__destroyCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__destroyCursorRequest *ngwm__destroyCursorRequest, _ngwm__destroyCursorResponse *ngwm__destroyCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__executeRuleRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__executeRuleRequest *ngwm__executeRuleRequest, _ngwm__executeRuleResponse *ngwm__executeRuleResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__forwardRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__forwardRequest *ngwm__forwardRequest, _ngwm__forwardResponse *ngwm__forwardResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAddressBookListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAddressBookListRequest *ngwm__getAddressBookListRequest, _ngwm__getAddressBookListResponse *ngwm__getAddressBookListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getAttachmentRequestMessage(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getAttachmentRequest *ngwm__getAttachmentRequest, _ngwm__getAttachmentResponse *ngwm__getAttachmentResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCategoryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCategoryListRequest *ngwm__getCategoryListRequest, _ngwm__getCategoryListResponse *ngwm__getCategoryListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getCustomListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getCustomListRequest *ngwm__getCustomListRequest, _ngwm__getCustomListResponse *ngwm__getCustomListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltasRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltasRequest *ngwm__getDeltasRequest, _ngwm__getDeltasResponse *ngwm__getDeltasResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDeltaInfoRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDeltaInfoRequest *ngwm__getDeltaInfoRequest, _ngwm__getDeltaInfoResponse *ngwm__getDeltaInfoResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getDocumentTypeListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getDocumentTypeListRequest *ngwm__getDocumentTypeListRequest, _ngwm__getDocumentTypeListResponse *ngwm__getDocumentTypeListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderRequest *ngwm__getFolderRequest, _ngwm__getFolderResponse *ngwm__getFolderResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFolderListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFolderListRequest *ngwm__getFolderListRequest, _ngwm__getFolderListResponse *ngwm__getFolderListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getFreeBusyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getFreeBusyRequest *ngwm__getFreeBusyRequest, _ngwm__getFreeBusyResponse *ngwm__getFreeBusyResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemRequest *ngwm__getItemRequest, _ngwm__getItemResponse *ngwm__getItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getItemsRequest *ngwm__getItemsRequest, _ngwm__getItemsResponse *ngwm__getItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkEntriesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkEntriesRequest *ngwm__getJunkEntriesRequest, _ngwm__getJunkEntriesResponse *ngwm__getJunkEntriesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getJunkMailSettingsRequest *ngwm__getJunkMailSettingsRequest, _ngwm__getJunkMailSettingsResponse *ngwm__getJunkMailSettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryItemRequest *ngwm__getLibraryItemRequest, _ngwm__getLibraryItemResponse *ngwm__getLibraryItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getLibraryListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getLibraryListRequest *ngwm__getLibraryListRequest, _ngwm__getLibraryListResponse *ngwm__getLibraryListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getQuickMessagesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getQuickMessagesRequest *ngwm__getQuickMessagesRequest, _ngwm__getQuickMessagesResponse *ngwm__getQuickMessagesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyAccessListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyAccessListRequest *ngwm__getProxyAccessListRequest, _ngwm__getProxyAccessListResponse *ngwm__getProxyAccessListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getProxyListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getProxyListRequest *ngwm__getProxyListRequest, _ngwm__getProxyListResponse *ngwm__getProxyListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getRuleListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getRuleListRequest *ngwm__getRuleListRequest, _ngwm__getRuleListResponse *ngwm__getRuleListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSettingsRequest *ngwm__getSettingsRequest, _ngwm__getSettingsResponse *ngwm__getSettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getSignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getSignaturesRequest *ngwm__getSignaturesRequest, _ngwm__getSignaturesResponse *ngwm__getSignaturesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimestampRequest *ngwm__getTimestampRequest, _ngwm__getTimestampResponse *ngwm__getTimestampResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getTimezoneListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getTimezoneListRequest *ngwm__getTimezoneListRequest, _ngwm__getTimezoneListResponse *ngwm__getTimezoneListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getUserListRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__getUserListRequest *ngwm__getUserListRequest, _ngwm__getUserListResponse *ngwm__getUserListResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__loginRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__loginRequest *ngwm__loginRequest, _ngwm__loginResponse *ngwm__loginResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__logoutRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__logoutRequest *ngwm__logoutRequest, _ngwm__logoutResponse *ngwm__logoutResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markPrivateRequest *ngwm__markPrivateRequest, _ngwm__markPrivateResponse *ngwm__markPrivateResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markReadRequest *ngwm__markReadRequest, _ngwm__markReadResponse *ngwm__markReadResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnPrivateRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnPrivateRequest *ngwm__markUnPrivateRequest, _ngwm__markUnPrivateResponse *ngwm__markUnPrivateResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__markUnReadRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__markUnReadRequest *ngwm__markUnReadRequest, _ngwm__markUnReadResponse *ngwm__markUnReadResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyItemRequest *ngwm__modifyItemRequest, _ngwm__modifyItemResponse *ngwm__modifyItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkEntryRequest *ngwm__modifyJunkEntryRequest, _ngwm__modifyJunkEntryResponse *ngwm__modifyJunkEntryResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyJunkMailSettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyJunkMailSettingsRequest *ngwm__modifyJunkMailSettingsRequest, _ngwm__modifyJunkMailSettingsResponse *ngwm__modifyJunkMailSettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyPasswordRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyPasswordRequest *ngwm__modifyPasswordRequest, _ngwm__modifyPasswordResponse *ngwm__modifyPasswordResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifyProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifyProxyAccessRequest *ngwm__modifyProxyAccessRequest, _ngwm__modifyProxyAccessResponse *ngwm__modifyProxyAccessResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySettingsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySettingsRequest *ngwm__modifySettingsRequest, _ngwm__modifySettingsResponse *ngwm__modifySettingsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__modifySignaturesRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__modifySignaturesRequest *ngwm__modifySignaturesRequest, _ngwm__modifySignaturesResponse *ngwm__modifySignaturesResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__moveItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__moveItemRequest *ngwm__moveItemRequest, _ngwm__moveItemResponse *ngwm__moveItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__positionCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__positionCursorRequest *ngwm__positionCursorRequest, _ngwm__positionCursorResponse *ngwm__positionCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeDeletedItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeDeletedItemsRequest *ngwm__purgeDeletedItemsRequest, _ngwm__purgeDeletedItemsResponse *ngwm__purgeDeletedItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__purgeRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__purgeRequest *ngwm__purgeRequest, _ngwm__purgeResponse *ngwm__purgeResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__readCursorRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__readCursorRequest *ngwm__readCursorRequest, _ngwm__readCursorResponse *ngwm__readCursorResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeCustomDefinitionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeCustomDefinitionRequest *ngwm__removeCustomDefinitionRequest, _ngwm__removeCustomDefinitionResponse *ngwm__removeCustomDefinitionResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemRequest *ngwm__removeItemRequest, _ngwm__removeItemResponse *ngwm__removeItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeItemsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeItemsRequest *ngwm__removeItemsRequest, _ngwm__removeItemsResponse *ngwm__removeItemsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeJunkEntryRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeJunkEntryRequest *ngwm__removeJunkEntryRequest, _ngwm__removeJunkEntryResponse *ngwm__removeJunkEntryResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeMembersRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeMembersRequest *ngwm__removeMembersRequest, _ngwm__removeMembersResponse *ngwm__removeMembersResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyAccessRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyAccessRequest *ngwm__removeProxyAccessRequest, _ngwm__removeProxyAccessResponse *ngwm__removeProxyAccessResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeProxyUserRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeProxyUserRequest *ngwm__removeProxyUserRequest, _ngwm__removeProxyUserResponse *ngwm__removeProxyUserResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeSignatureRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__removeSignatureRequest *ngwm__removeSignatureRequest, _ngwm__removeSignatureResponse *ngwm__removeSignatureResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__replyRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__replyRequest *ngwm__replyRequest, _ngwm__replyResponse *ngwm__replyResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__retractRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__retractRequest *ngwm__retractRequest, _ngwm__retractResponse *ngwm__retractResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__sendItemRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__sendItemRequest *ngwm__sendItemRequest, _ngwm__sendItemResponse *ngwm__sendItemResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__setTimestampRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__setTimestampRequest *ngwm__setTimestampRequest, _ngwm__setTimestampResponse *ngwm__setTimestampResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__startFreeBusySessionRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__startFreeBusySessionRequest *ngwm__startFreeBusySessionRequest, _ngwm__startFreeBusySessionResponse *ngwm__startFreeBusySessionResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__unacceptRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__unacceptRequest *ngwm__unacceptRequest, _ngwm__unacceptResponse *ngwm__unacceptResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__uncompleteRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__uncompleteRequest *ngwm__uncompleteRequest, _ngwm__uncompleteResponse *ngwm__uncompleteResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__updateVersionStatusRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwm__updateVersionStatusRequest *ngwm__updateVersionStatusRequest, _ngwm__updateVersionStatusResponse *ngwm__updateVersionStatusResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__cleanEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__cleanEventConfigurationRequest *ngwe__cleanEventConfigurationRequest, _ngwe__cleanEventConfigurationResponse *ngwe__cleanEventConfigurationResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__configureEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__configureEventsRequest *ngwe__configureEventsRequest, _ngwe__configureEventsResponse *ngwe__configureEventsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventConfigurationRequest *ngwe__getEventConfigurationRequest, _ngwe__getEventConfigurationResponse *ngwe__getEventConfigurationResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__getEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__getEventsRequest *ngwe__getEventsRequest, _ngwe__getEventsResponse *ngwe__getEventsResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventConfigurationRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventConfigurationRequest *ngwe__removeEventConfigurationRequest, _ngwe__removeEventConfigurationResponse *ngwe__removeEventConfigurationResponse); + +SOAP_FMAC5 int SOAP_FMAC6 soap_call___ngw__removeEventsRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ngwe__removeEventsRequest *ngwe__removeEventsRequest, _ngwe__removeEventsResponse *ngwe__removeEventsResponse); + +/******************************************************************************\ + * * + * Skeletons * + * * +\******************************************************************************/ + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__acceptRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__acceptShareRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__addItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__addItemsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__addMembersRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__closeFreeBusySessionRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__completeRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createCursorRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createItemsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createJunkEntryRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createProxyAccessRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__createSignatureRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__declineRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__delegateRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__destroyCursorRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__executeRuleRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__forwardRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getAddressBookListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getAttachmentRequestMessage(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getCategoryListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getCustomListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getDeltasRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getDeltaInfoRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getDocumentTypeListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getFolderRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getFolderListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getFreeBusyRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getItemsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getJunkEntriesRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getJunkMailSettingsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getLibraryItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getLibraryListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getQuickMessagesRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getProxyAccessListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getProxyListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getRuleListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getSettingsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getSignaturesRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getTimestampRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getTimezoneListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getUserListRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__loginRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__logoutRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markPrivateRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markReadRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markUnPrivateRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__markUnReadRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyJunkEntryRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyJunkMailSettingsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyPasswordRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifyProxyAccessRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifySettingsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__modifySignaturesRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__moveItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__positionCursorRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__purgeDeletedItemsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__purgeRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__readCursorRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeCustomDefinitionRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeItemsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeJunkEntryRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeMembersRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeProxyAccessRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeProxyUserRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeSignatureRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__replyRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__retractRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__sendItemRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__setTimestampRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__startFreeBusySessionRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__unacceptRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__uncompleteRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__updateVersionStatusRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__cleanEventConfigurationRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__configureEventsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getEventConfigurationRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__getEventsRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeEventConfigurationRequest(struct soap*); + +SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ngw__removeEventsRequest(struct soap*); + +#endif + +/* End of soapStub.h */ diff --git a/kresources/groupwise/soap/soapdebug.cpp b/kresources/groupwise/soap/soapdebug.cpp new file mode 100644 index 000000000..3d0e3f223 --- /dev/null +++ b/kresources/groupwise/soap/soapdebug.cpp @@ -0,0 +1,175 @@ +#include "groupwiseserver.h" + +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include + +#include + +namespace KABC { + +class ResourceMemory : public ResourceCached +{ + public: + ResourceMemory() : ResourceCached( 0 ) {} + + Ticket *requestSaveTicket() { return 0; } + bool load() { return true; } + bool save( Ticket * ) { return true; } + void releaseSaveTicket( Ticket * ) {} +}; + +} + +static const KCmdLineOptions options[] = +{ + { "s", 0, 0 }, + { "server ", I18N_NOOP("Server"), 0 }, + { "u", 0, 0 }, + { "user ", I18N_NOOP("User"), 0 }, + { "p", 0, 0 }, + { "password ", I18N_NOOP("Password"), 0 }, + { "f", 0, 0 }, + { "freebusy-user ", I18N_NOOP("Free/Busy user name"), 0 }, + { "addressbook-id ", I18N_NOOP("Addressbook identifier"), 0 }, + KCmdLineLastOption +}; + +int main( int argc, char **argv ) +{ + KAboutData aboutData( "soapdebug", I18N_NOOP("Groupwise Soap Debug"), "0.1" ); + aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); + + KCmdLineArgs::init( argc, argv, &aboutData ); + KCmdLineArgs::addCmdLineOptions( options ); + + KApplication app; + + KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + + QString user = args->getOption( "user" ); + QString pass = args->getOption( "password" ); + QString url = args->getOption( "server" ); + +#if 1 + if ( user.isEmpty() ) { + kdError() << "Need user." << endl; + return 1; + } + if ( pass.isEmpty() ) { + kdError() << "Need password." << endl; + return 1; + } + if ( url.isEmpty() ) { + kdError() << "Need server." << endl; + return 1; + } +#endif + + GroupwiseServer server( url, user, pass, 0 ); + +#if 1 + if ( !server.login() ) { + kdError() << "Unable to login to server " << url << endl; + return 1; + } +#endif + +#if 0 + server.dumpData(); +#endif + +#if 0 + server.getCategoryList(); +#endif + +#if 0 + server.dumpFolderList(); +#endif + +#if 0 + QString fbUser = args->getOption( "freebusy-user" ); + if ( fbUser.isEmpty() ) { + kdError() << "Need user for which the freebusy data should be retrieved." + << endl; + } else { + KCal::FreeBusy *fb = new KCal::FreeBusy; + + server.readFreeBusy( "user1", + QDate( 2004, 9, 1 ), QDate( 2004, 10, 31 ), fb ); + } +#endif + +#if 0 + KTempFile temp; + KCal::ResourceLocal resource( temp.name() ); + resource.setActive( true ); + KCal::CalendarResources calendar; + calendar.resourceManager()->add( &resource ); + kdDebug() << "Login" << endl; + + if ( !server.login() ) { + kdDebug() << "Unable to login." << endl; + } else { + kdDebug() << "Read calendar" << endl; + if ( !server.readCalendarSynchronous( &resource ) ) { + kdDebug() << "Unable to read calendar data." << endl; + } + kdDebug() << "Logout" << endl; + server.logout(); + } + KCal::ICalFormat format; + + QString ical = format.toString( &calendar ); + + kdDebug() << "ICALENDAR: " << ical << endl; +#endif + +#if 0 + QString id = args->getOption( "addressbook-id" ); + + kdDebug() << "ADDRESSBOOK ID: " << id << endl; + + QStringList ids; + ids.append( id ); + + KABC::ResourceMemory resource; + + kdDebug() << "Login" << endl; + if ( !server.login() ) { + kdError() << "Unable to login." << endl; + } else { + kdDebug() << "Read Addressbook" << endl; + if ( !server.readAddressBooksSynchronous( ids, &resource ) ) { + kdError() << "Unable to read addressbook data." << endl; + } + kdDebug() << "Logout" << endl; + server.logout(); + } + + KABC::Addressee::List addressees; + KABC::Resource::Iterator it2; + for( it2 = resource.begin(); it2 != resource.end(); ++it2 ) { + kdDebug() << "ADDRESSEE: " << (*it2).fullEmail() << endl; + addressees.append( *it2 ); + } +#endif + +#if 0 + server.getDelta(); +#endif + + server.logout(); + + return 0; +} + diff --git a/kresources/groupwise/soap/stdsoap2.cpp b/kresources/groupwise/soap/stdsoap2.cpp new file mode 100644 index 000000000..4d7bafcdc --- /dev/null +++ b/kresources/groupwise/soap/stdsoap2.cpp @@ -0,0 +1,12554 @@ +/* + +stdsoap2.c[pp] 2.7.3 + +Runtime environment. + +gSOAP XML Web services tools +Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved. +This part of the software is released under one of the following licenses: +GPL, the gSOAP public license, or Genivia's license for commercial use. +-------------------------------------------------------------------------------- +Contributors: + +Wind River Systems, Inc., for the following additions: + - vxWorks compatible + - Support for IPv6. +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +A commercial use license is available from Genivia, Inc., contact@genivia.com +-------------------------------------------------------------------------------- + +Installation note: + +Win32 build needs winsock.dll (Visual C++ "wsock32.lib") +To do this in Visual C++ 6.0, go to "Project", "settings", select the "Link" +tab (the project file needs to be selected in the file view) and add +"wsock32.lib" to the "Object/library modules" entry + +On Mac OS X with gcc (GCC) 3.1 20020420 (prerelease) you MUST compile with +-fstack_check when using -O2 because gcc 3.1 has a bug that smashes the stack +when locally allocated data exceeds 64K. + +*/ + +#include "stdsoap2.h" + +#ifdef __cplusplus +SOAP_SOURCE_STAMP("@(#) stdsoap2.cpp ver 2.7.3 2005-06-27 12:00:00 GMT") +extern "C" { +#else +SOAP_SOURCE_STAMP("@(#) stdsoap2.c ver 2.7.3 2005-06-27 12:00:00 GMT") +#endif + +/* 8bit character representing unknown/nonrepresentable character data (e.g. not supported by current locale) */ +#ifndef SOAP_UNKNOWN_CHAR +#define SOAP_UNKNOWN_CHAR (127) +#endif + +/* EOF=-1 */ +#define SOAP_LT (soap_wchar)(-2) /* XML character '<' */ +#define SOAP_TT (soap_wchar)(-3) /* XML character '' */ +#define SOAP_QT (soap_wchar)(-5) /* XML character '"' */ +#define SOAP_AP (soap_wchar)(-6) /* XML character ''' */ + +#define SOAP_BOM (soap_wchar)(0xFEFF) /* UTF BOM is Unicode FEFF */ + +#define soap_blank(c) ((c) >= 0 && (c) <= 32) +#define soap_notblank(c) ((c) > 32) +#define soap_hash_ptr(p) (((unsigned long)(p) >> 3) & (SOAP_PTRHASH - 1)) + +static int soap_isxdigit(int); +static soap_wchar soap_char(struct soap*); + +#ifndef WITH_NOIDREF +static void soap_update_ptrs(struct soap*, char*, char*, long); +static int soap_has_copies(struct soap*, const char*, const char*); +static void soap_init_iht(struct soap*); +static void soap_free_iht(struct soap*); +static void soap_init_pht(struct soap*); +static void soap_free_pht(struct soap*); +#endif + +#ifdef SOAP_DEBUG +static void soap_init_logs(struct soap*); +static void soap_close_logfile(struct soap*, int); +static void soap_set_logfile(struct soap*, int, const char*); +static void soap_free_mht(struct soap*); +static void soap_track_unlink(struct soap*, const void*); +#endif + +static int soap_set_error(struct soap*, const char*, const char*, const char*, int); +static int soap_copy_fault(struct soap*, const char*, const char*, const char*); +static int soap_getattrval(struct soap*, char*, size_t, soap_wchar); +static void soap_set_local_namespaces(struct soap*); +static void *fplugin(struct soap*, const char*); + +#ifndef WITH_LEAN +static const char *soap_set_validation_fault(struct soap*, const char*, const char*); +static int soap_isnumeric(struct soap*, const char*); +static time_t soap_timegm(struct tm*); +#endif + +#ifdef WITH_FAST +static int soap_append_lab(struct soap*, const char*, size_t); +#endif + +#ifndef WITH_LEANER +static struct soap_multipart *soap_new_multipart(struct soap*, struct soap_multipart**, struct soap_multipart**, char*, size_t); +static int soap_putdimefield(struct soap*, const char*, size_t); +static char *soap_getdimefield(struct soap*, size_t); +static void soap_select_mime_boundary(struct soap*); +static int soap_valid_mime_boundary(struct soap*); +static int soap_match_cid(const char*, const char*); +static void soap_resolve_attachment(struct soap*, struct soap_multipart*); +#endif + +#ifdef WITH_GZIP +static int soap_getgziphdr(struct soap*); +#endif + +#ifdef WITH_OPENSSL +static int ssl_auth_init(struct soap*); +static int ssl_verify_callback(int, X509_STORE_CTX*); +static int ssl_password(char*, int, int, void *); +static const char *ssl_error(struct soap*, int); +/* This callback is included for future references. It should not be deleted +static DH *ssl_tmp_dh(SSL*, int, int); +*/ +#endif + +#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER) +static const char *soap_decode(char*, size_t, const char*, const char*); +#endif + +#ifndef WITH_NOHTTP +static soap_wchar soap_getchunkchar(struct soap*); +static const char *http_error(struct soap*, int); +static int http_post(struct soap*, const char*, const char*, int, const char*, const char*, size_t); +static int http_get(struct soap*); +static int http_send_header(struct soap*, const char*); +static int http_post_header(struct soap*, const char*, const char*); +static int http_response(struct soap*, int, size_t); +static int http_parse(struct soap*); +static int http_parse_header(struct soap*, const char*, const char*); +#endif + +#ifndef WITH_NOIO +static int fsend(struct soap*, const char*, size_t); +static size_t frecv(struct soap*, char*, size_t); +static int tcp_init(struct soap*); +static const char *tcp_error(struct soap*); +#ifndef WITH_IPV6 +static int tcp_gethost(struct soap*, const char *addr, struct in_addr *inaddr); +#endif +static int tcp_connect(struct soap*, const char *endpoint, const char *host, int port); +static int tcp_accept(struct soap*, int, struct sockaddr*, int*); +static int tcp_disconnect(struct soap*); +static int tcp_closesocket(struct soap*, SOAP_SOCKET); +static int tcp_shutdownsocket(struct soap*, SOAP_SOCKET, int); +static const char *soap_strerror(struct soap*); +#endif + +#ifdef VXWORKS +static int vx_nonblocking = TRUE; /* ioctl argument */ +#endif + +#if defined(PALM) && !defined(PALM_2) +unsigned short errno; +#endif + +#ifndef PALM_1 +static const char soap_env1[42] = "http://schemas.xmlsoap.org/soap/envelope/"; +static const char soap_enc1[42] = "http://schemas.xmlsoap.org/soap/encoding/"; +static const char soap_env2[40] = "http://www.w3.org/2003/05/soap-envelope"; +static const char soap_enc2[40] = "http://www.w3.org/2003/05/soap-encoding"; +static const char soap_rpc[35] = "http://www.w3.org/2003/05/soap-rpc"; +#endif + +#ifndef PALM_1 +const struct soap_double_nan soap_double_nan = {0xFFFFFFFF, 0xFFFFFFFF}; +static const char soap_base64o[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +static const char soap_base64i[81] = "\76XXX\77\64\65\66\67\70\71\72\73\74\75XXXXXXX\00\01\02\03\04\05\06\07\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31XXXXXX\32\33\34\35\36\37\40\41\42\43\44\45\46\47\50\51\52\53\54\55\56\57\60\61\62\63"; +#endif + +static const char soap_padding[3] = "\0\0"; +#define SOAP_STR_PADDING (soap_padding) +#define SOAP_STR_EOS (soap_padding) +#define SOAP_NON_NULL (soap_padding) + +#ifndef WITH_LEAN +static const struct soap_code_map html_entity_codes[] = /* entities for XHTML parsing */ +{ { 160, "nbsp" }, + { 161, "iexcl" }, + { 162, "cent" }, + { 163, "pound" }, + { 164, "curren" }, + { 165, "yen" }, + { 166, "brvbar" }, + { 167, "sect" }, + { 168, "uml" }, + { 169, "copy" }, + { 170, "ordf" }, + { 171, "laquo" }, + { 172, "not" }, + { 173, "shy" }, + { 174, "reg" }, + { 175, "macr" }, + { 176, "deg" }, + { 177, "plusmn" }, + { 178, "sup2" }, + { 179, "sup3" }, + { 180, "acute" }, + { 181, "micro" }, + { 182, "para" }, + { 183, "middot" }, + { 184, "cedil" }, + { 185, "sup1" }, + { 186, "ordm" }, + { 187, "raquo" }, + { 188, "frac14" }, + { 189, "frac12" }, + { 190, "frac34" }, + { 191, "iquest" }, + { 192, "Agrave" }, + { 193, "Aacute" }, + { 194, "Acirc" }, + { 195, "Atilde" }, + { 196, "Auml" }, + { 197, "Aring" }, + { 198, "AElig" }, + { 199, "Ccedil" }, + { 200, "Egrave" }, + { 201, "Eacute" }, + { 202, "Ecirc" }, + { 203, "Euml" }, + { 204, "Igrave" }, + { 205, "Iacute" }, + { 206, "Icirc" }, + { 207, "Iuml" }, + { 208, "ETH" }, + { 209, "Ntilde" }, + { 210, "Ograve" }, + { 211, "Oacute" }, + { 212, "Ocirc" }, + { 213, "Otilde" }, + { 214, "Ouml" }, + { 215, "times" }, + { 216, "Oslash" }, + { 217, "Ugrave" }, + { 218, "Uacute" }, + { 219, "Ucirc" }, + { 220, "Uuml" }, + { 221, "Yacute" }, + { 222, "THORN" }, + { 223, "szlig" }, + { 224, "agrave" }, + { 225, "aacute" }, + { 226, "acirc" }, + { 227, "atilde" }, + { 228, "auml" }, + { 229, "aring" }, + { 230, "aelig" }, + { 231, "ccedil" }, + { 232, "egrave" }, + { 233, "eacute" }, + { 234, "ecirc" }, + { 235, "euml" }, + { 236, "igrave" }, + { 237, "iacute" }, + { 238, "icirc" }, + { 239, "iuml" }, + { 240, "eth" }, + { 241, "ntilde" }, + { 242, "ograve" }, + { 243, "oacute" }, + { 244, "ocirc" }, + { 245, "otilde" }, + { 246, "ouml" }, + { 247, "divide" }, + { 248, "oslash" }, + { 249, "ugrave" }, + { 250, "uacute" }, + { 251, "ucirc" }, + { 252, "uuml" }, + { 253, "yacute" }, + { 254, "thorn" }, + { 255, "yuml" }, + { 0, NULL } +}; +#endif + +#ifndef WITH_NOIO +#ifndef WITH_LEAN +static const struct soap_code_map h_error_codes[] = +{ +#ifdef HOST_NOT_FOUND + { HOST_NOT_FOUND, "Host not found" }, +#endif +#ifdef TRY_AGAIN + { TRY_AGAIN, "Try Again" }, +#endif +#ifdef NO_RECOVERY + { NO_RECOVERY, "No Recovery" }, +#endif +#ifdef NO_DATA + { NO_DATA, "No Data" }, +#endif +#ifdef NO_ADDRESS + { NO_ADDRESS, "No Address" }, +#endif + { 0, NULL } +}; +#endif +#endif + +#ifndef WITH_NOHTTP +#ifndef WITH_LEAN +static const struct soap_code_map h_http_error_codes[] = +{ { 201, "Created" }, + { 202, "Accepted" }, + { 203, "Non-Authoritative Information" }, + { 204, "No Content" }, + { 205, "Reset Content" }, + { 206, "Partial Content" }, + { 300, "Multiple Choices" }, + { 301, "Moved Permanently" }, + { 302, "Found" }, + { 303, "See Other" }, + { 304, "Not Modified" }, + { 305, "Use Proxy" }, + { 307, "Temporary Redirect" }, + { 400, "Bad Request" }, + { 401, "Unauthorized" }, + { 402, "Payment Required" }, + { 403, "Forbidden" }, + { 404, "Not Found" }, + { 405, "Method Not Allowed" }, + { 406, "Not Acceptable" }, + { 407, "Proxy Authentication Required" }, + { 408, "Request Time-out" }, + { 409, "Conflict" }, + { 410, "Gone" }, + { 411, "Length Required" }, + { 412, "Precondition Failed" }, + { 413, "Request Entity Too Large" }, + { 414, "Request-URI Too Large" }, + { 415, "Unsupported Media Type" }, + { 416, "Requested range not satisfiable" }, + { 417, "Expectation Failed" }, + { 500, "Internal Server Error" }, + { 501, "Not Implemented" }, + { 502, "Bad Gateway" }, + { 503, "Service Unavailable" }, + { 504, "Gateway Time-out" }, + { 505, "HTTP Version not supported" }, + { 0, NULL } +}; +#endif +#endif + +#ifdef WITH_OPENSSL +static const struct soap_code_map h_ssl_error_codes[] = +{ +#define _SSL_ERROR(e) { e, #e } + _SSL_ERROR(SSL_ERROR_SSL), + _SSL_ERROR(SSL_ERROR_ZERO_RETURN), + _SSL_ERROR(SSL_ERROR_WANT_READ), + _SSL_ERROR(SSL_ERROR_WANT_WRITE), + _SSL_ERROR(SSL_ERROR_WANT_CONNECT), + _SSL_ERROR(SSL_ERROR_WANT_X509_LOOKUP), + _SSL_ERROR(SSL_ERROR_SYSCALL), + { 0, NULL } +}; +#endif + +#ifndef WITH_LEANER +static const struct soap_code_map mime_codes[] = +{ { SOAP_MIME_7BIT, "7bit" }, + { SOAP_MIME_8BIT, "8bit" }, + { SOAP_MIME_BINARY, "binary" }, + { SOAP_MIME_QUOTED_PRINTABLE, "quoted-printable" }, + { SOAP_MIME_BASE64, "base64" }, + { SOAP_MIME_IETF_TOKEN, "ietf-token" }, + { SOAP_MIME_X_TOKEN, "x-token" }, + { 0, NULL } +}; +#endif + +#ifdef WIN32 +static int tcp_done = 0; +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +fsend(struct soap *soap, const char *s, size_t n) +{ register int nwritten; +#if defined(__cplusplus) && !defined(WITH_LEAN) + if (soap->os) + { soap->os->write(s, n); + if (soap->os->good()) + return SOAP_OK; + return SOAP_EOF; + } +#endif + while (n) + { if (soap_valid_socket(soap->socket)) + { +#ifndef WITH_LEAN + if (soap->send_timeout) + { struct timeval timeout; + fd_set fd; + if (soap->send_timeout > 0) + { timeout.tv_sec = soap->send_timeout; + timeout.tv_usec = 0; + } + else + { timeout.tv_sec = -soap->send_timeout/1000000; + timeout.tv_usec = -soap->send_timeout%1000000; + } + FD_ZERO(&fd); + FD_SET((SOAP_SOCKET)soap->socket, &fd); + for (;;) + { register int r = select((SOAP_SOCKET)(soap->socket + 1), NULL, &fd, &fd, &timeout); + if (r > 0) + break; + if (!r) + { soap->errnum = 0; + return SOAP_EOF; + } + if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN) + { soap->errnum = soap_socket_errno; + return SOAP_EOF; + } + } + } +#endif +#ifdef WITH_OPENSSL + if (soap->ssl) + nwritten = SSL_write(soap->ssl, s, n); + else +#endif +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + { if (soap->peerlen) + nwritten = sendto((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags, (struct sockaddr*)&soap->peer, soap->peerlen); + else + nwritten = send((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags); + /* retry and back-off algorithm */ + /* TODO: this is not very clear from specs so verify and limit conditions under which we should loop (e.g. ENOBUFS) */ + if (nwritten < 0) + { struct timeval timeout; + fd_set fd; + int udp_repeat; + int udp_delay; + if ((soap->connect_flags & SO_BROADCAST)) + udp_repeat = 3; /* SOAP-over-UDP MULTICAST_UDP_REPEAT - 1 */ + else + udp_repeat = 1; /* SOAP-over-UDP UNICAST_UDP_REPEAT - 1 */ + udp_delay = (soap_random % 201) + 50; /* UDP_MIN_DELAY .. UDP_MAX_DELAY */ + do + { timeout.tv_sec = 0; + timeout.tv_usec = 1000 * udp_delay; /* ms */ + FD_ZERO(&fd); + FD_SET((SOAP_SOCKET)soap->socket, &fd); + select((SOAP_SOCKET)(soap->socket + 1), NULL, NULL, &fd, &timeout); + if (soap->peerlen) + nwritten = sendto((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags, (struct sockaddr*)&soap->peer, soap->peerlen); + else + nwritten = send((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags); + udp_delay <<= 1; + if (udp_delay > 500) /* UDP_UPPER_DELAY */ + udp_delay = 500; + } + while (nwritten < 0 && --udp_repeat > 0); + } + } + else +#endif +#ifndef PALM + nwritten = send((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags); +#else + nwritten = send((SOAP_SOCKET)soap->socket, (void*)s, n, soap->socket_flags); +#endif + if (nwritten <= 0) + { +#ifdef WITH_OPENSSL + int err; + if (soap->ssl && (err = SSL_get_error(soap->ssl, nwritten)) != SSL_ERROR_NONE && err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE) + return SOAP_EOF; +#endif + if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EWOULDBLOCK && soap_socket_errno != SOAP_EAGAIN) + { soap->errnum = soap_socket_errno; + return SOAP_EOF; + } + nwritten = 0; /* and call write() again */ + } + } + else + { +#ifdef WITH_FASTCGI + nwritten = fwrite((void*)s, 1, n, stdout); + fflush(stdout); +#else +#ifdef UNDER_CE + nwritten = fwrite(s, 1, n, soap->sendfd); +#else +#ifdef VXWORKS +#ifdef WMW_RPM_IO + if (soap->rpmreqid) + { httpBlockPut(soap->rpmreqid, s, n); + nwritten = n; + } + else + nwritten = fwrite(s, sizeof(char), n, fdopen(soap->sendfd, "w")); +#else + nwritten = fwrite(s, sizeof(char), n, fdopen(soap->sendfd, "w")); +#endif /* WMW_RPM_IO */ +#else + nwritten = write((SOAP_SOCKET)soap->sendfd, s, n); +#endif +#endif +#endif + if (nwritten <= 0) + { if (soap_errno != SOAP_EINTR && soap_errno != SOAP_EWOULDBLOCK && soap_errno != SOAP_EAGAIN) + { soap->errnum = soap_errno; + return SOAP_EOF; + } + nwritten = 0; /* and call write() again */ + } + } + n -= nwritten; + s += nwritten; + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_flush_raw(struct soap *soap, const char *s, size_t n) +{ if ((soap->mode & SOAP_IO) == SOAP_IO_STORE) + { register char *t; + if (!(t = (char*)soap_push_block(soap, n))) + return soap->error = SOAP_EOM; + memcpy(t, s, n); +#ifndef WITH_LEANER + if (soap->fpreparesend) + return soap->fpreparesend(soap, s, n); +#endif + return SOAP_OK; + } +#ifndef WITH_LEANER + if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) + { char t[16]; + sprintf(t, "\r\n%lX\r\n" + (soap->chunksize ? 0 : 2), (unsigned long)n); + DBGMSG(SENT, t, strlen(t)); + if ((soap->error = soap->fsend(soap, t, strlen(t)))) + return soap->error; + soap->chunksize += n; + } + DBGMSG(SENT, s, n); +#endif + return soap->error = soap->fsend(soap, s, n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_flush(struct soap *soap) +{ if (soap->bufidx) + { +#ifdef WITH_ZLIB + if (soap->mode & SOAP_ENC_ZLIB) + { soap->d_stream.next_in = (Byte*)soap->buf; + soap->d_stream.avail_in = (unsigned int)soap->bufidx; +#ifdef WITH_GZIP + soap->z_crc = crc32(soap->z_crc, (Byte*)soap->buf, (unsigned int)soap->bufidx); +#endif + do + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflating %u bytes\n", soap->d_stream.avail_in)); + if (deflate(&soap->d_stream, Z_NO_FLUSH) != Z_OK) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unable to deflate: %s\n", soap->d_stream.msg?soap->d_stream.msg:"")); + return soap->error = SOAP_ZLIB_ERROR; + } + if (!soap->d_stream.avail_out) + { if (soap_flush_raw(soap, soap->z_buf, SOAP_BUFLEN)) + return soap->error; + soap->d_stream.next_out = (Byte*)soap->z_buf; + soap->d_stream.avail_out = SOAP_BUFLEN; + } + } while (soap->d_stream.avail_in); + } + else +#endif + if (soap_flush_raw(soap, soap->buf, soap->bufidx)) + return soap->error; + soap->bufidx = 0; + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_send_raw(struct soap *soap, const char *s, size_t n) +{ if (!n) + return SOAP_OK; + if (soap->mode & SOAP_IO_LENGTH) + { soap->count += n; +#ifndef WITH_LEANER + if (soap->fpreparesend && (soap->mode & SOAP_IO) != SOAP_IO_STORE) + return soap->fpreparesend(soap, s, n); +#endif + return SOAP_OK; + } + if (soap->mode & SOAP_IO) + { register size_t i = SOAP_BUFLEN - soap->bufidx; + while (n >= i) + { memcpy(soap->buf + soap->bufidx, s, i); + soap->bufidx = SOAP_BUFLEN; + if (soap_flush(soap)) + return soap->error; + s += i; + n -= i; + i = SOAP_BUFLEN; + } + memcpy(soap->buf + soap->bufidx, s, n); + soap->bufidx += n; + return SOAP_OK; + } + return soap_flush_raw(soap, s, n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_send(struct soap *soap, const char *s) +{ if (s) + return soap_send_raw(soap, s, strlen(s)); + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_send2(struct soap *soap, const char *s1, const char *s2) +{ if (soap_send(soap, s1)) + return soap->error; + return soap_send(soap, s2); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_send3(struct soap *soap, const char *s1, const char *s2, const char *s3) +{ if (soap_send(soap, s1) + || soap_send(soap, s2)) + return soap->error; + return soap_send(soap, s3); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static size_t +frecv(struct soap *soap, char *s, size_t n) +{ register int r; + soap->errnum = 0; +#if defined(__cplusplus) && !defined(WITH_LEAN) + if (soap->is) + { if (soap->is->good()) + return soap->is->read(s, n).gcount(); + return 0; + } +#endif + if (soap_valid_socket(soap->socket)) + { for (;;) + { +#ifndef WITH_LEAN + if (soap->recv_timeout) + { struct timeval timeout; + fd_set fd; + if (soap->recv_timeout > 0) + { timeout.tv_sec = soap->recv_timeout; + timeout.tv_usec = 0; + } + else + { timeout.tv_sec = -soap->recv_timeout/1000000; + timeout.tv_usec = -soap->recv_timeout%1000000; + } + FD_ZERO(&fd); + FD_SET((SOAP_SOCKET)soap->socket, &fd); + for (;;) + { r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout); + if (r > 0) + break; + if (!r) + { soap->errnum = 0; + return 0; + } + if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN) + { soap->errnum = soap_socket_errno; + return 0; + } + } + } +#endif +#ifdef WITH_OPENSSL + if (soap->ssl) + { int err; + r = SSL_read(soap->ssl, s, n); + if ((err = SSL_get_error(soap->ssl, r)) == SSL_ERROR_NONE) + return (size_t)r; + if (err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE) + return 0; + } + else +#endif + { +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + { SOAP_SOCKLEN_T k = (SOAP_SOCKLEN_T)sizeof(soap->peer); + memset((void*)&soap->peer, 0, sizeof(soap->peer)); + r = recvfrom((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags, (struct sockaddr*)&soap->peer, &k); /* portability note: see SOAP_SOCKLEN_T definition in stdsoap2.h */ + soap->peerlen = (size_t)k; +#ifndef WITH_IPV6 + soap->ip = ntohl(soap->peer.sin_addr.s_addr); + soap->port = (int)ntohs(soap->peer.sin_port); +#endif + } + else +#endif + r = recv((SOAP_SOCKET)soap->socket, s, n, soap->socket_flags); + if (r >= 0) + return (size_t)r; + if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN && soap_socket_errno != SOAP_EWOULDBLOCK) + { soap->errnum = soap_socket_errno; + return 0; + } + } +#ifndef WITH_LEAN + { struct timeval timeout; + fd_set fd; + timeout.tv_sec = 0; + timeout.tv_usec = 10000; + FD_ZERO(&fd); + FD_SET((SOAP_SOCKET)soap->socket, &fd); +#ifdef WITH_OPENSSL + if (soap->ssl && SSL_get_error(soap->ssl, r) == SSL_ERROR_WANT_WRITE) + r = select((SOAP_SOCKET)(soap->socket + 1), NULL, &fd, &fd, &timeout); + else + r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout); +#else + r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout); +#endif + if (r < 0 && soap_socket_errno != SOAP_EINTR) + { soap->errnum = soap_socket_errno; + return 0; + } + } +#endif + } + } +#ifdef WITH_FASTCGI + return fread(s, 1, n, stdin); +#else +#ifdef UNDER_CE + return fread(s, 1, n, soap->recvfd); +#else +#ifdef WMW_RPM_IO + if (soap->rpmreqid) + r = httpBlockRead(soap->rpmreqid, s, n); + else + r = read(soap->recvfd, s, n); + if (r >= 0) + return r; + return 0; +#else + r = read((SOAP_SOCKET)soap->recvfd, s, n); + if (r >= 0) + return (size_t)r; + soap->errnum = soap_errno; + return 0; +#endif +#endif +#endif +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static soap_wchar +soap_getchunkchar(struct soap *soap) +{ if (soap->bufidx < soap->buflen) + return soap->buf[soap->bufidx++]; + soap->bufidx = 0; + soap->buflen = soap->chunkbuflen = soap->frecv(soap, soap->buf, SOAP_BUFLEN); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Read %u bytes from socket %d\n", (unsigned int)soap->buflen, soap->socket)); + DBGMSG(RECV, soap->buf, soap->buflen); + if (soap->buflen) + return soap->buf[soap->bufidx++]; + return EOF; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static int +soap_isxdigit(int c) +{ return (c >= '0' && c <= '9') || (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f'); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_recv_raw(struct soap *soap) +{ register size_t ret; +#ifdef WITH_ZLIB + if (soap->mode & SOAP_ENC_ZLIB) + { if (soap->d_stream.next_out == Z_NULL) + return EOF; + if (soap->d_stream.avail_in || !soap->d_stream.avail_out) + { register int r; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflating\n")); + soap->d_stream.next_out = (Byte*)soap->buf; + soap->d_stream.avail_out = SOAP_BUFLEN; + r = inflate(&soap->d_stream, Z_NO_FLUSH); + if (r == Z_OK || r == Z_STREAM_END) + { soap->bufidx = 0; + soap->buflen = SOAP_BUFLEN - soap->d_stream.avail_out; + if (soap->zlib_in == SOAP_ZLIB_GZIP) + soap->z_crc = crc32(soap->z_crc, (Byte*)soap->buf, (unsigned int)soap->buflen); + if (r == Z_STREAM_END) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflated %lu->%lu bytes\n", soap->d_stream.total_in, soap->d_stream.total_out)); + soap->z_ratio_in = (float)soap->d_stream.total_in / (float)soap->d_stream.total_out; + soap->d_stream.next_out = Z_NULL; + } + if (soap->buflen) + { soap->count += soap->buflen; + return SOAP_OK; + } + } + else if (r != Z_BUF_ERROR) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflate error: %s\n", soap->d_stream.msg?soap->d_stream.msg:"")); + soap->d_stream.next_out = Z_NULL; + return EOF; + } + } +zlib_again: + if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK && !soap->chunksize) + { memcpy(soap->buf, soap->z_buf, SOAP_BUFLEN); + soap->buflen = soap->z_buflen; + } + } +#endif +#ifndef WITH_NOHTTP + if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) /* read HTTP chunked transfer */ + { +chunk_again: + if (soap->chunksize) + { soap->buflen = ret = soap->frecv(soap, soap->buf, soap->chunksize > SOAP_BUFLEN ? SOAP_BUFLEN : soap->chunksize); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Getting chunk: read %u bytes\n", (unsigned int)ret)); + DBGMSG(RECV, soap->buf, ret); + soap->bufidx = 0; + soap->chunksize -= ret; + } + else + { register soap_wchar c; + char *t, tmp[8]; + t = tmp; + if (!soap->chunkbuflen) + { soap->chunkbuflen = ret = soap->frecv(soap, soap->buf, SOAP_BUFLEN); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Read %u bytes (chunked) from socket %d\n", (unsigned int)ret, soap->socket)); + DBGMSG(RECV, soap->buf, ret); + soap->bufidx = 0; + if (!ret) + return EOF; + } + else + soap->bufidx = soap->buflen; + soap->buflen = soap->chunkbuflen; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Getting chunk size (%u %u)\n", (unsigned int)soap->bufidx, (unsigned int)soap->buflen)); + while (!soap_isxdigit((int)(c = soap_getchunkchar(soap)))) + if ((int)c == EOF) + return EOF; + do + *t++ = (char)c; + while (soap_isxdigit((int)(c = soap_getchunkchar(soap))) && t - tmp < 7); + while ((int)c != EOF && c != '\n') + c = soap_getchunkchar(soap); + if ((int)c == EOF) + return EOF; + *t = '\0'; + soap->chunksize = soap_strtoul(tmp, &t, 16); + if (!soap->chunksize) + { soap->chunkbuflen = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End of chunked message\n")); + while ((int)c != EOF && c != '\n') + c = soap_getchunkchar(soap); + return EOF; + } + soap->buflen = soap->bufidx + soap->chunksize; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Moving buf len to %u (%u %s)\n", (unsigned int)soap->buflen, (unsigned int)soap->bufidx, tmp)); + if (soap->buflen > soap->chunkbuflen) + { soap->buflen = soap->chunkbuflen; + soap->chunksize -= soap->buflen - soap->bufidx; + soap->chunkbuflen = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Passed end of buffer for chunked HTTP (%lu bytes left)\n", (unsigned long)(soap->buflen - soap->bufidx))); + } + else if (soap->chunkbuflen) + soap->chunksize = 0; + ret = soap->buflen - soap->bufidx; + if (!ret) + goto chunk_again; + } + } + else +#endif + { soap->bufidx = 0; + soap->buflen = ret = soap->frecv(soap, soap->buf, SOAP_BUFLEN); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Read %u bytes from socket %d\n", (unsigned int)ret, soap->socket)); + DBGMSG(RECV, soap->buf, ret); + } +#ifndef WITH_LEANER + if (soap->fpreparerecv && (soap->error = soap->fpreparerecv(soap, soap->buf, ret))) + return soap->error; +#endif +#ifdef WITH_ZLIB + if (soap->mode & SOAP_ENC_ZLIB) + { register int r; + memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN); + soap->d_stream.next_in = (Byte*)(soap->z_buf + soap->bufidx); + soap->d_stream.avail_in = (unsigned int)ret; + soap->d_stream.next_out = (Byte*)soap->buf; + soap->d_stream.avail_out = SOAP_BUFLEN; + r = inflate(&soap->d_stream, Z_NO_FLUSH); + if (r == Z_OK || r == Z_STREAM_END) + { soap->bufidx = 0; + soap->z_buflen = soap->buflen; + soap->buflen = ret = SOAP_BUFLEN - soap->d_stream.avail_out; + if (soap->zlib_in == SOAP_ZLIB_GZIP) + soap->z_crc = crc32(soap->z_crc, (Byte*)soap->buf, (unsigned int)soap->buflen); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflated %u bytes\n", (unsigned int)ret)); + if (!ret) + goto zlib_again; + if (r == Z_STREAM_END) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflated %lu->%lu bytes\n", soap->d_stream.total_in, soap->d_stream.total_out)); + soap->z_ratio_in = (float)soap->d_stream.total_in / (float)soap->d_stream.total_out; + soap->d_stream.next_out = Z_NULL; + } + } + else + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unable to inflate: (%d) %s\n", r, soap->d_stream.msg?soap->d_stream.msg:"")); + soap->d_stream.next_out = Z_NULL; + return EOF; + } + } +#endif + soap->count += ret; + return !ret; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_recv(struct soap *soap) +{ +#ifndef WITH_LEANER + if (soap->mode & SOAP_ENC_DIME) + { if (soap->dime.buflen) + { char *s; + int i; + unsigned char tmp[12]; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "DIME hdr for chunked DIME is in buffer\n")); + soap->count += soap->dime.buflen - soap->buflen; + soap->buflen = soap->dime.buflen; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Skip padding (%ld bytes)\n", -(long)soap->dime.size&3)); + for (i = -(long)soap->dime.size&3; i > 0; i--) + { soap->bufidx++; + if (soap->bufidx >= soap->buflen) + if (soap_recv_raw(soap)) + return EOF; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get DIME hdr for next chunk\n")); + s = (char*)tmp; + for (i = 12; i > 0; i--) + { *s++ = soap->buf[soap->bufidx++]; + if (soap->bufidx >= soap->buflen) + if (soap_recv_raw(soap)) + return EOF; + } + soap->dime.flags = tmp[0] & 0x7; + soap->dime.size = ((size_t)tmp[8] << 24) | ((size_t)tmp[9] << 16) | ((size_t)tmp[10] << 8) | ((size_t)tmp[11]); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get DIME chunk (%u bytes)\n", (unsigned int)soap->dime.size)); + if (soap->dime.flags & SOAP_DIME_CF) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "More chunking\n")); + soap->dime.chunksize = soap->dime.size; + if (soap->buflen - soap->bufidx >= soap->dime.size) + { soap->dime.buflen = soap->buflen; + soap->buflen = soap->bufidx + soap->dime.chunksize; + } + else + soap->dime.chunksize -= soap->buflen - soap->bufidx; + } + else + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Last chunk\n")); + soap->dime.buflen = 0; + soap->dime.chunksize = 0; + } + soap->count = soap->buflen - soap->bufidx; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%u bytes remaining\n", (unsigned int)soap->count)); + return SOAP_OK; + } + if (soap->dime.chunksize) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get next DIME hdr for chunked DIME (%u bytes chunk)\n", (unsigned int)soap->dime.chunksize)); + if (soap_recv_raw(soap)) + return EOF; + if (soap->buflen - soap->bufidx >= soap->dime.chunksize) + { soap->dime.buflen = soap->buflen; + soap->count -= soap->buflen - soap->bufidx - soap->dime.chunksize; + soap->buflen = soap->bufidx + soap->dime.chunksize; + } + else + soap->dime.chunksize -= soap->buflen - soap->bufidx; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%lu bytes remaining, count=%u\n", (unsigned long)(soap->buflen-soap->bufidx), (unsigned int)soap->count)); + return SOAP_OK; + } + } +#endif + return soap_recv_raw(soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +soap_wchar +SOAP_FMAC2 +soap_getchar(struct soap *soap) +{ register soap_wchar c; + if (soap->ahead) + { c = soap->ahead; + soap->ahead = 0; + return c; + } + return soap_get1(soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +const struct soap_code_map* +SOAP_FMAC2 +soap_code(const struct soap_code_map *map, const char *str) +{ if (str) + { while (map->string) + { if (!strcmp(str, map->string)) /* case sensitive */ + return map; + map++; + } + } + return NULL; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +long +SOAP_FMAC2 +soap_int_code(const struct soap_code_map *map, const char *str, long other) +{ while (map->string) + { if (!soap_tag_cmp(str, map->string)) /* case insensitive */ + return map->code; + map++; + } + return other; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_str_code(const struct soap_code_map *map, long code) +{ while (map->code != code && map->string) + map++; + return map->string; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static soap_wchar +soap_char(struct soap *soap) +{ char tmp[8]; + register int i; + register soap_wchar c; + register char *s = tmp; + for (i = 0; i < 7; i++) + { c = soap_get1(soap); + if (c == ';' || (int)c == EOF) + break; + *s++ = (char)c; + } + *s = '\0'; + if (*tmp == '#') + { if (tmp[1] == 'x' || tmp[1] == 'X') + return soap_strtol(tmp + 2, NULL, 16); + return atol(tmp + 1); + } + if (!strcmp(tmp, "lt")) + return '<'; + if (!strcmp(tmp, "gt")) + return '>'; + if (!strcmp(tmp, "amp")) + return '&'; + if (!strcmp(tmp, "quot")) + return '"'; + if (!strcmp(tmp, "apos")) + return '\''; +#ifndef WITH_LEAN + return (soap_wchar)soap_int_code(html_entity_codes, tmp, SOAP_UNKNOWN_CHAR); +#else + return SOAP_UNKNOWN_CHAR; /* use this to represent unknown code */ +#endif +} +#endif + +/******************************************************************************/ +#ifdef WITH_LEAN +soap_wchar +soap_get0(struct soap *soap) +{ if (soap->bufidx >= soap->buflen && soap_recv(soap)) + return EOF; + return (unsigned char)soap->buf[soap->bufidx]; +} +#endif + +/******************************************************************************/ +#ifdef WITH_LEAN +soap_wchar +soap_get1(struct soap *soap) +{ if (soap->bufidx >= soap->buflen && soap_recv(soap)) + return EOF; + return (unsigned char)soap->buf[soap->bufidx++]; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +soap_wchar +SOAP_FMAC2 +soap_get(struct soap *soap) +{ register soap_wchar c; + c = soap->ahead; + if (c) + soap->ahead = 0; + else + c = soap_get1(soap); + for (;;) + { if (soap->cdata) + { if (c == ']') + { c = soap_get1(soap); + if (c == ']') + { soap->cdata = 0; + soap_get1(soap); /* skip > */ + c = soap_get1(soap); + } + else + { soap_revget1(soap); + return ']'; + } + } + else + return c; + } + switch (c) + { case '<': + do c = soap_get1(soap); + while (soap_blank(c)); + if (c == '!' || c == '?' || c == '%') + { register int k = 1; + if (c == '!') + { c = soap_get1(soap); + if (c == '[') + { do c = soap_get1(soap); + while ((int)c != EOF && c != '['); + if ((int)c == EOF) + break; + soap->cdata = 1; + c = soap_get1(soap); + continue; + } + if (c == '-' && (c = soap_get1(soap)) == '-') + { do + { c = soap_get1(soap); + if (c == '-' && (c = soap_get1(soap)) == '-') + break; + } while ((int)c != EOF); + } + } + while ((int)c != EOF) + { if (c == '<') + k++; + else if (c == '>') + { if (--k <= 0) + break; + } + c = soap_get1(soap); + } + if ((int)c == EOF) + break; + c = soap_get1(soap); + continue; + } + if (c == '/') + return SOAP_TT; + soap_revget1(soap); + return SOAP_LT; + case '>': + return SOAP_GT; + case '"': + return SOAP_QT; + case '\'': + return SOAP_AP; + case '&': + return soap_char(soap) | 0x80000000; + } + break; + } + return c; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_move(struct soap *soap, long n) +{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Moving %ld bytes forward\n", (long)n)); + for (; n > 0; n--) + if ((int)soap_getchar(soap) == EOF) + return SOAP_EOF; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +size_t +SOAP_FMAC2 +soap_tell(struct soap *soap) +{ return soap->count - soap->buflen + soap->bufidx - (soap->ahead != 0); +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_pututf8(struct soap *soap, register unsigned long c) +{ char tmp[16]; + if (c > 0 && c < 0x80) + { *tmp = (char)c; + return soap_send_raw(soap, tmp, 1); + } +#ifndef WITH_LEAN + if (soap->mode & SOAP_XML_CANONICAL) + { register char *t = tmp; + if (c < 0x0800) + *t++ = (char)(0xC0 | ((c >> 6) & 0x1F)); + else + { if (c < 0x010000) + *t++ = (char)(0xE0 | ((c >> 12) & 0x0F)); + else + { if (c < 0x200000) + *t++ = (char)(0xF0 | ((c >> 18) & 0x07)); + else + { if (c < 0x04000000) + *t++ = (char)(0xF8 | ((c >> 24) & 0x03)); + else + { *t++ = (char)(0xFC | ((c >> 30) & 0x01)); + *t++ = (char)(0x80 | ((c >> 24) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 18) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 12) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 6) & 0x3F)); + } + *t++ = (char)(0x80 | (c & 0x3F)); + *t = '\0'; + } + else +#endif + sprintf(tmp, "&#%lu;", c); + return soap_send(soap, tmp); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +soap_wchar +SOAP_FMAC2 +soap_getutf8(struct soap *soap) +{ register soap_wchar c, c1, c2, c3, c4; + c = soap_get(soap); + if (c < 0x80 || (soap->mode & SOAP_ENC_LATIN)) + return c; + c1 = soap_get(soap); + if (c1 < 0x80) + { soap_unget(soap, c1); + return c; + } + c1 &= 0x3F; + if (c < 0xE0) + return ((soap_wchar)(c & 0x1F) << 6) | c1; + c2 = (soap_wchar)soap_get1(soap) & 0x3F; + if (c < 0xF0) + return ((soap_wchar)(c & 0x0F) << 12) | (c1 << 6) | c2; + c3 = (soap_wchar)soap_get1(soap) & 0x3F; + if (c < 0xF8) + return ((soap_wchar)(c & 0x07) << 18) | (c1 << 12) | (c2 << 6) | c3; + c4 = (soap_wchar)soap_get1(soap) & 0x3F; + if (c < 0xFC) + return ((soap_wchar)(c & 0x03) << 24) | (c1 << 18) | (c2 << 12) | (c3 << 6) | c4; + return ((soap_wchar)(c & 0x01) << 30) | (c1 << 24) | (c2 << 18) | (c3 << 12) | (c4 << 6) | (soap_wchar)(soap_get1(soap) & 0x3F); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_puthex(struct soap *soap, const unsigned char *s, int n) +{ char d[2]; + register int i; +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { if (!(soap->dom->data = soap_s2hex(soap, s, NULL, n))) + return soap->error; + return SOAP_OK; + } +#endif + for (i = 0; i < n; i++) + { register int m = *s++; + d[0] = (char)((m >> 4) + (m > 159 ? '7' : '0')); + m &= 0x0F; + d[1] = (char)(m + (m > 9 ? '7' : '0')); + if (soap_send_raw(soap, d, 2)) + return soap->error; + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +unsigned char* +SOAP_FMAC2 +soap_gethex(struct soap *soap, int *n) +{ +#ifdef WITH_FAST + soap->labidx = 0; + for (;;) + { register char *s; + register int i, k; + if (soap_append_lab(soap, NULL, 0)) + return NULL; + s = soap->labbuf + soap->labidx; + k = soap->lablen - soap->labidx; + soap->labidx = soap->lablen; + for (i = 0; i < k; i++) + { register char d1, d2; + register soap_wchar c; + c = soap_get(soap); + if (soap_isxdigit(c)) + { d1 = (char)c; + c = soap_get(soap); + if (soap_isxdigit(c)) + d2 = (char)c; + else + { soap->error = SOAP_TYPE; + return NULL; + } + } + else + { unsigned char *p; + soap_unget(soap, c); + if (n) + *n = (int)(soap->lablen - k + i); + p = (unsigned char*)soap_malloc(soap, soap->lablen - k + i); + if (p) + memcpy(p, soap->labbuf, soap->lablen - k + i); + return p; + } + *s++ = ((d1 >= 'A' ? (d1 & 0x7) + 9 : d1 - '0') << 4) + (d2 >= 'A' ? (d2 & 0x7) + 9 : d2 - '0'); + } + } +#else + if (soap_new_block(soap)) + return NULL; + for (;;) + { register int i; + register char *s = (char*)soap_push_block(soap, SOAP_BLKLEN); + if (!s) + { soap_end_block(soap); + return NULL; + } + for (i = 0; i < SOAP_BLKLEN; i++) + { register char d1, d2; + register soap_wchar c = soap_get(soap); + if (soap_isxdigit(c)) + { d1 = (char)c; + c = soap_get(soap); + if (soap_isxdigit(c)) + d2 = (char)c; + else + { soap_end_block(soap); + soap->error = SOAP_TYPE; + return NULL; + } + } + else + { unsigned char *p; + soap_unget(soap, c); + if (n) + *n = soap_size_block(soap, i); + p = (unsigned char*)soap_save_block(soap, NULL, 0); + return p; + } + *s++ = ((d1 >= 'A' ? (d1 & 0x7) + 9 : d1 - '0') << 4) + (d2 >= 'A' ? (d2 & 0x7) + 9 : d2 - '0'); + } + } +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putbase64(struct soap *soap, const unsigned char *s, int n) +{ register int i; + register unsigned long m; + char d[4]; + if (!s) + return SOAP_OK; +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { if (!(soap->dom->data = soap_s2base64(soap, s, NULL, n))) + return soap->error; + return SOAP_OK; + } +#endif + for (; n > 2; n -= 3, s += 3) + { m = s[0]; + m = (m << 8) | s[1]; + m = (m << 8) | s[2]; + for (i = 4; i > 0; m >>= 6) + d[--i] = soap_base64o[m & 0x3F]; + if (soap_send_raw(soap, d, 4)) + return soap->error; + } + if (n > 0) + { m = 0; + for (i = 0; i < n; i++) + m = (m << 8) | *s++; + for (; i < 3; i++) + m <<= 8; + for (i++; i > 0; m >>= 6) + d[--i] = soap_base64o[m & 0x3F]; + for (i = 3; i > n; i--) + d[i] = '='; + if (soap_send_raw(soap, d, 4)) + return soap->error; + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +unsigned char* +SOAP_FMAC2 +soap_getbase64(struct soap *soap, int *n, int malloc_flag) +{ +#ifdef WITH_FAST + soap->labidx = 0; + for (;;) + { register int i, k; + register char *s; + if (soap_append_lab(soap, NULL, 2)) + return NULL; + s = soap->labbuf + soap->labidx; + k = 3 * ((soap->lablen - soap->labidx) / 3); + soap->labidx = 3 * (soap->lablen / 3); + if (!s) + return NULL; + for (i = 0; i < k; i += 3) + { register unsigned long m = 0; + register int j = 0; + do + { register soap_wchar c = soap_get(soap); + if (c == '=' || c < 0) + { unsigned char *p; + switch (j) + { case 2: + *s++ = (char)((m >> 4) & 0xFF); + i++; + break; + case 3: + *s++ = (char)((m >> 10) & 0xFF); + *s++ = (char)((m >> 2) & 0xFF); + i += 2; + } + if (n) + *n = (int)(soap->lablen - k + i); + p = (unsigned char*)soap_malloc(soap, soap->lablen - k + i); + if (p) + memcpy(p, soap->labbuf, soap->lablen - k + i); + if (c >= 0) + { while ((int)((c = soap_get(soap)) != EOF) && c != SOAP_LT && c != SOAP_TT) + ; + } + soap_unget(soap, c); + return p; + } + c -= '+'; + if (c >= 0 && c <= 79) + { m = (m << 6) + soap_base64i[c]; + j++; + } + } while (j < 4); + *s++ = (char)((m >> 16) & 0xFF); + *s++ = (char)((m >> 8) & 0xFF); + *s++ = (char)(m & 0xFF); + } + } +#else + if (soap_new_block(soap)) + return NULL; + for (;;) + { register int i; + register char *s = (char*)soap_push_block(soap, 3 * SOAP_BLKLEN); /* must be multiple of 3 */ + if (!s) + { soap_end_block(soap); + return NULL; + } + for (i = 0; i < SOAP_BLKLEN; i++) + { register unsigned long m = 0; + register int j = 0; + do + { register soap_wchar c = soap_get(soap); + if (c == '=' || c < 0) + { unsigned char *p; + i *= 3; + switch (j) + { case 2: + *s++ = (char)((m >> 4) & 0xFF); + i++; + break; + case 3: + *s++ = (char)((m >> 10) & 0xFF); + *s++ = (char)((m >> 2) & 0xFF); + i += 2; + } + if (n) + *n = (int)soap_size_block(soap, i); + p = (unsigned char*)soap_save_block(soap, NULL, 0); + if (c >= 0) + { while ((int)((c = soap_get(soap)) != EOF) && c != SOAP_LT && c != SOAP_TT) + ; + } + soap_unget(soap, c); + return p; + } + c -= '+'; + if (c >= 0 && c <= 79) + { m = (m << 6) + soap_base64i[c]; + j++; + } + } while (j < 4); + *s++ = (char)((m >> 16) & 0xFF); + *s++ = (char)((m >> 8) & 0xFF); + *s++ = (char)(m & 0xFF); + } + } +#endif +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_xop_forward(struct soap *soap, unsigned char **ptr, int *size, char **id, char **type, char **options) +{ int body = soap->body; + if (!soap_peek_element(soap)) + { if (!soap_element_begin_in(soap, "xop:Include", 0) && *soap->href) + { if (soap_dime_forward(soap, ptr, size, id, type, options)) + return soap->error; + } + if (soap->body && soap_element_end_in(soap, NULL)) + return soap->error; + } + soap->body = body; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_dime_forward(struct soap *soap, unsigned char **ptr, int *size, char **id, char **type, char **options) +{ struct soap_xlist *xp = (struct soap_xlist*)SOAP_MALLOC(soap, sizeof(struct soap_xlist)); + *ptr = NULL; + *size = 0; + *id = soap_strdup(soap, soap->href); + *type = NULL; + *options = NULL; + if (!xp) + return soap->error = SOAP_EOM; + xp->next = soap->xlist; + xp->ptr = ptr; + xp->size = size; + xp->id = *id; + xp->type = type; + xp->options = options; + soap->xlist = xp; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_strdup(struct soap *soap, const char *s) +{ char *t = NULL; + if (s && (t = (char*)soap_malloc(soap, strlen(s) + 1))) + strcpy(t, s); + return t; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_new_block(struct soap *soap) +{ struct soap_blist *p; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "New block sequence (prev=%p)\n", soap->blist)); + if (!(p = (struct soap_blist*)SOAP_MALLOC(soap, sizeof(struct soap_blist)))) + return SOAP_EOM; + p->next = soap->blist; + p->ptr = NULL; + p->size = 0; + soap->blist = p; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void* +SOAP_FMAC2 +soap_push_block(struct soap *soap, size_t n) +{ char *p; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push block of %u bytes (%u bytes total)\n", (unsigned int)n, (unsigned int)soap->blist->size + (unsigned int)n)); + if (!(p = (char*)SOAP_MALLOC(soap, n + sizeof(char*) + sizeof(size_t)))) + { soap->error = SOAP_EOM; + return NULL; + } + *(char**)p = soap->blist->ptr; + *(size_t*)(p + sizeof(char*)) = n; + soap->blist->ptr = p; + soap->blist->size += n; + return p + sizeof(char*) + sizeof(size_t); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_pop_block(struct soap *soap) +{ char *p; + if (!soap->blist->ptr) + return; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Pop block\n")); + p = soap->blist->ptr; + soap->blist->size -= *(size_t*)(p + sizeof(char*)); + soap->blist->ptr = *(char**)p; + SOAP_FREE(soap, p); +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +static void +soap_update_ptrs(struct soap *soap, char *start, char *end, long offset) +{ int i; + register struct soap_ilist *ip; + register struct soap_flist *fp; +#ifndef WITH_LEANER + register struct soap_xlist *xp; +#endif + register void *p, **q; + for (i = 0; i < SOAP_IDHASH; i++) + { for (ip = soap->iht[i]; ip; ip = ip->next) + { if (ip->ptr && (char*)ip->ptr >= start && (char*)ip->ptr < end) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Update id='%s' %p -> %p\n", ip->id, ip->ptr, (char*)ip->ptr + offset)); + ip->ptr = (char*)ip->ptr + offset; + } + for (q = &ip->link; q; q = (void**)p) + { p = *q; + if (p && (char*)p >= start && (char*)p < end) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Link update id='%s' %p\n", ip->id, p)); + *q = (char*)p + offset; + } + } + for (q = &ip->copy; q; q = (void**)p) + { p = *q; + if (p && (char*)p >= start && (char*)p < end) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy chain update id='%s' %p\n", ip->id, p)); + *q = (char*)p + offset; + } + } + for (fp = ip->flist; fp; fp = fp->next) + { if ((char*)fp->ptr >= start && (char*)fp->ptr < end) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy list update id='%s' %p\n", ip->id, fp)); + fp->ptr = (char*)fp->ptr + offset; + } + } + } + } +#ifndef WITH_LEANER + for (xp = soap->xlist; xp; xp = xp->next) + { if (xp->ptr && (char*)xp->ptr >= start && (char*)xp->ptr < end) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Update id='%s' %p -> %p\n", xp->id?xp->id:"", xp->ptr, (char*)xp->ptr + offset)); + xp->ptr = (unsigned char**)((char*)xp->ptr + offset); + xp->size = (int*)((char*)xp->size + offset); + xp->type = (char**)((char*)xp->type + offset); + xp->options = (char**)((char*)xp->options + offset); + } + } +#endif +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +static int +soap_has_copies(struct soap *soap, register const char *start, register const char *end) +{ register int i; + register struct soap_ilist *ip; + register struct soap_flist *fp; + register const char *p; + for (i = 0; i < SOAP_IDHASH; i++) + { for (ip = soap->iht[i]; ip; ip = ip->next) + { for (p = (const char*)ip->copy; p; p = *(const char**)p) + if (p >= start && p < end) + return SOAP_ERR; + for (fp = ip->flist; fp; fp = fp->next) + if ((const char*)fp->ptr >= start && (const char*)fp->ptr < end) + return SOAP_ERR; + } + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_resolve(struct soap *soap) +{ register int i; + register struct soap_ilist *ip; + register struct soap_flist *fp; + short flag; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving forwarded data\n")); + for (i = 0; i < SOAP_IDHASH; i++) + { for (ip = soap->iht[i]; ip; ip = ip->next) + { if (ip->ptr) + { register void *p, **q, *r; + q = (void**)ip->link; + ip->link = NULL; + r = ip->ptr; + DBGLOG(TEST, if (q) SOAP_MESSAGE(fdebug, "Traversing link chain to resolve id='%s'\n", ip->id)); + while (q) + { p = *q; + *q = r; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "... link %p -> %p\n", q, r)); + q = (void**)p; + } + } + else if (*ip->id == '#') + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Missing data for id='%s'\n", ip->id)); + strcpy(soap->id, ip->id + 1); + return soap->error = SOAP_MISSING_ID; + } + } + } + do + { flag = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolution phase\n")); + for (i = 0; i < SOAP_IDHASH; i++) + { for (ip = soap->iht[i]; ip; ip = ip->next) + { if (ip->ptr && !soap_has_copies(soap, (const char*)ip->ptr, (const char*)ip->ptr + ip->size)) + { if (ip->copy) + { register void *p, **q = (void**)ip->copy; + DBGLOG(TEST, if (q) SOAP_MESSAGE(fdebug, "Traversing copy chain to resolve id='%s'\n", ip->id)); + ip->copy = NULL; + do + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "... copy %p -> %p (%u bytes)\n", ip->ptr, q, (unsigned int)ip->size)); + p = *q; + memcpy(q, ip->ptr, ip->size); + q = (void**)p; + } while (q); + flag = 1; + } + for (fp = ip->flist; fp; fp = ip->flist) + { register unsigned int k = fp->level; + register void *p = ip->ptr; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving forwarded data type=%d location=%p level=%u,%u id='%s'\n", ip->type, p, ip->level, fp->level, ip->id)); + while (ip->level < k) + { register void **q = (void**)soap_malloc(soap, sizeof(void*)); + if (!q) + return soap->error; + *q = p; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level, new location=%p holds=%p...\n", q, *q)); + p = (void*)q; + k--; + } + if (fp->fcopy) + fp->fcopy(soap, ip->type, fp->type, fp->ptr, p, ip->size); + else + soap_fcopy(soap, ip->type, fp->type, fp->ptr, p, ip->size); + ip->flist = fp->next; + SOAP_FREE(soap, fp); + flag = 1; + } + } + } + } + } while (flag); +#ifdef SOAP_DEBUG + for (i = 0; i < SOAP_IDHASH; i++) + { for (ip = soap->iht[i]; ip; ip = ip->next) + { if (ip->copy || ip->flist) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolution error: forwarded data for id='%s' could not be propagated, please report this problem to the developers\n", ip->id)); + } + } + } +#endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolution done\n")); + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +size_t +SOAP_FMAC2 +soap_size_block(struct soap *soap, size_t n) +{ if (soap->blist->ptr) + { soap->blist->size -= *(size_t*)(soap->blist->ptr + sizeof(char*)) - n; + *(size_t*)(soap->blist->ptr + sizeof(char*)) = n; + } + return soap->blist->size; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +char* +SOAP_FMAC2 +soap_first_block(struct soap *soap) +{ char *p, *q, *r; + p = soap->blist->ptr; + if (!p) + return NULL; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "First block\n")); + r = NULL; + do + { q = *(char**)p; + *(char**)p = r; + r = p; + p = q; + } while (p); + soap->blist->ptr = r; + return r + sizeof(char*) + sizeof(size_t); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +char* +SOAP_FMAC2 +soap_next_block(struct soap *soap) +{ char *p; + p = soap->blist->ptr; + if (p) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Next block\n")); + soap->blist->ptr = *(char**)p; + SOAP_FREE(soap, p); + if (soap->blist->ptr) + return soap->blist->ptr + sizeof(char*) + sizeof(size_t); + } + return NULL; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +size_t +SOAP_FMAC2 +soap_block_size(struct soap *soap) +{ return *(size_t*)(soap->blist->ptr + sizeof(char*)); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_end_block(struct soap *soap) +{ struct soap_blist *bp; + char *p, *q; + bp = soap->blist; + if (bp) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End of block sequence, free all remaining blocks\n")); + for (p = bp->ptr; p; p = q) + { q = *(char**)p; + SOAP_FREE(soap, p); + } + soap->blist = bp->next; + SOAP_FREE(soap, bp); + } + DBGLOG(TEST, if (soap->blist) SOAP_MESSAGE(fdebug, "Restore previous block sequence\n")); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +char* +SOAP_FMAC2 +soap_save_block(struct soap *soap, char *p, int flag) +{ register size_t n; + register char *q, *s; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Save all blocks in contiguous memory space of %u bytes (%p->%p)\n", (unsigned int)soap->blist->size, soap->blist->ptr, p)); + if (soap->blist->size) + { if (!p) + p = (char*)soap_malloc(soap, soap->blist->size); + if (p) + { for (s = p, q = soap_first_block(soap); q; q = soap_next_block(soap)) + { n = soap_block_size(soap); +#ifndef WITH_NOIDREF + if (flag) + soap_update_ptrs(soap, q, q + n, (long)s - (long)q); /* pointers s and q may or may not be related */ +#endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy %u bytes from %p to %p\n", (unsigned int)n, q, s)); + memcpy(s, q, n); + s += n; + } + } + else + soap->error = SOAP_EOM; + } + soap_end_block(soap); + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_putsize(struct soap *soap, const char *type, int size) +{ return soap_putsizes(soap, type, &size, 1); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_putsizes(struct soap *soap, const char *type, const int *size, int dim) +{ return soap_putsizesoffsets(soap, type, size, NULL, dim); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_putsizesoffsets(struct soap *soap, const char *type, const int *size, const int *offset, int dim) +{ int i; + if (!type) + return NULL; + if (soap->version == 2) + { sprintf(soap->type, "%s[%d", type, size[0]); + for (i = 1; i < dim; i++) + sprintf(soap->type + strlen(soap->type), " %d", size[i]); + } + else + { if (offset) + { sprintf(soap->type, "%s[%d", type, size[0] + offset[0]); + for (i = 1; i < dim; i++) + sprintf(soap->type + strlen(soap->type), ",%d", size[i] + offset[i]); + } + else + { sprintf(soap->type, "%s[%d", type, size[0]); + for (i = 1; i < dim; i++) + sprintf(soap->type + strlen(soap->type), ",%d", size[i]); + } + strcat(soap->type, "]"); + } + return soap->type; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_putoffset(struct soap *soap, int offset) +{ return soap_putoffsets(soap, &offset, 1); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_putoffsets(struct soap *soap, const int *offset, int dim) +{ register int i; + sprintf(soap->arrayOffset, "[%d", offset[0]); + for (i = 1; i < dim; i++) + sprintf(soap->arrayOffset + strlen(soap->arrayOffset), ",%d", offset[i]); + strcat(soap->arrayOffset, "]"); + return soap->arrayOffset; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_size(const int *size, int dim) +{ register int i, n = size[0]; + for (i = 1; i < dim; i++) + n *= size[i]; + return n; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getoffsets(const char *attr, const int *size, int *offset, int dim) +{ register int i, j = 0; + if (offset) + for (i = 0; i < dim && attr && *attr; i++) + { attr++; + j *= size[i]; + j += offset[i] = (int)atol(attr); + attr = strchr(attr, ','); + } + else + for (i = 0; i < dim && attr && *attr; i++) + { attr++; + j *= size[i]; + j += (int)atol(attr); + attr = strchr(attr, ','); + } + return j; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getsize(const char *attr1, const char *attr2, int *j) +{ register int n, k; + char *s; + *j = 0; + if (!*attr1) + return -1; + if (*attr1 == '[') + attr1++; + n = 1; + for (;;) + { k = (int)soap_strtol(attr1, &s, 10); + n *= k; + if (k < 0 || n > SOAP_MAXARRAYSIZE || s == attr1) + return -1; + attr1 = strchr(s, ','); + if (!attr1) + attr1 = strchr(s, ' '); + if (attr2 && *attr2) + { attr2++; + *j *= k; + k = (int)soap_strtol(attr2, &s, 10); + *j += k; + if (k < 0) + return -1; + attr2 = s; + } + if (!attr1) + break; + attr1++; + } + return n - *j; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getsizes(const char *attr, int *size, int dim) +{ register int i, k, n; + if (!*attr) + return -1; + i = strlen(attr); + n = 1; + do + { for (i = i-1; i >= 0; i--) + if (attr[i] == '[' || attr[i] == ',' || attr[i] == ' ') + break; + k = (int)atol(attr + i + 1); + n *= size[--dim] = k; + if (k < 0 || n > SOAP_MAXARRAYSIZE) + return -1; + } while (i >= 0 && attr[i] != '['); + return n; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getposition(const char *attr, int *pos) +{ register int i, n; + if (!*attr) + return -1; + n = 0; + i = 1; + do + { pos[n++] = (int)atol(attr + i); + while (attr[i] && attr[i] != ',' && attr[i] != ']') + i++; + if (attr[i] == ',') + i++; + } while (n < SOAP_MAXDIMS && attr[i] && attr[i] != ']'); + return n; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_push_namespace(struct soap *soap, const char *id, const char *ns) +{ register struct soap_nlist *np; + register struct Namespace *p; + np = (struct soap_nlist*)SOAP_MALLOC(soap, sizeof(struct soap_nlist) + strlen(id)); + if (!np) + return soap->error = SOAP_EOM; + strcpy(np->id, id); + np->level = soap->level; + np->index = -1; + np->ns = NULL; + np->next = soap->nlist; + soap->nlist = np; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push namespace binding (level=%u) '%s' '%s'\n", soap->level, id, ns)); + p = soap->local_namespaces; + if (p) + { register short i = 0; + for (; p->id; p++, i++) + { if (p->ns && !strcmp(ns, p->ns)) + { if (p->out) + { SOAP_FREE(soap, p->out); + p->out = NULL; + } + break; + } + if (p->out) + { if (!SOAP_STRCMP(ns, p->out)) + break; + } + else if (p->in) + { if (!soap_tag_cmp(ns, p->in)) + { if ((p->out = (char*)SOAP_MALLOC(soap, strlen(ns) + 1))) + strcpy(p->out, ns); + break; + } + } + } + if (p && p->id) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push OK ('%s' matches '%s' in namespace table)\n", id, p->id)); + np->index = i; + } + } + if (!p || !p->id) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Push NOT OK: no match found for '%s' in namespace mapping table (added to stack anyway)\n", ns)); + np->ns = (char*)SOAP_MALLOC(soap, strlen(ns) + 1); + if (!np->ns) + return soap->error = SOAP_EOM; + strcpy(np->ns, ns); + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_pop_namespace(struct soap *soap) +{ register struct soap_nlist *np; + while (soap->nlist && soap->nlist->level >= soap->level) + { np = soap->nlist->next; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Popped namespace binding (level=%u) '%s'\n", soap->level, soap->nlist->id)); + if (soap->nlist->ns) + SOAP_FREE(soap, soap->nlist->ns); + SOAP_FREE(soap, soap->nlist); + soap->nlist = np; + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_match_namespace(struct soap *soap, const char *id1, const char *id2, int n1, int n2) +{ register struct soap_nlist *np = soap->nlist; + while (np && (strncmp(np->id, id1, n1) || np->id[n1])) + np = np->next; + if (np) + { if (np->index < 0 || (np->index >= 0 && soap->local_namespaces[np->index].id && (strncmp(soap->local_namespaces[np->index].id, id2, n2) || soap->local_namespaces[np->index].id[n2]))) + return SOAP_NAMESPACE; + return SOAP_OK; + } + if (n1 == 3 && n1 == n2 && !strcmp(id1, "xml") && !strcmp(id1, id2)) + return SOAP_OK; + return SOAP_SYNTAX_ERROR; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_tag_cmp(const char *s, const char *t) +{ for (;;) + { register int c1 = *s; + register int c2 = *t; + if (!c1 || c1 == '"') + break; + if (c2 != '-') + { if (c1 != c2) + { if (c1 >= 'A' && c1 <= 'Z') + c1 += 'a' - 'A'; + if (c2 >= 'A' && c2 <= 'Z') + c2 += 'a' - 'A'; + } + if (c1 != c2) + { if (c2 != '*') + return 1; + c2 = *++t; + if (!c2) + return 0; + if (c2 >= 'A' && c2 <= 'Z') + c2 += 'a' - 'A'; + for (;;) + { c1 = *s; + if (!c1 || c1 == '"') + break; + if (c1 >= 'A' && c1 <= 'Z') + c1 += 'a' - 'A'; + if (c1 == c2 && !soap_tag_cmp(s + 1, t + 1)) + return 0; + s++; + } + break; + } + } + s++; + t++; + } + if (*t == '*' && !t[1]) + return 0; + return *t; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_match_tag(struct soap *soap, const char *tag1, const char *tag2) +{ register const char *s, *t; + if (!tag1 || !tag2 || !*tag2) + return SOAP_OK; + s = strchr(tag1, ':'); + t = strchr(tag2, ':'); + if (t) + { if (s) + { if (t[1] && SOAP_STRCMP(s + 1, t + 1)) + return SOAP_TAG_MISMATCH; + if (t != tag2 && soap_match_namespace(soap, tag1, tag2, s - tag1, t - tag2)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags '%s' and '%s' match but namespaces differ\n", tag1, tag2)); + return SOAP_TAG_MISMATCH; + } + } + else if (SOAP_STRCMP(tag1, t + 1)) + return SOAP_TAG_MISMATCH; + else if (t != tag2 && soap_match_namespace(soap, tag1, tag2, 0, t - tag2)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags '%s' and '%s' match but namespaces differ\n", tag1, tag2)); + return SOAP_TAG_MISMATCH; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags and (default) namespaces match: '%s' '%s'\n", tag1, tag2)); + return SOAP_OK; + } + if (s) + { if (SOAP_STRCMP(s + 1, tag2)) + return SOAP_TAG_MISMATCH; + } + else if (SOAP_STRCMP(tag1, tag2)) + return SOAP_TAG_MISMATCH; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Tags match: '%s' '%s'\n", tag1, tag2)); + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_match_array(struct soap *soap, const char *type) +{ if (*soap->arrayType) + if (soap_match_tag(soap, soap->arrayType, type) + && soap_match_tag(soap, soap->arrayType, "xsd:anyType") + && soap_match_tag(soap, soap->arrayType, "xsd:ur-type") + ) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array type mismatch: '%s' '%s'\n", soap->arrayType, type)); + return SOAP_TAG_MISMATCH; + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ + +#ifdef WITH_OPENSSL +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_ssl_server_context(struct soap *soap, unsigned short flags, const char *keyfile, const char *password, const char *cafile, const char *capath, const char *dhfile, const char *randfile, const char *sid) +{ int err; + soap->keyfile = keyfile; + soap->password = password; + soap->cafile = cafile; + soap->capath = capath; + if (dhfile) + { soap->dhfile = dhfile; + soap->rsa = 0; + } + else + { soap->dhfile = NULL; + soap->rsa = 1; + } + soap->randfile = randfile; + soap->require_client_auth = (flags & SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION); + if (!(err = soap->fsslauth(soap))) + if (sid) + SSL_CTX_set_session_id_context(soap->ctx, (unsigned char*)sid, strlen(sid)); + return err; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_ssl_client_context(struct soap *soap, unsigned short flags, const char *keyfile, const char *password, const char *cafile, const char *capath, const char *randfile) +{ soap->keyfile = keyfile; + soap->password = password; + soap->cafile = cafile; + soap->capath = capath; + soap->dhfile = NULL; + soap->rsa = 0; + soap->randfile = randfile; + soap->require_server_auth = (flags & SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION); + return soap->fsslauth(soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +static void +ssl_init(struct soap *soap) +{ static int done = 0; + if (!done) + { done = 1; + SSL_library_init(); +#ifndef WITH_LEAN + SSL_load_error_strings(); +#endif + if (!RAND_load_file("/dev/urandom", 1024)) + { RAND_seed(soap->buf, sizeof(soap->buf)); + while (!RAND_status()) + { int r = soap_random; + RAND_seed(&r, sizeof(int)); + } + } + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static const char * +ssl_error(struct soap *soap, int ret) +{ int err = SSL_get_error(soap->ssl, ret); + const char *msg = soap_str_code(h_ssl_error_codes, err); + if (msg) + strcpy(soap->msgbuf, msg); + else + return ERR_error_string(err, soap->msgbuf); + if (ERR_peek_error()) + { unsigned long r; + strcat(soap->msgbuf, "\n"); + while ((r = ERR_get_error())) + ERR_error_string_n(r, soap->msgbuf + strlen(soap->msgbuf), sizeof(soap->msgbuf) - strlen(soap->msgbuf)); + } + else + { switch (ret) + { case 0: + strcpy(soap->msgbuf, "EOF was observed that violates the protocol. The client probably provided invalid authentication information."); + break; + case -1: + sprintf(soap->msgbuf, "Error observed by underlying BIO: %s", strerror(errno)); + break; + } + } + return soap->msgbuf; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static int +ssl_password(char *buf, int num, int rwflag, void *userdata) +{ if (num < (int)strlen((char*)userdata) + 1) + return 0; + return strlen(strcpy(buf, (char*)userdata)); +} +#endif + +/******************************************************************************/ +/* This callback is included for future references. It should not be deleted +#ifndef PALM_2 +static DH * +ssl_tmp_dh(SSL *ssl, int is_export, int keylength) +{ static DH *dh512 = NULL; + static DH *dh1024 = NULL; + DH *dh; + switch (keylength) + { case 512: + if (!dh512) + { BIO *bio = BIO_new_file("dh512.pem", "r"); + if (bio) + { dh512 = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); + BIO_free(bio); + return dh512; + } + } + else + return dh512; + default: + if (!dh1024) + { BIO *bio = BIO_new_file("dh1024.pem", "r"); + if (bio) + { dh1024 = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); + BIO_free(bio); + } + } + dh = dh1024; + } + return dh; +} +#endif +*/ + +/******************************************************************************/ +#ifndef PALM_1 +static int +ssl_auth_init(struct soap *soap) +{ ssl_init(soap); + if (!soap->ctx) + { if (!(soap->ctx = SSL_CTX_new(SSLv23_method()))) + return soap_set_receiver_error(soap, "SSL error", "Can't setup context", SOAP_SSL_ERROR); + } + if (soap->randfile) + { if (!RAND_load_file(soap->randfile, -1)) + return soap_set_receiver_error(soap, "SSL error", "Can't load randomness", SOAP_SSL_ERROR); + } + if (soap->cafile || soap->capath) + { if (!SSL_CTX_load_verify_locations(soap->ctx, soap->cafile, soap->capath)) + return soap_set_receiver_error(soap, "SSL error", "Can't read CA file and directory", SOAP_SSL_ERROR); + } + if (!SSL_CTX_set_default_verify_paths(soap->ctx)) + return soap_set_receiver_error(soap, "SSL error", "Can't read default CA file and/or directory", SOAP_SSL_ERROR); + if (soap->password) + { SSL_CTX_set_default_passwd_cb_userdata(soap->ctx, (void*)soap->password); + SSL_CTX_set_default_passwd_cb(soap->ctx, ssl_password); + } +/* See below */ + if (soap->keyfile) + { if (!SSL_CTX_use_certificate_chain_file(soap->ctx, soap->keyfile)) + return soap_set_receiver_error(soap, "SSL error", "Can't read certificate key file", SOAP_SSL_ERROR); + if (soap->password) + { SSL_CTX_set_default_passwd_cb_userdata(soap->ctx, (void*)soap->password); + SSL_CTX_set_default_passwd_cb(soap->ctx, ssl_password); + } + if (!SSL_CTX_use_PrivateKey_file(soap->ctx, soap->keyfile, SSL_FILETYPE_PEM)) + return soap_set_receiver_error(soap, "SSL error", "Can't read key file", SOAP_SSL_ERROR); + } +/* Suggested alternative approach to check cafile first before the key file: + if (!soap->cafile || !SSL_CTX_use_certificate_chain_file(soap->ctx, soap->cafile)) + { if (soap->keyfile) + { if (!SSL_CTX_use_certificate_chain_file(soap->ctx, soap->keyfile)) + return soap_set_receiver_error(soap, "SSL error", "Can't read certificate or key file", SOAP_SSL_ERROR); + if (!SSL_CTX_use_PrivateKey_file(soap->ctx, soap->keyfile, SSL_FILETYPE_PEM)) + return soap_set_receiver_error(soap, "SSL error", "Can't read key file", SOAP_SSL_ERROR); + } + } +*/ + if (soap->rsa) + { RSA *rsa = RSA_generate_key(512, RSA_F4, NULL, NULL); + if (!SSL_CTX_set_tmp_rsa(soap->ctx, rsa)) + { if (rsa) + RSA_free(rsa); + return soap_set_receiver_error(soap, "SSL error", "Can't set RSA key", SOAP_SSL_ERROR); + } + RSA_free(rsa); + } + else if (soap->dhfile) + { DH *dh = 0; + BIO *bio; + bio = BIO_new_file(soap->dhfile, "r"); + if (!bio) + return soap_set_receiver_error(soap, "SSL error", "Can't read DH file", SOAP_SSL_ERROR); + dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); + BIO_free(bio); + if (SSL_CTX_set_tmp_dh(soap->ctx, dh) < 0) + { if (dh) + DH_free(dh); + return soap_set_receiver_error(soap, "SSL error", "Can't set DH parameters", SOAP_SSL_ERROR); + } + DH_free(dh); + } + SSL_CTX_set_options(soap->ctx, SSL_OP_ALL | SSL_OP_NO_SSLv2); + SSL_CTX_set_verify(soap->ctx, soap->require_client_auth ? (SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT) : soap->require_server_auth ? SSL_VERIFY_PEER : SSL_VERIFY_NONE, soap->fsslverify); +#if (OPENSSL_VERSION_NUMBER < 0x00905100L) + SSL_CTX_set_verify_depth(soap->ctx, 1); +#else + SSL_CTX_set_verify_depth(soap->ctx, 9); +#endif + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static int +ssl_verify_callback(int ok, X509_STORE_CTX *store) +{ +#ifdef SOAP_DEBUG + if (!ok) + { char data[256]; + X509 *cert = X509_STORE_CTX_get_current_cert(store); + fprintf(stderr, "SSL verify error or warning with certificate at depth %d: %s\n", X509_STORE_CTX_get_error_depth(store), X509_verify_cert_error_string(X509_STORE_CTX_get_error(store))); + X509_NAME_oneline(X509_get_issuer_name(cert), data, sizeof(data)); + fprintf(stderr, "certificate issuer %s\n", data); + X509_NAME_oneline(X509_get_subject_name(cert), data, sizeof(data)); + fprintf(stderr, "certificate subject %s\n", data); + } +#endif + /* return 1 to always continue, but unsafe progress will be terminated by SSL */ + return ok; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_ssl_accept(struct soap *soap) +{ int i, r; + if (!soap_valid_socket(soap->socket)) + return soap_set_receiver_error(soap, "SSL error", "No socket in soap_ssl_accept()", SOAP_SSL_ERROR); + if (!soap->ctx && (soap->error = soap->fsslauth(soap))) + return SOAP_INVALID_SOCKET; + if (!soap->ssl) + { soap->ssl = SSL_new(soap->ctx); + if (!soap->ssl) + return soap_set_receiver_error(soap, "SSL error", "SSL_new() failed in soap_ssl_accept()", SOAP_SSL_ERROR); + } + else + SSL_clear(soap->ssl); + soap->imode |= SOAP_ENC_SSL; + soap->omode |= SOAP_ENC_SSL; +#ifdef WIN32 + { u_long nonblocking = 1; + ioctlsocket((SOAP_SOCKET)soap->socket, FIONBIO, &nonblocking); + } +#else + fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)|O_NONBLOCK); +#endif + soap->bio = BIO_new_socket((SOAP_SOCKET)soap->socket, BIO_NOCLOSE); + SSL_set_bio(soap->ssl, soap->bio, soap->bio); + i = 100; /* 100 * 0.1 ms retries */ + while ((r = SSL_accept(soap->ssl)) <= 0) + { int err = SSL_get_error(soap->ssl, r); + if (err == SSL_ERROR_WANT_READ || err == SSL_ERROR_WANT_WRITE) + { struct timeval timeout; + fd_set fd; + if (i-- <= 0) + break; + timeout.tv_sec = 0; + timeout.tv_usec = 100000; + FD_ZERO(&fd); + FD_SET((SOAP_SOCKET)soap->socket, &fd); + r = select((SOAP_SOCKET)(soap->socket + 1), &fd, NULL, &fd, &timeout); + if (r < 0 && soap_socket_errno != SOAP_EINTR) + { soap->errnum = soap_socket_errno; + return SOAP_EOF; + } + } + else + { soap->errnum = err; + break; + } + } +#ifdef WIN32 + { u_long blocking = 0; + ioctlsocket((SOAP_SOCKET)soap->socket, FIONBIO, &blocking); + } +#else + fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)&~O_NONBLOCK); +#endif + if (r <= 0) + { soap_set_receiver_error(soap, ssl_error(soap, r), "SSL_accept() failed in soap_ssl_accept()", SOAP_SSL_ERROR); + soap_closesock(soap); + return SOAP_SSL_ERROR; + } + if (soap->require_client_auth) + { X509 *peer; + int err; + if ((err = SSL_get_verify_result(soap->ssl)) != X509_V_OK) + { soap_closesock(soap); + return soap_set_sender_error(soap, X509_verify_cert_error_string(err), "SSL certificate presented by peer cannot be verified in soap_ssl_accept()", SOAP_SSL_ERROR); + } + peer = SSL_get_peer_certificate(soap->ssl); + if (!peer) + { soap_closesock(soap); + return soap_set_sender_error(soap, "SSL error", "No SSL certificate was presented by the peer in soap_ssl_accept()", SOAP_SSL_ERROR); + } + X509_free(peer); + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#endif /* WITH_OPENSSL */ + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_init(struct soap *soap) +{ soap->errmode = 1; +#ifdef WIN32 + if (tcp_done) + return 0; + else + { WSADATA w; + if (WSAStartup(MAKEWORD(1, 1), &w)) + return -1; + tcp_done = 1; + } +#endif + return 0; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_done(struct soap *soap) +{ +#ifdef SOAP_DEBUG + int i; +#endif + soap_free(soap); + while (soap->clist) + { struct soap_clist *p = soap->clist->next; + SOAP_FREE(soap, soap->clist); + soap->clist = p; + } + soap->keep_alive = 0; /* to force close the socket */ + soap_closesock(soap); +#ifdef WITH_COOKIES + soap_free_cookies(soap); +#endif + while (soap->plugins) + { register struct soap_plugin *p = soap->plugins->next; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Removing plugin '%s'\n", soap->plugins->id)); + if (soap->plugins->fcopy || !soap->copy) + soap->plugins->fdelete(soap, soap->plugins); + SOAP_FREE(soap, soap->plugins); + soap->plugins = p; + } + soap->fplugin = fplugin; +#ifndef WITH_NOHTTP + soap->fpost = http_post; + soap->fget = http_get; + soap->fposthdr = http_post_header; + soap->fresponse = http_response; + soap->fparse = http_parse; + soap->fparsehdr = http_parse_header; +#endif +#ifndef WITH_NOIO +#ifndef WITH_IPV6 + soap->fresolve = tcp_gethost; +#else + soap->fresolve = NULL; +#endif + soap->faccept = tcp_accept; + soap->fopen = tcp_connect; + soap->fclose = tcp_disconnect; + soap->fclosesocket = tcp_closesocket; + soap->fshutdownsocket = tcp_shutdownsocket; + soap->fsend = fsend; + soap->frecv = frecv; + soap->fpoll = soap_poll; +#else + soap->fopen = NULL; + soap->fclose = NULL; + soap->fpoll = NULL; +#endif +#ifndef WITH_LEANER + soap->fprepareinit = NULL; + soap->fpreparesend = NULL; + soap->fpreparerecv = NULL; +#endif + soap->fseterror = NULL; + soap->fignore = NULL; + soap->fserveloop = NULL; +#ifdef WITH_OPENSSL + if (soap->session) + { SSL_SESSION_free(soap->session); + soap->session = NULL; + } +#endif + if (!soap->copy) + { if (soap_valid_socket(soap->master)) + { soap->fclosesocket(soap, (SOAP_SOCKET)soap->master); + soap->master = SOAP_INVALID_SOCKET; + } +#ifdef WITH_OPENSSL + if (soap->ctx) + { SSL_CTX_free(soap->ctx); + soap->ctx = NULL; + } +#endif + } +#ifdef SOAP_DEBUG + for (i = 0; i < SOAP_MAXLOGS; i++) + { if (soap->logfile[i]) + { SOAP_FREE(soap, (void*)soap->logfile[i]); + soap->logfile[i] = NULL; + } + soap_close_logfile(soap, i); + } + soap_free_mht(soap); +#endif +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_cleanup(struct soap *soap) +{ soap_done(soap); +#ifdef WIN32 + if (!tcp_done) + return; + tcp_done = 0; + WSACleanup(); +#endif +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static const char* +tcp_error(struct soap *soap) +{ register const char *msg = NULL; + switch (soap->errmode) + { case 0: + msg = soap_strerror(soap); + break; + case 1: + msg = "WSAStartup failed"; + break; + case 2: + { +#ifndef WITH_LEAN + msg = soap_str_code(h_error_codes, soap->errnum); + if (!msg) +#endif + { sprintf(soap->msgbuf, "TCP/UDP IP error %d", soap->errnum); + msg = soap->msgbuf; + } + } + } + return msg; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static const char* +http_error(struct soap *soap, int status) +{ register const char *msg = SOAP_STR_EOS; +#ifndef WITH_LEAN + msg = soap_str_code(h_http_error_codes, status); + if (!msg) + msg = SOAP_STR_EOS; +#endif + return msg; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_IPV6 +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr) +{ soap_int32 iadd = -1; + struct hostent hostent, *host = &hostent; +#ifdef VXWORKS + int hostint; + char *addrcopy = (char*)SOAP_MALLOC(soap, strlen(addr) + 1); /*copy of addr. */ + /* inet_addr(), and hostGetByName() expect "char *"; addr is a "const char *". */ + strncpy(addrcopy, addr, strlen(addr)+1); + iadd = inet_addr(addrcopy); +#else +#if defined(_AIXVERSION_431) || defined(__osf__) + struct hostent_data ht_data; +#endif + iadd = inet_addr(addr); +#endif + if (iadd != -1) + { memcpy(inaddr, &iadd, sizeof(iadd)); +#ifdef VXWORKS + SOAP_FREE(soap, addrcopy); +#endif + return SOAP_OK; + } +#if defined(__GLIBC__) + if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0) + host = NULL; +#elif defined(_AIXVERSION_431) || defined(__osf__) + memset((void*)&ht_data, 0, sizeof(ht_data)); + if (gethostbyname_r(addr, &hostent, &ht_data) < 0) + { host = NULL; + soap->errnum = h_errno; + } +#elif defined(HAVE_GETHOSTBYNAME_R) + host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum); +#elif defined(VXWORKS) + /* If the DNS resolver library resolvLib has been configured in the vxWorks + * image, a query for the host IP address is sent to the DNS server, if the + * name was not found in the local host table. */ + hostint = hostGetByName(addrcopy); + if (hostint == ERROR) + { host = NULL; + soap->errnum = soap_errno; + } + SOAP_FREE(soap, addrcopy); /*free() is placed after the error checking to assure that + * errno captured is that from hostGetByName() */ +#else + if (!(host = gethostbyname(addr))) + soap->errnum = h_errno; +#endif + if (!host) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Host name not found\n")); + return SOAP_ERR; + } +#ifdef VXWORKS + inaddr->s_addr = hostint; +#else + memcpy(inaddr, host->h_addr, host->h_length); +#endif + return SOAP_OK; +} +#endif +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_connect(struct soap *soap, const char *endpoint, const char *host, int port) +{ +#ifdef WITH_IPV6 + struct addrinfo hints, *res, *ressave; + int err; +#endif + register int fd; +#ifndef WITH_LEAN + int len = SOAP_BUFLEN; + int set = 1; +#endif + if (soap_valid_socket(soap->socket)) + soap->fclosesocket(soap, (SOAP_SOCKET)soap->socket); + soap->socket = SOAP_INVALID_SOCKET; + if (tcp_init(soap)) + { soap->errnum = 0; + soap_set_sender_error(soap, tcp_error(soap), "TCP init failed in tcp_connect()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + soap->errmode = 0; +#ifdef WITH_IPV6 + memset((void*)&hints, 0, sizeof(hints)); + hints.ai_family = PF_UNSPEC; +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + hints.ai_socktype = SOCK_DGRAM; + else +#endif + hints.ai_socktype = SOCK_STREAM; + soap->errmode = 2; + if (soap->proxy_host) + err = getaddrinfo(soap->proxy_host, soap_int2s(soap, soap->proxy_port), &hints, &res); + else + err = getaddrinfo(host, soap_int2s(soap, port), &hints, &res); + if (err) + { soap_set_sender_error(soap, gai_strerror(err), "getaddrinfo failed in tcp_connect()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + ressave = res; +again: + fd = (int)socket(res->ai_family, res->ai_socktype, res->ai_protocol); + soap->errmode = 0; +#else +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + fd = (int)socket(AF_INET, SOCK_DGRAM, 0); + else +#endif + fd = (int)socket(AF_INET, SOCK_STREAM, 0); +#endif + if (fd < 0) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "socket failed in tcp_connect()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#ifdef SOCKET_CLOSE_ON_EXEC +#ifdef WIN32 +#ifndef UNDER_CE + SetHandleInformation((HANDLE)fd, HANDLE_FLAG_INHERIT, 0); +#endif +#else + fcntl(fd, F_SETFD, 1); +#endif +#endif +#ifndef WITH_LEAN + if (soap->connect_flags & SO_LINGER) + { struct linger linger; + memset((void*)&linger, 0, sizeof(linger)); + linger.l_onoff = 1; + linger.l_linger = 0; + if (setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_LINGER, (char*)&linger, sizeof(struct linger))) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_LINGER failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + } + if ((soap->connect_flags & ~SO_LINGER) && setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, soap->connect_flags & ~SO_LINGER, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "setsockopt failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + if (soap->keep_alive && setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_KEEPALIVE, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_KEEPALIVE failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + if (setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_SNDBUF, (char*)&len, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_SNDBUF failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + if (setsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_RCVBUF, (char*)&len, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "setsockopt SO_RCVBUF failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } +#ifdef TCP_NODELAY + if (!(soap->omode & SOAP_IO_UDP) && setsockopt((SOAP_SOCKET)fd, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "setsockopt TCP_NODELAY failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } +#endif +#endif + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Opening socket %d to host='%s' port=%d\n", fd, host, port)); +#ifndef WITH_IPV6 + soap->peerlen = sizeof(soap->peer); + memset((void*)&soap->peer, 0, sizeof(soap->peer)); + soap->peer.sin_family = AF_INET; + soap->errmode = 2; + if (soap->proxy_host) + { if (soap->fresolve(soap, soap->proxy_host, &soap->peer.sin_addr)) + { soap_set_sender_error(soap, tcp_error(soap), "get proxy host by name failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + soap->peer.sin_port = htons((short)soap->proxy_port); + } + else + { if (soap->fresolve(soap, host, &soap->peer.sin_addr)) + { soap_set_sender_error(soap, tcp_error(soap), "get host by name failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + soap->peer.sin_port = htons((short)port); + } + soap->errmode = 0; + if ((soap->omode & SOAP_IO_UDP)) + return fd; +#endif +#ifndef WITH_LEAN + if (soap->connect_timeout) +#if defined(WIN32) + { u_long nonblocking = 1; + ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &nonblocking); + } +#elif defined(VXWORKS) + { vx_nonblocking = TRUE; + ioctl((SOAP_SOCKET)fd, FIONBIO, (int)(&vx_nonblocking)); /* modified to use fd */ + } +#else + fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)|O_NONBLOCK); +#endif + else +#if defined(WIN32) + { u_long blocking = 0; + ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &blocking); + } +#elif defined(VXWORKS) + { vx_nonblocking = FALSE; + ioctl((SOAP_SOCKET)fd, FIONBIO, (int)(&vx_nonblocking)); /* modified to use fd */ + } +#else + fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)&~O_NONBLOCK); +#endif +#endif + for (;;) + { +#ifdef WITH_IPV6 + if (connect((SOAP_SOCKET)fd, res->ai_addr, res->ai_addrlen)) +#else + if (connect((SOAP_SOCKET)fd, (struct sockaddr*)&soap->peer, sizeof(soap->peer))) +#endif + { +#ifndef WITH_LEAN + if (soap->connect_timeout && (soap_socket_errno == SOAP_EINPROGRESS || soap_socket_errno == SOAP_EWOULDBLOCK)) + { struct timeval timeout; + SOAP_SOCKLEN_T k; + fd_set fds; + if (soap->connect_timeout > 0) + { timeout.tv_sec = soap->connect_timeout; + timeout.tv_usec = 0; + } + else + { timeout.tv_sec = -soap->connect_timeout/1000000; + timeout.tv_usec = -soap->connect_timeout%1000000; + } + FD_ZERO(&fds); + FD_SET((SOAP_SOCKET)fd, &fds); + for (;;) + { int r = select((SOAP_SOCKET)(fd + 1), NULL, &fds, NULL, &timeout); + if (r > 0) + break; + if (!r) + { soap->errnum = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Connect timeout\n")); + soap_set_sender_error(soap, "Timeout", "connect failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + if (soap_socket_errno != SOAP_EINTR) + { soap->errnum = soap_socket_errno; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not connect to host\n")); + soap_set_sender_error(soap, tcp_error(soap), "connect failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + } + k = (SOAP_SOCKLEN_T)sizeof(soap->errnum); + if (!getsockopt((SOAP_SOCKET)fd, SOL_SOCKET, SO_ERROR, (char*)&soap->errnum, &k) && !soap->errnum) /* portability note: see SOAP_SOCKLEN_T definition in stdsoap2.h */ + break; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not connect to host\n")); + soap->errnum = soap_socket_errno; + soap_set_sender_error(soap, tcp_error(soap), "connect failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + else +#endif +#ifdef WITH_IPV6 + if (res->ai_next) + { res = res->ai_next; + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + goto again; + } + else +#endif + if (soap_socket_errno != SOAP_EINTR) + { soap->errnum = soap_socket_errno; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not connect to host\n")); + soap_set_sender_error(soap, tcp_error(soap), "connect failed in tcp_connect()", SOAP_TCP_ERROR); + soap->fclosesocket(soap, (SOAP_SOCKET)fd); + return SOAP_INVALID_SOCKET; + } + } + else + break; + } +#ifdef WITH_IPV6 + soap->peerlen = 0; /* IPv6: already connected so use send() */ + freeaddrinfo(ressave); +#endif +#ifndef WITH_LEAN + if (soap->connect_timeout) +#if defined(WIN32) + { u_long blocking = 0; + ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &blocking); + } +#elif defined(VXWORKS) + { vx_nonblocking = FALSE; + ioctl((SOAP_SOCKET)fd, FIONBIO, (int)(&vx_nonblocking)); /* modified to use fd */ + } +#else + fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)&~O_NONBLOCK); +#endif +#endif + soap->socket = fd; + soap->imode &= ~SOAP_ENC_SSL; + soap->omode &= ~SOAP_ENC_SSL; + if (!strncmp(endpoint, "https:", 6)) + { +#ifdef WITH_OPENSSL + int r; + if (soap->proxy_host) + { short v; + unsigned int k = soap->omode; /* make sure we only parse HTTP */ + size_t n = soap->count; /* save the content length */ + soap->omode &= ~SOAP_ENC; /* mask IO and ENC */ + soap->omode |= SOAP_IO_BUFFER; + soap_begin_send(soap); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Connecting to proxy server\n")); + sprintf(soap->tmpbuf, "CONNECT %s:%d HTTP/%s", host, port, soap->http_version); + if ((soap->error = soap->fposthdr(soap, soap->tmpbuf, NULL))) + return SOAP_INVALID_SOCKET; +#ifndef WITH_LEAN + if (soap->proxy_userid && soap->proxy_passwd && strlen(soap->proxy_userid) + strlen(soap->proxy_passwd) < 761) + { sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd); + strcpy(soap->tmpbuf, "Basic "); + soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262)); + if ((soap->error = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf))) + return soap->error; + } +#endif + if ((soap->error = soap->fposthdr(soap, NULL, NULL)) + || soap_flush(soap)) + return SOAP_INVALID_SOCKET; + soap->omode = k; + k = soap->imode; + soap->imode &= ~SOAP_ENC; /* mask IO and ENC */ + v = soap->version; /* preserve */ + if (soap_begin_recv(soap)) + return SOAP_INVALID_SOCKET; + soap->version = v; /* restore */ + soap->imode = k; /* restore */ + soap->count = n; /* restore */ + soap_begin_send(soap); + } + if (!soap->ctx && (soap->error = soap->fsslauth(soap))) + { soap_set_sender_error(soap, "SSL error", "SSL authentication failed in tcp_connect(): check password, key file, and ca file.", SOAP_SSL_ERROR); + return SOAP_INVALID_SOCKET; + } + soap->ssl = SSL_new(soap->ctx); + if (!soap->ssl) + { soap->error = SOAP_SSL_ERROR; + return SOAP_INVALID_SOCKET; + } + if (soap->session) + { if (!strcmp(soap->session_host, host) && soap->session_port == port) + SSL_set_session(soap->ssl, soap->session); + SSL_SESSION_free(soap->session); + soap->session = NULL; + } + soap->imode |= SOAP_ENC_SSL; + soap->omode |= SOAP_ENC_SSL; + soap->bio = BIO_new_socket((SOAP_SOCKET)fd, BIO_NOCLOSE); + SSL_set_bio(soap->ssl, soap->bio, soap->bio); +#ifndef WITH_LEAN + if (soap->connect_timeout) +#ifdef WIN32 + { u_long nonblocking = 1; + ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &nonblocking); + } +#else + fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)|O_NONBLOCK); +#endif +#endif + for (;;) + { if ((r = SSL_connect(soap->ssl)) <= 0) + { int err = SSL_get_error(soap->ssl, r); + if (err != SSL_ERROR_NONE && err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE) + { soap_set_sender_error(soap, ssl_error(soap, r), "SSL connect failed in tcp_connect()", SOAP_SSL_ERROR); + return SOAP_INVALID_SOCKET; + } + if (soap->connect_timeout) + { struct timeval timeout; + fd_set fds; + if (soap->connect_timeout > 0) + { timeout.tv_sec = soap->connect_timeout; + timeout.tv_usec = 0; + } + else + { timeout.tv_sec = -soap->connect_timeout/1000000; + timeout.tv_usec = -soap->connect_timeout%1000000; + } + FD_ZERO(&fds); + FD_SET((SOAP_SOCKET)soap->socket, &fds); + for (;;) + { int r = select((SOAP_SOCKET)(soap->socket + 1), &fds, NULL, &fds, &timeout); + if (r > 0) + break; + if (!r) + { soap->errnum = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Connect timeout\n")); + soap_set_sender_error(soap, "Timeout", "connect failed in tcp_connect()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + } + continue; + } + } + break; + } +#ifndef WITH_LEAN + if (soap->connect_timeout) +#ifdef WIN32 + { u_long blocking = 0; + ioctlsocket((SOAP_SOCKET)fd, FIONBIO, &blocking); + } +#else + fcntl((SOAP_SOCKET)fd, F_SETFL, fcntl((SOAP_SOCKET)fd, F_GETFL)&~O_NONBLOCK); +#endif +#endif + if (soap->require_server_auth) + { X509 *peer; + int err; + if ((err = SSL_get_verify_result(soap->ssl)) != X509_V_OK) + { soap_set_sender_error(soap, X509_verify_cert_error_string(err), "SSL certificate presented by peer cannot be verified in tcp_connect()", SOAP_SSL_ERROR); + return SOAP_INVALID_SOCKET; + } + peer = SSL_get_peer_certificate(soap->ssl); + if (!peer) + { soap_set_sender_error(soap, "SSL error", "No SSL certificate was presented by the peer in tcp_connect()", SOAP_SSL_ERROR); + return SOAP_INVALID_SOCKET; + } + X509_NAME_get_text_by_NID(X509_get_subject_name(peer), NID_commonName, soap->msgbuf, sizeof(soap->msgbuf)); + X509_free(peer); + if (soap_tag_cmp(soap->msgbuf, host)) + { soap_set_sender_error(soap, "SSL error", "SSL certificate host name mismatch in tcp_connect()", SOAP_SSL_ERROR); + return SOAP_INVALID_SOCKET; + } + } +#else + soap->error = SOAP_SSL_ERROR; + return SOAP_INVALID_SOCKET; +#endif + } + return fd; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_bind(struct soap *soap, const char *host, int port, int backlog) +{ +#ifdef WITH_IPV6 + struct addrinfo *addrinfo; + struct addrinfo hints; + struct addrinfo res; + int err; +#endif +#ifndef WITH_LEAN + int len = SOAP_BUFLEN; + int set = 1; +#endif + if (soap_valid_socket(soap->master)) + { soap->fclosesocket(soap, (SOAP_SOCKET)soap->master); + soap->master = SOAP_INVALID_SOCKET; + } + soap->socket = SOAP_INVALID_SOCKET; + soap->errmode = 1; + if (tcp_init(soap)) + { soap_set_receiver_error(soap, tcp_error(soap), "TCP init failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#ifdef WITH_IPV6 + memset((void*)&hints, 0, sizeof(hints)); + hints.ai_family = PF_UNSPEC; +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + hints.ai_socktype = SOCK_DGRAM; + else +#endif + hints.ai_socktype = SOCK_STREAM; + hints.ai_flags = AI_PASSIVE; + soap->errmode = 2; + err = getaddrinfo(host, soap_int2s(soap, port), &hints, &addrinfo); + if (addrinfo) + { res = *addrinfo; + soap->peer = *((struct sockaddr_storage*)addrinfo->ai_addr); + soap->peerlen = addrinfo->ai_addrlen; + res.ai_addr = (struct sockaddr*)&soap->peer; + res.ai_addrlen = soap->peerlen; + freeaddrinfo(addrinfo); + } + if (err) + { soap_set_receiver_error(soap, gai_strerror(err), "getaddrinfo failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + soap->master = socket(res.ai_family, res.ai_socktype, res.ai_protocol); +#else +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + soap->master = (int)socket(AF_INET, SOCK_DGRAM, 0); + else +#endif + soap->master = (int)socket(AF_INET, SOCK_STREAM, 0); +#endif + soap->errmode = 0; + if (!soap_valid_socket(soap->master)) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "socket failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + soap->socket = soap->master; +#endif +#ifdef SOCKET_CLOSE_ON_EXEC +#ifdef WIN32 +#ifndef UNDER_CE + SetHandleInformation((HANDLE)soap->master, HANDLE_FLAG_INHERIT, 0); +#endif +#else + fcntl(soap->master, F_SETFD, 1); +#endif +#endif +#ifndef WITH_LEAN + if (soap->bind_flags && setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, soap->bind_flags, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (soap->keep_alive && setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, SO_KEEPALIVE, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_KEEPALIVE failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, SO_SNDBUF, (char*)&len, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_SNDBUF failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (setsockopt((SOAP_SOCKET)soap->master, SOL_SOCKET, SO_RCVBUF, (char*)&len, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_RCVBUF failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#ifdef TCP_NODELAY + if (!(soap->omode & SOAP_IO_UDP) && setsockopt((SOAP_SOCKET)soap->master, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_NODELAY failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#endif +#endif +#ifdef WITH_IPV6 + soap->errmode = 0; + if (bind((SOAP_SOCKET)soap->master, res.ai_addr, res.ai_addrlen)) + { soap->errnum = soap_socket_errno; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not bind to host\n")); + soap_closesock(soap); + soap_set_receiver_error(soap, tcp_error(soap), "bind failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#else + soap->peerlen = sizeof(soap->peer); + memset((void*)&soap->peer, 0, sizeof(soap->peer)); + soap->peer.sin_family = AF_INET; + soap->errmode = 2; + if (host) + { if (soap->fresolve(soap, host, &soap->peer.sin_addr)) + { soap_set_receiver_error(soap, tcp_error(soap), "get host by name failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + } + else + soap->peer.sin_addr.s_addr = htonl(INADDR_ANY); + soap->peer.sin_port = htons((short)port); + soap->errmode = 0; + if (bind((SOAP_SOCKET)soap->master, (struct sockaddr*)&soap->peer, soap->peerlen)) + { soap->errnum = soap_socket_errno; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not bind to host\n")); + soap_closesock(soap); + soap_set_receiver_error(soap, tcp_error(soap), "bind failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#endif + if (!(soap->omode & SOAP_IO_UDP) && listen((SOAP_SOCKET)soap->master, backlog)) + { soap->errnum = soap_socket_errno; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not bind to host\n")); + soap_closesock(soap); + soap_set_receiver_error(soap, tcp_error(soap), "listen failed in soap_bind()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + return soap->master; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_poll(struct soap *soap) +{ +#ifndef WITH_LEAN + struct timeval timeout; + fd_set rfd, sfd, xfd; + int r; + timeout.tv_sec = 0; + timeout.tv_usec = 0; + FD_ZERO(&rfd); + FD_ZERO(&sfd); + FD_ZERO(&xfd); + if (soap_valid_socket(soap->socket)) + { FD_SET((SOAP_SOCKET)soap->socket, &rfd); + FD_SET((SOAP_SOCKET)soap->socket, &sfd); + FD_SET((SOAP_SOCKET)soap->socket, &xfd); + r = select((SOAP_SOCKET)(soap->socket + 1), &rfd, &sfd, &xfd, &timeout); + if (r > 0 && FD_ISSET((SOAP_SOCKET)soap->socket, &xfd)) + r = -1; + } + else if (soap_valid_socket(soap->master)) + { FD_SET((SOAP_SOCKET)soap->master, &sfd); + r = select((SOAP_SOCKET)(soap->master + 1), NULL, &sfd, NULL, &timeout); + } + else + return SOAP_OK; + if (r > 0) + { if (soap_valid_socket(soap->socket) + && FD_ISSET((SOAP_SOCKET)soap->socket, &sfd) + && (!FD_ISSET((SOAP_SOCKET)soap->socket, &rfd) + || recv((SOAP_SOCKET)soap->socket, soap->tmpbuf, 1, MSG_PEEK) > 0)) + return SOAP_OK; + } + else if (r < 0) + { soap->errnum = soap_socket_errno; + if ((soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) && soap_socket_errno != SOAP_EINTR) + { soap_set_receiver_error(soap, tcp_error(soap), "select failed in soap_poll()", SOAP_TCP_ERROR); + return soap->error = SOAP_TCP_ERROR; + } + } + else + soap->errnum = 0; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Polling: other end down on socket=%d select=%d\n", soap->socket, r)); + return SOAP_EOF; +#else + return SOAP_OK; +#endif +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_accept(struct soap *soap, int s, struct sockaddr *a, int *n) +{ int fd; + fd = (int)accept((SOAP_SOCKET)s, a, (SOAP_SOCKLEN_T*)n); /* portability note: see SOAP_SOCKLEN_T definition in stdsoap2.h */ +#ifdef SOCKET_CLOSE_ON_EXEC +#ifdef WIN32 +#ifndef UNDER_CE + SetHandleInformation((HANDLE)fd, HANDLE_FLAG_INHERIT, 0); +#endif +#else + fcntl(fd, F_SETFD, FD_CLOEXEC); +#endif +#endif + return fd; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_accept(struct soap *soap) +{ int n = (int)sizeof(soap->peer); +#ifndef WITH_LEAN + int len = SOAP_BUFLEN; + int set = 1; +#endif + soap->error = SOAP_OK; +#ifdef WITH_UDP + if ((soap->omode & SOAP_IO_UDP)) + return soap->socket = soap->master; +#endif + memset((void*)&soap->peer, 0, sizeof(soap->peer)); + soap->socket = SOAP_INVALID_SOCKET; + soap->errmode = 0; + if (soap_valid_socket(soap->master)) + { for (;;) + { +#ifndef WITH_LEAN + if (soap->accept_timeout) + { struct timeval timeout; + fd_set fd; + if (soap->accept_timeout > 0) + { timeout.tv_sec = soap->accept_timeout; + timeout.tv_usec = 0; + } + else + { timeout.tv_sec = -soap->accept_timeout/1000000; + timeout.tv_usec = -soap->accept_timeout%1000000; + } + FD_ZERO(&fd); + FD_SET((SOAP_SOCKET)soap->master, &fd); + for (;;) + { int r = select((SOAP_SOCKET)(soap->master + 1), &fd, &fd, NULL, &timeout); + if (r > 0) + break; + if (!r) + { soap->errnum = 0; + soap_set_receiver_error(soap, "Timeout", "accept failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (soap_socket_errno != SOAP_EINTR) + { soap->errnum = soap_socket_errno; + soap_closesock(soap); + soap_set_sender_error(soap, tcp_error(soap), "accept failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + } +#if defined(WIN32) + { u_long nonblocking = 1; + ioctlsocket((SOAP_SOCKET)soap->master, FIONBIO, &nonblocking); + } +#elif defined(VXWORKS) + { vx_nonblocking = TRUE; + ioctl((SOAP_SOCKET)soap->master, FIONBIO, (int)(&vx_nonblocking)); + } +#else + fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)|O_NONBLOCK); +#endif + } + else +#if defined(WIN32) + { u_long blocking = 0; + ioctlsocket((SOAP_SOCKET)soap->master, FIONBIO, &blocking); + } +#elif defined(VXWORKS) + { vx_nonblocking = FALSE; + ioctl((SOAP_SOCKET)soap->master, FIONBIO, (int)(&vx_nonblocking)); + } +#else + fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)&~O_NONBLOCK); +#endif +#endif + soap->socket = soap->faccept(soap, soap->master, (struct sockaddr*)&soap->peer, &n); + soap->peerlen = (size_t)n; + if (soap_valid_socket(soap->socket)) + { +#ifdef WITH_IPV6 +/* Use soap->host to store the numeric form of the remote host */ + getnameinfo((struct sockaddr*)&soap->peer, n, soap->host, sizeof(soap->host), NULL, 0, NI_NUMERICHOST | NI_NUMERICSERV); + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Accept socket %d from %s\n", soap->socket, soap->host)); + soap->ip = 0; /* info stored in soap->peer and soap->host */ + soap->port = 0; /* info stored in soap->peer and soap->host */ +#else + soap->ip = ntohl(soap->peer.sin_addr.s_addr); + soap->port = (int)ntohs(soap->peer.sin_port); /* does not return port number on some systems */ + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Accept socket %d at port %d from IP %d.%d.%d.%d\n", soap->socket, soap->port, (int)(soap->ip>>24)&0xFF, (int)(soap->ip>>16)&0xFF, (int)(soap->ip>>8)&0xFF, (int)soap->ip&0xFF)); +#endif + soap->keep_alive = ((soap->imode & SOAP_IO_KEEPALIVE) != 0); +#ifndef WITH_LEAN + if (soap->accept_flags & SO_LINGER) + { struct linger linger; + memset((void*)&linger, 0, sizeof(linger)); + linger.l_onoff = 1; + linger.l_linger = 0; + if (setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_LINGER, (char*)&linger, sizeof(struct linger))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_LINGER failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + } + if ((soap->accept_flags & ~SO_LINGER) && setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, soap->accept_flags & ~SO_LINGER, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (soap->keep_alive && setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_KEEPALIVE, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_KEEPALIVE failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_SNDBUF, (char*)&len, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_SNDBUF failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + if (setsockopt((SOAP_SOCKET)soap->socket, SOL_SOCKET, SO_RCVBUF, (char*)&len, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt SO_RCVBUF failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#ifdef TCP_NODELAY + if (!(soap->omode & SOAP_IO_UDP) && setsockopt((SOAP_SOCKET)soap->socket, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(int))) + { soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_NODELAY failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +#endif +#endif + if (soap->accept_timeout) + { +#if defined(WIN32) + u_long blocking = 0; + ioctlsocket((SOAP_SOCKET)soap->master, FIONBIO, &blocking); + ioctlsocket((SOAP_SOCKET)soap->socket, FIONBIO, &blocking); +#elif defined(VXWORKS) + vx_nonblocking = FALSE; + ioctl((SOAP_SOCKET)soap->master, FIONBIO, (int)(&vx_nonblocking)); + ioctl((SOAP_SOCKET)soap->socket, FIONBIO, (int)(&vx_nonblocking)); +#elif defined(PALM) + fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL,0)&~O_NONBLOCK); + fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL,0)&~O_NONBLOCK); +#elif defined(SYMBIAN) + long blocking = 0; + ioctl((SOAP_SOCKET)soap->master, 0/*FIONBIO*/, &blocking); +#else + fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)&~O_NONBLOCK); + fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)&~O_NONBLOCK); +#endif + } + return soap->socket; + } + if (soap_socket_errno != SOAP_EINTR && soap_socket_errno != SOAP_EAGAIN) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Accept failed from %s\n", soap->host)); + soap->errnum = soap_socket_errno; + soap_set_receiver_error(soap, tcp_error(soap), "accept failed in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } + } + } + else + { soap->errnum = 0; + soap_set_receiver_error(soap, tcp_error(soap), "no master socket in soap_accept()", SOAP_TCP_ERROR); + return SOAP_INVALID_SOCKET; + } +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_disconnect(struct soap *soap) +{ +#ifdef WITH_OPENSSL + if (soap->ssl) + { int r, s = 0; + if (soap->session) + SSL_SESSION_free(soap->session); + if (*soap->host) + { soap->session = SSL_get1_session(soap->ssl); + if (soap->session) + { strcpy(soap->session_host, soap->host); + soap->session_port = soap->port; + } + } + r = SSL_shutdown(soap->ssl); + if (r != 1) + { s = ERR_get_error(); + if (s) + { if (soap_valid_socket(soap->socket)) + { soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 1); + soap->socket = SOAP_INVALID_SOCKET; + } + r = SSL_shutdown(soap->ssl); + } + } + DBGLOG(TEST, if (s) SOAP_MESSAGE(fdebug, "Shutdown failed: %d\n", SSL_get_error(soap->ssl, r))); + SSL_free(soap->ssl); + soap->ssl = NULL; + if (s) + return SOAP_SSL_ERROR; + ERR_remove_state(0); + } +#endif + if (soap_valid_socket(soap->socket) && !(soap->omode & SOAP_IO_UDP)) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Closing socket %d\n", soap->socket)); + soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 2); + soap->fclosesocket(soap, (SOAP_SOCKET)soap->socket); + soap->socket = SOAP_INVALID_SOCKET; + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_closesocket(struct soap *soap, SOAP_SOCKET fd) +{ return closesocket(fd); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static int +tcp_shutdownsocket(struct soap *soap, SOAP_SOCKET fd, int how) +{ return shutdown(fd, how); +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_closesock(struct soap *soap) +{ register int status = soap->error; + if (status == SOAP_EOF || status == SOAP_TCP_ERROR || status == SOAP_SSL_ERROR || !soap->keep_alive) + { if (soap->fclose && (soap->error = soap->fclose(soap))) + return soap->error; + soap->keep_alive = 0; + } +#ifdef WITH_ZLIB + if (soap->zlib_state == SOAP_ZLIB_DEFLATE) + deflateEnd(&soap->d_stream); + else if (soap->zlib_state == SOAP_ZLIB_INFLATE) + inflateEnd(&soap->d_stream); + soap->zlib_state = SOAP_ZLIB_NONE; +#endif + return soap->error = status; +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +size_t +SOAP_FMAC2 +soap_hash(register const char *s) +{ register size_t h = 0; + while (*s) + h = 65599*h + *s++; + return h % SOAP_IDHASH; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +static void +soap_init_pht(struct soap *soap) +{ register int i; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Initializing pointer hashtable\n")); + for (i = 0; i < (int)SOAP_PTRHASH; i++) + soap->pht[i] = NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +struct soap* +SOAP_FMAC2 +soap_new1(soap_mode mode) +{ return soap_new2(mode, mode); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +struct soap* +SOAP_FMAC2 +soap_new() +{ return soap_new2(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +struct soap* +SOAP_FMAC2 +soap_new2(soap_mode imode, soap_mode omode) +{ struct soap *soap = (struct soap*)malloc(sizeof(struct soap)); + if (soap) + soap_init2(soap, imode, omode); + return soap; +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +static void +soap_free_pht(struct soap *soap) +{ register struct soap_plist *pp, *next; + register int i; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free pointer hashtable\n")); + for (i = 0; i < (int)SOAP_PTRHASH; i++) + { for (pp = soap->pht[i]; pp; pp = next) + { next = pp->next; + SOAP_FREE(soap, pp); + } + soap->pht[i] = NULL; + } +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type) +{ register int i; + struct soap_plist *pp; + if (soap->version != 1) + soap->encoding = 1; + if (a) + i = soap_array_pointer_lookup(soap, p, a, n, type, &pp); + else + i = soap_pointer_lookup(soap, p, type, &pp); + if (i) + { if (soap_is_embedded(soap, pp) + || soap_is_single(soap, pp)) + return 0; + soap_set_embedded(soap, pp); + } + return i; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_pointer_lookup(struct soap *soap, const void *p, int type, struct soap_plist **ppp) +{ register struct soap_plist *pp; + *ppp = NULL; + if (p) + for (pp = soap->pht[soap_hash_ptr(p)]; pp; pp = pp->next) + if (pp->ptr == p && pp->type == type) + { *ppp = pp; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup location=%p type=%d id=%d\n", p, type, pp->id)); + return pp->id; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup location=%p type=%d: not found\n", p, type)); + return 0; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_pointer_enter(struct soap *soap, const void *p, const struct soap_array *a, int n, int type, struct soap_plist **ppp) +{ register int h; + register struct soap_plist *pp = *ppp = (struct soap_plist*)SOAP_MALLOC(soap, sizeof(struct soap_plist)); + if (!pp) + return 0; + if (a) + h = soap_hash_ptr(a->__ptr); + else + h = soap_hash_ptr(p); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Pointer enter location=%p array=%p size=%d dim=%d type=%d id=%lu\n", p, a?a->__ptr:NULL, a?a->__size:0, n, type, soap->idnum+1)); + pp->next = soap->pht[h]; + pp->type = type; + pp->mark1 = 0; + pp->mark2 = 0; + pp->ptr = p; + pp->array = a; + soap->pht[h] = pp; + pp->id = ++soap->idnum; + return pp->id; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_array_pointer_lookup(struct soap *soap, const void *p, const struct soap_array *a, int n, int type, struct soap_plist **ppp) +{ register struct soap_plist *pp; + *ppp = NULL; + if (!p || !a->__ptr) + return 0; + for (pp = soap->pht[soap_hash_ptr(a->__ptr)]; pp; pp = pp->next) + { if (pp->type == type && pp->array && pp->array->__ptr == a->__ptr) + { register int i; + for (i = 0; i < n; i++) + if (((const int*)&pp->array->__size)[i] != ((const int*)&a->__size)[i]) + break; + if (i == n) + { *ppp = pp; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array lookup location=%p type=%d id=%d\n", a->__ptr, type, pp->id)); + return pp->id; + } + } + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array lookup location=%p type=%d: not found\n", a->__ptr, type)); + return 0; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_begin_count(struct soap *soap) +{ soap_clr_attr(soap); + soap_set_local_namespaces(soap); +#ifndef WITH_LEANER + if ((soap->mode & SOAP_ENC_DIME) || (soap->omode & SOAP_ENC_DIME)) + soap->mode = soap->omode | SOAP_IO_LENGTH | SOAP_ENC_DIME; + else +#endif + { soap->mode = soap->omode; + if ((soap->mode & SOAP_IO) == SOAP_IO_STORE + || (((soap->mode & SOAP_IO) == SOAP_IO_CHUNK || (soap->mode & SOAP_ENC_XML)) +#ifndef WITH_LEANER + && !soap->fpreparesend +#endif + )) + soap->mode &= ~SOAP_IO_LENGTH; + else + soap->mode |= SOAP_IO_LENGTH; + } +#ifdef WITH_ZLIB + if ((soap->mode & SOAP_ENC_ZLIB) && (soap->mode & SOAP_IO) == SOAP_IO_FLUSH) + { if (!(soap->mode & SOAP_ENC_DIME)) + soap->mode &= ~SOAP_IO_LENGTH; + if (soap->mode & SOAP_ENC_XML) + soap->mode |= SOAP_IO_BUFFER; + else + soap->mode |= SOAP_IO_STORE; + } +#endif + if (!soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH)) + soap->mode |= SOAP_XML_TREE; +#ifndef WITH_LEANER + if ((soap->mode & SOAP_ENC_MTOM) && (soap->mode & SOAP_ENC_DIME)) + soap->mode |= SOAP_ENC_MIME; + else + soap->mode &= ~SOAP_ENC_MTOM; + if (soap->mode & SOAP_ENC_MIME) + soap_select_mime_boundary(soap); + soap->dime.list = soap->dime.last; /* keep track of last DIME attachment */ +#endif + soap->count = 0; + soap->ns = 0; + soap->null = 0; + soap->position = 0; + soap->mustUnderstand = 0; + soap->encoding = 0; + soap->part = SOAP_BEGIN; + soap->idnum = 0; +#ifndef WITH_LEANER + soap->dime.count = 0; /* count # of attachments */ + soap->dime.size = 0; /* accumulate total size of attachments */ + if (soap->fprepareinit && (soap->mode & SOAP_IO) != SOAP_IO_STORE) + soap->fprepareinit(soap); +#endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Begin count phase (socket=%d mode=0x%x count=%lu)\n", soap->socket, soap->mode, (unsigned long)soap->count)); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_begin_send(struct soap *soap) +{ soap->error = SOAP_OK; + soap_clr_attr(soap); + soap_set_local_namespaces(soap); + soap->mode = soap->omode | (soap->mode & (SOAP_IO_LENGTH | SOAP_ENC_DIME)); +#ifdef WITH_ZLIB + if ((soap->mode & SOAP_ENC_ZLIB) && (soap->mode & SOAP_IO) == SOAP_IO_FLUSH) + { if (soap->mode & SOAP_ENC_XML) + soap->mode |= SOAP_IO_BUFFER; + else + soap->mode |= SOAP_IO_STORE; + } +#endif +#ifdef WITH_UDP + if ((soap->mode & SOAP_IO_UDP)) + { soap->mode |= SOAP_ENC_XML; + if (soap->count > SOAP_BUFLEN) + return soap->error = SOAP_UDP_ERROR; + } +#endif + if ((soap->mode & SOAP_IO) == SOAP_IO_FLUSH && soap_valid_socket(soap->socket)) + { if (soap->count || (soap->mode & SOAP_IO_LENGTH) || (soap->mode & SOAP_ENC_XML)) + soap->mode |= SOAP_IO_BUFFER; + else + soap->mode |= SOAP_IO_STORE; + } + soap->mode &= ~SOAP_IO_LENGTH; + if ((soap->mode & SOAP_IO) == SOAP_IO_STORE) + soap_new_block(soap); + if (!(soap->mode & SOAP_IO_KEEPALIVE)) + soap->keep_alive = 0; + if (!soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH)) + soap->mode |= SOAP_XML_TREE; +#ifndef WITH_LEANER + if ((soap->mode & SOAP_ENC_MTOM) && (soap->mode & SOAP_ENC_DIME)) + { soap->mode |= SOAP_ENC_MIME; + soap->mode &= ~SOAP_ENC_DIME; + } + else + soap->mode &= ~SOAP_ENC_MTOM; + if (soap->mode & SOAP_ENC_MIME) + soap_select_mime_boundary(soap); +#ifdef WIN32 +#ifndef UNDER_CE +#ifndef WITH_FASTCGI + if (!soap_valid_socket(soap->socket)) /* Set win32 stdout or soap->sendfd to BINARY, e.g. to support DIME */ +#ifdef __BORLANDC__ + setmode((SOAP_SOCKET)soap->sendfd, O_BINARY); +#else + _setmode((SOAP_SOCKET)soap->sendfd, _O_BINARY); +#endif +#endif +#endif +#endif +#endif + if (soap->mode & SOAP_IO) + { soap->bufidx = 0; + soap->buflen = 0; + } + soap->chunksize = 0; + soap->ns = 0; + soap->null = 0; + soap->position = 0; + soap->mustUnderstand = 0; + soap->encoding = 0; + soap->part = SOAP_BEGIN; + soap->idnum = 0; + soap->level = 0; +#ifdef WITH_ZLIB + soap->z_ratio_out = 1.0; + if ((soap->mode & SOAP_ENC_ZLIB) && soap->zlib_state != SOAP_ZLIB_DEFLATE) + { +#ifdef WITH_GZIP + memcpy(soap->z_buf, "\37\213\10\0\0\0\0\0\0\377", 10); + soap->d_stream.next_out = (Byte*)soap->z_buf + 10; + soap->d_stream.avail_out = SOAP_BUFLEN - 10; + soap->z_crc = crc32(0L, NULL, 0); + if (deflateInit2(&soap->d_stream, soap->z_level, Z_DEFLATED, -MAX_WBITS, 8, Z_DEFAULT_STRATEGY) != Z_OK) +#else + soap->d_stream.next_out = (Byte*)soap->z_buf; + soap->d_stream.avail_out = SOAP_BUFLEN; + if (deflateInit(&soap->d_stream, soap->z_level) != Z_OK) +#endif + return soap->error = SOAP_ZLIB_ERROR; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflate initialized\n")); + soap->zlib_state = SOAP_ZLIB_DEFLATE; + } +#endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Begin send phase (socket=%d mode=0x%x count=%lu)\n", soap->socket, soap->mode, (unsigned long)soap->count)); +#ifndef WITH_LEANER + if (soap->fprepareinit && (soap->mode & SOAP_IO) == SOAP_IO_STORE) + soap->fprepareinit(soap); +#endif + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_embedded(struct soap *soap, const void *p, int t) +{ struct soap_plist *pp; + if (soap_pointer_lookup(soap, p, t, &pp)) + { pp->mark1 = 1; + pp->mark2 = 1; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded %p type=%d mark set to 1\n", p, t)); + } +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_reference(struct soap *soap, const void *p, int t) +{ + struct soap_plist *pp; + if (!p || (soap->mode & SOAP_XML_TREE)) + return 1; + if (soap_pointer_lookup(soap, p, t, &pp)) + { if (pp->mark1 == 0) + { pp->mark1 = 2; + pp->mark2 = 2; + } + } + else if (soap_pointer_enter(soap, p, NULL, 0, t, &pp)) + { pp->mark1 = 0; + pp->mark2 = 0; + } + else + return 1; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Reference %p type=%d (%d %d)\n", p, t, (int)pp->mark1, (int)pp->mark2)); + return pp->mark1; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_array_reference(struct soap *soap, const void *p, const struct soap_array *a, int n, int t) +{ register int i; + struct soap_plist *pp; + if (!p) + return 1; + i = soap_array_pointer_lookup(soap, p, a, n, t, &pp); + if (i) + { if (pp->mark1 == 0) + { pp->mark1 = 2; + pp->mark2 = 2; + } + } + else if (!soap_pointer_enter(soap, p, a, n, t, &pp)) + return 1; + else + { pp->mark1 = 0; + pp->mark2 = 0; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Array reference %p ptr=%p dim=%d type=%d (%d %d)\n", p, a->__ptr, n, t, (int)pp->mark1, (int)pp->mark2)); + return pp->mark1; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_embedded_id(struct soap *soap, int id, const void *p, int t) +{ struct soap_plist *pp; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id %p type=%d id=%d\n", p, t, id)); + if (soap->mode & SOAP_XML_TREE) + return id; + if (soap->version == 1 && soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH) && soap->part != SOAP_IN_HEADER) + { if (id < 0) + { id = soap_pointer_lookup(soap, p, t, &pp); + if (id) + { if (soap->mode & SOAP_IO_LENGTH) + pp->mark1 = 2; + else + pp->mark2 = 2; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id multiref id=%d %p type=%d = (%d %d)\n", id, p, t, (int)pp->mark1, (int)pp->mark2)); + } + return -1; + } + return id; + } + if (id < 0) + id = soap_pointer_lookup(soap, p, t, &pp); + else if (id && !soap_pointer_lookup(soap, p, t, &pp)) + return 0; + if (id && pp) + { if (soap->mode & SOAP_IO_LENGTH) + pp->mark1 = 1; + else + pp->mark2 = 1; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id embedded ref id=%d %p type=%d = (%d %d)\n", id, p, t, (int)pp->mark1, (int)pp->mark2)); + } + return id; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_is_embedded(struct soap *soap, struct soap_plist *pp) +{ if (!pp) + return 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Is embedded? %d %d\n", (int)pp->mark1, (int)pp->mark2)); + if (soap->version == 1 && soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH) && soap->part != SOAP_IN_HEADER) + { if (soap->mode & SOAP_IO_LENGTH) + return pp->mark1 != 0; + return pp->mark2 != 0; + } + if (soap->mode & SOAP_IO_LENGTH) + return pp->mark1 == 1; + return pp->mark2 == 1; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_is_single(struct soap *soap, struct soap_plist *pp) +{ if (soap->part == SOAP_IN_HEADER) + return 1; + if (!pp) + return 0; + if (soap->mode & SOAP_IO_LENGTH) + return pp->mark1 == 0; + return pp->mark2 == 0; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_embedded(struct soap *soap, struct soap_plist *pp) +{ if (!pp) + return; + if (soap->mode & SOAP_IO_LENGTH) + pp->mark1 = 1; + else + pp->mark2 = 1; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_attachment(struct soap *soap, const char *tag, int id, const void *p, const struct soap_array *a, const char *aid, const char *atype, const char *aoptions, int n, const char *type, int t) +{ struct soap_plist *pp; + int i; + if (!p || !a->__ptr || (!aid && !atype)) + return soap_element_id(soap, tag, id, p, a, n, type, t); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Attachment tag='%s' id='%s' (%d) type='%s'\n", tag, aid?aid:"", id, atype?atype:"")); + i = soap_array_pointer_lookup(soap, p, a, n, t, &pp); + if (!i) + { i = soap_pointer_enter(soap, p, a, n, t, &pp); + if (!i) + { soap->error = SOAP_EOM; + return -1; + } + } + if (id < 0) + id = i; + if (!aid) + { sprintf(soap->tmpbuf, soap->dime_id_format, id); + aid = soap_strdup(soap, soap->tmpbuf); + } + if (soap->mode & SOAP_ENC_MTOM) + { if (soap_element_begin_out(soap, tag, 0, type) + || soap_element_href(soap, "xop:Include", 0, "href", aid) + || soap_element_end_out(soap, tag)) + return soap->error; + } + else if (soap_element_href(soap, tag, 0, "href", aid)) + return soap->error; + if (soap->mode & SOAP_IO_LENGTH) + { if (pp->mark1 != 3) + { struct soap_multipart *content; + if (soap->mode & SOAP_ENC_MTOM) + content = soap_new_multipart(soap, &soap->mime.first, &soap->mime.last, (char*)a->__ptr, a->__size); + else + content = soap_new_multipart(soap, &soap->dime.first, &soap->dime.last, (char*)a->__ptr, a->__size); + if (!content) + { soap->error = SOAP_EOM; + return -1; + } + if (!strncmp(aid, "cid:", 4)) /* RFC 2111 */ + { if (soap->mode & SOAP_ENC_MTOM) + { char *s = (char*)soap_malloc(soap, strlen(aid) - 1); + if (s) + { *s = '<'; + strcpy(s + 1, aid + 4); + strcat(s, ">"); + content->id = s; + } + } + else + content->id = aid + 4; + } + else + content->id = aid; + content->type = atype; + content->options = aoptions; + content->encoding = SOAP_MIME_BINARY; + pp->mark1 = 3; + } + } + else + pp->mark2 = 3; + return -1; +} +#endif +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +static void +soap_init_iht(struct soap *soap) +{ register int i; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Initializing ID hashtable\n")); + for (i = 0; i < SOAP_IDHASH; i++) + soap->iht[i] = NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_1 +static void +soap_free_iht(struct soap *soap) +{ register int i; + register struct soap_ilist *ip, *p; + register struct soap_flist *fp, *fq; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free ID hashtable\n")); + for (i = 0; i < SOAP_IDHASH; i++) + { for (ip = soap->iht[i]; ip; ip = p) + { for (fp = ip->flist; fp; fp = fq) + { fq = fp->next; + SOAP_FREE(soap, fp); + } + p = ip->next; + SOAP_FREE(soap, ip); + } + soap->iht[i] = NULL; + } +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +struct soap_ilist * +SOAP_FMAC2 +soap_lookup(struct soap *soap, const char *id) +{ register struct soap_ilist *ip; + for (ip = soap->iht[soap_hash(id)]; ip; ip = ip->next) + if (!strcmp(ip->id, id)) + return ip; + return NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +struct soap_ilist * +SOAP_FMAC2 +soap_enter(struct soap *soap, const char *id) +{ register size_t h; + register struct soap_ilist *ip; + ip = (struct soap_ilist*)SOAP_MALLOC(soap, sizeof(struct soap_ilist) + strlen(id)); + if (ip) + { h = soap_hash(id); + strcpy(ip->id, id); + ip->next = soap->iht[h]; + soap->iht[h] = ip; + return ip; + } + return NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void* +SOAP_FMAC2 +soap_malloc(struct soap *soap, size_t n) +{ register char *p; + if (!n) + return (void*)SOAP_NON_NULL; + if (!soap) + return SOAP_MALLOC(soap, n); + n += (-(long)n) & 7; + if (!(p = (char*)SOAP_MALLOC(soap, n + sizeof(void*) + sizeof(size_t)))) + { soap->error = SOAP_EOM; + return NULL; + } + /* keep chain of alloced cells for later destruction */ + soap->alloced = 1; + *(void**)(p + n) = soap->alist; + *(size_t*)(p + n + sizeof(void*)) = n; + soap->alist = p + n; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Malloc %u bytes at location %p\n", (unsigned int)n, p)); + return p; +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +static void +soap_init_mht(struct soap *soap) +{ register int i; + for (i = 0; i < (int)SOAP_PTRHASH; i++) + soap->mht[i] = NULL; +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +static void +soap_free_mht(struct soap *soap) +{ register int i; + register struct soap_mlist *mp, *mq; + for (i = 0; i < (int)SOAP_PTRHASH; i++) + { for (mp = soap->mht[i]; mp; mp = mq) + { mq = mp->next; + if (mp->live) + fprintf(stderr, "%s(%d): malloc() = %p not freed (memory leak or forgot to call soap_end()?)\n", mp->file, mp->line, mp->ptr); + free(mp); + } + soap->mht[i] = NULL; + } +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +SOAP_FMAC1 +void* +SOAP_FMAC2 +soap_track_malloc(struct soap *soap, const char *file, int line, size_t size) +{ register void *p = malloc(size); + if (soap) + { register int h = soap_hash_ptr(p); + register struct soap_mlist *mp = (struct soap_mlist*)malloc(sizeof(struct soap_mlist)); + mp->next = soap->mht[h]; + mp->ptr = p; + mp->file = file; + mp->line = line; + mp->live = 1; + soap->mht[h] = mp; + } + return p; +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_track_free(struct soap *soap, const char *file, int line, void *p) +{ register int h = soap_hash_ptr(p); + register struct soap_mlist *mp; + for (mp = soap->mht[h]; mp; mp = mp->next) + if (mp->ptr == p) + break; + if (mp) + { if (mp->live) + { free(p); + mp->live = 0; + } + else + fprintf(stderr, "%s(%d) free(%p): double free of pointer malloced at %s(%d)\n", file, line, p, mp->file, mp->line); + } + else + fprintf(stderr, "%s(%d) free(%p): pointer not alloced\n", file, line, p); +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +static void +soap_track_unlink(struct soap *soap, const void *p) +{ register int h = soap_hash_ptr(p); + register struct soap_mlist *mp; + for (mp = soap->mht[h]; mp; mp = mp->next) + if (mp->ptr == p) + break; + if (mp) + mp->live = 0; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_dealloc(struct soap *soap, void *p) +{ if (!soap) + return; + if (p) + { register char **q; + for (q = (char**)&soap->alist; *q; q = *(char***)q) + { if (p == (void*)(*q - *(size_t*)(*q + sizeof(void*)))) + { *q = **(char***)q; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Freed data at %p\n", p)); + SOAP_FREE(soap, p); + return; + } + } + soap_delete(soap, p); + } + else + { register char *q; + while (soap->alist) + { q = (char*)soap->alist; + soap->alist = *(void**)q; + q -= *(size_t*)(q + sizeof(void*)); + SOAP_FREE(soap, q); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Dealloc all data done\n")); + } + /* we must assume these were deallocated: */ + soap->action = NULL; + soap->fault = NULL; + soap->header = NULL; + soap->userid = NULL; + soap->passwd = NULL; + soap->authrealm = NULL; +#ifndef WITH_LEANER + soap_clr_mime(soap); +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_delete(struct soap *soap, void *p) +{ register struct soap_clist **cp = &soap->clist; + if (p) + { while (*cp) + { if (p == (*cp)->ptr) + { register struct soap_clist *q = *cp; + *cp = q->next; + q->fdelete(q); + SOAP_FREE(soap, q); + return; + } + cp = &(*cp)->next; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not dealloc data %p: address not in list\n", p)); + } + else + { while (*cp) + { register struct soap_clist *q = *cp; + *cp = q->next; + if (q->ptr == (void*)soap->fault) + soap->fault = NULL; /* this was deallocated */ + else if (q->ptr == (void*)soap->header) + soap->header = NULL; /* this was deallocated */ + q->fdelete(q); + SOAP_FREE(soap, q); + } + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +struct soap_clist * +SOAP_FMAC2 +soap_link(struct soap *soap, void *p, int t, int n, void (*fdelete)(struct soap_clist*)) +{ register struct soap_clist *cp; + if ((cp = (struct soap_clist*)SOAP_MALLOC(soap, sizeof(struct soap_clist)))) + { cp->next = soap->clist; + cp->type = t; + cp->size = n; + cp->ptr = p; + cp->fdelete = fdelete; + soap->clist = cp; + } + return cp; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_unlink(struct soap *soap, const void *p) +{ register char **q; + register struct soap_clist **cp; + if (!soap || !p) + return; + for (q = (char**)&soap->alist; *q; q = *(char***)q) + { if (p == (void*)(*q - *(size_t*)(*q + sizeof(void*)))) + { *q = **(char***)q; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unlinked data %p\n", p)); +#ifdef SOAP_DEBUG + soap_track_unlink(soap, p); +#endif + return; + } + } + for (cp = &soap->clist; *cp; cp = &(*cp)->next) + { if (p == (*cp)->ptr) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unlinked class instance %p\n", p)); + q = (char**)*cp; + *cp = (*cp)->next; + SOAP_FREE(soap, q); + return; + } + } +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_lookup_type(struct soap *soap, const char *id) +{ register struct soap_ilist *ip; + if (id && *id) + { ip = soap_lookup(soap, id); + if (ip) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup id='%s' type=%d\n", id, ip->type)); + return ip->type; + } + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "lookup type id='%s' NOT FOUND! Need to get it from xsi:type\n", id)); + return 0; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +void* +SOAP_FMAC2 +soap_id_lookup(struct soap *soap, const char *id, void **p, int t, size_t n, unsigned int k) +{ struct soap_ilist *ip; + void **q; + if (!p || !id || !*id) + return p; + ip = soap_lookup(soap, id); /* lookup pointer to hash table entry for string id */ + if (!ip) + { ip = soap_enter(soap, id); /* new hash table entry for string id */ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarding first href='%s' type=%d %p (%u bytes)\n", id, t, p, (unsigned int)n)); + ip->type = t; + ip->size = n; + ip->link = p; + ip->copy = NULL; + ip->flist = NULL; + ip->ptr = NULL; + ip->level = k; + *p = NULL; + } + else if (ip->ptr) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolved href='%s' type=%d location=%p (%u bytes)\n", id, t, ip->ptr, (unsigned int)n)); + if (ip->type != t) + { strcpy(soap->id, id); + soap->error = SOAP_HREF; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Type incompatibility: id type=%d href type=%d\n", ip->type, t)); + return NULL; + } + while (ip->level < k) + { q = (void**)soap_malloc(soap, sizeof(void*)); + if (!q) + return NULL; + *p = (void*)q; + p = q; + k--; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level...\n")); + } + *p = ip->ptr; + } + else if (ip->level > k) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving level %u pointers to href='%s'\n", ip->level, id)); + while (ip->level > k) + { void *s, **r = &ip->link; + q = (void**)ip->link; + while (q) + { *r = (void*)soap_malloc(soap, sizeof(void*)); + s = *q; + *q = *r; + r = (void**)*r; + q = (void**)s; + } + *r = NULL; + ip->size = n; + ip->copy = NULL; + ip->level = ip->level - 1; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level...\n")); + } + q = (void**)ip->link; + ip->link = p; + *p = (void*)q; + } + else + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarded href='%s' type=%d location=%p (%u bytes)\n", id, t, p, (unsigned int)n)); + while (ip->level < k) + { q = (void**)soap_malloc(soap, sizeof(void*)); + *p = q; + p = q; + k--; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Descending one level...\n")); + } + q = (void**)ip->link; + ip->link = p; + *p = (void*)q; + } + return p; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIDREF +#ifndef PALM_2 +SOAP_FMAC1 +void* +SOAP_FMAC2 +soap_id_forward(struct soap *soap, const char *href, void *p, int st, int tt, size_t n, unsigned int k, void (*fcopy)(struct soap*, int, int, void*, const void*, size_t)) +{ struct soap_ilist *ip; + if (!p || !href || !*href) + return p; + ip = soap_lookup(soap, href); /* lookup pointer to hash table entry for string id */ + if (!ip) + { ip = soap_enter(soap, href); /* new hash table entry for string id */ + ip->type = st; + ip->size = n; + ip->link = NULL; + ip->copy = NULL; + ip->ptr = NULL; + ip->level = 0; + ip->flist = NULL; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "New entry href='%s' type=%d size=%lu level=%d location=%p\n", href, st, (unsigned long)n, k, p)); + } + else if (ip->type != st || (ip->level == k && ip->size != n)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Type incompatibility id='%s' expect type=%d size=%lu level=%u got type=%d size=%lu\n", href, ip->type, (unsigned long)ip->size, k, st, (unsigned long)n)); + strcpy(soap->id, href); + soap->error = SOAP_HREF; + return NULL; + } + if (fcopy || n < sizeof(void*) || *href != '#') + { register struct soap_flist *fp = (struct soap_flist*)SOAP_MALLOC(soap, sizeof(struct soap_flist)); + if (!fp) + { soap->error = SOAP_EOM; + return NULL; + } + fp->next = ip->flist; + fp->type = tt; + fp->ptr = p; + fp->level = k; + if (fcopy) + fp->fcopy = fcopy; + else + fp->fcopy = soap_fcopy; + ip->flist = fp; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarding type=%d (target type=%d) size=%lu location=%p level=%u href='%s'\n", st, tt, (unsigned long)n, p, k, href)); + } + else + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Forwarding copying address %p for type=%d href='%s'\n", p, st, href)); + *(void**)p = ip->copy; + ip->copy = p; + } + return p; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void* +SOAP_FMAC2 +soap_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*)) +{ +#ifndef WITH_NOIDREF + struct soap_ilist *ip; +#endif + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Enter id='%s' type=%d loc=%p size=%lu level=%u\n", id, t, p, (unsigned long)n, k)); + soap->alloced = 0; + if (!p) + { if (finstantiate) + p = finstantiate(soap, t, type, arrayType, &n); + else + p = soap_malloc(soap, n); + if (p) + soap->alloced = 1; + } +#ifndef WITH_NOIDREF + if (!id || !*id) +#endif + return p; +#ifndef WITH_NOIDREF + ip = soap_lookup(soap, id); /* lookup pointer to hash table entry for string id */ + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Lookup entry id='%s for location=%p'\n", id, p)); + if (!ip) + { ip = soap_enter(soap, id); /* new hash table entry for string id */ + ip->type = t; + ip->link = NULL; + ip->copy = NULL; + ip->flist = NULL; + ip->size = n; + ip->ptr = p; + ip->level = k; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "New entry id='%s' type=%d size=%lu level=%u location=%p\n", id, t, (unsigned long)n, k, p)); + } + else if ((ip->type != t || (ip->level == k && ip->size != n)) && (ip->copy || ip->flist)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Type incompatibility id='%s' expect type=%d size=%lu level=%u got type=%d size=%lu\n", id, ip->type, (unsigned long)ip->size, k, t, (unsigned long)n)); + strcpy(soap->id, id); + soap->error = SOAP_HREF; + return NULL; + } + else if (ip->ptr) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Multiply defined id='%s'\n", id)); + strcpy(soap->id, id); + soap->error = SOAP_MULTI_ID; + return NULL; + } + else + { ip->size = n; + ip->ptr = p; + ip->level = k; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Update entry id='%s' type=%d location=%p size=%lu level=%u\n", id, t, p, (unsigned long)n, k)); + } + return ip->ptr; +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_fcopy(struct soap *soap, int st, int tt, void *p, const void *q, size_t n) +{ DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Copying data type=%d (target type=%d) %p -> %p (%lu bytes)\n", st, tt, q, p, (unsigned long)n)); + memcpy(p, q, n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_end_send(struct soap *soap) +{ +#ifndef WITH_LEANER + if (soap->dime.list) + { /* SOAP body referenced attachments must appear first */ + soap->dime.last->next = soap->dime.first; + soap->dime.first = soap->dime.list->next; + soap->dime.list->next = NULL; + soap->dime.last = soap->dime.list; + } + if (soap_putdime(soap) || soap_putmime(soap)) + return soap->error; + soap->mime.list = NULL; + soap->mime.first = NULL; + soap->mime.last = NULL; + soap->dime.list = NULL; + soap->dime.first = NULL; + soap->dime.last = NULL; +#endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End send\n")); + if (soap->mode & SOAP_IO) /* need to flush the remaining data in buffer */ + { if (soap_flush(soap)) +#ifdef WITH_ZLIB + { if (soap->mode & SOAP_ENC_ZLIB && soap->zlib_state == SOAP_ZLIB_DEFLATE) + { soap->zlib_state = SOAP_ZLIB_NONE; + deflateEnd(&soap->d_stream); + } + return soap->error; + } +#else + return soap->error; +#endif +#ifdef WITH_ZLIB + if (soap->mode & SOAP_ENC_ZLIB) + { int r; + soap->d_stream.avail_in = 0; + do + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflating remainder\n")); + r = deflate(&soap->d_stream, Z_FINISH); + if (soap->d_stream.avail_out != SOAP_BUFLEN) + { if (soap_flush_raw(soap, soap->z_buf, SOAP_BUFLEN - soap->d_stream.avail_out)) + { soap->zlib_state = SOAP_ZLIB_NONE; + deflateEnd(&soap->d_stream); + return soap->error; + } + soap->d_stream.next_out = (Byte*)soap->z_buf; + soap->d_stream.avail_out = SOAP_BUFLEN; + } + } while (r == Z_OK); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Deflated %lu->%lu bytes\n", soap->d_stream.total_in, soap->d_stream.total_out)); + soap->z_ratio_out = (float)soap->d_stream.total_out / (float)soap->d_stream.total_in; + soap->mode &= ~SOAP_ENC_ZLIB; + soap->zlib_state = SOAP_ZLIB_NONE; + if (deflateEnd(&soap->d_stream) != Z_OK || r != Z_STREAM_END) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unable to end deflate: %s\n", soap->d_stream.msg?soap->d_stream.msg:"")); + return soap->error = SOAP_ZLIB_ERROR; + } +#ifdef WITH_GZIP + soap->z_buf[0] = soap->z_crc & 0xFF; + soap->z_buf[1] = (soap->z_crc >> 8) & 0xFF; + soap->z_buf[2] = (soap->z_crc >> 16) & 0xFF; + soap->z_buf[3] = (soap->z_crc >> 24) & 0xFF; + soap->z_buf[4] = soap->d_stream.total_in & 0xFF; + soap->z_buf[5] = (soap->d_stream.total_in >> 8) & 0xFF; + soap->z_buf[6] = (soap->d_stream.total_in >> 16) & 0xFF; + soap->z_buf[7] = (soap->d_stream.total_in >> 24) & 0xFF; + if (soap_flush_raw(soap, soap->z_buf, 8)) + return soap->error; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "gzip crc32=%lu\n", (unsigned long)soap->z_crc)); +#endif + } +#endif + if ((soap->mode & SOAP_IO) == SOAP_IO_STORE) + { char *p; +#ifndef WITH_NOHTTP + if (!(soap->mode & SOAP_ENC_XML)) + { soap->mode--; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Sending buffered message of length %u\n", (unsigned int)soap->blist->size)); + if (soap->status >= SOAP_POST) + soap->error = soap->fpost(soap, soap->endpoint, soap->host, soap->port, soap->path, soap->action, soap->blist->size); + else if (soap->status != SOAP_STOP) + soap->error = soap->fresponse(soap, soap->status, soap->blist->size); + if (soap->error || soap_flush(soap)) + return soap->error; + soap->mode++; + } +#endif + for (p = soap_first_block(soap); p; p = soap_next_block(soap)) + { DBGMSG(SENT, p, soap_block_size(soap)); + if ((soap->error = soap->fsend(soap, p, soap_block_size(soap)))) + { soap_end_block(soap); + return soap->error; + } + } + soap_end_block(soap); + } +#ifndef WITH_LEANER + else if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) + { DBGMSG(SENT, "\r\n0\r\n\r\n", 7); + if ((soap->error = soap->fsend(soap, "\r\n0\r\n\r\n", 7))) + return soap->error; + } +#endif + } +#ifdef WITH_OPENSSL + if (!soap->ssl && soap_valid_socket(soap->socket) && !soap->keep_alive && !(soap->omode & SOAP_IO_UDP)) + soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 1); /* Send TCP FIN */ +#else + if (soap_valid_socket(soap->socket) && !soap->keep_alive && !(soap->omode & SOAP_IO_UDP)) + soap->fshutdownsocket(soap, (SOAP_SOCKET)soap->socket, 1); /* Send TCP FIN */ +#endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End of send message ok\n")); + soap->part = SOAP_END; + soap->count = 0; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_end_recv(struct soap *soap) +{ soap->part = SOAP_END; +#ifndef WITH_LEANER + if ((soap->mode & SOAP_ENC_DIME) && soap_getdime(soap)) + return soap->error; + soap->dime.list = soap->dime.first; + soap->dime.first = NULL; + soap->dime.last = NULL; + if ((soap->mode & SOAP_ENC_MIME) && soap_getmime(soap)) + return soap->error; + soap->mime.list = soap->mime.first; + soap->mime.first = NULL; + soap->mime.last = NULL; + soap->mime.boundary = NULL; +#endif + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "End of receive message ok\n")); +#ifdef WITH_ZLIB + if (soap->mode & SOAP_ENC_ZLIB) + { soap->mode &= ~SOAP_ENC_ZLIB; + memcpy(soap->buf, soap->z_buf, SOAP_BUFLEN); + soap->bufidx = (char*)soap->d_stream.next_in - soap->z_buf; + soap->buflen = soap->z_buflen; + soap->zlib_state = SOAP_ZLIB_NONE; + if (inflateEnd(&soap->d_stream) != Z_OK) + return soap->error = SOAP_ZLIB_ERROR; +#ifdef WITH_GZIP + if (soap->zlib_in == SOAP_ZLIB_GZIP) + { soap_wchar c; + short i; + for (i = 0; i < 8; i++) + { if ((int)(c = soap_getchar(soap)) == EOF) + return soap->error = SOAP_EOF; + soap->z_buf[i] = (char)c; + } + if (soap->z_crc != ((uLong)(unsigned char)soap->z_buf[0] | ((uLong)(unsigned char)soap->z_buf[1] << 8) | ((uLong)(unsigned char)soap->z_buf[2] << 16) | ((uLong)(unsigned char)soap->z_buf[3] << 24))) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Gzip error: crc check failed, message corrupted? (crc32=%lu)\n", (unsigned long)soap->z_crc)); + return soap->error = SOAP_ZLIB_ERROR; + } + if (soap->d_stream.total_out != ((uLong)(unsigned char)soap->z_buf[4] | ((uLong)(unsigned char)soap->z_buf[5] << 8) | ((uLong)(unsigned char)soap->z_buf[6] << 16) | ((uLong)(unsigned char)soap->z_buf[7] << 24))) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Gzip error: incorrect message length\n")); + return soap->error = SOAP_ZLIB_ERROR; + } + } +#endif + } +#endif + if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) + while ((int)soap_getchar(soap) != EOF) /* advance to last chunk */ + ; + if (soap->fdisconnect && (soap->error = soap->fdisconnect(soap))) + return soap->error; +#ifndef WITH_NOIDREF + return soap_resolve(soap); +#else +#ifndef WITH_LEANER + if (soap->xlist) + { if (soap->mode & SOAP_ENC_MTOM) + return soap->error = SOAP_MIME_HREF; + return soap->error = SOAP_DIME_HREF; + } +#endif + return SOAP_OK; +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_free(struct soap *soap) +{ register struct Namespace *ns; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free namespace stack\n")); + while (soap->nlist) + { register struct soap_nlist *np = soap->nlist->next; + if (soap->nlist->ns) + SOAP_FREE(soap, soap->nlist->ns); + SOAP_FREE(soap, soap->nlist); + soap->nlist = np; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free any remaining temp blocks\n")); + while (soap->blist) + soap_end_block(soap); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free attributes\n")); + while (soap->attributes) + { register struct soap_attribute *tp = soap->attributes->next; + if (soap->attributes->value) + SOAP_FREE(soap, soap->attributes->value); + SOAP_FREE(soap, soap->attributes); + soap->attributes = tp; + } +#ifdef WITH_FAST + if (soap->labbuf) + SOAP_FREE(soap, soap->labbuf); + soap->labbuf = NULL; + soap->lablen = 0; + soap->labidx = 0; +#endif +#ifndef WITH_NOIDREF + soap_free_pht(soap); + soap_free_iht(soap); +#endif + ns = soap->local_namespaces; + if (ns) + { for (; ns->id; ns++) + { if (ns->out) + { if (soap->encodingStyle == ns->out) + soap->encodingStyle = SOAP_STR_EOS; + SOAP_FREE(soap, ns->out); + ns->out = NULL; + } + if (soap->encodingStyle == ns->ns) + soap->encodingStyle = SOAP_STR_EOS; + } + SOAP_FREE(soap, soap->local_namespaces); + soap->local_namespaces = NULL; + } +#ifndef WITH_LEANER + while (soap->xlist) + { struct soap_xlist *xp = soap->xlist->next; + SOAP_FREE(soap, soap->xlist); + soap->xlist = xp; + } +#endif +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +static void +soap_init_logs(struct soap *soap) +{ int i; + for (i = 0; i < SOAP_MAXLOGS; i++) + { soap->logfile[i] = NULL; + soap->fdebug[i] = NULL; + } +} +#endif + +/******************************************************************************/ +#if !defined(WITH_LEAN) || defined(SOAP_DEBUG) +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_open_logfile(struct soap *soap, int i) +{ if (soap->logfile[i]) + soap->fdebug[i] = fopen(soap->logfile[i], i < 2 ? "ab" : "a"); +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +static void +soap_close_logfile(struct soap *soap, int i) +{ if (soap->fdebug[i]) + { fclose(soap->fdebug[i]); + soap->fdebug[i] = NULL; + } +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_close_logfiles(struct soap *soap) +{ int i; + for (i = 0; i < SOAP_MAXLOGS; i++) + soap_close_logfile(soap, i); +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +static void +soap_set_logfile(struct soap *soap, int i, const char *logfile) +{ char *s = NULL; + soap_close_logfile(soap, i); + if (soap->logfile[i]) + SOAP_FREE(soap, (void*)soap->logfile[i]); + if (logfile) + if ((s = (char*)SOAP_MALLOC(soap, strlen(logfile) + 1))) + strcpy(s, logfile); + soap->logfile[i] = s; +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_recv_logfile(struct soap *soap, const char *logfile) +{ soap_set_logfile(soap, SOAP_INDEX_RECV, logfile); +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_sent_logfile(struct soap *soap, const char *logfile) +{ soap_set_logfile(soap, SOAP_INDEX_SENT, logfile); +} +#endif + +/******************************************************************************/ +#ifdef SOAP_DEBUG +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_test_logfile(struct soap *soap, const char *logfile) +{ soap_set_logfile(soap, SOAP_INDEX_TEST, logfile); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +struct soap* +SOAP_FMAC2 +soap_copy(struct soap *soap) +{ return soap_copy_context((struct soap*)malloc(sizeof(struct soap)), soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +struct soap* +SOAP_FMAC2 +soap_copy_context(struct soap *copy, struct soap *soap) +{ if (copy) + { register struct soap_plugin *p; + memcpy(copy, soap, sizeof(struct soap)); + copy->copy = 1; + copy->user = NULL; + copy->error = SOAP_OK; + copy->userid = NULL; + copy->passwd = NULL; + copy->nlist = NULL; + copy->blist = NULL; + copy->clist = NULL; + copy->alist = NULL; + copy->attributes = NULL; +#ifdef SOAP_DEBUG + soap_init_mht(copy); +#endif + copy->local_namespaces = NULL; + soap_set_local_namespaces(copy); +#ifndef WITH_NOIDREF + soap_init_iht(copy); + soap_init_pht(copy); +#endif + copy->header = NULL; + copy->fault = NULL; + copy->action = NULL; + *copy->host = '\0'; +#ifndef WITH_LEAN +#ifdef WITH_COOKIES + copy->cookies = soap_copy_cookies(copy); +#else + copy->cookies = NULL; +#endif +#endif +#ifdef SOAP_DEBUG + soap_init_logs(copy); + soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]); + soap_set_sent_logfile(copy, soap->logfile[SOAP_INDEX_SENT]); + soap_set_test_logfile(copy, soap->logfile[SOAP_INDEX_TEST]); +#endif + copy->plugins = NULL; + for (p = soap->plugins; p; p = p->next) + { register struct soap_plugin *q = (struct soap_plugin*)SOAP_MALLOC(copy, sizeof(struct soap_plugin)); + if (!q) + return NULL; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying plugin '%s'\n", p->id)); + *q = *p; + if (p->fcopy && (soap->error = p->fcopy(copy, q, p))) + { SOAP_FREE(copy, q); + return NULL; + } + q->next = copy->plugins; + copy->plugins = q; + } + } + else + soap->error = SOAP_EOM; + return copy; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_init(struct soap *soap) +{ soap->version = 0; + soap_imode(soap, SOAP_IO_DEFAULT); + soap_omode(soap, SOAP_IO_DEFAULT); + soap->copy = 0; + soap->plugins = NULL; + soap->user = NULL; + soap->userid = NULL; + soap->passwd = NULL; +#ifndef WITH_NOHTTP + soap->fpost = http_post; + soap->fget = http_get; + soap->fposthdr = http_post_header; + soap->fresponse = http_response; + soap->fparse = http_parse; + soap->fparsehdr = http_parse_header; +#endif + soap->fconnect = NULL; + soap->fdisconnect = NULL; +#ifndef WITH_NOIO +#ifndef WITH_IPV6 + soap->fresolve = tcp_gethost; +#else + soap->fresolve = NULL; +#endif + soap->faccept = tcp_accept; + soap->fopen = tcp_connect; + soap->fclose = tcp_disconnect; + soap->fclosesocket = tcp_closesocket; + soap->fshutdownsocket = tcp_shutdownsocket; + soap->fsend = fsend; + soap->frecv = frecv; + soap->fpoll = soap_poll; +#else + soap->fopen = NULL; + soap->fclose = NULL; + soap->fpoll = NULL; +#endif +#ifndef WITH_LEANER + soap->fprepareinit = NULL; + soap->fpreparesend = NULL; + soap->fpreparerecv = NULL; +#endif + soap->fseterror = NULL; + soap->fignore = NULL; + soap->fserveloop = NULL; + soap->fplugin = fplugin; +#ifndef WITH_LEANER + soap->fdimereadopen = NULL; + soap->fdimewriteopen = NULL; + soap->fdimereadclose = NULL; + soap->fdimewriteclose = NULL; + soap->fdimeread = NULL; + soap->fdimewrite = NULL; +#endif + soap->float_format = "%.8g"; /* .8 preserves single FP precision as much as possible, but might not be very efficient */ + soap->double_format = "%.17lg"; /* .17 preserves double FP precision as much as possible, but might not be very efficient */ + soap->dime_id_format = "cid:id%d"; /* default DIME id format */ + soap->http_version = "1.1"; + soap->actor = NULL; + soap->max_keep_alive = SOAP_MAXKEEPALIVE; + soap->keep_alive = 0; + soap->recv_timeout = 0; + soap->send_timeout = 0; + soap->connect_timeout = 0; + soap->accept_timeout = 0; + soap->socket_flags = 0; + soap->connect_flags = 0; + soap->bind_flags = 0; + soap->accept_flags = 0; + soap->ip = 0; +#ifdef WITH_FAST + soap->labbuf = NULL; + soap->lablen = 0; + soap->labidx = 0; +#endif + soap->encodingStyle = SOAP_STR_EOS; +#ifndef WITH_NONAMESPACES + soap->namespaces = namespaces; +#else + soap->namespaces = NULL; +#endif + soap->local_namespaces = NULL; + soap->nlist = NULL; + soap->blist = NULL; + soap->clist = NULL; + soap->alist = NULL; + soap->attributes = NULL; + soap->header = NULL; + soap->fault = NULL; + soap->master = SOAP_INVALID_SOCKET; + soap->socket = SOAP_INVALID_SOCKET; + soap->os = NULL; + soap->is = NULL; +#ifndef WITH_LEANER + soap->dom = NULL; + soap->dime.list = NULL; + soap->dime.first = NULL; + soap->dime.last = NULL; + soap->mime.list = NULL; + soap->mime.first = NULL; + soap->mime.last = NULL; + soap->mime.boundary = NULL; + soap->mime.start = NULL; + soap->xlist = NULL; +#endif +#ifndef UNDER_CE + soap->recvfd = 0; + soap->sendfd = 1; +#else + soap->recvfd = stdin; + soap->sendfd = stdout; +#endif + soap->host[0] = '\0'; + soap->port = 0; + soap->action = NULL; + soap->proxy_host = NULL; + soap->proxy_port = 8080; + soap->proxy_userid = NULL; + soap->proxy_passwd = NULL; + soap->authrealm = NULL; + soap->prolog = NULL; +#ifdef WITH_OPENSSL + soap->fsslauth = ssl_auth_init; + soap->fsslverify = ssl_verify_callback; + soap->bio = NULL; + soap->ssl = NULL; + soap->ctx = NULL; + soap->require_server_auth = 0; + soap->require_client_auth = 0; + soap->rsa = 0; + soap->keyfile = NULL; + soap->password = NULL; + soap->dhfile = NULL; + soap->cafile = NULL; + soap->capath = NULL; + soap->randfile = NULL; + soap->session = NULL; +#endif +#ifdef WITH_ZLIB + soap->zlib_state = SOAP_ZLIB_NONE; + soap->zlib_in = SOAP_ZLIB_NONE; + soap->zlib_out = SOAP_ZLIB_NONE; + soap->d_stream.zalloc = NULL; + soap->d_stream.zfree = NULL; + soap->d_stream.opaque = NULL; + soap->z_level = 6; +#endif +#ifndef WITH_LEAN + soap->cookies = NULL; + soap->cookie_domain = NULL; + soap->cookie_path = NULL; + soap->cookie_max = 32; +#endif +#ifdef SOAP_DEBUG + soap_init_mht(soap); + soap_init_logs(soap); + soap_set_recv_logfile(soap, "RECV.log"); + soap_set_sent_logfile(soap, "SENT.log"); + soap_set_test_logfile(soap, NULL); +#endif +#ifdef WMW_RPM_IO + soap->rpmreqid = NULL; +#endif /* WMW_RPM_IO */ +#ifdef PALM + palmNetLibOpen(); +#endif +#ifndef WITH_NOIDREF + soap_init_iht(soap); + soap_init_pht(soap); +#endif + soap_begin(soap); +#ifdef SOAP_DEBUG + soap_set_test_logfile(soap, "TEST.log"); +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_init1(struct soap *soap, soap_mode mode) +{ soap_init2(soap, mode, mode); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_init2(struct soap *soap, soap_mode imode, soap_mode omode) +{ soap_init(soap); + soap_imode(soap, imode); + soap_omode(soap, omode); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_begin(struct soap *soap) +{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Initializing\n")); + if (!soap->keep_alive) + { soap->buflen = 0; + soap->bufidx = 0; + } + soap->keep_alive = (((soap->imode | soap->omode) & SOAP_IO_KEEPALIVE) != 0); + soap->null = 0; + soap->position = 0; + soap->encoding = 0; + soap->mustUnderstand = 0; + soap->mode = 0; + soap->ns = 0; + soap->part = SOAP_BEGIN; + soap->alloced = 0; + soap->count = 0; + soap->length = 0; + soap->cdata = 0; + soap->error = SOAP_OK; + soap->peeked = 0; + soap->ahead = 0; + soap->idnum = 0; + soap->level = 0; + soap->endpoint[0] = '\0'; +#ifndef WITH_LEANER + soap->dime.chunksize = 0; + soap->dime.buflen = 0; +#endif + soap_free(soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_end(struct soap *soap) +{ register struct soap_clist *cp; + soap_free(soap); + soap_dealloc(soap, NULL); + while (soap->clist) + { cp = soap->clist->next; + SOAP_FREE(soap, soap->clist); + soap->clist = cp; + } + soap_closesock(soap); +#ifdef SOAP_DEBUG + soap_close_logfiles(soap); +#endif +#ifdef PALM + palmNetLibClose(); +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_namespaces(struct soap *soap, struct Namespace *p) +{ register struct Namespace *ns = soap->local_namespaces; + register struct soap_nlist *np, *nq, *nr; + register unsigned int level = soap->level; + soap->namespaces = p; + soap->local_namespaces = NULL; + soap_set_local_namespaces(soap); + /* reverse the list */ + np = soap->nlist; + soap->nlist = NULL; + if (np) + { nq = np->next; + np->next = NULL; + while (nq) + { nr = nq->next; + nq->next = np; + np = nq; + nq = nr; + } + } + while (np) + { soap->level = np->level; /* preserve element nesting level */ + if (np->ns) + { if (soap_push_namespace(soap, np->id, np->ns)) + return soap->error; + } + else if (np->index >= 0 && ns) + { if (ns[np->index].out) + { if (soap_push_namespace(soap, np->id, ns[np->index].out)) + return soap->error; + } + else if (soap_push_namespace(soap, np->id, ns[np->index].ns)) + return soap->error; + } + if (np->ns) + SOAP_FREE(soap, np->ns); + nq = np; + np = np->next; + SOAP_FREE(soap, nq); + } + if (ns) + { register int i; + for (i = 0; ns[i].id; i++) + { if (ns[i].out) + { SOAP_FREE(soap, ns[i].out); + ns[i].out = NULL; + } + } + SOAP_FREE(soap, ns); + } + soap->level = level; /* restore level */ + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static void +soap_set_local_namespaces(struct soap *soap) +{ if (soap->namespaces && !soap->local_namespaces) + { register const struct Namespace *ns1; + register struct Namespace *ns2; + register size_t n = 1; + for (ns1 = soap->namespaces; ns1->id; ns1++) + n++; + n *= sizeof(struct Namespace); + ns2 = (struct Namespace*)SOAP_MALLOC(soap, n); + if (ns2) + { memcpy(ns2, soap->namespaces, n); + if (ns2[0].ns) + { if (!strcmp(ns2[0].ns, soap_env1)) + soap->version = 1; + else + soap->version = 2; + } + soap->local_namespaces = ns2; + } + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element(struct soap *soap, const char *tag, int id, const char *type) +{ struct Namespace *ns = soap->local_namespaces; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element begin tag='%s' id='%d' type='%s'\n", tag, id, type?type:"")); +/**/ +#ifdef WITH_DOM + if (soap->mode & SOAP_XML_DOM) + { register struct soap_dom_element *p, *e = (struct soap_dom_element*)soap_malloc(soap, sizeof(struct soap_dom_element)); + e->next = NULL; + e->prnt = soap->dom; + e->nstr = NULL; + e->name = soap_strdup(soap, tag); /* check EOM? */ + e->data = NULL; + e->type = 0; + e->node = NULL; + e->elts = NULL; + e->atts = NULL; + if (soap->dom) + { p = soap->dom->elts; + if (p) + { while (p->next) + p = p->next; + p->next = e; + } + else + soap->dom->elts = e; + } + soap->dom = e; + } + else +#endif +{ + soap->level++; + if (!soap->ns && !(soap->mode & SOAP_XML_CANONICAL)) + if (soap_send(soap, soap->prolog ? soap->prolog : "")) + return soap->error; + if (soap_send_raw(soap, "<", 1) + || soap_send(soap, tag)) + return soap->error; +} +/**/ + if (!soap->ns) + { for (ns = soap->local_namespaces; ns && ns->id; ns++) + { if (*ns->id && (ns->out || ns->ns)) + { sprintf(soap->tmpbuf, "xmlns:%s", ns->id); + if (soap_attribute(soap, soap->tmpbuf, ns->out ? ns->out : ns->ns)) + return soap->error; + } + } + soap->ns = 1; + } + if (id > 0) + { sprintf(soap->tmpbuf, "_%d", id); + if (soap_attribute(soap, "id", soap->tmpbuf)) + return soap->error; + } + if (type && *type) + { if (soap_attribute(soap, "xsi:type", type)) + return soap->error; + } + if (soap->null && soap->position > 0) + { int i; + sprintf(soap->tmpbuf, "[%d", soap->positions[0]); + for (i = 1; i < soap->position; i++) + sprintf(soap->tmpbuf + strlen(soap->tmpbuf), ",%d", soap->positions[i]); + strcat(soap->tmpbuf, "]"); + if (soap_attribute(soap, "SOAP-ENC:position", soap->tmpbuf)) + return soap->error; + } + if (soap->mustUnderstand) + { if (soap->actor && *soap->actor) + { if (soap_attribute(soap, soap->version == 2 ? "SOAP-ENV:role" : "SOAP-ENV:actor", soap->actor)) + return soap->error; + } + if (soap_attribute(soap, "SOAP-ENV:mustUnderstand", soap->version == 2 ? "true" : "1")) + return soap->error; + soap->mustUnderstand = 0; + } + if (soap->encoding) + { if (soap->encodingStyle && soap->local_namespaces) + { if (!*soap->encodingStyle) + { if (soap->local_namespaces[1].out) + soap->encodingStyle = soap->local_namespaces[1].out; + else + soap->encodingStyle = soap->local_namespaces[1].ns; + } + if (soap_attribute(soap, "SOAP-ENV:encodingStyle", soap->encodingStyle)) + return soap->error; + } + soap->encoding = 0; + } + soap->null = 0; + soap->position = 0; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_begin_out(struct soap *soap, const char *tag, int id, const char *type) +{ if (*tag == '-') + return SOAP_OK; + if (soap_element(soap, tag, id, type)) + return soap->error; + return soap_element_start_end_out(soap, NULL); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +#ifndef HAVE_STRRCHR +SOAP_FMAC1 +char* +SOAP_FMAC2 +soap_strrchr(const char *s, int t) +{ register char *r = NULL; + while (*s) + if (*s++ == t) + r = (char*)s - 1; + return r; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +#ifndef HAVE_STRTOL +SOAP_FMAC1 +long +SOAP_FMAC2 +soap_strtol(const char *s, char **t, int b) +{ register long n = 0; + register int c; + while (*s > 0 && *s <= 32) + s++; + if (b == 10) + { short neg = 0; + if (*s == '-') + { s++; + neg = 1; + } + else if (*s == '+') + s++; + while ((c = *s) && c >= '0' && c <= '9') + { if (n >= 214748364 && c >= '8') + break; + n *= 10; + n += c - '0'; + s++; + } + if (neg) + n = -n; + } + else /* b == 16 and value is always positive */ + { while ((c = *s)) + { if (c >= '0' && c <= '9') + c -= '0'; + else if (c >= 'A' && c <= 'F') + c -= 'A' - 10; + else if (c >= 'a' && c <= 'f') + c -= 'a' - 10; + if (n > 0x07FFFFFF) + break; + n <<= 4; + n += c; + s++; + } + } + if (t) + *t = (char*)s; + return n; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +#ifndef HAVE_STRTOUL +SOAP_FMAC1 +unsigned long +SOAP_FMAC2 +soap_strtoul(const char *s, char **t, int b) +{ unsigned long n = 0; + register int c; + while (*s > 0 && *s <= 32) + s++; + if (b == 10) + { if (*s == '+') + s++; + while ((c = *s) && c >= '0' && c <= '9') + { if (n >= 429496729 && c >= '6') + break; + n *= 10; + n += c - '0'; + s++; + } + } + else /* b == 16 */ + { while ((c = *s)) + { if (c >= '0' && c <= '9') + c -= '0'; + else if (c >= 'A' && c <= 'F') + c -= 'A' - 10; + else if (c >= 'a' && c <= 'f') + c -= 'a' - 10; + if (n > 0x0FFFFFFF) + break; + n <<= 4; + n += c; + s++; + } + } + if (t) + *t = (char*)s; + return n; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_array_begin_out(struct soap *soap, const char *tag, int id, const char *type, const char *offset) +{ if (soap_element(soap, tag, id, "SOAP-ENC:Array")) + return soap->error; + if (soap->version == 2) + { const char *s; + s = soap_strrchr(type, '['); + if ((size_t)(s - type) < sizeof(soap->tmpbuf)) + { strncpy(soap->tmpbuf, type, s - type); + soap->tmpbuf[s - type] = '\0'; + if (type && *type && (soap_attribute(soap, "SOAP-ENC:itemType", soap->tmpbuf))) + return soap->error; + if (s && (soap_attribute(soap, "SOAP-ENC:arraySize", s + 1))) + return soap->error; + } + } + else + { if (offset && (soap_attribute(soap, "SOAP-ENC:offset", offset))) + return soap->error; + if (type && *type && (soap_attribute(soap, "SOAP-ENC:arrayType", type))) + return soap->error; + } + return soap_element_start_end_out(soap, NULL); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_start_end_out(struct soap *soap, const char *tag) +{ register struct soap_attribute *tp; +/**/ +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { for (tp = soap->attributes; tp; tp = tp->next) + { if (tp->visible) + { register struct soap_dom_attribute *a = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute)); + a->next = soap->dom->atts; + a->nstr = NULL; + a->name = soap_strdup(soap, tp->name); /* check EOM */ + a->data = soap_strdup(soap, tp->value); /* check EOM */ + a->wide = NULL; + soap->dom->atts = a; + tp->visible = 0; + } + } + return SOAP_OK; + } +#endif +/**/ + for (tp = soap->attributes; tp; tp = tp->next) + { if (tp->visible) + { if (soap_send(soap, " ") || soap_send(soap, tp->name)) + return soap->error; + if (tp->visible == 2 && tp->value) + if (soap_send_raw(soap, "=\"", 2) + || soap_string_out(soap, tp->value, 1) + || soap_send_raw(soap, "\"", 1)) + return soap->error; + tp->visible = 0; + } + } + if (tag) + { soap->level--; +#ifndef WITH_LEAN + if (soap->mode & SOAP_XML_CANONICAL) + { if (soap_send_raw(soap, ">", 1) + || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; + } +#endif + return soap_send_raw(soap, "/>", 2); + } + return soap_send_raw(soap, ">", 1); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_end_out(struct soap *soap, const char *tag) +{ if (*tag == '-') + return SOAP_OK; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element ending tag='%s'\n", tag)); +/**/ +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { if (soap->dom->prnt) + soap->dom = soap->dom->prnt; + return SOAP_OK; + } +#endif +/**/ + soap->level--; + if (soap_send_raw(soap, "error; + return soap_send_raw(soap, ">", 1); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_ref(struct soap *soap, const char *tag, int id, int href) +{ register int n = 0; + if (soap->version == 2) + n = 1; + sprintf(soap->href, "#_%d", href); + return soap_element_href(soap, tag, id, "href" + n, soap->href + n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_href(struct soap *soap, const char *tag, int id, const char *ref, const char *val) +{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element '%s' reference %s='%s'\n", tag, ref, val)); + if (soap_element(soap, tag, id, NULL) + || soap_attribute(soap, ref, val) + || soap_element_start_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_null(struct soap *soap, const char *tag, int id, const char *type) +{ struct soap_attribute *tp; + for (tp = soap->attributes; tp; tp = tp->next) + if (tp->visible) + break; + if (tp || (soap->version == 2 && soap->position > 0) || id > 0 || (soap->mode & SOAP_XML_NIL)) + { if (soap_element(soap, tag, id, type)) + return soap->error; + if (soap->part != SOAP_IN_HEADER && soap->encodingStyle) + if (soap_attribute(soap, "xsi:nil", "true")) + return soap->error; + return soap_element_start_end_out(soap, tag); + } + soap->null = 1; + soap->position = 0; + soap->mustUnderstand = 0; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_id(struct soap *soap, const char *tag, int id, const void *p, const struct soap_array *a, int n, const char *type, int t) +{ if (!p || (a && !a->__ptr)) + { soap_element_null(soap, tag, id, type); + return -1; + } +#ifndef WITH_NOIDREF + if (soap->mode & SOAP_XML_TREE) + return 0; + if (id < 0) + { struct soap_plist *pp; + if (a) + id = soap_array_pointer_lookup(soap, p, a, n, t, &pp); + else + id = soap_pointer_lookup(soap, p, t, &pp); + if (id) + { if (soap_is_embedded(soap, pp)) + { soap_element_ref(soap, tag, 0, id); + return -1; + } + if (soap_is_single(soap, pp)) + return 0; + soap_set_embedded(soap, pp); + } + } + return id; +#else + return 0; +#endif +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_result(struct soap *soap, const char *tag) +{ if (soap->version == 2 && soap->encodingStyle) + if (soap_element(soap, "SOAP-RPC:result", 0, NULL) + || soap_attribute(soap, "xmlns:SOAP-RPC", soap_rpc) + || soap_element_start_end_out(soap, NULL) + || soap_string_out(soap, tag, 0) + || soap_element_end_out(soap, "SOAP-RPC:result")) + return soap->error; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_attribute(struct soap *soap, const char *name, const char *value) +{ +/**/ +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { register struct soap_dom_attribute *a = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute)); + a->next = soap->dom->atts; + a->nstr = NULL; + a->name = soap_strdup(soap, name); /* check EOM */ + a->data = soap_strdup(soap, value); /* check EOM */ + a->wide = NULL; + soap->dom->atts = a; + return SOAP_OK; + } +#endif +/**/ +#ifndef WITH_LEAN + if (soap->mode & SOAP_XML_CANONICAL) + { if (soap_set_attr(soap, name, value)) + return soap->error; + } + else +#endif + { if (soap_send(soap, " ") || soap_send(soap, name)) + return soap->error; + if (value) + if (soap_send_raw(soap, "=\"", 2) + || soap_string_out(soap, value, 1) + || soap_send_raw(soap, "\"", 1)) + return soap->error; + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_begin_in(struct soap *soap, const char *tag, int nillable) +{ if (!soap_peek_element(soap)) + { if (soap->other) + return soap->error = SOAP_TAG_MISMATCH; + if (tag && *tag == '-') + return SOAP_OK; + if (!(soap->error = soap_match_tag(soap, soap->tag, tag))) + { soap->peeked = 0; + if (soap->body) + soap->level++; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Begin element found (level=%u) '%s'='%s'\n", soap->level, soap->tag, tag?tag:"" )); + if (!nillable && soap->null && (soap->mode & SOAP_XML_STRICT)) + return soap->error = SOAP_NULL; + } + } else if (soap->error == SOAP_NO_TAG && tag && *tag == '-') + return soap->error = SOAP_OK; + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_element_end_in(struct soap *soap, const char *tag) +{ register soap_wchar c; + register char *s; + register const char *t; + register int n = 0; + if (tag && *tag == '-') + return SOAP_OK; + soap->level--; + soap_pop_namespace(soap); + if (soap->error == SOAP_NO_TAG) + soap->error = SOAP_OK; + if (soap->peeked && *soap->tag) + n++; + soap->peeked = 0; + do + { while (((c = soap_get(soap)) != SOAP_TT)) + { if ((int)c == EOF) + return soap->error = SOAP_EOF; + if (c == SOAP_LT) + n++; + else if (c == '/') + { c = soap_get(soap); + if (c == SOAP_GT) + n--; + else + soap_unget(soap, c); + } + } + } while (n--); + s = soap->tag; + do c = soap_get(soap); + while (soap_blank(c)); + do + { *s++ = (char)c; + c = soap_get(soap); + } while (soap_notblank(c)); + *s = '\0'; + if ((int)c == EOF) + return soap->error = SOAP_EOF; + while (soap_blank(c)) + c = soap_get(soap); + if (c != SOAP_GT) + return soap->error = SOAP_SYNTAX_ERROR; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End element found (level=%u) '%s'='%s'\n", soap->level, soap->tag, tag?tag:"")); + if (!tag || !*tag) + return SOAP_OK; + if ((s = strchr(soap->tag, ':'))) + s++; + else + s = soap->tag; + if ((t = strchr(tag, ':'))) + t++; + else + t = tag; + if (!SOAP_STRCMP(s, t)) + return SOAP_OK; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "End element tag name does not match\n")); + return soap->error = SOAP_SYNTAX_ERROR; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char * +SOAP_FMAC2 +soap_attr_value(struct soap *soap, const char *name, int flag) +{ register struct soap_attribute *tp; + for (tp = soap->attributes; tp; tp = tp->next) + if (!soap_match_tag(soap, tp->name, name)) + break; + if (tp && tp->visible == 2) + { if (flag == 2 && (soap->mode & SOAP_XML_STRICT)) + soap->error = SOAP_PROHIBITED; + else + return tp->value; + } + else if (flag == 1 && (soap->mode & SOAP_XML_STRICT)) + soap->error = SOAP_REQUIRED; + return NULL; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_attr(struct soap *soap, const char *name, const char *value) +{ register struct soap_attribute *tp; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Set attribute %s='%s'\n", name, value?value:"")); + for (tp = soap->attributes; tp; tp = tp->next) + if (!strcmp(tp->name, name)) + break; + if (!tp) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Allocate attribute %s\n", name)); + if (!(tp = (struct soap_attribute*)SOAP_MALLOC(soap, sizeof(struct soap_attribute) + strlen(name)))) + return soap->error = SOAP_EOM; + tp->ns = NULL; +#ifndef WITH_LEAN + if (soap->mode & SOAP_XML_CANONICAL) + { struct soap_attribute **tpp = &soap->attributes; + const char *s = strchr(name, ':'); + if (!strncmp(name, "xmlns", 5)) + { for (; *tpp; tpp = &(*tpp)->next) + if (strncmp((*tpp)->name, "xmlns", 5) || strcmp((*tpp)->name + 5, name + 5) > 0) + break; + } + else if (!s) + { for (; *tpp; tpp = &(*tpp)->next) + if (strncmp((*tpp)->name, "xmlns", 5) && ((*tpp)->ns || strcmp((*tpp)->name, name) > 0)) + break; + } + else + { int k; + for (; *tpp; tpp = &(*tpp)->next) + { if (!strncmp((*tpp)->name, "xmlns:", 6) && !strncmp((*tpp)->name + 6, name, s - name) && !(*tpp)->name[6 + s - name]) + { if (!tp->ns) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Canonicalization: prefix %s=%p(%s)\n", name, (*tpp)->ns, (*tpp)->ns)); + tp->ns = (*tpp)->ns; + } + } + else if (strncmp((*tpp)->name, "xmlns", 5) && (*tpp)->ns && tp->ns && ((k = strcmp((*tpp)->ns, tp->ns)) > 0 || (!k && strcmp((*tpp)->name, name) > 0))) + break; + } + } + tp->next = *tpp; + *tpp = tp; + } + else +#endif + { tp->next = soap->attributes; + soap->attributes = tp; + } + strcpy(tp->name, name); + tp->value = NULL; + } + else if (value && tp->value && tp->size <= strlen(value)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free attribute value of %s (free %p)\n", name, tp->value)); + SOAP_FREE(soap, tp->value); + tp->value = NULL; + tp->ns = NULL; + } + if (value) + { if (!tp->value) + { tp->size = strlen(value) + 1; + if (!(tp->value = (char*)SOAP_MALLOC(soap, tp->size))) + return soap->error = SOAP_EOM; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Allocate attribute value of %s (%p)\n", tp->name, tp->value)); + } + strcpy(tp->value, value); + if (!strncmp(tp->name, "xmlns:", 6)) + tp->ns = tp->value; + tp->visible = 2; + } + else + tp->visible = 1; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_clr_attr(struct soap *soap) +{ register struct soap_attribute *tp; +#ifndef WITH_LEAN + if (soap->mode & SOAP_XML_CANONICAL) + { while (soap->attributes) + { tp = soap->attributes->next; + SOAP_FREE(soap, soap->attributes->value); + SOAP_FREE(soap, soap->attributes); + soap->attributes = tp; + } + } + else +#endif + { for (tp = soap->attributes; tp; tp = tp->next) + tp->visible = 0; + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +static int +soap_getattrval(struct soap *soap, char *s, size_t n, soap_wchar d) +{ size_t i; + soap_wchar c; + for (i = 0; i < n; i++) + { c = soap_getutf8(soap); + switch (c) + { + case SOAP_TT: + *s++ = '<'; + soap_unget(soap, '/'); + break; + case SOAP_LT: + *s++ = '<'; + break; + case SOAP_GT: + if (d == ' ') + { soap_unget(soap, c); + *s = '\0'; + return SOAP_OK; + } + *s++ = '>'; + break; + case SOAP_QT: + if (c == d) + { *s = '\0'; + return SOAP_OK; + } + *s++ = '"'; + break; + case SOAP_AP: + if (c == d) + { *s = '\0'; + return SOAP_OK; + } + *s++ = '\''; + break; + case '\t': + case '\n': + case '\r': + case ' ': + case '/': + if (d == ' ') + { soap_unget(soap, c); + *s = '\0'; + return SOAP_OK; + } + default: + if ((int)c == EOF) + return soap->error = SOAP_EOF; + *s++ = (char)c; + } + } + return soap->error = SOAP_EOM; +} +#endif + +/******************************************************************************/ +#ifdef WITH_FAST +#ifndef PALM_2 +static int +soap_append_lab(struct soap *soap, const char *s, size_t n) +{ if (soap->labidx + n >= soap->lablen) + { register char *t = soap->labbuf; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Enlarging look-aside buffer to append data, old size=%lu", (unsigned long)soap->lablen)); + if (soap->lablen == 0) + soap->lablen = SOAP_LABLEN; + while (soap->labidx + n >= soap->lablen) + soap->lablen <<= 1; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, ", new size=%lu\n", (unsigned long)soap->lablen)); + soap->labbuf = (char*)SOAP_MALLOC(soap, soap->lablen); + if (!soap->labbuf) + { if (t) + free(t); + return soap->error = SOAP_EOM; + } + if (t && soap->labidx) + { memcpy(soap->labbuf, t, soap->labidx); + free(t); + } + } + if (s) + { memcpy(soap->labbuf + soap->labidx, s, n); + soap->labidx += n; + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_peek_element(struct soap *soap) +{ register struct soap_attribute *tp; + const char *t; + register char *s; + register soap_wchar c; + register int i; + if (soap->peeked) + { if (!*soap->tag) + return soap->error = SOAP_NO_TAG; + return SOAP_OK; + } + soap->peeked = 1; + for (;;) + { c = soap_getutf8(soap); + if (c == SOAP_BOM) + c = soap_getutf8(soap); + while (soap_blank(c)) + c = soap_getutf8(soap); + if ((int)c == EOF) + return soap->error = SOAP_EOF; + if (c != SOAP_LT) + { *soap->tag = '\0'; + soap_unget(soap, c); + return soap->error = SOAP_NO_TAG; + } + s = soap->tag; + do c = soap_get(soap); + while (soap_blank(c)); + i = sizeof(soap->tag); + while (c != '/' && soap_notblank(c)) + { if (--i > 0) + *s++ = (char)c; + c = soap_get(soap); + } + while (soap_blank(c)) + c = soap_get(soap); + *s = '\0'; + if (*soap->tag != '?') + break; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "XML PI <%s?>\n", soap->tag)); + while ((int)c != EOF && c != SOAP_GT && c != '?') + { s = soap->tmpbuf; + i = sizeof(soap->tmpbuf) - 2; + while (c != '=' && c != SOAP_GT && c != '?' && soap_notblank(c)) + { if (--i > 0) + *s++ = (char)c; + c = soap_get(soap); + } + while (soap_blank(c)) + c = soap_get(soap); + if (c == '=') + { *s++ = '='; + do c = soap_get(soap); + while (soap_blank(c)); + if (c != SOAP_QT && c != SOAP_AP) + { soap_unget(soap, c); + c = ' '; /* blank delimiter */ + } + if (soap_getattrval(soap, s, i, c) == SOAP_EOM) + while (soap_getattrval(soap, soap->tmpbuf, sizeof(soap->tmpbuf), c) == SOAP_EOM) + ; + else if (!strcmp(soap->tag, "?xml") && (!soap_tag_cmp(soap->tmpbuf, "encoding=iso-8859-1") || !soap_tag_cmp(soap->tmpbuf, "encoding=latin1"))) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "XML latin1 encoding\n")); + soap->mode |= SOAP_ENC_LATIN; + } + } + do c = soap_get(soap); + while (soap_blank(c)); + } + } + soap->id[0] = '\0'; + soap->href[0] = '\0'; + soap->type[0] = '\0'; + soap->arrayType[0] = '\0'; + soap->arraySize[0] = '\0'; + soap->arrayOffset[0] = '\0'; + soap->other = 0; + soap->root = -1; + soap->position = 0; + soap->null = 0; + soap->mustUnderstand = 0; + soap_clr_attr(soap); + while ((int)c != EOF && c != SOAP_GT && c != '/') + { s = soap->tmpbuf; + i = sizeof(soap->tmpbuf); + while (c != '=' && c != '/' && soap_notblank(c)) + { if (--i > 0) + *s++ = (char)c; + c = soap_get(soap); + } + *s = '\0'; + if (i == sizeof(soap->tmpbuf)) + return soap->error = SOAP_SYNTAX_ERROR; + if (!strncmp(soap->tmpbuf, "xmlns:", 6)) + { soap->tmpbuf[5] = '\0'; + t = soap->tmpbuf + 6; + } + else if (!strcmp(soap->tmpbuf, "xmlns")) + t = SOAP_STR_EOS; + else + t = NULL; + for (tp = soap->attributes; tp; tp = tp->next) + if (!SOAP_STRCMP(tp->name, soap->tmpbuf)) + break; + if (!tp) + { tp = (struct soap_attribute*)SOAP_MALLOC(soap, sizeof(struct soap_attribute) + strlen(soap->tmpbuf)); + if (!tp) + return soap->error = SOAP_EOM; + strcpy(tp->name, soap->tmpbuf); + tp->value = NULL; + tp->size = 0; + tp->next = soap->attributes; + soap->attributes = tp; + } + while (soap_blank(c)) + c = soap_get(soap); + if (c == '=') + { do c = soap_get(soap); + while (soap_blank(c)); + if (c != SOAP_QT && c != SOAP_AP) + { soap_unget(soap, c); + c = ' '; /* blank delimiter */ + } + if (soap_getattrval(soap, tp->value, tp->size, c)) + { +#ifdef WITH_FAST + if (soap->error != SOAP_EOM) + return soap->error; + soap->error = SOAP_OK; + soap->labidx = 0; + if (soap_append_lab(soap, tp->value, tp->size)) + return soap->error; + SOAP_FREE(soap, tp->value); + for (;;) + { if (soap_getattrval(soap, soap->labbuf + soap->labidx, soap->lablen - soap->labidx, c)) + { if (soap->error != SOAP_EOM) + return soap->error; + soap->error = SOAP_OK; + soap->labidx = soap->lablen; + if (soap_append_lab(soap, NULL, 0)) + return soap->error; + } + else + break; + } + tp->size = soap->lablen; + if (!(tp->value = (char*)SOAP_MALLOC(soap, tp->size))) + return soap->error = SOAP_EOM; + memcpy(tp->value, soap->labbuf, soap->lablen); +#else + size_t n; + if (soap->error != SOAP_EOM) + return soap->error; + soap->error = SOAP_OK; + if (soap_new_block(soap)) + return soap->error; + for (;;) + { if (!(s = (char*)soap_push_block(soap, SOAP_BLKLEN))) + return soap->error; + if (soap_getattrval(soap, s, SOAP_BLKLEN, c)) + { if (soap->error != SOAP_EOM) + return soap->error; + soap->error = SOAP_OK; + } + else + break; + } + n = tp->size + soap->blist->size; + if (!(s = (char*)SOAP_MALLOC(soap, n))) + return soap->error = SOAP_EOM; + if (tp->value) + { memcpy(s, tp->value, tp->size); + SOAP_FREE(soap, tp->value); + } + soap_save_block(soap, s + tp->size, 0); + tp->value = s; + tp->size = n; +#endif + } + do c = soap_get(soap); + while (soap_blank(c)); + tp->visible = 2; /* seen this attribute w/ value */ + } + else + tp->visible = 1; /* seen this attribute w/o value */ + if (t && tp->value) + { if (soap_push_namespace(soap, t, tp->value)) + return soap->error; + tp->visible = 0; + } + } + if ((int)c == EOF) + return soap->error = SOAP_EOF; + for (tp = soap->attributes; tp; tp = tp->next) + { if (tp->visible && tp->value) + { if (!strcmp(tp->name, "id")) + { *soap->id = '#'; + strncpy(soap->id + 1, tp->value, sizeof(soap->id) - 2); + soap->id[sizeof(soap->id)-1] = '\0'; + } + else if (!strcmp(tp->name, "href")) + { strncpy(soap->href, tp->value, sizeof(soap->href) - 1); + soap->href[sizeof(soap->href)-1] = '\0'; + } + else if ((soap->version == 2 || (soap->mode & SOAP_XML_GRAPH)) && !strcmp(tp->name, "ref")) + { *soap->href = '#'; + strncpy(soap->href + 1, tp->value, sizeof(soap->href) - 2); + soap->href[sizeof(soap->href)-1] = '\0'; + } + else if (!soap_match_tag(soap, tp->name, "xsi:type")) + { strncpy(soap->type, tp->value, sizeof(soap->type) - 1); + soap->type[sizeof(soap->type)-1] = '\0'; + } + else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:arrayType")) + { s = soap_strrchr(tp->value, '['); + if (s && (size_t)(s - tp->value) < sizeof(soap->arrayType)) + { strncpy(soap->arrayType, tp->value, s - tp->value); + soap->arrayType[s - tp->value] = '\0'; + strncpy(soap->arraySize, s, sizeof(soap->arraySize) - 1); + } + else + strncpy(soap->arrayType, tp->value, sizeof(soap->arrayType) - 1); + soap->arraySize[sizeof(soap->arrayType)-1] = '\0'; + soap->arrayType[sizeof(soap->arrayType)-1] = '\0'; + } + else if (soap->version == 2 && !soap_match_tag(soap, tp->name, "SOAP-ENC:itemType")) + strncpy(soap->arrayType, tp->value, sizeof(soap->arrayType) - 1); + else if (soap->version == 2 && !soap_match_tag(soap, tp->name, "SOAP-ENC:arraySize")) + strncpy(soap->arraySize, tp->value, sizeof(soap->arraySize) - 1); + else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:offset")) + strncpy(soap->arrayOffset, tp->value, sizeof(soap->arrayOffset)); + else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:position")) + soap->position = soap_getposition(tp->value, soap->positions); + else if (soap->version == 1 && !soap_match_tag(soap, tp->name, "SOAP-ENC:root")) + soap->root = ((!strcmp(tp->value, "1") || !strcmp(tp->value, "true"))); + else if (!soap_match_tag(soap, tp->name, "SOAP-ENV:actor") + || !soap_match_tag(soap, tp->name, "SOAP-ENV:role")) + { if ((!soap->actor || strcmp(soap->actor, tp->value)) + && strcmp(tp->value, "http://schemas.xmlsoap.org/soap/actor/next") + && strcmp(tp->value, "http://www.w3.org/2003/05/soap-envelope/role/next")) + soap->other = 1; + } + else if (!soap_match_tag(soap, tp->name, "SOAP-ENV:mustUnderstand") + && (!strcmp(tp->value, "1") || !strcmp(tp->value, "true"))) + soap->mustUnderstand = 1; + else if ((!soap_match_tag(soap, tp->name, "xsi:null") + || !soap_match_tag(soap, tp->name, "xsi:nil")) + && (!strcmp(tp->value, "1") + || !strcmp(tp->value, "true"))) + soap->null = 1; + } + } + if (!(soap->body = (c != '/'))) + do c = soap_get(soap); + while (soap_blank(c)); + return soap->error = SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_retry(struct soap *soap) +{ soap->error = SOAP_OK; + soap_revert(soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_revert(struct soap *soap) +{ if (!soap->peeked) + { soap->peeked = 1; + if (soap->body) + soap->level--; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Reverting last element (level=%u)\n", soap->level)); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_string_out(struct soap *soap, const char *s, int flag) +{ register const char *t; + register soap_wchar c; + register soap_wchar mask = 0xFFFFFF80UL; +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { soap->dom->data = soap_strdup(soap, s); /* check EOM */ + return SOAP_OK; + } +#endif + if (soap->mode & SOAP_C_UTFSTRING) + mask = 0; + t = s; + while ((c = *t++)) + { switch (c) + { + case 9: + if (flag) + { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, " ", 5)) + return soap->error; + s = t; + } + break; + case 10: + if (flag || !(soap->mode & SOAP_XML_CANONICAL)) + { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, " ", 5)) + return soap->error; + s = t; + } + break; + case 13: + if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, " ", 5)) + return soap->error; + s = t; + break; + case '&': + if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "&", 5)) + return soap->error; + s = t; + break; + case '<': + if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, "<", 4)) + return soap->error; + s = t; + break; + case '>': + if (!flag) + { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, ">", 4)) + return soap->error; + s = t; + } + break; + case '"': + if (flag) + { if (soap_send_raw(soap, s, t - s - 1) || soap_send_raw(soap, """, 6)) + return soap->error; + s = t; + } + break; + default: +#ifndef WITH_LEANER +#ifdef HAVE_MBTOWC + if (soap->mode & SOAP_C_MBSTRING) + { wchar_t wc; + register int m = mbtowc(&wc, t - 1, MB_CUR_MAX); + if (m > 0 && wc != c) + { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, wc)) + return soap->error; + s = t += m - 1; + continue; + } + } +#endif +#endif + if (c & mask) + { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, (unsigned char)c)) + return soap->error; + s = t; + } + } + } + return soap_send_raw(soap, s, t - s - 1); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_string_in(struct soap *soap, int flag, long minlen, long maxlen) +{ register char *s; + char *t = NULL; + register size_t i; + register long l = 0; + register int n = 0; + register int m = 0; + register soap_wchar c; +#if !defined(WITH_LEANER) && defined(HAVE_WCTOMB) + char buf[MB_LEN_MAX > 8 ? MB_LEN_MAX : 8]; +#else + char buf[8]; +#endif + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Reading string content\n")); +#ifdef WITH_CDATA + if (!flag) + { register int state = 0; +#ifdef WITH_FAST + soap->labidx = 0; /* use look-aside buffer */ +#else + if (soap_new_block(soap)) + return NULL; +#endif + for (;;) + { +#ifdef WITH_FAST + register size_t k; + if (soap_append_lab(soap, NULL, 0)) /* allocate more space in look-aside buffer if necessary */ + return NULL; + s = soap->labbuf + soap->labidx; /* space to populate */ + k = soap->lablen - soap->labidx; /* number of bytes available */ + soap->labidx = soap->lablen; /* claim this space */ +#else + register size_t k = SOAP_BLKLEN; + if (!(s = (char*)soap_push_block(soap, k))) + return NULL; +#endif + for (i = 0; i < k; i++) + { if (m > 0) + { *s++ = *t++; /* copy multibyte characters */ + m--; + continue; + } + c = soap_getchar(soap); + if ((int)c == EOF) + goto end; + if (c >= 0x80 && !(soap->mode & SOAP_ENC_LATIN)) + { soap_unget(soap, c); + c = soap_getutf8(soap); + if (soap->mode & SOAP_C_UTFSTRING) + { if ((c & 0x80000000) && c >= -0x7FFFFF80 && c < SOAP_AP) + { c &= 0x7FFFFFFF; + t = buf; + if (c < 0x0800) + *t++ = (char)(0xC0 | ((c >> 6) & 0x1F)); + else + { if (c < 0x010000) + *t++ = (char)(0xE0 | ((c >> 12) & 0x0F)); + else + { if (c < 0x200000) + *t++ = (char)(0xF0 | ((c >> 18) & 0x07)); + else + { if (c < 0x04000000) + *t++ = (char)(0xF8 | ((c >> 24) & 0x03)); + else + { *t++ = (char)(0xFC | ((c >> 30) & 0x01)); + *t++ = (char)(0x80 | ((c >> 24) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 18) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 12) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 6) & 0x3F)); + } + *t++ = (char)(0x80 | (c & 0x3F)); + m = (int)(t - buf) - 1; + t = buf; + *s++ = *t++; + continue; + } + } + } + switch (state) + { case 1: + if (c == ']') + state = 4; + *s++ = c; + continue; + case 2: + if (c == '-') + state = 6; + *s++ = c; + continue; + case 3: + if (c == '?') + state = 8; + *s++ = c; + continue; + /* CDATA */ + case 4: + if (c == ']') + state = 5; + else + state = 1; + *s++ = c; + continue; + case 5: + if (c == '>') + state = 0; + else + state = 1; + *s++ = c; + continue; + /* comment */ + case 6: + if (c == '-') + state = 7; + else + state = 2; + *s++ = c; + continue; + case 7: + if (c == '>') + state = 0; + else + state = 2; + *s++ = c; + continue; + /* PI */ + case 8: + if (c == '>') + state = 0; + else + state = 3; + *s++ = c; + continue; + } + switch (c) + { + case '/': + if (n > 0) + { c = soap_getchar(soap); + if (c == '>') + n--; + soap_unget(soap, c); + } + *s++ = '/'; + break; + case '<': + c = soap_getchar(soap); + if (c == '/') + { if (n == 0) + { c = SOAP_TT; + goto end; + } + n--; + } + else if (c == '!') + { c = soap_getchar(soap); + if (c == '[') + { do c = soap_getchar(soap); + while ((int)c != EOF && c != '['); + if ((int)c == EOF) + goto end; + t = (char*)"![CDATA["; + m = 8; + state = 1; + } + else if (c == '-') + { if ((c = soap_getchar(soap)) == '-') + state = 2; + t = (char*)"!-"; + m = 2; + soap_unget(soap, c); + } + else + { t = (char*)"!"; + m = 1; + soap_unget(soap, c); + } + *s++ = '<'; + break; + } + else if (c == '?') + state = 3; + else + n++; + soap_unget(soap, c); + *s++ = '<'; + break; + case '>': + *s++ = '>'; + break; + case '"': + *s++ = '"'; + break; + default: +#ifndef WITH_LEANER +#ifdef HAVE_WCTOMB + if (soap->mode & SOAP_C_MBSTRING) + { m = wctomb(buf, c & 0x7FFFFFFF); + if (m >= 1 && m <= (int)MB_CUR_MAX) + { t = buf; + *s++ = *t++; + m--; + } + else + { *s++ = SOAP_UNKNOWN_CHAR; + m = 0; + } + } + else +#endif +#endif + *s++ = (char)(c & 0xFF); + } + l++; + if ((soap->mode & SOAP_XML_STRICT) && maxlen >= 0 && l > maxlen) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too long: maxlen=%ld\n", maxlen)); + soap->error = SOAP_LENGTH; + return NULL; + } + } + } + } +#endif +#ifdef WITH_FAST + soap->labidx = 0; /* use look-aside buffer */ +#else + if (soap_new_block(soap)) + return NULL; +#endif + for (;;) + { +#ifdef WITH_FAST + register size_t k; + if (soap_append_lab(soap, NULL, 0)) /* allocate more space in look-aside buffer if necessary */ + return NULL; + s = soap->labbuf + soap->labidx; /* space to populate */ + k = soap->lablen - soap->labidx; /* number of bytes available */ + soap->labidx = soap->lablen; /* claim this space */ +#else + register size_t k = SOAP_BLKLEN; + if (!(s = (char*)soap_push_block(soap, k))) + return NULL; +#endif + for (i = 0; i < k; i++) + { if (m > 0) + { *s++ = *t++; /* copy multibyte characters */ + m--; + continue; + } + if (soap->mode & SOAP_C_UTFSTRING) + { if (((c = soap_get(soap)) & 0x80000000) && c >= -0x7FFFFF80 && c < SOAP_AP) + { c &= 0x7FFFFFFF; + t = buf; + if (c < 0x0800) + *t++ = (char)(0xC0 | ((c >> 6) & 0x1F)); + else + { if (c < 0x010000) + *t++ = (char)(0xE0 | ((c >> 12) & 0x0F)); + else + { if (c < 0x200000) + *t++ = (char)(0xF0 | ((c >> 18) & 0x07)); + else + { if (c < 0x04000000) + *t++ = (char)(0xF8 | ((c >> 24) & 0x03)); + else + { *t++ = (char)(0xFC | ((c >> 30) & 0x01)); + *t++ = (char)(0x80 | ((c >> 24) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 18) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 12) & 0x3F)); + } + *t++ = (char)(0x80 | ((c >> 6) & 0x3F)); + } + *t++ = (char)(0x80 | (c & 0x3F)); + m = (int)(t - buf) - 1; + t = buf; + *s++ = *t++; + continue; + } + } + else + c = soap_getutf8(soap); + switch (c) + { + case SOAP_TT: + if (n == 0) + goto end; + n--; + *s++ = '<'; + t = (char*)"/"; + m = 1; + break; + case SOAP_LT: + n++; + *s++ = '<'; + break; + case SOAP_GT: + *s++ = '>'; + break; + case SOAP_QT: + *s++ = '"'; + break; + case SOAP_AP: + *s++ = '\''; + break; + case '/': + if (n > 0) + { c = soap_get(soap); + if (c == SOAP_GT) + n--; + soap_unget(soap, c); + } + *s++ = '/'; + break; + case '<' | 0x80000000: + if (flag) + *s++ = '<'; + else + { *s++ = '&'; + t = (char*)"lt;"; + m = 3; + } + break; + case '>' | 0x80000000: + if (flag) + *s++ = '>'; + else + { *s++ = '&'; + t = (char*)"gt;"; + m = 3; + } + break; + case '&' | 0x80000000: + if (flag) + *s++ = '&'; + else + { *s++ = '&'; + t = (char*)"amp;"; + m = 4; + } + break; + case '"' | 0x80000000: + if (flag) + *s++ = '"'; + else + { *s++ = '&'; + t = (char*)"quot;"; + m = 5; + } + break; + case '\'' | 0x80000000: + if (flag) + *s++ = '\''; + else + { *s++ = '&'; + t = (char*)"apos;"; + m = 5; + } + break; + default: + if ((int)c == EOF) + goto end; +#ifndef WITH_LEANER +#ifdef HAVE_WCTOMB + if (soap->mode & SOAP_C_MBSTRING) + { m = wctomb(buf, c & 0x7FFFFFFF); + if (m >= 1 && m <= (int)MB_CUR_MAX) + { t = buf; + *s++ = *t++; + m--; + } + else + { *s++ = SOAP_UNKNOWN_CHAR; + m = 0; + } + } + else +#endif +#endif + *s++ = (char)(c & 0xFF); + } + l++; + if ((soap->mode & SOAP_XML_STRICT) && maxlen >= 0 && l > maxlen) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too long: maxlen=%ld\n", maxlen)); + soap->error = SOAP_LENGTH; + return NULL; + } + } + } +end: + soap_unget(soap, c); + *s = '\0'; +#ifdef WITH_FAST + t = soap_strdup(soap, soap->labbuf); +#else + soap_size_block(soap, i+1); + t = soap_save_block(soap, NULL, 0); +#endif + if ((soap->mode & SOAP_XML_STRICT) && l < minlen) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too short: %ld chars, minlen=%ld\n", l, minlen)); + soap->error = SOAP_LENGTH; + return NULL; + } + if (flag == 2) + if (soap_s2QName(soap, t, &t)) + return NULL; + if (soap->peeked && *soap->tag) + { soap->peeked = 0; + if (soap_element_end_in(soap, NULL)) + return NULL; + } + return t; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_wstring_out(struct soap *soap, const wchar_t *s, int flag) +{ const char *t; + char tmp; + register soap_wchar c; +#ifdef WITH_DOM + if ((soap->mode & SOAP_XML_DOM) && soap->dom) + { soap->dom->wide = NULL; /* soap_malloc() ??? */ + return SOAP_OK; + } +#endif + while ((c = *s++)) + { switch (c) + { + case 9: + if (flag) + t = " "; + else + t = "\t"; + break; + case 10: + if (flag || !(soap->mode & SOAP_XML_CANONICAL)) + t = " "; + else + t = "\n"; + break; + case 13: + t = " "; + break; + case '&': + t = "&"; + break; + case '<': + t = "<"; + break; + case '>': + if (flag) + t = ">"; + else + t = ">"; + break; + case '"': + if (flag) + t = """; + else + t = "\""; + break; + default: + if (c > 0 && c < 0x80) + { tmp = (char)c; + if (soap_send_raw(soap, &tmp, 1)) + return soap->error; + } + else if (soap_pututf8(soap, (unsigned long)c)) + return soap->error; + continue; + } + if (soap_send(soap, t)) + return soap->error; + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_2 +SOAP_FMAC1 +wchar_t * +SOAP_FMAC2 +soap_wstring_in(struct soap *soap, int flag, long minlen, long maxlen) +{ wchar_t *s; + register int i, n = 0; + register long l = 0; + register soap_wchar c; + const char *t = NULL; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Reading wide string content\n")); + if (soap->peeked && *soap->tag) + { n = 1; + soap->peeked = 0; + } + if (soap_new_block(soap)) + return NULL; + for (;;) + { if (!(s = (wchar_t*)soap_push_block(soap, sizeof(wchar_t)*SOAP_BLKLEN))) + return NULL; + for (i = 0; i < SOAP_BLKLEN; i++) + { if (t) + { *s++ = (wchar_t)*t++; + if (!*t) + t = NULL; + continue; + } + c = soap_getutf8(soap); + switch (c) + { + case SOAP_TT: + if (n == 0) + goto end; + n--; + *s++ = '<'; + soap_unget(soap, '/'); + break; + case SOAP_LT: + n++; + *s++ = '<'; + break; + case SOAP_GT: + *s++ = '>'; + break; + case SOAP_QT: + *s++ = '"'; + break; + case SOAP_AP: + *s++ = '\''; + break; + case '/': + if (n > 0) + { c = soap_getutf8(soap); + if (c == SOAP_GT) + n--; + soap_unget(soap, c); + } + *s++ = '/'; + break; + case '<': + if (flag) + *s++ = (soap_wchar)'<'; + else + { *s++ = (soap_wchar)'&'; + t = "lt;"; + } + break; + case '>': + if (flag) + *s++ = (soap_wchar)'>'; + else + { *s++ = (soap_wchar)'&'; + t = "gt;"; + } + break; + case '"': + if (flag) + *s++ = (soap_wchar)'"'; + else + { *s++ = (soap_wchar)'&'; + t = "quot;"; + } + break; + default: + if ((int)c == EOF) + goto end; + *s++ = (wchar_t)c & 0x7FFFFFFF; + } + l++; + if ((soap->mode & SOAP_XML_STRICT) && maxlen >= 0 && l > maxlen) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too long: maxlen=%ld\n", maxlen)); + soap->error = SOAP_LENGTH; + return NULL; + } + } + } +end: + soap_unget(soap, c); + *s = '\0'; + soap_size_block(soap, sizeof(wchar_t) * (i + 1)); + if ((soap->mode & SOAP_XML_STRICT) && l < minlen) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "String too short: %ld chars, minlen=%ld\n", l, minlen)); + soap->error = SOAP_LENGTH; + return NULL; + } + if (soap->peeked && *soap->tag) + { soap->peeked = 0; + if (soap_element_end_in(soap, NULL)) + return NULL; + } + return (wchar_t*)soap_save_block(soap, NULL, 0); +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_int2s(struct soap *soap, int n) +{ return soap_long2s(soap, (long)n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outint(struct soap *soap, const char *tag, int id, const int *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_long2s(soap, (long)*p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2int(struct soap *soap, const char *s, int *p) +{ if (s) + { char *r; + *p = (int)soap_strtol(s, &r, 10); + if (*r +#ifndef WITH_NOIO +#ifndef WITH_LEAN + || soap_errno == SOAP_ERANGE +#endif +#endif + ) + soap->error = SOAP_TYPE; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int * +SOAP_FMAC2 +soap_inint(struct soap *soap, const char *tag, int *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":int") + && soap_match_tag(soap, soap->type, ":short") + && soap_match_tag(soap, soap->type, ":byte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (int*)soap_id_enter(soap, soap->id, p, t, sizeof(int), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2int(soap, soap_value(soap), p)) + return NULL; + } + p = (int*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(int), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_long2s(struct soap *soap, long n) +{ sprintf(soap->tmpbuf, "%ld", n); + return soap->tmpbuf; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outlong(struct soap *soap, const char *tag, int id, const long *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_long2s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2long(struct soap *soap, const char *s, long *p) +{ if (s) + { char *r; + *p = soap_strtol(s, &r, 10); + if (*r +#ifndef WITH_NOIO +#ifndef WITH_LEAN + || soap_errno == SOAP_ERANGE +#endif +#endif + ) + soap->error = SOAP_TYPE; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +long * +SOAP_FMAC2 +soap_inlong(struct soap *soap, const char *tag, long *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":int") + && soap_match_tag(soap, soap->type, ":short") + && soap_match_tag(soap, soap->type, ":byte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (long*)soap_id_enter(soap, soap->id, p, t, sizeof(long), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2long(soap, soap_value(soap), p)) + return NULL; + } + p = (long*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(long), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_LONG642s(struct soap *soap, LONG64 n) +{ sprintf(soap->tmpbuf, SOAP_LONG_FORMAT, n); + return soap->tmpbuf; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outLONG64(struct soap *soap, const char *tag, int id, const LONG64 *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_LONG642s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2LONG64(struct soap *soap, const char *s, LONG64 *p) +{ +#ifdef HAVE_STRTOLL + char *r; + if (s && ((*p = strtoll(s, &r, 10)), *r +#ifndef WITH_NOIO +#ifndef WITH_LEAN + || soap_errno == SOAP_ERANGE +#endif +#endif + )) +#else +# ifdef HAVE_SSCANF + if (s && sscanf(s, SOAP_LONG_FORMAT, p) != 1) +# endif +#endif + soap->error = SOAP_TYPE; + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +LONG64 * +SOAP_FMAC2 +soap_inLONG64(struct soap *soap, const char *tag, LONG64 *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":integer") + && soap_match_tag(soap, soap->type, ":positiveInteger") + && soap_match_tag(soap, soap->type, ":negativeInteger") + && soap_match_tag(soap, soap->type, ":nonPositiveInteger") + && soap_match_tag(soap, soap->type, ":nonNegativeInteger") + && soap_match_tag(soap, soap->type, ":long") + && soap_match_tag(soap, soap->type, ":int") + && soap_match_tag(soap, soap->type, ":short") + && soap_match_tag(soap, soap->type, ":byte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (LONG64*)soap_id_enter(soap, soap->id, p, t, sizeof(LONG64), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2LONG64(soap, soap_value(soap), p)) + return NULL; + } + p = (LONG64*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(LONG64), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_byte2s(struct soap *soap, char n) +{ return soap_long2s(soap, (long)n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outbyte(struct soap *soap, const char *tag, int id, const char *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_long2s(soap, (long)*p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2byte(struct soap *soap, const char *s, char *p) +{ if (s) + { long n; + char *r; + n = soap_strtol(s, &r, 10); + if (*r || n < -128 || n > 127) + soap->error = SOAP_TYPE; + *p = (char)n; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_inbyte(struct soap *soap, const char *tag, char *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":byte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (char*)soap_id_enter(soap, soap->id, p, t, sizeof(char), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2byte(soap, soap_value(soap), p)) + return NULL; + } + p = (char*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(char), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_short2s(struct soap *soap, short n) +{ return soap_long2s(soap, (long)n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outshort(struct soap *soap, const char *tag, int id, const short *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_long2s(soap, (long)*p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2short(struct soap *soap, const char *s, short *p) +{ if (s) + { long n; + char *r; + n = soap_strtol(s, &r, 10); + if (*r || n < -32768 || n > 32767) + soap->error = SOAP_TYPE; + *p = (short)n; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +short * +SOAP_FMAC2 +soap_inshort(struct soap *soap, const char *tag, short *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":short") + && soap_match_tag(soap, soap->type, ":byte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (short*)soap_id_enter(soap, soap->id, p, t, sizeof(short), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2short(soap, soap_value(soap), p)) + return NULL; + } + p = (short*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(short), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_float2s(struct soap *soap, float n) +{ const char *s; + if (soap_isnan((double)n)) + s = "NaN"; + else if (soap_ispinff(n)) + s = "INF"; + else if (soap_isninff(n)) + s = "-INF"; + else + { sprintf(soap->tmpbuf, soap->float_format, n); + s = soap->tmpbuf; + } + return s; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outfloat(struct soap *soap, const char *tag, int id, const float *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_float2s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2float(struct soap *soap, const char *s, float *p) +{ if (s) + { if (!soap_tag_cmp(s, "INF")) + *p = FLT_PINFTY; + else if (!soap_tag_cmp(s, "+INF")) + *p = FLT_PINFTY; + else if (!soap_tag_cmp(s, "-INF")) + *p = FLT_NINFTY; + else if (!soap_tag_cmp(s, "NaN")) + *p = FLT_NAN; + else + { +#if defined(HAVE_STRTOF) + char *r; + *p = strtof((char*)s, &r); + if (*r) +#elif defined(HAVE_STRTOD) + char *r; + *p = (float)strtod(s, &r); + if (*r) +#endif +#ifdef HAVE_SSCANF + if (sscanf(s, "%g", p) != 1) + soap->error = SOAP_TYPE; +#else + soap->error = SOAP_TYPE; +#endif + } + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +static int soap_isnumeric(struct soap *soap, const char *type) +{ if (soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":float") + && soap_match_tag(soap, soap->type, ":double") + && soap_match_tag(soap, soap->type, ":decimal") + && soap_match_tag(soap, soap->type, ":integer") + && soap_match_tag(soap, soap->type, ":positiveInteger") + && soap_match_tag(soap, soap->type, ":negativeInteger") + && soap_match_tag(soap, soap->type, ":nonPositiveInteger") + && soap_match_tag(soap, soap->type, ":nonNegativeInteger") + && soap_match_tag(soap, soap->type, ":long") + && soap_match_tag(soap, soap->type, ":int") + && soap_match_tag(soap, soap->type, ":short") + && soap_match_tag(soap, soap->type, ":byte") + && soap_match_tag(soap, soap->type, ":unsignedLong") + && soap_match_tag(soap, soap->type, ":unsignedInt") + && soap_match_tag(soap, soap->type, ":unsignedShort") + && soap_match_tag(soap, soap->type, ":unsignedByte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return SOAP_ERR; + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +float * +SOAP_FMAC2 +soap_infloat(struct soap *soap, const char *tag, float *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type != '\0' && soap_isnumeric(soap, type)) + return NULL; +#endif + p = (float*)soap_id_enter(soap, soap->id, p, t, sizeof(float), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2float(soap, soap_value(soap), p)) + return NULL; + } + p = (float*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(float), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_double2s(struct soap *soap, double n) +{ const char *s; + if (soap_isnan(n)) + s = "NaN"; + else if (soap_ispinfd(n)) + s = "INF"; + else if (soap_isninfd(n)) + s = "-INF"; + else + { sprintf(soap->tmpbuf, soap->double_format, n); + s = soap->tmpbuf; + } + return s; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outdouble(struct soap *soap, const char *tag, int id, const double *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_double2s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2double(struct soap *soap, const char *s, double *p) +{ if (s) + { if (!soap_tag_cmp(s, "INF")) + *p = DBL_PINFTY; + else if (!soap_tag_cmp(s, "+INF")) + *p = DBL_PINFTY; + else if (!soap_tag_cmp(s, "-INF")) + *p = DBL_NINFTY; + else if (!soap_tag_cmp(s, "NaN")) + *p = DBL_NAN; + else + { +#ifdef HAVE_STRTOD + char *r; + *p = strtod(s, &r); + if (*r) +#endif +#ifdef HAVE_SSCANF + if (sscanf(s, "%lg", p) != 1) + soap->error = SOAP_TYPE; +#else + soap->error = SOAP_TYPE; +#endif + } + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +double * +SOAP_FMAC2 +soap_indouble(struct soap *soap, const char *tag, double *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type != '\0' && soap_isnumeric(soap, type)) + return NULL; +#endif + p = (double*)soap_id_enter(soap, soap->id, p, t, sizeof(double), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2double(soap, soap_value(soap), p)) + return NULL; + } + p = (double*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(double), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_unsignedByte2s(struct soap *soap, unsigned char n) +{ return soap_unsignedLong2s(soap, (unsigned long)n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outunsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_unsignedLong2s(soap, (unsigned long)*p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2unsignedByte(struct soap *soap, const char *s, unsigned char *p) +{ if (s) + { unsigned long n; + char *r; + n = soap_strtoul(s, &r, 10); + if (*r || n > 255) + soap->error = SOAP_TYPE; + *p = (unsigned char)n; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +unsigned char * +SOAP_FMAC2 +soap_inunsignedByte(struct soap *soap, const char *tag, unsigned char *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":unsignedByte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (unsigned char*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned char), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2unsignedByte(soap, soap_value(soap), p)) + return NULL; + } + p = (unsigned char*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned char), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_unsignedShort2s(struct soap *soap, unsigned short n) +{ return soap_unsignedLong2s(soap, (unsigned long)n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outunsignedShort(struct soap *soap, const char *tag, int id, const unsigned short *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_unsignedLong2s(soap, (unsigned long)*p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2unsignedShort(struct soap *soap, const char *s, unsigned short *p) +{ if (s) + { unsigned long n; + char *r; + n = soap_strtoul(s, &r, 10); + if (*r || n > 65535) + soap->error = SOAP_TYPE; + *p = (unsigned short)n; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +unsigned short * +SOAP_FMAC2 +soap_inunsignedShort(struct soap *soap, const char *tag, unsigned short *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":unsignedShort") + && soap_match_tag(soap, soap->type, ":unsignedByte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (unsigned short*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned short), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2unsignedShort(soap, soap_value(soap), p)) + return NULL; + } + p = (unsigned short*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned short), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_unsignedInt2s(struct soap *soap, unsigned int n) +{ return soap_unsignedLong2s(soap, (unsigned long)n); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outunsignedInt(struct soap *soap, const char *tag, int id, const unsigned int *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_unsignedLong2s(soap, (unsigned long)*p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2unsignedInt(struct soap *soap, const char *s, unsigned int *p) +{ if (s) + { char *r; + *p = (unsigned int)soap_strtoul(s, &r, 10); + if (*r +#ifndef WITH_NOIO +#ifndef WITH_LEAN + || soap_errno == SOAP_ERANGE +#endif +#endif + ) + soap->error = SOAP_TYPE; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +unsigned int * +SOAP_FMAC2 +soap_inunsignedInt(struct soap *soap, const char *tag, unsigned int *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":unsignedInt") + && soap_match_tag(soap, soap->type, ":unsignedShort") + && soap_match_tag(soap, soap->type, ":unsignedByte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (unsigned int*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned int), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2unsignedInt(soap, soap_value(soap), p)) + return NULL; + } + p = (unsigned int*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned int), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_unsignedLong2s(struct soap *soap, unsigned long n) +{ sprintf(soap->tmpbuf, "%lu", n); + return soap->tmpbuf; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outunsignedLong(struct soap *soap, const char *tag, int id, const unsigned long *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_unsignedLong2s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2unsignedLong(struct soap *soap, const char *s, unsigned long *p) +{ if (s) + { char *r; + *p = soap_strtoul(s, &r, 10); + if (*r +#ifndef WITH_NOIO +#ifndef WITH_LEAN + || soap_errno == SOAP_ERANGE +#endif +#endif + ) + soap->error = SOAP_TYPE; + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +unsigned long * +SOAP_FMAC2 +soap_inunsignedLong(struct soap *soap, const char *tag, unsigned long *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; +#ifndef WITH_LEAN + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":unsignedInt") + && soap_match_tag(soap, soap->type, ":unsignedShort") + && soap_match_tag(soap, soap->type, ":unsignedByte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } +#endif + p = (unsigned long*)soap_id_enter(soap, soap->id, p, t, sizeof(unsigned long), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2unsignedLong(soap, soap_value(soap), p)) + return NULL; + } + p = (unsigned long*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(unsigned long), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_ULONG642s(struct soap *soap, ULONG64 n) +{ sprintf(soap->tmpbuf, SOAP_ULONG_FORMAT, n); + return soap->tmpbuf; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outULONG64(struct soap *soap, const char *tag, int id, const ULONG64 *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_ULONG642s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2ULONG64(struct soap *soap, const char *s, ULONG64 *p) +{ +#ifdef HAVE_STRTOULL + char *r; + if (s && (*p = strtoull(s, &r, 10), *r +#ifndef WITH_NOIO +#ifndef WITH_LEAN + || soap_errno == SOAP_ERANGE +#endif +#endif + )) +#else +# ifdef HAVE_SSCANF + if (s && sscanf(s, SOAP_ULONG_FORMAT, p) != 1) +# endif +#endif + soap->error = SOAP_TYPE; + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +ULONG64 * +SOAP_FMAC2 +soap_inULONG64(struct soap *soap, const char *tag, ULONG64 *p, const char *type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":positiveInteger") + && soap_match_tag(soap, soap->type, ":nonNegativeInteger") + && soap_match_tag(soap, soap->type, ":unsignedLong") + && soap_match_tag(soap, soap->type, ":unsignedInt") + && soap_match_tag(soap, soap->type, ":unsignedShort") + && soap_match_tag(soap, soap->type, ":unsignedByte")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } + p = (ULONG64*)soap_id_enter(soap, soap->id, p, t, sizeof(ULONG64), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2ULONG64(soap, soap_value(soap), p)) + return NULL; + } + p = (ULONG64*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(ULONG64), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2string(struct soap *soap, const char *s, char **t) +{ *t = NULL; + if (s && !(*t = soap_strdup(soap, s))) + soap->error = SOAP_EOM; + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2QName(struct soap *soap, const char *s, char **t) +{ if (s) + { struct soap_nlist *np; + const char *p; + if (!strncmp(s, "xml:", 4)) + { *t = soap_strdup(soap, s); + return SOAP_OK; + } + np = soap->nlist; + p = strchr(s, ':'); + if (p) + { register int n = p - s; + while (np && (strncmp(np->id, s, n) || np->id[n])) + np = np->next; + p++; + } + else + { while (np && *np->id) + np = np->next; + p = s; + } + if (np) + { if (np->index >= 0 && soap->local_namespaces) + { register const char *q = soap->local_namespaces[np->index].id; + if (q) + { if ((*t = (char*)soap_malloc(soap, strlen(p) + strlen(q) + 2))) + sprintf(*t, "%s:%s", q, p); + return SOAP_OK; + } + } + if (np->ns) + { if ((*t = (char*)soap_malloc(soap, strlen(p) + strlen(np->ns) + 4))) + sprintf(*t, "\"%s\":%s", np->ns, p); + return SOAP_OK; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Namespace prefix of '%s' not defined (index=%d, URI=%s)\n", s, np->index, np->ns?np->ns:"")); + return soap->error = SOAP_NAMESPACE; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Namespace prefix of '%s' not defined, assuming empty namespace\n", s)); + if ((*t = (char*)soap_malloc(soap, strlen(p) + 4))) + sprintf(*t, "\"\":%s", p); + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_QName2s(struct soap *soap, const char *s) +{ struct Namespace *p; + char *t; + int n; + if (!s || *s != '"') + return s; + s++; + if ((p = soap->local_namespaces)) + { for (; p->id; p++) + { if (p->ns) + if (!soap_tag_cmp(s, p->ns)) + break; + if (p->in) + if (!soap_tag_cmp(s, p->in)) + break; + } + if (p && p->id) + { s = strchr(s, '"'); + if (s) + { t = (char*)soap_malloc(soap, strlen(p->id) + strlen(s)); + strcpy(t, p->id); + strcat(t, s + 1); + return t; + } + } + } + t = (char*)strchr(s, '"'); + if (t) + n = t - s; + else + n = 0; + t = soap_strdup(soap, s); + t[n] = '\0'; + sprintf(soap->tmpbuf, "xmlns:_%lu", soap->idnum++); + soap_set_attr(soap, soap->tmpbuf, t); + s = strchr(s, '"'); + if (s) + { t = (char*)soap_malloc(soap, strlen(soap->tmpbuf) + strlen(s) - 6); + strcpy(t, soap->tmpbuf + 6); + strcat(t, s + 1); + } + return t; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outstring(struct soap *soap, const char *tag, int id, char *const*p, const char *type, int n) +{ id = soap_element_id(soap, tag, id, *p, NULL, 0, type, n); + if (id < 0 + || soap_element_begin_out(soap, tag, id, type) + || soap_string_out(soap, *p, 0) + || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char ** +SOAP_FMAC2 +soap_instring(struct soap *soap, const char *tag, char **p, const char *type, int t, int flag, long minlen, long maxlen) +{ if (soap_element_begin_in(soap, tag, 1)) + { if (!tag || *tag != '-' || soap->error != SOAP_NO_TAG) + return NULL; + soap->error = SOAP_OK; + } + if (!p) + if (!(p = (char**)soap_malloc(soap, sizeof(char*)))) + return NULL; + if (soap->body) + { *p = soap_string_in(soap, flag, minlen, maxlen); + if (!*p || !(char*)soap_id_enter(soap, soap->id, *p, t, sizeof(char*), 0, NULL, NULL, NULL)) + return NULL; + } + else + *p = NULL; + p = (char**)soap_id_lookup(soap, soap->href, (void**)p, t, sizeof(char**), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outwstring(struct soap *soap, const char *tag, int id, wchar_t *const*p, const char *type, int n) +{ id = soap_element_id(soap, tag, id, *p, NULL, 0, type, n); + if (id < 0 + || soap_element_begin_out(soap, tag, id, type) + || soap_wstring_out(soap, *p, 0) + || soap_element_end_out(soap, tag)) + return soap->error; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_2 +SOAP_FMAC1 +wchar_t ** +SOAP_FMAC2 +soap_inwstring(struct soap *soap, const char *tag, wchar_t **p, const char *type, int t, long minlen, long maxlen) +{ if (soap_element_begin_in(soap, tag, 1)) + { if (!tag || *tag != '-' || soap->error != SOAP_NO_TAG) + return NULL; + soap->error = SOAP_OK; + } + if (!p) + if (!(p = (wchar_t**)soap_malloc(soap, sizeof(wchar_t*)))) + return NULL; + if (soap->body) + { *p = soap_wstring_in(soap, 1, minlen, maxlen); + if (!*p || !(wchar_t*)soap_id_enter(soap, soap->id, *p, t, sizeof(wchar_t*), 0, NULL, NULL, NULL)) + return NULL; + } + else + *p = NULL; + p = (wchar_t**)soap_id_lookup(soap, soap->href, (void**)p, t, sizeof(wchar_t**), 0); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +static time_t +soap_timegm(struct tm *T) +{ +#if defined(HAVE_TIMEGM) + return timegm(T); +#elif defined(HAVE_GETTIMEOFDAY) + struct timezone t; + struct timeval tv; + memset((void*)&t, 0, sizeof(t)); + gettimeofday(&tv, &t); + T->tm_min -= t.tz_minuteswest - (t.tz_dsttime != 0)*60; + T->tm_isdst = t.tz_dsttime; + return mktime(T); + /* The following define was added for VxWorks*/ +#elif defined(HAVE_MKTIME) + /* FOR VXWORKS: + vxWorks does not seem to have any variable representation of time zones, but + timezone information can be set in INSTALL_DIR/target/h/private/timeP.h header + file, by setting the ZONEBUFFER define. The ZONEBUFFER define follows this + format: + name_of_zone:<(unused)>:time_in_minutes_from_UTC:daylight_start:daylight_end + To calculate local time, the value of time_in_minutes_from_UTC is subtracted + from UTC; time_in_minutes_from_UTC must be positive. Daylight information is + expressed as mmddhh (month-day-hour), for example: + UTC::0:040102:100102 + */ + return mktime(T); +#elif defined(HAVE_FTIME) + struct timeb t; + memset((void*)&t, 0, sizeof(t)); + t.timezone = 0; + t.dstflag = -1; + ftime(&t); + T->tm_min -= t.timezone - (t.dstflag != 0)*60; + T->tm_isdst = (t.dstflag != 0); + return mktime(T); +#else +#warning "time_t (de)serialization is not MT safe on this platform" + time_t t; + char *tz = getenv("TZ"); + putenv("TZ=UTC"); + tzset(); + t = mktime(T); + if (tz) + { char tmp[16]; + strcpy(tmp, "TZ="); + strncat(tmp, tz, 12); + tmp[15] = '\0'; + putenv(tmp); + } + else + putenv("TZ="); + tzset(); + return t; +#endif +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_dateTime2s(struct soap *soap, time_t n) +{ struct tm T, *pT = &T; +#if defined(HAVE_GMTIME_R) + if (gmtime_r(&n, pT)) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT); + /* The following defines were added for VxWorks*/ +#elif defined(HAVE_PGMTIME_R) + if (gmtime_r(&n, pT)) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT); +#elif defined(HAVE_PGMTIME) + if (gmtime(&n, pT)) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT); +#elif defined(HAVE_GMTIME) + if ((pT = gmtime(&n))) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%SZ", pT); +#elif defined(HAVE_GETTIMEOFDAY) + struct timezone tz; + memset((void*)&tz, 0, sizeof(tz)); +# if defined(HAVE_LOCALTIME_R) + if (localtime_r(&n, pT)) + { struct timeval tv; + gettimeofday(&tv, &tz); + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); + sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -tz.tz_minuteswest/60+(pT->tm_isdst!=0), abs(tz.tz_minuteswest)%60); + } +# else + if ((pT = localtime(&n))) + { struct timeval tv; + gettimeofday(&tv, &tz); + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); + sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -tz.tz_minuteswest/60+(pT->tm_isdst!=0), abs(tz.tz_minuteswest)%60); + } +#endif +#elif defined(HAVE_FTIME) + struct timeb t; + memset((void*)&t, 0, sizeof(t)); +# if defined(HAVE_LOCALTIME_R) + if (localtime_r(&n, pT)) + { ftime(&t); + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); + sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -t.timezone/60+(pT->tm_isdst!=0), abs(t.timezone)%60); + } + /* The following defines were added for VxWorks*/ +# elif defined(HAVE_PLOCALTIME_R) + if (localtime_r(&n, pT)) + { strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); + sprintf(soap->tmpbuf+strlen(soap->tmpbuf), "%+03d:%02d", t.timezone/60, abs(t.timezone)%60); + } +# else + if ((pT = localtime(&n))) + { ftime(&t); + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); + sprintf(soap->tmpbuf + strlen(soap->tmpbuf), "%+03d:%02d", -t.timezone/60+(pT->tm_isdst!=0), abs(t.timezone)%60); + } +# endif +#elif defined(HAVE_LOCALTIME_R) + if (localtime_r(&n, pT)) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); + /* The following defines were added for VxWorks*/ +#elif defined(HAVE_PLOCALTIME_R) + if (localtime_r(&n, pT)) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); +#else + if ((pT = localtime(&n))) + strftime(soap->tmpbuf, sizeof(soap->tmpbuf), "%Y-%m-%dT%H:%M:%S", pT); +#endif + else + strcpy(soap->tmpbuf, "1969-12-31T23:59:59Z"); + return soap->tmpbuf; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outdateTime(struct soap *soap, const char *tag, int id, const time_t *p, const char *type, int n) +{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type) + || soap_string_out(soap, soap_dateTime2s(soap, *p), 0)) + return soap->error; + return soap_element_end_out(soap, tag); +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_s2dateTime(struct soap *soap, const char *s, time_t *p) +{ if (s) + { struct tm T; + char zone[16]; + memset((void*)&T, 0, sizeof(T)); + zone[sizeof(zone)-1] = '\0'; + sscanf(s, "%d-%d-%dT%d:%d:%d%15s", &T.tm_year, &T.tm_mon, &T.tm_mday, &T.tm_hour, &T.tm_min, &T.tm_sec, zone); + if (T.tm_year == 1) + T.tm_year = 70; + else + T.tm_year -= 1900; + T.tm_mon--; + if (*zone) + { if (*zone == '.') + { for (s = zone + 1; *s; s++) + if (*s < '0' || *s > '9') + break; + } + else + s = zone; + if (*s == '+' || *s == '-') + { int h = 0, m = 0; + if (s[3] == ':') + { sscanf(s, "%d:%d", &h, &m); + if (h < 0) + m = -m; + } + else + { m = (int)atol(s); + h = m / 100; + m = m % 100; + } + T.tm_hour -= h; + T.tm_min -= m; + } + *p = soap_timegm(&T); + } + else + *p = mktime(&T); /* no time zone: suppose it is localtime? */ + } + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +time_t * +SOAP_FMAC2 +soap_indateTime(struct soap *soap, const char *tag, time_t *p, const char * type, int t) +{ if (soap_element_begin_in(soap, tag, 0)) + return NULL; + if (*soap->type + && soap_match_tag(soap, soap->type, type) + && soap_match_tag(soap, soap->type, ":dateTime")) + { soap->error = SOAP_TYPE; + soap_revert(soap); + return NULL; + } + p = (time_t*)soap_id_enter(soap, soap->id, p, t, sizeof(time_t), 0, NULL, NULL, NULL); + if (p) + { if (soap_s2dateTime(soap, soap_value(soap), p)) + return NULL; + } + p = (time_t*)soap_id_forward(soap, soap->href, p, t, 0, sizeof(time_t), 0, NULL); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outliteral(struct soap *soap, const char *tag, char *const*p) +{ int i; + const char *t = NULL; + if (tag && *tag != '-') + { if (soap->local_namespaces && (t = strchr(tag, ':'))) + { strncpy(soap->tmpbuf, tag, t-tag); + soap->tmpbuf[t-tag] = '\0'; + for (i = 0; soap->local_namespaces[i].id; i++) + if (!strcmp(soap->tmpbuf, soap->local_namespaces[i].id)) + break; + t++; + sprintf(soap->tmpbuf, "<%s xmlns=\"%s\">", t, soap->local_namespaces[i].ns ? soap->local_namespaces[i].ns : SOAP_STR_EOS); + } + else + { t = tag; + sprintf(soap->tmpbuf, "<%s>", tag); + } + if (soap_send(soap, soap->tmpbuf)) + return soap->error; + } + if (p && *p) + { if (soap_send(soap, *p)) + return soap->error; + } + if (t) + { sprintf(soap->tmpbuf, "", t); + return soap_send(soap, soap->tmpbuf); + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +char ** +SOAP_FMAC2 +soap_inliteral(struct soap *soap, const char *tag, char **p) +{ if (soap_element_begin_in(soap, tag, 1)) + { if (soap->error != SOAP_NO_TAG || soap_unget(soap, soap_get(soap)) == SOAP_TT) + return NULL; + soap->error = SOAP_OK; + } + if (!p) + if (!(p = (char**)soap_malloc(soap, sizeof(char*)))) + return NULL; + if (soap->null) + *p = NULL; + else + *p = soap_string_in(soap, 0, -1, -1); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_outwliteral(struct soap *soap, const char *tag, wchar_t *const*p) +{ int i; + const char *t = NULL; + wchar_t c; + const wchar_t *s; + if (tag && *tag != '-') + { if (soap->local_namespaces && (t = strchr(tag, ':'))) + { strncpy(soap->tmpbuf, tag, t-tag); + soap->tmpbuf[t-tag] = '\0'; + for (i = 0; soap->local_namespaces[i].id; i++) + if (!strcmp(soap->tmpbuf, soap->local_namespaces[i].id)) + break; + t++; + sprintf(soap->tmpbuf, "<%s xmlns=\"%s\">", t, soap->local_namespaces[i].ns ? soap->local_namespaces[i].ns : SOAP_STR_EOS); + } + else + { t = tag; + sprintf(soap->tmpbuf, "<%s>", tag); + } + if (soap_send(soap, soap->tmpbuf)) + return soap->error; + } + if (p) + { s = *p; + while ((c = *s++)) + if (soap_pututf8(soap, (unsigned char)c)) + return soap->error; + } + if (t) + { sprintf(soap->tmpbuf, "", t); + return soap_send(soap, soap->tmpbuf); + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_2 +SOAP_FMAC1 +wchar_t ** +SOAP_FMAC2 +soap_inwliteral(struct soap *soap, const char *tag, wchar_t **p) +{ if (soap_element_begin_in(soap, tag, 1)) + { if (soap->error != SOAP_NO_TAG || soap_unget(soap, soap_get(soap)) == SOAP_TT) + return NULL; + soap->error = SOAP_OK; + } + if (!p) + if (!(p = (wchar_t**)soap_malloc(soap, sizeof(wchar_t*)))) + return NULL; + if (soap->null) + *p = NULL; + else + *p = soap_wstring_in(soap, 0, -1, -1); + if (soap->body && soap_element_end_in(soap, tag)) + return NULL; + return p; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char * +SOAP_FMAC2 +soap_token(struct soap *soap) +{ register size_t i; + register soap_wchar c = 0; + register char *s = soap->tmpbuf; + if (!soap->body) + return SOAP_STR_EOS; + do c = soap_get(soap); + while (soap_blank(c)); + for (i = 0; i < sizeof(soap->tmpbuf) - 1; i++) + { if (c == SOAP_TT || (int)c == EOF || soap_blank(c)) + break; + *s++ = (char)c; + c = soap_get(soap); + } + if ((int)c == EOF || c == SOAP_TT) + soap_unget(soap, c); + *s = '\0'; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element content value='%s'\n", soap->tmpbuf)); + return soap->tmpbuf; /* return non-null pointer */ +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +const char * +SOAP_FMAC2 +soap_value(struct soap *soap) +{ register size_t i; + register soap_wchar c = 0; + register char *s = soap->tmpbuf; + if (!soap->body) + return SOAP_STR_EOS; + do c = soap_get(soap); + while (soap_blank(c)); + for (i = 0; i < sizeof(soap->tmpbuf) - 1; i++) + { if (c == SOAP_TT || (int)c == EOF) + break; + *s++ = (char)c; + c = soap_get(soap); + } + for (s--; i > 0; i--, s--) + if (!soap_blank(*s)) + break; + s[1] = '\0'; + if ((int)c == EOF || c == SOAP_TT) + soap_unget(soap, c); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element content value='%s'\n", soap->tmpbuf)); + return soap->tmpbuf; /* return non-null pointer */ +} +#endif + +/******************************************************************************/ +#if !defined(WITH_LEANER) || !defined(WITH_NOHTTP) +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getline(struct soap *soap, char *s, int len) +{ int i = len; + soap_wchar c = 0; + for (;;) + { while (--i > 0) + { c = soap_getchar(soap); + if (c == '\r' || c == '\n') + break; + if ((int)c == EOF) + return soap->error = SOAP_EOF; + *s++ = (char)c; + } + if (c != '\n') + c = soap_getchar(soap); /* got \r, now get \n */ + if (c == '\n') + { *s = '\0'; + if (i+1 == len) /* empty line: end of HTTP/MIME header */ + break; + c = soap_unget(soap, soap_getchar(soap)); + if (c != ' ' && c != '\t') /* HTTP line continuation? */ + break; + } + else if ((int)c == EOF) + return soap->error = SOAP_EOF; + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static size_t +soap_count_attachments(struct soap *soap) +{ +#ifndef WITH_LEANER + register struct soap_multipart *content; + register size_t count = soap->count; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Calculating the message size with attachments, current count=%lu\n", count)); + if ((soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Calculating the size of DIME attachments\n")); + for (content = soap->dime.first; content; content = content->next) + { count += 12 + ((content->size+3)&(~3)); + if (content->id) + count += ((strlen(content->id)+3)&(~3)); + if (content->type) + count += ((strlen(content->type)+3)&(~3)); + if (content->options) + count += ((((unsigned char)content->options[2] << 8) | ((unsigned char)content->options[3]))+7)&(~3); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Size of DIME attachment content is %lu bytes\n", (unsigned long)content->size)); + } + } + if ((soap->mode & SOAP_ENC_MIME) && soap->mime.boundary) + { register size_t n = strlen(soap->mime.boundary); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Calculating the size of MIME attachments\n")); + for (content = soap->mime.first; content; content = content->next) + { register const char *s; + /* count \r\n--boundary\r\n */ + count += 6 + n; + /* count Content-Type: ...\r\n */ + if (content->type) + count += 16 + strlen(content->type); + /* count Content-Transfer-Encoding: ...\r\n */ + s = soap_str_code(mime_codes, content->encoding); + if (s) + count += 29 + strlen(s); + /* count Content-ID: ...\r\n */ + if (content->id) + count += 14 + strlen(content->id); + /* count Content-Location: ...\r\n */ + if (content->location) + count += 20 + strlen(content->location); + /* count Content-Description: ...\r\n */ + if (content->description) + count += 23 + strlen(content->location); + /* count \r\n...content */ + count += 2 + content->size; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Size of MIME attachment content is %lu bytes\n", (unsigned long)content->size)); + } + /* count \r\n--boundary-- */ + count += 6 + n; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "New count is %lu bytes\n", (unsigned long)count)); + return count; +#else + return soap->count; +#endif +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static int +soap_putdimefield(struct soap *soap, const char *s, size_t n) +{ if (soap_send_raw(soap, s, n)) + return soap->error; + return soap_send_raw(soap, SOAP_STR_PADDING, -(long)n&3); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_dime_option(struct soap *soap, unsigned short optype, const char *option) +{ size_t n; + char *s = NULL; + if (option) + { n = strlen(option); + s = (char*)soap_malloc(soap, n + 5); + if (s) + { s[0] = optype >> 8; + s[1] = optype & 0xFF; + s[2] = n >> 8; + s[3] = n & 0xFF; + strcpy(s + 4, option); + } + } + return s; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putdimehdr(struct soap *soap) +{ unsigned char tmp[12]; + size_t optlen = 0, idlen = 0, typelen = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Put DIME header id='%s'\n", soap->dime.id?soap->dime.id:"")); + if (soap->dime.options) + optlen = (((unsigned char)soap->dime.options[2] << 8) | ((unsigned char)soap->dime.options[3])) + 4; + if (soap->dime.id) + idlen = strlen(soap->dime.id); + if (soap->dime.type) + typelen = strlen(soap->dime.type); + tmp[0] = SOAP_DIME_VERSION | (soap->dime.flags & 0x7); + tmp[1] = soap->dime.flags & 0xF0; + tmp[2] = optlen >> 8; + tmp[3] = optlen & 0xFF; + tmp[4] = idlen >> 8; + tmp[5] = idlen & 0xFF; + tmp[6] = typelen >> 8; + tmp[7] = typelen & 0xFF; + tmp[8] = soap->dime.size >> 24; + tmp[9] = (soap->dime.size >> 16) & 0xFF; + tmp[10] = (soap->dime.size >> 8) & 0xFF; + tmp[11] = soap->dime.size & 0xFF; + if (soap_send_raw(soap, (char*)tmp, 12) + || soap_putdimefield(soap, soap->dime.options, optlen) + || soap_putdimefield(soap, soap->dime.id, idlen) + || soap_putdimefield(soap, soap->dime.type, typelen)) + return soap->error; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putdime(struct soap *soap) +{ struct soap_multipart *content; + if (!(soap->mode & SOAP_ENC_DIME)) + return SOAP_OK; + for (content = soap->dime.first; content; content = content->next) + { void *handle; + soap->dime.size = content->size; + soap->dime.id = content->id; + soap->dime.type = content->type; + soap->dime.options = content->options; + soap->dime.flags = SOAP_DIME_VERSION | SOAP_DIME_MEDIA; + if (soap->fdimereadopen && ((handle = soap->fdimereadopen(soap, (void*)content->ptr, content->id, content->type, content->options)) || soap->error)) + { size_t size = content->size; + if (!handle) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimereadopen failed\n")); + return soap->error; + } + if (!content->size && ((soap->mode & SOAP_ENC_XML) || (soap->mode & SOAP_IO) == SOAP_IO_CHUNK || (soap->mode & SOAP_IO) == SOAP_IO_STORE)) + { size_t chunksize = sizeof(soap->tmpbuf); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Chunked streaming DIME\n")); + do + { size = soap->fdimeread(soap, handle, soap->tmpbuf, chunksize); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimeread returned %lu bytes\n", (unsigned long)size)); + if (size < chunksize) + { soap->dime.flags &= ~SOAP_DIME_CF; + if (!content->next) + soap->dime.flags |= SOAP_DIME_ME; + } + else + soap->dime.flags |= SOAP_DIME_CF; + soap->dime.size = size; + if (soap_putdimehdr(soap) + || soap_putdimefield(soap, soap->tmpbuf, size)) + break; + if (soap->dime.id) + { soap->dime.flags &= ~(SOAP_DIME_MB | SOAP_DIME_MEDIA); + soap->dime.id = NULL; + soap->dime.type = NULL; + soap->dime.options = NULL; + } + } while (size >= chunksize); + } + else + { if (!content->next) + soap->dime.flags |= SOAP_DIME_ME; + if (soap_putdimehdr(soap)) + return soap->error; + do + { size_t bufsize; + if (size < sizeof(soap->tmpbuf)) + bufsize = size; + else + bufsize = sizeof(soap->tmpbuf); + if (!(bufsize = soap->fdimeread(soap, handle, soap->tmpbuf, bufsize))) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimeread failed: insufficient data (%lu bytes remaining from %lu bytes)\n", (unsigned long)size, (unsigned long)soap->dime.size)); + soap->error = SOAP_EOF; + break; + } + if (soap_send_raw(soap, soap->tmpbuf, bufsize)) + break; + size -= bufsize; + } while (size); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimereadclose\n")); + soap_send_raw(soap, SOAP_STR_PADDING, -(long)soap->dime.size&3); + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "fdimereadclose\n")); + if (soap->fdimereadclose) + soap->fdimereadclose(soap, handle); + } + else + { if (!content->next) + soap->dime.flags |= SOAP_DIME_ME; + if (soap_putdimehdr(soap) + || soap_putdimefield(soap, (char*)content->ptr, content->size)) + return soap->error; + } + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static char * +soap_getdimefield(struct soap *soap, size_t n) +{ register soap_wchar c; + register int i; + register char *s; + char *p = NULL; + if (n) + { p = (char*)soap_malloc(soap, n + 1); + if (p) + { s = p; + for (i = n; i > 0; i--) + { if ((int)(c = soap_get1(soap)) == EOF) + { soap->error = SOAP_EOF; + return NULL; + } + *s++ = (char)c; + } + *s = '\0'; + if ((soap->error = soap_move(soap, -(long)n&3))) + return NULL; + } + else + soap->error = SOAP_EOM; + } + return p; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getdimehdr(struct soap *soap) +{ register soap_wchar c; + register char *s; + register int i; + unsigned char tmp[12]; + size_t optlen, idlen, typelen; + if (!(soap->mode & SOAP_ENC_DIME)) + return soap->error = SOAP_DIME_END; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get DIME header\n")); + if (soap->dime.buflen || soap->dime.chunksize) + { if (soap_move(soap, (long)(soap->dime.size - soap_tell(soap)))) + return soap->error = SOAP_EOF; + soap_unget(soap, soap_getchar(soap)); /* skip padding and get hdr */ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "... From chunked\n")); + return SOAP_OK; + } + s = (char*)tmp; + for (i = 12; i > 0; i--) + { if ((int)(c = soap_getchar(soap)) == EOF) + return soap->error = SOAP_EOF; + *s++ = (char)c; + } + if ((tmp[0] & 0xF8) != SOAP_DIME_VERSION) + return soap->error = SOAP_DIME_MISMATCH; + soap->dime.flags = (tmp[0] & 0x7) | (tmp[1] & 0xF0); + optlen = (tmp[2] << 8) | tmp[3]; + idlen = (tmp[4] << 8) | tmp[5]; + typelen = (tmp[6] << 8) | tmp[7]; + soap->dime.size = (tmp[8] << 24) | (tmp[9] << 16) | (tmp[10] << 8) | tmp[11]; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "DIME size=%lu flags=0x%X\n", (unsigned long)soap->dime.size, soap->dime.flags)); + if (!(soap->dime.options = soap_getdimefield(soap, optlen)) && soap->error) + return soap->error; + if (!(soap->dime.id = soap_getdimefield(soap, idlen)) && soap->error) + return soap->error; + if (!(soap->dime.type = soap_getdimefield(soap, typelen)) && soap->error) + return soap->error; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "DIME id=%s, type=%s, options=%s\n", soap->dime.id?soap->dime.id:"", soap->dime.type?soap->dime.type:"", soap->dime.options?soap->dime.options+4:"")); + if (soap->dime.flags & SOAP_DIME_ME) + soap->mode &= ~SOAP_ENC_DIME; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getdime(struct soap *soap) +{ while (soap->dime.flags & SOAP_DIME_CF) + { if (soap_getdimehdr(soap)) + return soap->error; + if (soap_move(soap, soap->dime.size)) + return soap->error = SOAP_EOF; + } + if (soap_move(soap, ((soap->dime.size+3)&(~3))-soap_tell(soap))) + return soap->error = SOAP_EOF; + for (;;) + { register struct soap_multipart *content; + if (soap_getdimehdr(soap)) + break; + if (soap->fdimewriteopen && ((soap->dime.ptr = (char*)soap->fdimewriteopen(soap, soap->dime.id, soap->dime.type, soap->dime.options)) || soap->error)) + { const char *id, *type, *options; + size_t size, n; + if (!soap->dime.ptr) + return soap->error; + id = soap->dime.id; + type = soap->dime.type; + options = soap->dime.options; + for (;;) + { size = soap->dime.size; + for (;;) + { n = soap->buflen - soap->bufidx; + if (size < n) + n = size; + if ((soap->error = soap->fdimewrite(soap, (void*)soap->dime.ptr, soap->buf + soap->bufidx, n))) + break; + size -= n; + if (!size) + { soap->bufidx += n; + break; + } + if (soap_recv(soap)) + { soap->error = SOAP_EOF; + goto end; + } + } + if (soap_move(soap, -(long)soap->dime.size&3)) + { soap->error = SOAP_EOF; + break; + } + if (!(soap->dime.flags & SOAP_DIME_CF)) + break; + if (soap_getdimehdr(soap)) + break; + } +end: + if (soap->fdimewriteclose) + soap->fdimewriteclose(soap, (void*)soap->dime.ptr); + soap->dime.size = 0; + soap->dime.id = id; + soap->dime.type = type; + soap->dime.options = options; + } + else if (soap->dime.flags & SOAP_DIME_CF) + { const char *id, *type, *options; + register soap_wchar c; + register char *s; + register int i; + id = soap->dime.id; + type = soap->dime.type; + options = soap->dime.options; + if (soap_new_block(soap)) + return SOAP_EOM; + for (;;) + { s = (char*)soap_push_block(soap, soap->dime.size); + if (!s) + return soap->error = SOAP_EOM; + for (i = soap->dime.size; i > 0; i--) + { if ((int)(c = soap_get1(soap)) == EOF) + return soap->error = SOAP_EOF; + *s++ = (char)c; + } + if (soap_move(soap, -(long)soap->dime.size&3)) + return soap->error = SOAP_EOF; + if (!(soap->dime.flags & SOAP_DIME_CF)) + break; + if (soap_getdimehdr(soap)) + return soap->error; + } + soap->dime.size = soap->blist->size++; /* allocate one more for '\0' */ + if (!(soap->dime.ptr = soap_save_block(soap, NULL, 0))) + return soap->error; + soap->dime.ptr[soap->dime.size] = '\0'; /* force 0-terminated */ + soap->dime.id = id; + soap->dime.type = type; + soap->dime.options = options; + } + else + soap->dime.ptr = soap_getdimefield(soap, soap->dime.size); + content = soap_new_multipart(soap, &soap->dime.first, &soap->dime.last, soap->dime.ptr, soap->dime.size); + if (!content) + return soap->error = SOAP_EOM; + content->id = soap->dime.id; + content->type = soap->dime.type; + content->options = soap->dime.options; + soap_resolve_attachment(soap, content); + if (soap->error) + return soap->error; + } + if (soap->error != SOAP_DIME_END) + return soap->error; + return soap->error = SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getmimehdr(struct soap *soap) +{ struct soap_multipart *content; + do + { if (soap_getline(soap, soap->msgbuf, sizeof(soap->msgbuf))) + return soap->error; + } + while (!*soap->msgbuf); + if (soap->msgbuf[0] == '-' && soap->msgbuf[1] == '-') + { char *s = soap->msgbuf + strlen(soap->msgbuf) - 1; + /* remove white space */ + while (soap_blank(*s)) + s--; + s[1] = '\0'; + if (soap->mime.boundary) + { if (strcmp(soap->msgbuf + 2, soap->mime.boundary)) + return soap->error = SOAP_MIME_ERROR; + } + else + soap->mime.boundary = soap_strdup(soap, soap->msgbuf + 2); + if (soap_getline(soap, soap->msgbuf, sizeof(soap->msgbuf))) + return soap->error; + } + if (soap_set_mime_attachment(soap, NULL, 0, SOAP_MIME_NONE, NULL, NULL, NULL, NULL)) + return soap->error = SOAP_EOM; + content = soap->mime.last; + for (;;) + { register char *key = soap->msgbuf; + register char *val; + if (!*key) + break; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "MIME header: %s\n", key)); + val = strchr(soap->msgbuf, ':'); + if (val) + { *val = '\0'; + do val++; + while (*val && *val <= 32); + if (!soap_tag_cmp(key, "Content-ID")) + content->id = soap_strdup(soap, val); + else if (!soap_tag_cmp(key, "Content-Location")) + content->location = soap_strdup(soap, val); + else if (!soap_tag_cmp(key, "Content-Disposition")) + content->id = soap_strdup(soap, soap_get_header_attribute(soap, val, "name")); + else if (!soap_tag_cmp(key, "Content-Type")) + content->type = soap_strdup(soap, val); + else if (!soap_tag_cmp(key, "Content-Description")) + content->description = soap_strdup(soap, val); + else if (!soap_tag_cmp(key, "Content-Transfer-Encoding")) + content->encoding = (enum soap_mime_encoding)soap_int_code(mime_codes, val, (long)SOAP_MIME_NONE); + } + if (soap_getline(soap, key, sizeof(soap->msgbuf))) + return soap->error; + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getmime(struct soap *soap) +{ register soap_wchar c; + if (!soap->mime.last) + return SOAP_OK; + for (;;) + { register size_t i, m = 0; + register char *s, *t = NULL; + struct soap_multipart *content = soap->mime.last; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Parsing MIME content id=%s type=%s\n", content->id?content->id:"", content->type?content->type:"")); + if (soap_new_block(soap)) + return soap->error = SOAP_EOM; + for (;;) + { if (!(s = (char*)soap_push_block(soap, SOAP_BLKLEN))) + return soap->error = SOAP_EOM; + for (i = 0; i < SOAP_BLKLEN; i++) + { if (m > 0) + { *s++ = *t++; + m--; + } + else + { c = soap_get1(soap); + if ((int)c == EOF) + return soap->error = SOAP_EOF; + if (c == '\r') + { t = soap->tmpbuf; + memset(t, 0, sizeof(soap->tmpbuf)); + strcpy(t, "\n--"); + if (soap->mime.boundary) + strncat(t, soap->mime.boundary, sizeof(soap->tmpbuf)-4); + do c = soap_getchar(soap); + while (c == *t++); + if ((int)c == EOF) + return soap->error = SOAP_EOF; + if (!*--t) + goto end; + *t = (char)c; + m = t - soap->tmpbuf + 1; + t = soap->tmpbuf; + c = '\r'; + } + *s++ = (char)c; + } + } + } +end: + *s = '\0'; /* force 0-terminated */ + content->size = soap_size_block(soap, i+1)-1; + content->ptr = soap_save_block(soap, NULL, 0); + soap_resolve_attachment(soap, content); + if (c == '-' && soap_getchar(soap) == '-') + break; + while (c != '\r' && (int)c != EOF && soap_blank(c)) + c = soap_getchar(soap); + if (c != '\r' || soap_getchar(soap) != '\n') + return soap->error = SOAP_MIME_ERROR; + if (soap_getmimehdr(soap)) + return soap->error; + } + /* + do c = soap_getchar(soap); + while ((int)c != EOF && c != '\r' && c != '\n'); + if ((int)c != '\r' || soap_getchar(soap) != '\n') + return soap->error = SOAP_MIME_ERROR; + */ + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static int +soap_match_cid(const char *s, const char *t) +{ register size_t n; + if (!s) + return 1; + if (!strcmp(s, t)) + return 0; + if (!strncmp(s, "cid:", 4)) + s += 4; + n = strlen(t); + if (*t == '<') + { t++; + n -= 2; + } + if (!strncmp(s, t, n) && !s[n]) + return 0; + return 1; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static void +soap_resolve_attachment(struct soap *soap, struct soap_multipart *content) +{ if (content->id) + { register struct soap_xlist **xp = &soap->xlist; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Resolving attachment data for id=%s\n", content->id)); + while (*xp) + { register struct soap_xlist *xq = *xp; + if (!soap_match_cid(xq->id, content->id)) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Found matching attachment %s for content id=%s\n", xq->id, content->id)); + *xp = xq->next; + *xq->ptr = (unsigned char*)content->ptr; + *xq->size = (int)content->size; + *xq->type = (char*)content->type; + if (content->options) + *xq->options = (char*)content->options; + else + *xq->options = (char*)content->description; + SOAP_FREE(soap, xq); + } + else + xp = &(*xp)->next; + } + } +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putmimehdr(struct soap *soap, struct soap_multipart *content) +{ const char *s; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "MIME attachment type=%s\n", content->type?content->type:"")); + if (soap_send3(soap, "\r\n--", soap->mime.boundary, "\r\n")) + return soap->error; + if (content->type && soap_send3(soap, "Content-Type: ", content->type, "\r\n")) + return soap->error; + s = soap_str_code(mime_codes, content->encoding); + if (s && soap_send3(soap, "Content-Transfer-Encoding: ", s, "\r\n")) + return soap->error; + if (content->id && soap_send3(soap, "Content-ID: ", content->id, "\r\n")) + return soap->error; + if (content->location && soap_send3(soap, "Content-Location: ", content->location, "\r\n")) + return soap->error; + if (content->description && soap_send3(soap, "Content-Description: ", content->description, "\r\n")) + return soap->error; + return soap_send_raw(soap, "\r\n", 2); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putmime(struct soap *soap) +{ struct soap_multipart *content; + if (!(soap->mode & SOAP_ENC_MIME) || !soap->mime.boundary) + return SOAP_OK; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Sending MIME attachments\n")); + for (content = soap->mime.first; content; content = content->next) + if (soap_putmimehdr(soap, content) + || soap_send_raw(soap, content->ptr, content->size)) + return soap->error; + return soap_send3(soap, "\r\n--", soap->mime.boundary, "--"); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_dime(struct soap *soap) +{ soap->omode |= SOAP_ENC_DIME; + soap->dime.first = NULL; + soap->dime.last = NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_mime(struct soap *soap, const char *boundary, const char *start) +{ soap->omode |= SOAP_ENC_MIME; + soap->mime.first = NULL; + soap->mime.last = NULL; + soap->mime.boundary = soap_strdup(soap, boundary); + soap->mime.start = soap_strdup(soap, start); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_clr_dime(struct soap *soap) +{ soap->omode &= ~SOAP_ENC_DIME; + soap->dime.first = NULL; + soap->dime.last = NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_clr_mime(struct soap *soap) +{ soap->omode &= ~SOAP_ENC_MIME; + soap->mime.first = NULL; + soap->mime.last = NULL; + soap->mime.boundary = NULL; + soap->mime.start = NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static struct soap_multipart* +soap_new_multipart(struct soap *soap, struct soap_multipart **first, struct soap_multipart **last, char *ptr, size_t size) +{ struct soap_multipart *content; + content = (struct soap_multipart*)soap_malloc(soap, sizeof(struct soap_multipart)); + if (content) + { content->next = NULL; + content->ptr = ptr; + content->size = size; + content->id = NULL; + content->type = NULL; + content->options = NULL; + content->encoding = SOAP_MIME_NONE; + content->location = NULL; + content->description = NULL; + if (!*first) + *first = content; + if (*last) + (*last)->next = content; + *last = content; + } + return content; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_dime_attachment(struct soap *soap, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option) +{ struct soap_multipart *content = soap_new_multipart(soap, &soap->dime.first, &soap->dime.last, ptr, size); + if (!content) + return SOAP_EOM; + content->id = soap_strdup(soap, id); + content->type = soap_strdup(soap, type); + content->options = soap_dime_option(soap, optype, option); + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_mime_attachment(struct soap *soap, char *ptr, size_t size, enum soap_mime_encoding encoding, const char *type, const char *id, const char *location, const char *description) +{ struct soap_multipart *content = soap_new_multipart(soap, &soap->mime.first, &soap->mime.last, ptr, size); + if (!content) + return SOAP_EOM; + content->id = soap_strdup(soap, id); + content->type = soap_strdup(soap, type); + content->encoding = encoding; + content->location = soap_strdup(soap, location); + content->description = soap_strdup(soap, description); + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +SOAP_FMAC1 +struct soap_multipart* +SOAP_FMAC2 +soap_next_multipart(struct soap_multipart *content) +{ if (content) + return content->next; + return NULL; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static void +soap_select_mime_boundary(struct soap *soap) +{ while (!soap->mime.boundary || soap_valid_mime_boundary(soap)) + { register char *s = soap->mime.boundary; + register size_t n = 0; + if (s) + n = strlen(s); + if (n < 16) + { n = 72; + s = soap->mime.boundary = (char*)soap_malloc(soap, n + 1); + if (!s) + return; + } + strcpy(s, "<>"); + s += 2; + n -= 4; + while (n) + { *s++ = soap_base64o[soap_random & 0x3F]; + n--; + } + strcpy(s, "<>"); + } + if (!soap->mime.start) + soap->mime.start = ""; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_LEANER +#ifndef PALM_1 +static int +soap_valid_mime_boundary(struct soap *soap) +{ register struct soap_multipart *content; + register size_t k = strlen(soap->mime.boundary); + for (content = soap->mime.first; content; content = content->next) + { if (content->ptr && content->size >= k) + { register const char *p = (const char*)content->ptr; + register size_t i; + for (i = 0; i < content->size - k; i++, p++) + if (!strncmp(p, soap->mime.boundary, k)) + return SOAP_ERR; + } + } + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ + +#ifdef WITH_COOKIES +/******************************************************************************/ +SOAP_FMAC1 +size_t +SOAP_FMAC2 +soap_encode_cookie(const char *s, char *t, size_t len) +{ register int c; + register size_t n = len; + while ((c = *s++) && --n > 0) + { if (c > ' ' && c < 128 && !strchr("()<>@,;:\\\"/[]?={}", c)) + *t++ = c; + else if (n > 2) + { *t++ = '%'; + *t++ = (c >> 4) + (c > 159 ? '7' : '0'); + c &= 0xF; + *t++ = c + (c > 9 ? '7' : '0'); + n -= 2; + } + else + break; + } + *t = '\0'; + return len - n; +} + +/******************************************************************************/ +SOAP_FMAC1 +struct soap_cookie* +SOAP_FMAC2 +soap_cookie(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie *p; + size_t n; + if (!domain) + domain = soap->cookie_domain; + if (!path) + path = soap->cookie_path; + if (*path == '/') + path++; + n = strlen(path); + for (p = soap->cookies; p; p = p->next) + if (!strcmp(p->name, name) + && domain + && p->domain + && !strcmp(p->domain, domain) + && !strncmp(p->path, path, n)) + break; + return p; +} + +/******************************************************************************/ +SOAP_FMAC1 +struct soap_cookie* +SOAP_FMAC2 +soap_set_cookie(struct soap *soap, const char *name, const char *value, const char *domain, const char *path) +{ struct soap_cookie **p, *q; + int n; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Set cookie: %s=%s domain=%s path=%s\n", name, value?value:"", domain?domain:"", path?path:"")); + if (!domain) + domain = soap->cookie_domain; + if (!path) + path = soap->cookie_path; + if (!path) + { soap_set_receiver_error(soap, "Cookie path not set", NULL, SOAP_HTTP_ERROR); + return NULL; + } + if (*path == '/') + path++; + q = soap_cookie(soap, name, domain, path); + if (!q) + { if ((q = (struct soap_cookie*)SOAP_MALLOC(soap, sizeof(struct soap_cookie)))) + { if ((q->name = (char*)SOAP_MALLOC(soap, strlen(name)+1))) + strcpy(q->name, name); + q->value = NULL; + q->domain = NULL; + q->path = NULL; + q->expire = -1; + q->version = 0; + q->secure = 0; + q->modified = 0; + for (p = &soap->cookies, n = soap->cookie_max; *p && n; p = &(*p)->next, n--) + if (!strcmp((*p)->name, name) && (*p)->path && strcmp((*p)->path, path) < 0) + break; + if (n) + { q->next = *p; + *p = q; + } + else + { SOAP_FREE(soap, q->name); + SOAP_FREE(soap, q); + q = NULL; + } + } + } + else + q->modified = 1; + if (q) + { if (q->value) + { SOAP_FREE(soap, q->value); + q->value = NULL; + } + if (q->domain) + { SOAP_FREE(soap, q->domain); + q->domain = NULL; + } + if (q->path) + { SOAP_FREE(soap, q->path); + q->path = NULL; + } + if (value && *value && (q->value = (char*)SOAP_MALLOC(soap, strlen(value)+1))) + strcpy(q->value, value); + if (domain && *domain && (q->domain = (char*)SOAP_MALLOC(soap, strlen(domain)+1))) + strcpy(q->domain, domain); + if (path && *path && (q->path = (char*)SOAP_MALLOC(soap, strlen(path)+1))) + strcpy(q->path, path); + q->session = 1; + q->env = 0; + } + return q; +} + +/******************************************************************************/ +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_clr_cookie(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie **p, *q; + if (!domain) + domain = soap->cookie_domain; + if (!domain) + { soap_set_receiver_error(soap, "Cookie domain not set", NULL, SOAP_HTTP_ERROR); + return; + } + if (!path) + path = soap->cookie_path; + if (!path) + { soap_set_receiver_error(soap, "Cookie path not set", NULL, SOAP_HTTP_ERROR); + return; + } + if (*path == '/') + path++; + for (p = &soap->cookies, q = *p; q; q = *p) + if (!strcmp(q->name, name) && !strcmp(q->domain, domain) && !strncmp(q->path, path, strlen(q->path))) + { if (q->value) + SOAP_FREE(soap, q->value); + if (q->domain) + SOAP_FREE(soap, q->domain); + if (q->path) + SOAP_FREE(soap, q->path); + *p = q->next; + SOAP_FREE(soap, q); + } + else + p = &q->next; +} + +/******************************************************************************/ +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_cookie_value(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie *p; + if ((p = soap_cookie(soap, name, domain, path))) + return p->value; + return NULL; +} + +/******************************************************************************/ +SOAP_FMAC1 +char * +SOAP_FMAC2 +soap_env_cookie_value(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie *p; + if ((p = soap_cookie(soap, name, domain, path)) && p->env) + return p->value; + return NULL; +} + +/******************************************************************************/ +SOAP_FMAC1 +long +SOAP_FMAC2 +soap_cookie_expire(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie *p; + if ((p = soap_cookie(soap, name, domain, path))) + return p->expire; + return -1; +} + +/******************************************************************************/ +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_cookie_expire(struct soap *soap, const char *name, long expire, const char *domain, const char *path) +{ struct soap_cookie *p; + if ((p = soap_cookie(soap, name, domain, path))) + { p->expire = expire; + p->modified = 1; + return SOAP_OK; + } + return SOAP_ERR; +} + +/******************************************************************************/ +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_cookie_session(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie *p; + if ((p = soap_cookie(soap, name, domain, path))) + { p->session = 1; + p->modified = 1; + return SOAP_OK; + } + return SOAP_ERR; +} + +/******************************************************************************/ +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_clr_cookie_session(struct soap *soap, const char *name, const char *domain, const char *path) +{ struct soap_cookie *p; + if ((p = soap_cookie(soap, name, domain, path))) + { p->session = 0; + p->modified = 1; + return SOAP_OK; + } + return SOAP_ERR; +} + +/******************************************************************************/ +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putsetcookies(struct soap *soap) +{ struct soap_cookie *p; + char *s, tmp[4096]; + const char *t; + for (p = soap->cookies; p; p = p->next) + { if (p->modified || !p->env) + { s = tmp; + if (p->name) + s += soap_encode_cookie(p->name, s, tmp-s+4064); + if (p->value && *p->value) + { *s++ = '='; + s += soap_encode_cookie(p->value, s, tmp-s+4064); + } + if (p->domain && (int)strlen(p->domain) < tmp-s+4064) + sprintf(s, ";Domain=\"%s\"", p->domain); + else if (soap->cookie_domain && (int)strlen(soap->cookie_domain) < tmp-s+4064) + sprintf(s, ";Domain=\"%s\"", soap->cookie_domain); + strcat(s, ";Path=\"/"); + if (p->path) + t = p->path; + else + t = soap->cookie_path; + if (t) + { if (*t == '/') + t++; + if ((int)strlen(t) < tmp-s+4064) + strcat(s, t); + } + s += strlen(s); + *s++ = '"'; + if (p->version > 0) + sprintf(s, ";Version=%u", p->version); + if (p->expire >= 0) + sprintf(s, ";Max-Age=%ld", p->expire); + if (p->secure) + strcat(s, ";Secure"); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Set-Cookie: %s\n", tmp)); + if ((soap->error = soap->fposthdr(soap, "Set-Cookie", tmp))) + return soap->error; + } + } + return SOAP_OK; +} + +/******************************************************************************/ +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_putcookies(struct soap *soap, const char *domain, const char *path, int secure) +{ struct soap_cookie **p, *q; + unsigned int version = 0; + time_t now = time(NULL); + char *s, tmp[4096]; + p = &soap->cookies; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Sending cookies for domain=%s path=%s\n", domain, path)); + while ((q = *p)) + { if (q->expire && now > q->expire) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Cookie %s expired\n", q->name)); + SOAP_FREE(soap, q->name); + if (q->value) + SOAP_FREE(soap, q->value); + if (q->domain) + SOAP_FREE(soap, q->domain); + if (q->path) + SOAP_FREE(soap, q->path); + *p = q->next; + SOAP_FREE(soap, q); + } + else + { size_t domlen = 0; + if (q->domain) + { const char *s = strchr(q->domain, ':'); + if (s) + domlen = s - q->domain; + else + domlen = strlen(q->domain); + } + if ((!q->domain || !strncmp(q->domain, domain, domlen)) + && (!q->path || !strncmp(q->path, path, strlen(q->path))) + && (!q->secure || secure)) + { s = tmp; + if (q->version != version) + { sprintf(s, "$Version=%u;", q->version); + version = q->version; + } + if (q->name) + s += soap_encode_cookie(q->name, s, tmp-s+4080); + if (q->value && *q->value) + { *s++ = '='; + s += soap_encode_cookie(q->value, s, tmp-s+4080); + } + if (q->path && (int)strlen(q->path) < tmp-s+4080) + { sprintf(s, ";$Path=\"/%s\"", (*q->path == '/' ? q->path + 1 : q->path)); + s += strlen(s); + } + if (q->domain && (int)strlen(q->domain) < tmp-s+4080) + sprintf(s, ";$Domain=\"%s\"", q->domain); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Cookie: %s\n", tmp)); + if ((soap->error = soap->fposthdr(soap, "Cookie", tmp))) + return soap->error; + } + p = &q->next; + } + } + return SOAP_OK; +} + +/******************************************************************************/ +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_getcookies(struct soap *soap, const char *val) +{ struct soap_cookie *p = NULL, *q; + const char *s; + char *t, tmp[4096]; /* cookie size is up to 4096 bytes [RFC2109] */ + char *domain = NULL; + char *path = NULL; + unsigned int version = 0; + time_t now = time(NULL); + if (!val) + return; + s = val; + while (*s) + { s = soap_decode_key(tmp, sizeof(tmp), s); + if (!soap_tag_cmp(tmp, "$Version")) + { if ((s = soap_decode_val(tmp, sizeof(tmp), s))) + { if (p) + p->version = (int)atol(tmp); + else + version = (int)atol(tmp); + } + } + else if (!soap_tag_cmp(tmp, "$Path")) + { s = soap_decode_val(tmp, sizeof(tmp), s); + if (*tmp) + { if ((t = (char*)SOAP_MALLOC(soap, strlen(tmp)+1))) + strcpy(t, tmp); + } + else + t = NULL; + if (p) + { if (p->path) + SOAP_FREE(soap, p->path); + p->path = t; + } + else + { if (path) + SOAP_FREE(soap, path); + path = t; + } + } + else if (!soap_tag_cmp(tmp, "$Domain")) + { s = soap_decode_val(tmp, sizeof(tmp), s); + if (*tmp) + { if ((t = (char*)SOAP_MALLOC(soap, strlen(tmp)+1))) + strcpy(t, tmp); + } + else + t = NULL; + if (p) + { if (p->domain) + SOAP_FREE(soap, p->domain); + p->domain = t; + } + else + { if (domain) + SOAP_FREE(soap, domain); + domain = t; + } + } + else if (p && !soap_tag_cmp(tmp, "Path")) + { if (p->path) + SOAP_FREE(soap, p->path); + s = soap_decode_val(tmp, sizeof(tmp), s); + if (*tmp) + { if ((p->path = (char*)SOAP_MALLOC(soap, strlen(tmp)+1))) + strcpy(p->path, tmp); + } + else + p->path = NULL; + } + else if (p && !soap_tag_cmp(tmp, "Domain")) + { if (p->domain) + SOAP_FREE(soap, p->domain); + s = soap_decode_val(tmp, sizeof(tmp), s); + if (*tmp) + { if ((p->domain = (char*)SOAP_MALLOC(soap, strlen(tmp)+1))) + strcpy(p->domain, tmp); + } + else + p->domain = NULL; + } + else if (p && !soap_tag_cmp(tmp, "Version")) + { s = soap_decode_val(tmp, sizeof(tmp), s); + p->version = (unsigned int)atol(tmp); + } + else if (p && !soap_tag_cmp(tmp, "Max-Age")) + { s = soap_decode_val(tmp, sizeof(tmp), s); + p->expire = now + atol(tmp); + } + else if (p && !soap_tag_cmp(tmp, "Expires")) + { struct tm T; + char a[3]; + static const char mns[] = "anebarprayunulugepctovec"; + s = soap_decode_val(tmp, sizeof(tmp), s); + if (strlen(tmp) > 20) + { memset((void*)&T, 0, sizeof(T)); + a[0] = tmp[4]; + a[1] = tmp[5]; + a[2] = '\0'; + T.tm_mday = (int)atol(a); + a[0] = tmp[8]; + a[1] = tmp[9]; + T.tm_mon = (strstr(mns, a) - mns) / 2; + a[0] = tmp[11]; + a[1] = tmp[12]; + T.tm_year = 100 + (int)atol(a); + a[0] = tmp[13]; + a[1] = tmp[14]; + T.tm_hour = (int)atol(a); + a[0] = tmp[16]; + a[1] = tmp[17]; + T.tm_min = (int)atol(a); + a[0] = tmp[19]; + a[1] = tmp[20]; + T.tm_sec = (int)atol(a); + p->expire = soap_timegm(&T); + } + } + else if (p && !soap_tag_cmp(tmp, "Secure")) + p->secure = 1; + else + { if (p) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Got environment cookie %s=%s domain=%s path=%s expire=%ld secure=%d\n", p->name, p->value?p->value:"", p->domain?p->domain:"", p->path?p->path:"", p->expire, p->secure)); + if ((q = soap_set_cookie(soap, p->name, p->value, p->domain, p->path))) + { q->version = p->version; + q->expire = p->expire; + q->secure = p->secure; + q->env = 1; + } + if (p->name) + SOAP_FREE(soap, p->name); + if (p->value) + SOAP_FREE(soap, p->value); + if (p->domain) + SOAP_FREE(soap, p->domain); + if (p->path) + SOAP_FREE(soap, p->path); + SOAP_FREE(soap, p); + } + if ((p = (struct soap_cookie*)SOAP_MALLOC(soap, sizeof(struct soap_cookie)))) + { p->name = (char*)SOAP_MALLOC(soap, strlen(tmp)+1); + strcpy(p->name, tmp); + s = soap_decode_val(tmp, sizeof(tmp), s); + if (*tmp) + { p->value = (char*)SOAP_MALLOC(soap, strlen(tmp)+1); + strcpy(p->value, tmp); + } + else + p->value = NULL; + p->domain = domain; + p->path = path; + p->expire = 0; + p->secure = 0; + p->version = version; + } + } + } + if (p) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Got environment cookie %s=%s domain=%s path=%s expire=%ld secure=%d\n", p->name, p->value?p->value:"", p->domain?p->domain:"", p->path?p->path:"", p->expire, p->secure)); + if ((q = soap_set_cookie(soap, p->name, p->value, p->domain, p->path))) + { q->version = p->version; + q->expire = p->expire; + q->secure = p->secure; + q->env = 1; + } + if (p->name) + SOAP_FREE(soap, p->name); + if (p->value) + SOAP_FREE(soap, p->value); + if (p->domain) + SOAP_FREE(soap, p->domain); + if (p->path) + SOAP_FREE(soap, p->path); + SOAP_FREE(soap, p); + } + if (domain) + SOAP_FREE(soap, domain); + if (path) + SOAP_FREE(soap, path); +} + +/******************************************************************************/ +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_getenv_cookies(struct soap *soap) +{ struct soap_cookie *p; + const char *s; + char key[4096], val[4096]; /* cookie size is up to 4096 bytes [RFC2109] */ + if (!(s = getenv("HTTP_COOKIE"))) + return SOAP_ERR; + do + { s = soap_decode_key(key, sizeof(key), s); + s = soap_decode_val(val, sizeof(val), s); + p = soap_set_cookie(soap, key, val, NULL, NULL); + if (p) + p->env = 1; + } while (*s); + return SOAP_OK; +} + +/******************************************************************************/ +SOAP_FMAC1 +struct soap_cookie* +SOAP_FMAC2 +soap_copy_cookies(struct soap *soap) +{ struct soap_cookie *p, **q, *r; + q = &r; + for (p = soap->cookies; p; p = p->next) + { if (!(*q = (struct soap_cookie*)SOAP_MALLOC(soap, sizeof(struct soap_cookie)))) + return r; + **q = *p; + if (p->name) + { if (((*q)->name = (char*)SOAP_MALLOC(soap, strlen(p->name)+1))) + strcpy((*q)->name, p->name); + } + if (p->value) + { if (((*q)->value = (char*)SOAP_MALLOC(soap, strlen(p->value)+1))) + strcpy((*q)->value, p->value); + } + if (p->domain) + { if (((*q)->domain = (char*)SOAP_MALLOC(soap, strlen(p->domain)+1))) + strcpy((*q)->domain, p->domain); + } + if (p->path) + { if (((*q)->path = (char*)SOAP_MALLOC(soap, strlen(p->path)+1))) + strcpy((*q)->path, p->path); + } + q = &(*q)->next; + } + *q = NULL; + return r; +} + +/******************************************************************************/ +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_free_cookies(struct soap *soap) +{ struct soap_cookie *p; + for (p = soap->cookies; p; p = soap->cookies) + { soap->cookies = p->next; + SOAP_FREE(soap, p->name); + if (p->value) + SOAP_FREE(soap, p->value); + if (p->domain) + SOAP_FREE(soap, p->domain); + if (p->path) + SOAP_FREE(soap, p->path); + SOAP_FREE(soap, p); + } +} + +/******************************************************************************/ +#endif /* WITH_COOKIES */ + +/******************************************************************************/ +#ifdef WITH_GZIP +#ifndef PALM_1 +static int +soap_getgziphdr(struct soap *soap) +{ int i; + soap_wchar c, f = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Get gzip header\n")); + for (i = 0; i < 9; i++) + { if ((int)(c = soap_get1(soap) == EOF)) + return soap->error = SOAP_EOF; + if (i == 2) + f = c; + } + if (f & 0x04) /* FEXTRA */ + { for (i = soap_get1(soap) | (soap_get1(soap) << 8); i; i--) + if ((int)soap_get1(soap) == EOF) + return soap->error = SOAP_EOF; + } + if (f & 0x08) /* FNAME */ + do + c = soap_get1(soap); + while (c && (int)c != EOF); + if ((int)c != EOF && (f & 0x10)) /* FCOMMENT */ + do + c = soap_get1(soap); + while (c && (int)f != EOF); + if ((int)c != EOF && (f & 0x01)) /* FHCRC */ + { if ((int)(c = soap_get1(soap)) != EOF) + c = soap_get1(soap); + } + if ((int)c == EOF) + return soap->error = SOAP_EOF; + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_begin_recv(struct soap *soap) +{ soap_wchar c; + soap->error = SOAP_OK; + soap_free(soap); + soap_set_local_namespaces(soap); + soap->version = 0; /* don't assume we're parsing SOAP content by default */ +#ifndef WITH_NOIDREF + soap_free_iht(soap); +#endif + if ((soap->imode & SOAP_IO) == SOAP_IO_CHUNK) + soap->omode |= SOAP_IO_CHUNK; + soap->imode &= ~SOAP_IO; + soap->mode = soap->imode; + if (!soap->keep_alive) + { soap->buflen = 0; + soap->bufidx = 0; + } + if (!(soap->mode & SOAP_IO_KEEPALIVE)) + soap->keep_alive = 0; + soap->ahead = 0; + soap->peeked = 0; + soap->level = 0; + soap->part = SOAP_BEGIN; + soap->alloced = 0; + soap->count = 0; + soap->length = 0; + soap->cdata = 0; + *soap->endpoint = '\0'; + soap->action = NULL; +#ifndef WITH_LEANER + soap->dime.chunksize = 0; + soap->dime.buflen = 0; + soap->dime.list = NULL; + soap->dime.first = NULL; + soap->dime.last = NULL; + soap->mime.list = NULL; + soap->mime.first = NULL; + soap->mime.last = NULL; + soap->mime.boundary = NULL; + soap->mime.start = NULL; + soap->xlist = NULL; +#endif +#ifdef WIN32 +#ifndef UNDER_CE +#ifndef WITH_FASTCGI + if (!soap_valid_socket(soap->socket)) +#ifdef __BORLANDC__ + setmode((SOAP_SOCKET)soap->recvfd, O_BINARY); +#else + _setmode((SOAP_SOCKET)soap->recvfd, _O_BINARY); +#endif +#endif +#endif +#endif +#ifdef WITH_ZLIB + soap->mode &= ~SOAP_ENC_ZLIB; + soap->zlib_in = SOAP_ZLIB_NONE; + soap->zlib_out = SOAP_ZLIB_NONE; + soap->d_stream.next_in = Z_NULL; + soap->d_stream.avail_in = 0; + soap->d_stream.next_out = (Byte*)soap->buf; + soap->d_stream.avail_out = SOAP_BUFLEN; + soap->z_ratio_in = 1.0; +#endif +#ifndef WITH_LEANER + if (soap->fprepareinit) + soap->fprepareinit(soap); +#endif + c = soap_getchar(soap); +#ifdef WITH_GZIP + if (c == 0x1F) + { if (soap_getgziphdr(soap)) + return soap->error; + if (inflateInit2(&soap->d_stream, -MAX_WBITS) != Z_OK) + return soap->error = SOAP_ZLIB_ERROR; + soap->zlib_state = SOAP_ZLIB_INFLATE; + soap->mode |= SOAP_ENC_ZLIB; + soap->zlib_in = SOAP_ZLIB_GZIP; + soap->z_crc = crc32(0L, NULL, 0); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "gzip initialized\n")); + memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN); + /* should not chunk over plain transport, so why bother to check? */ + /* if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) */ + /* soap->z_buflen = soap->bufidx; */ + /* else */ + soap->d_stream.next_in = (Byte*)(soap->z_buf + soap->bufidx); + soap->d_stream.avail_in = soap->buflen - soap->bufidx; + soap->z_buflen = soap->buflen; + soap->buflen = soap->bufidx; + c = soap_getchar(soap); + } +#endif +#ifndef WITH_LEANER + if (c == '-' && soap_get0(soap) == '-') + soap->mode |= SOAP_ENC_MIME; + else if ((c & 0xFFFC) == (SOAP_DIME_VERSION | SOAP_DIME_MB) && (soap_get0(soap) & 0xFFF0) == 0x20) + soap->mode |= SOAP_ENC_DIME; + else +#endif + { while (soap_blank(c)) + c = soap_getchar(soap); + } + if ((int)c == EOF) + return soap->error = SOAP_EOF; + soap_unget(soap, c); +#ifndef WITH_NOHTTP + if (c != '<' && !(soap->mode & (SOAP_ENC_MIME | SOAP_ENC_DIME | SOAP_ENC_ZLIB))) + { soap->mode &= ~SOAP_IO; + if ((soap->error = soap->fparse(soap))) + { soap->keep_alive = 0; /* force close later */ + return soap->error; + } + if ((soap->mode & SOAP_IO) == SOAP_IO_CHUNK) + { soap->chunkbuflen = soap->buflen; + soap->buflen = soap->bufidx; + soap->chunksize = 0; + } +#ifndef WITH_LEANER + else if (soap->fpreparerecv && soap->buflen != soap->bufidx) + soap->fpreparerecv(soap, soap->buf + soap->bufidx, soap->buflen - soap->bufidx); +#endif +#ifdef WITH_ZLIB + if (soap->zlib_in) + { /* fparse should not use soap_unget to push back last char */ +#ifdef WITH_GZIP + c = soap_get1(soap); + if (c == 0x1F) + { if (soap_getgziphdr(soap)) + return soap->error; + if (inflateInit2(&soap->d_stream, -MAX_WBITS) != Z_OK) + return soap->error = SOAP_ZLIB_ERROR; + soap->zlib_state = SOAP_ZLIB_INFLATE; + soap->z_crc = crc32(0L, NULL, 0); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "gzip initialized\n")); + } + else + { soap_revget1(soap); +#else + { +#endif + if (inflateInit(&soap->d_stream) != Z_OK) + return soap->error = SOAP_ZLIB_ERROR; + soap->zlib_state = SOAP_ZLIB_INFLATE; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Inflate initialized\n")); + } + soap->mode |= SOAP_ENC_ZLIB; + memcpy(soap->z_buf, soap->buf, SOAP_BUFLEN); + soap->d_stream.next_in = (Byte*)(soap->z_buf + soap->bufidx); + soap->d_stream.avail_in = soap->buflen - soap->bufidx; + soap->z_buflen = soap->buflen; + soap->buflen = soap->bufidx; + } +#endif + } +#endif +#ifndef WITH_LEANER + if (soap->mode & SOAP_ENC_MIME) + { if (soap_getmimehdr(soap)) + return soap->error; + if (soap_get_header_attribute(soap, soap->mime.first->type, "application/dime")) + soap->mode |= SOAP_ENC_DIME; + } + if (soap->mode & SOAP_ENC_DIME) + { if (soap_getdimehdr(soap)) + return soap->error; + if (soap->dime.flags & SOAP_DIME_CF) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Chunked DIME SOAP message\n")); + soap->dime.chunksize = soap->dime.size; + if (soap->buflen - soap->bufidx >= soap->dime.chunksize) + { soap->dime.buflen = soap->buflen; + soap->buflen = soap->bufidx + soap->dime.chunksize; + } + else + soap->dime.chunksize -= soap->buflen - soap->bufidx; + } + soap->count = soap->buflen - soap->bufidx; + } +#endif + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_parse(struct soap *soap) +{ char header[SOAP_HDRLEN], *s; + unsigned short g = 0, k = 0; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Waiting for response...\n")); + *soap->endpoint = '\0'; + soap->length = 0; + soap->userid = NULL; + soap->passwd = NULL; + soap->action = NULL; + soap->authrealm = NULL; + do + { if (soap_getline(soap, soap->msgbuf, sizeof(soap->msgbuf))) + return soap->error; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "HTTP status: %s\n", soap->msgbuf)); + for (;;) + { if (soap_getline(soap, header, SOAP_HDRLEN)) + { if (soap->error == SOAP_EOF) + { soap->error = SOAP_OK; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "EOF in HTTP header, continue anyway\n")); + break; + } + return soap->error; + } + if (!*header) + break; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "HTTP header: %s\n", header)); + s = strchr(header, ':'); + if (s) + { *s = '\0'; + do s++; + while (*s && *s <= 32); + if ((soap->error = soap->fparsehdr(soap, header, s))) + return soap->error; + } + } + if ((s = strchr(soap->msgbuf, ' '))) + { k = (unsigned short)soap_strtoul(s, &s, 10); + if (!soap_blank(*s)) + k = 0; + } + else + k = 0; + } while (k == 100); + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Finished HTTP header parsing\n")); + s = strstr(soap->msgbuf, "HTTP/"); + if (s && s[7] != '1') + { if (soap->keep_alive == 1) + soap->keep_alive = 0; + if (k == 0 && (soap->omode & SOAP_IO) == SOAP_IO_CHUNK) /* k == 0 for HTTP request */ + { soap->imode |= SOAP_IO_CHUNK; + soap->omode = (soap->omode & ~SOAP_IO) | SOAP_IO_STORE; + } + } + if (soap->keep_alive < 0) + soap->keep_alive = 1; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Keep alive connection = %d\n", soap->keep_alive)); + if (s && (((g = !strncmp(soap->msgbuf, "GET ", 4))) || !strncmp(soap->msgbuf, "POST ", 5))) + { size_t m = strlen(soap->endpoint); + size_t n = m + (s - soap->msgbuf) - 5 - (!g); + if (n >= sizeof(soap->endpoint)) + n = sizeof(soap->endpoint) - 1; + strncpy(soap->path, soap->msgbuf + 4 + (!g), n - m); + soap->path[n - m] = '\0'; + strcat(soap->endpoint, soap->path); + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Target endpoint='%s'\n", soap->endpoint)); + if (g) + { soap->error = soap->fget(soap); + if (soap->error == SOAP_OK) + soap->error = SOAP_STOP; /* prevents further processing */ + return soap->error; + } + return SOAP_OK; + } + if (k == 0 || (k >= 200 && k <= 299) || k == 400 || k == 500) + return SOAP_OK; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "HTTP error %d\n", k)); + return soap_set_receiver_error(soap, "HTTP error", soap->msgbuf, k); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_parse_header(struct soap *soap, const char *key, const char *val) +{ if (!soap_tag_cmp(key, "Host")) + { +#ifdef WITH_OPENSSL + if (soap->imode & SOAP_ENC_SSL) + strcpy(soap->endpoint, "https://"); + else +#endif + strcpy(soap->endpoint, "http://"); + strncat(soap->endpoint, val, sizeof(soap->endpoint) - 8); + soap->endpoint[sizeof(soap->endpoint) - 1] = '\0'; + } +#ifndef WITH_LEANER + else if (!soap_tag_cmp(key, "Content-Type")) + { if (soap_get_header_attribute(soap, val, "application/dime")) + soap->mode |= SOAP_ENC_DIME; + else if (soap_get_header_attribute(soap, val, "multipart/related") + || soap_get_header_attribute(soap, val, "multipart/form-data")) + { soap->mime.boundary = soap_strdup(soap, soap_get_header_attribute(soap, val, "boundary")); + soap->mime.start = soap_strdup(soap, soap_get_header_attribute(soap, val, "start")); + soap->mode |= SOAP_ENC_MIME; + } + } +#endif + else if (!soap_tag_cmp(key, "Content-Length")) + soap->length = soap_strtoul(val, NULL, 10); + else if (!soap_tag_cmp(key, "Content-Encoding")) + { if (!soap_tag_cmp(val, "deflate")) +#ifdef WITH_ZLIB + soap->zlib_in = SOAP_ZLIB_DEFLATE; +#else + return SOAP_ZLIB_ERROR; +#endif + else if (!soap_tag_cmp(val, "gzip")) +#ifdef WITH_GZIP + soap->zlib_in = SOAP_ZLIB_GZIP; +#else + return SOAP_ZLIB_ERROR; +#endif + } +#ifdef WITH_ZLIB + else if (!soap_tag_cmp(key, "Accept-Encoding")) + { +#ifdef WITH_GZIP + if (strchr(val, '*') || soap_get_header_attribute(soap, val, "gzip")) + soap->zlib_out = SOAP_ZLIB_GZIP; + else +#endif + if (strchr(val, '*') || soap_get_header_attribute(soap, val, "deflate")) + soap->zlib_out = SOAP_ZLIB_DEFLATE; + else + soap->zlib_out = SOAP_ZLIB_NONE; + } +#endif + else if (!soap_tag_cmp(key, "Transfer-Encoding")) + { soap->mode &= ~SOAP_IO; + if (!soap_tag_cmp(val, "chunked")) + soap->mode |= SOAP_IO_CHUNK; + } + else if (!soap_tag_cmp(key, "Connection")) + { if (!soap_tag_cmp(val, "keep-alive")) + soap->keep_alive = -soap->keep_alive; + else if (!soap_tag_cmp(val, "close")) + soap->keep_alive = 0; + } +#ifndef WITH_LEAN + else if (!soap_tag_cmp(key, "Authorization")) + { if (!soap_tag_cmp(val, "Basic *")) + { int n; + char *s; + soap_base642s(soap, val + 6, soap->tmpbuf, sizeof(soap->tmpbuf) - 1, &n); + soap->tmpbuf[n] = '\0'; + if ((s = strchr(soap->tmpbuf, ':'))) + { *s = '\0'; + soap->userid = soap_strdup(soap, soap->tmpbuf); + soap->passwd = soap_strdup(soap, s + 1); + } + } + } + else if (!soap_tag_cmp(key, "WWW-Authenticate")) + soap->authrealm = soap_strdup(soap, soap_get_header_attribute(soap, val + 6, "realm")); + else if (!soap_tag_cmp(key, "Expect")) + { if (!soap_tag_cmp(val, "100-continue")) + { if ((soap->error = soap->fposthdr(soap, "HTTP/1.1 100 Continue", NULL)) + || (soap->error = soap->fposthdr(soap, NULL, NULL))) + return soap->error; + } + } +#endif + else if (!soap_tag_cmp(key, "SOAPAction")) + { if (val[0] && val[1]) + { soap->action = soap_strdup(soap, val + 1); + soap->action[strlen(soap->action) - 1] = '\0'; + } + } + else if (!soap_tag_cmp(key, "Location")) + { strncpy(soap->endpoint, val, sizeof(soap->endpoint)); + soap->endpoint[sizeof(soap->endpoint) - 1] = '\0'; + } +#ifdef WITH_COOKIES + else if (!soap_tag_cmp(key, "Cookie") || !soap_tag_cmp(key, "Set-Cookie")) + soap_getcookies(soap, val); +#endif + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER) +#ifndef PALM_1 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_get_header_attribute(struct soap *soap, const char *line, const char *key) +{ register const char *s = line; + if (s) + { while (*s) + { register short flag; + s = soap_decode_key(soap->tmpbuf, sizeof(soap->tmpbuf), s); + flag = soap_tag_cmp(soap->tmpbuf, key); + s = soap_decode_val(soap->tmpbuf, sizeof(soap->tmpbuf), s); + if (!flag) + return soap->tmpbuf; + } + } + return NULL; +} +#endif +#endif + +/******************************************************************************/ +#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER) +#ifndef PALM_1 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_decode_key(char *buf, size_t len, const char *val) +{ return soap_decode(buf, len, val, "=,;"); +} +#endif +#endif + +/******************************************************************************/ +#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER) +#ifndef PALM_1 +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_decode_val(char *buf, size_t len, const char *val) +{ if (*val != '=') + { *buf = '\0'; + return val; + } + return soap_decode(buf, len, val + 1, ",;"); +} +#endif +#endif + +/******************************************************************************/ +#if !defined(WITH_NOHTTP) || !defined(WITH_LEANER) +#ifndef PALM_1 +static const char* +soap_decode(char *buf, size_t len, const char *val, const char *sep) +{ const char *s; + char *t = buf; + for (s = val; *s; s++) + if (*s != ' ' && *s != '\t' && !strchr(sep, *s)) + break; + if (*s == '"') + { s++; + while (*s && *s != '"' && --len) + *t++ = *s++; + } + else + { while (soap_notblank(*s) && !strchr(sep, *s) && --len) + { if (*s == '%') + { *t++ = ((s[1] >= 'A' ? (s[1] & 0x7) + 9 : s[1] - '0') << 4) + + (s[2] >= 'A' ? (s[2] & 0x7) + 9 : s[2] - '0'); + s += 3; + } + else + *t++ = *s++; + } + } + *t = '\0'; + while (*s && !strchr(sep, *s)) + s++; + return s; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_envelope_begin_out(struct soap *soap) +{ +#ifndef WITH_LEANER + size_t n = 0; + if ((soap->mode & SOAP_ENC_MIME) && soap->mime.boundary && soap->mime.start) + { const char *s; + if ((soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM)) + s = "application/dime"; + else if (soap->version == 2) + s = "application/soap+xml; charset=utf-8"; + else + s = "text/xml; charset=utf-8"; + sprintf(soap->tmpbuf, "--%s\r\nContent-Type: %s\r\nContent-Transfer-Encoding: binary\r\nContent-ID: %s\r\n\r\n", soap->mime.boundary, s, soap->mime.start); + n = strlen(soap->tmpbuf); + if (soap_send_raw(soap, soap->tmpbuf, n)) + return soap->error; + } + if (soap->mode & SOAP_IO_LENGTH) + soap->dime.size = soap->count; /* DIME in MIME correction */ + if (!(soap->mode & SOAP_IO_LENGTH) && (soap->mode & SOAP_ENC_DIME)) + { if (soap_putdimehdr(soap)) + return soap->error; + } +#endif + soap->part = SOAP_IN_ENVELOPE; + return soap_element_begin_out(soap, "SOAP-ENV:Envelope", 0, NULL); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_envelope_end_out(struct soap *soap) +{ if (soap_element_end_out(soap, "SOAP-ENV:Envelope")) + return soap->error; +#ifndef WITH_LEANER + if ((soap->mode & SOAP_IO_LENGTH) && (soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM)) + { soap->dime.size = soap->count - soap->dime.size; /* DIME in MIME correction */ + sprintf(soap->id, soap->dime_id_format, 0); + soap->dime.id = soap->id; + if (soap->local_namespaces) + { if (soap->local_namespaces[0].out) + soap->dime.type = (char*)soap->local_namespaces[0].out; + else + soap->dime.type = (char*)soap->local_namespaces[0].ns; + } + soap->dime.options = NULL; + soap->dime.flags = SOAP_DIME_MB | SOAP_DIME_ABSURI; + if (!soap->dime.first) + soap->dime.flags |= SOAP_DIME_ME; + soap->count += 12 + ((strlen(soap->dime.id)+3)&(~3)) + ((strlen(soap->dime.type)+3)&(~3)); + } + if ((soap->mode & SOAP_ENC_DIME) && !(soap->mode & SOAP_ENC_MTOM)) + return soap_send_raw(soap, SOAP_STR_PADDING, -(long)soap->dime.size&3); +#endif + soap->part = SOAP_END_ENVELOPE; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_envelope_begin_in(struct soap *soap) +{ register struct Namespace *p; + soap->part = SOAP_IN_ENVELOPE; + if (soap_element_begin_in(soap, "SOAP-ENV:Envelope", 0)) + return soap->error = SOAP_VERSIONMISMATCH; + p = soap->local_namespaces; + if (p) + { const char *ns = p[0].out; + if (!ns) + ns = p[0].ns; + if (!strcmp(ns, soap_env1)) + { soap->version = 1; /* make sure we use SOAP 1.1 */ + if (p[1].out) + SOAP_FREE(soap, p[1].out); + if ((p[1].out = (char*)SOAP_MALLOC(soap, sizeof(soap_enc1)))) + strcpy(p[1].out, soap_enc1); + } + else if (!strcmp(ns, soap_env2)) + { soap->version = 2; /* make sure we use SOAP 1.2 */ + if (p[1].out) + SOAP_FREE(soap, p[1].out); + if ((p[1].out = (char*)SOAP_MALLOC(soap, sizeof(soap_enc2)))) + strcpy(p[1].out, soap_enc2); + } + } + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_envelope_end_in(struct soap *soap) +{ if (soap_element_end_in(soap, "SOAP-ENV:Envelope")) + return soap->error; + soap->part = SOAP_END_ENVELOPE; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_body_begin_out(struct soap *soap) +{ soap->part = SOAP_IN_BODY; + if (soap->version == 1) + soap->encoding = 1; + if (soap_element(soap, "SOAP-ENV:Body", 0, NULL)) + return soap->error; + if ((soap->mode & SOAP_XML_SEC) && soap_attribute(soap, "id", "_0")) + return soap->error; + return soap_element_start_end_out(soap, NULL); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_body_end_out(struct soap *soap) +{ if (soap_element_end_out(soap, "SOAP-ENV:Body")) + return soap->error; + soap->part = SOAP_IN_BODY; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_body_begin_in(struct soap *soap) +{ soap->part = SOAP_IN_BODY; + if (soap_element_begin_in(soap, "SOAP-ENV:Body", 0)) + return soap->error; + if (!soap->body) + soap->part = SOAP_NO_BODY; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_body_end_in(struct soap *soap) +{ if (soap->part != SOAP_NO_BODY) + { if (soap_element_end_in(soap, "SOAP-ENV:Body")) + return soap->error; + } + soap->part = SOAP_END_BODY; + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_recv_header(struct soap *soap) +{ if (soap_getheader(soap) && soap->error == SOAP_TAG_MISMATCH) + soap->error = SOAP_OK; + return soap->error; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_endpoint(struct soap *soap, const char *endpoint) +{ register const char *s; + register size_t i, n; + soap->endpoint[0] = '\0'; + soap->host[0] = '\0'; + soap->path[0] = '/'; + soap->path[1] = '\0'; + soap->port = 80; + if (!endpoint || !*endpoint) + return; + if (!strncmp(endpoint, "https:", 6)) + soap->port = 443; + strncpy(soap->endpoint, endpoint, sizeof(soap->endpoint) - 1); + s = strchr(endpoint, ':'); + if (s && s[1] == '/' && s[2] == '/') + s += 3; + else + s = endpoint; + n = strlen(s); + if (n >= sizeof(soap->host)) + n = sizeof(soap->host) - 1; +#ifdef WITH_IPV6 + if ('[' == s[0]) + { s++; + for (i = 0; i < n; i++) + { soap->host[i] = s[i]; + if (']' == s[i]) + { + s++; + break; + } + } + } + else + { for (i = 0; i < n; i++) + { soap->host[i] = s[i]; + if (s[i] == '/' || s[i] == ':') + break; + } + } +#else + for (i = 0; i < n; i++) + { soap->host[i] = s[i]; + if (s[i] == '/' || s[i] == ':') + break; + } +#endif + soap->host[i] = '\0'; + if (s[i] == ':') + { soap->port = (int)atol(s + i + 1); + for (i++; i < n; i++) + if (s[i] == '/') + break; + } + if (s[i]) + { strncpy(soap->path, s + i, sizeof(soap->path)); + soap->path[sizeof(soap->path) - 1] = '\0'; + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_connect(struct soap *soap, const char *endpoint, const char *action) +{ return soap_connect_command(soap, SOAP_POST, endpoint, action); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_connect_command(struct soap *soap, int http_command, const char *endpoint, const char *action) +{ char host[sizeof(soap->host)]; + int port; + size_t count; + soap->error = SOAP_OK; + strcpy(host, soap->host); /* save to compare */ + port = soap->port; /* save to compare */ + soap_set_endpoint(soap, endpoint); +#ifndef WITH_LEANER + if (soap->fconnect) + { if ((soap->error = soap->fconnect(soap, endpoint, soap->host, soap->port))) + return soap->error; + } + else +#endif + if (soap->fopen && *soap->host) + { soap->status = http_command; + if (!soap->keep_alive || !soap_valid_socket(soap->socket) || strcmp(soap->host, host) || soap->port != port || !soap->fpoll || soap->fpoll(soap)) + { soap->keep_alive = 0; /* to force close */ + soap->omode &= ~SOAP_IO_UDP; /* to force close */ + soap_closesock(soap); + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Connect/reconnect to host='%s' path='%s' port=%d\n", soap->host, soap->path, soap->port)); +#ifdef WITH_UDP + if (!strncmp(endpoint, "soap.udp:", 9)) + soap->omode |= SOAP_IO_UDP; +#endif + soap->socket = soap->fopen(soap, endpoint, soap->host, soap->port); + if (soap->error) + return soap->error; + soap->keep_alive = ((soap->omode & SOAP_IO_KEEPALIVE) != 0); + } + } + count = soap_count_attachments(soap); + if (soap_begin_send(soap)) + return soap->error; +#ifndef WITH_NOHTTP + if ((soap->mode & SOAP_IO) != SOAP_IO_STORE && !(soap->mode & SOAP_ENC_XML) && endpoint) + { unsigned int k = soap->mode; + soap->mode &= ~(SOAP_IO | SOAP_ENC_ZLIB); + if ((k & SOAP_IO) != SOAP_IO_FLUSH) + soap->mode |= SOAP_IO_BUFFER; + if ((soap->error = soap->fpost(soap, endpoint, soap->host, soap->port, soap->path, action, count))) + return soap->error; +#ifndef WITH_LEANER + if ((k & SOAP_IO) == SOAP_IO_CHUNK) + { if (soap_flush(soap)) + return soap->error; + } +#endif + soap->mode = k; + } + else if (action) + soap->action = soap_strdup(soap, action); + if (http_command != SOAP_POST) + return soap_end_send(soap); +#endif + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +char* +SOAP_FMAC2 +soap_s2base64(struct soap *soap, const unsigned char *s, char *t, size_t n) +{ register size_t i; + register unsigned long m; + register char *p; + if (!t) + t = (char*)soap_malloc(soap, (n + 2) / 3 * 4 + 1); + if (!t) + { soap->error = SOAP_EOM; + return NULL; + } + p = t; + t[0] = '\0'; + if (!s) + return p; + for (; n > 2; n -= 3, s += 3) + { m = s[0]; + m = (m << 8) | s[1]; + m = (m << 8) | s[2]; + for (i = 4; i > 0; m >>= 6) + t[--i] = soap_base64o[m & 0x3F]; + t += 4; + } + t[0] = '\0'; + if (n > 0) + { m = 0; + for (i = 0; i < n; i++) + m = (m << 8) | *s++; + for (; i < 3; i++) + m <<= 8; + for (i++; i > 0; m >>= 6) + t[--i] = soap_base64o[m & 0x3F]; + for (i = 3; i > n; i--) + t[i] = '='; + t[4] = '\0'; + } + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_base642s(struct soap *soap, const char *s, char *t, size_t l, int *n) +{ register int i, j, c; + register unsigned long m; + register const char *p; + if (!t) + { l = (strlen(s) + 3) / 4 * 3; + t = (char*)soap_malloc(soap, l); + } + if (!t) + { soap->error = SOAP_EOM; + return NULL; + } + p = t; + if (n) + *n = 0; + for (;;) + { for (i = 0; i < SOAP_BLKLEN; i++) + { m = 0; + j = 0; + while (j < 4) + { c = *s++; + if (c == '=' || !c) + { i *= 3; + switch (j) + { case 2: + *t++ = (char)((m >> 4) & 0xFF); + i++; + break; + case 3: + *t++ = (char)((m >> 10) & 0xFF); + *t++ = (char)((m >> 2) & 0xFF); + i += 2; + } + if (n) + *n += i; + return p; + } + c -= '+'; + if (c >= 0 && c <= 79) + { m = (m << 6) + soap_base64i[c]; + j++; + } + } + *t++ = (char)((m >> 16) & 0xFF); + *t++ = (char)((m >> 8) & 0xFF); + *t++ = (char)(m & 0xFF); + if (l < 3) + { if (n) + *n += i; + return p; + } + l -= 3; + } + if (n) + *n += 3 * SOAP_BLKLEN; + } +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +char* +SOAP_FMAC2 +soap_s2hex(struct soap *soap, const unsigned char *s, char *t, size_t n) +{ register char *p; + if (!t) + t = (char*)soap_malloc(soap, 2 * n + 1); + if (!t) + { soap->error = SOAP_EOM; + return NULL; + } + p = t; + t[0] = '\0'; + if (s) + { for (; n > 0; n--) + { register int m = *s++; + *t++ = (char)((m >> 4) + (m > 159 ? 'a' - 10 : '0')); + m &= 0x0F; + *t++ = (char)(m + (m > 9 ? 'a' - 10 : '0')); + } + } + *t++ = '\0'; + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +SOAP_FMAC1 +const char* +SOAP_FMAC2 +soap_hex2s(struct soap *soap, const char *s, char *t, size_t l, int *n) +{ register const char *p; + if (!t) + { l = strlen(s) / 2; + t = (char*)soap_malloc(soap, l); + } + if (!t) + { soap->error = SOAP_EOM; + return NULL; + } + p = t; + while (l > 1) + { register int d1 = *s++; + register int d2 = *s++; + *t++ = ((d1 >= 'A' ? (d1 & 0x7) + 9 : d1 - '0') << 4) + (d2 >= 'A' ? (d2 & 0x7) + 9 : d2 - '0'); + l -= 2; + } + if (n) + *n = t - p; + return p; +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_puthttphdr(struct soap *soap, int status, size_t count) +{ register const char *s; +#ifndef WITH_LEANER + register const char *r = NULL; +#endif + register int err; + if (status == SOAP_FILE && soap->http_content) + s = soap->http_content; + else if (status == SOAP_HTML) + s = "text/html; charset=utf-8"; + else if (soap->version == 2) + s = "application/soap+xml; charset=utf-8"; + else + s = "text/xml; charset=utf-8"; +#ifndef WITH_LEANER + if (soap->mode & (SOAP_ENC_DIME | SOAP_ENC_MTOM)) + { if (soap->mode & SOAP_ENC_MTOM) + { r = s; + s = "application/xop+xml; charset=utf-8"; + } + else + s = "application/dime"; + } + if ((soap->mode & SOAP_ENC_MIME) && soap->mime.boundary && soap->status != SOAP_GET) + { register const char *t = strchr(s, ';'); + sprintf(soap->tmpbuf, "multipart/related; boundary=\"%s\"; type=\"", soap->mime.boundary); + if (t) + strncat(soap->tmpbuf, s, t - s); + else + strcat(soap->tmpbuf, s); + if (soap->mime.start) + { strcat(soap->tmpbuf, "\"; start=\""); + strcat(soap->tmpbuf, soap->mime.start); + } + strcat(soap->tmpbuf, "\""); + if (r) + { strcat(soap->tmpbuf, "; start-info=\""); + strcat(soap->tmpbuf, r); + strcat(soap->tmpbuf, "\""); + } + s = soap->tmpbuf; + } +#endif + if ((err = soap->fposthdr(soap, "Content-Type", s))) + return err; +#ifdef WITH_ZLIB + if (soap->omode & SOAP_ENC_ZLIB) + { +#ifdef WITH_GZIP + err = soap->fposthdr(soap, "Content-Encoding", "gzip"); +#else + err = soap->fposthdr(soap, "Content-Encoding", "deflate"); +#endif + if (err) + return err; + } +#endif +#ifndef WITH_LEANER + if ((soap->omode & SOAP_IO) == SOAP_IO_CHUNK) + err = soap->fposthdr(soap, "Transfer-Encoding", "chunked"); + else +#endif + if (count > 0) + { sprintf(soap->tmpbuf, "%lu", (unsigned long)count); + err = soap->fposthdr(soap, "Content-Length", soap->tmpbuf); + } + if (err) + return err; + return soap->fposthdr(soap, "Connection", soap->keep_alive ? "keep-alive" : "close"); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_get(struct soap *soap) +{ return SOAP_GET_METHOD; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_post(struct soap *soap, const char *endpoint, const char *host, int port, const char *path, const char *action, size_t count) +{ register const char *s; + register int err; + if (soap->status == SOAP_GET) + { s = "GET"; + count = 0; + } + else + s = "POST"; +#ifdef PALM + if (!endpoint || (strncmp(endpoint, "http:", 5) && strncmp(endpoint, "https:", 6) && strncmp(endpoint, "httpg:", 6)) && strncmp(endpoint, "_beam:", 6) && strncmp(endpoint, "_local:", 7) && strncmp(endpoint, "_btobex:", 8)) +#else + if (!endpoint || (strncmp(endpoint, "http:", 5) && strncmp(endpoint, "https:", 6) && strncmp(endpoint, "httpg:", 6))) +#endif + return SOAP_OK; + if (soap->proxy_host && strncmp(endpoint, "https:", 6)) + sprintf(soap->tmpbuf, "%s %s HTTP/%s", s, endpoint, soap->http_version); + else + sprintf(soap->tmpbuf, "%s /%s HTTP/%s", s, (*path == '/' ? path + 1 : path), soap->http_version); + if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL))) + return err; + if (port != 80) + sprintf(soap->tmpbuf, "%s:%d", host, port); + else + strcpy(soap->tmpbuf, host); + if ((err = soap->fposthdr(soap, "Host", soap->tmpbuf)) + || (err = soap->fposthdr(soap, "User-Agent", "gSOAP/2.7")) + || (err = soap_puthttphdr(soap, SOAP_OK, count))) + return err; +#ifdef WITH_ZLIB +#ifdef WITH_GZIP + if ((err = soap->fposthdr(soap, "Accept-Encoding", "gzip, deflate"))) +#else + if ((err = soap->fposthdr(soap, "Accept-Encoding", "deflate"))) +#endif + return err; +#endif +#ifndef WITH_LEAN + if (soap->userid && soap->passwd && strlen(soap->userid) + strlen(soap->passwd) < 761) + { sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd); + strcpy(soap->tmpbuf, "Basic "); + soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262)); + if ((err = soap->fposthdr(soap, "Authorization", soap->tmpbuf))) + return err; + } + if (soap->proxy_userid && soap->proxy_passwd && strlen(soap->proxy_userid) + strlen(soap->proxy_passwd) < 761) + { sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd); + strcpy(soap->tmpbuf, "Basic "); + soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262)); + if ((err = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf))) + return err; + } +#endif +#ifdef WITH_COOKIES +#ifdef WITH_OPENSSL + if (soap_putcookies(soap, host, path, soap->ssl != NULL)) + return soap->error; +#else + if (soap_putcookies(soap, host, path, 0)) + return soap->error; +#endif +#endif + if (action && soap->version == 1) + { sprintf(soap->tmpbuf, "\"%s\"", action); + if ((err = soap->fposthdr(soap, "SOAPAction", soap->tmpbuf))) + return err; + } + return soap->fposthdr(soap, NULL, NULL); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_send_header(struct soap *soap, const char *s) +{ register const char *t; + do + { t = strchr(s, '\n'); /* disallow \n in HTTP headers */ + if (!t) + t = s + strlen(s); + if (soap_send_raw(soap, s, t - s)) + return soap->error; + s = t + 1; + } while (*t); + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_post_header(struct soap *soap, const char *key, const char *val) +{ if (key) + { if (http_send_header(soap, key)) + return soap->error; + if (val && (soap_send_raw(soap, ": ", 2) || http_send_header(soap, val))) + return soap->error; + } + return soap_send_raw(soap, "\r\n", 2); +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +static int +http_response(struct soap *soap, int status, size_t count) +{ register int err; +#ifdef WMW_RPM_IO + if (soap->rpmreqid) + httpOutputEnable(soap->rpmreqid); +#endif /* WMW_RPM_IO */ + if (!status || status == SOAP_HTML || status == SOAP_FILE) + { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "OK 200\n")); +#ifdef WMW_RPM_IO + if (soap->rpmreqid || soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* RPM behaves as if standalone */ +#else + if (soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* standalone application */ +#endif /* WMW_RPM_IO */ + { sprintf(soap->tmpbuf, "HTTP/%s 200 OK", soap->http_version); + if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL))) + return err; + } + else if ((err = soap->fposthdr(soap, "Status", "200 OK"))) + return err; + } + else if (status > 200 && status < 600) + { sprintf(soap->tmpbuf, "HTTP/%s %d %s", soap->http_version, status, http_error(soap, status)); + if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL))) + return err; +#ifndef WITH_LEAN + if (status == 401) + { sprintf(soap->tmpbuf, "Basic realm=\"%s\"", soap->authrealm ? soap->authrealm : "gSOAP Web Service"); + if ((err = soap->fposthdr(soap, "WWW-Authenticate", soap->tmpbuf))) + return err; + } + else if ((status >= 301 && status <= 303) || status == 307) + { if ((err = soap->fposthdr(soap, "Location", soap->endpoint))) + return err; + } +#endif + } + else + { const char *s = *soap_faultcode(soap); + if (soap->version == 2 && !strcmp(s, "SOAP-ENV:Sender")) + s = "400 Bad Request"; + else + s = "500 Internal Server Error"; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Error %s (status=%d)\n", s, status)); +#ifdef WMW_RPM_IO + if (soap->rpmreqid || soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* RPM behaves as if standalone */ +#else + if (soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* standalone application */ +#endif /* WMW_RPM_IO */ + { sprintf(soap->tmpbuf, "HTTP/%s %s", soap->http_version, s); + if ((err = soap->fposthdr(soap, soap->tmpbuf, NULL))) + return err; + } + else if ((err = soap->fposthdr(soap, "Status", s))) + return err; + } + if ((err = soap->fposthdr(soap, "Server", "gSOAP/2.7")) + || (err = soap_puthttphdr(soap, status, count))) + return err; +#ifdef WITH_COOKIES + if (soap_putsetcookies(soap)) + return soap->error; +#endif + return soap->fposthdr(soap, NULL, NULL); +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_response(struct soap *soap, int status) +{ register size_t count; + if (!(soap->omode & (SOAP_ENC_XML | SOAP_IO_STORE /* this tests for chunking too */)) + && (status == SOAP_HTML || status == SOAP_FILE)) + { soap->omode &= ~SOAP_IO; + soap->omode |= SOAP_IO_STORE; + } + soap->status = status; + count = soap_count_attachments(soap); + if (soap_begin_send(soap)) + return soap->error; +#ifndef WITH_NOHTTP + if ((soap->mode & SOAP_IO) != SOAP_IO_STORE && !(soap->mode & SOAP_ENC_XML)) + { register int n = soap->mode; + soap->mode &= ~(SOAP_IO | SOAP_ENC_ZLIB); + if ((n & SOAP_IO) != SOAP_IO_FLUSH) + soap->mode |= SOAP_IO_BUFFER; + if ((soap->error = soap->fresponse(soap, status, count))) + return soap->error; +#ifndef WITH_LEANER + if ((n & SOAP_IO) == SOAP_IO_CHUNK) + { if (soap_flush(soap)) + return soap->error; + } +#endif + soap->mode = n; + } +#endif + return SOAP_OK; +} +#endif + +/******************************************************************************/ +#ifndef WITH_LEAN +static const char* +soap_set_validation_fault(struct soap *soap, const char *s, const char *t) +{ if (*soap->tag) + sprintf(soap->msgbuf, "Validation constraint violation: %s%s in element <%s>", s, t?t:SOAP_STR_EOS, soap->tag); + else + sprintf(soap->msgbuf, "Validation constraint violation: %s%s", s, t?t:SOAP_STR_EOS); + return soap->msgbuf; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_fault(struct soap *soap) +{ const char **c = soap_faultcode(soap); + const char **s = soap_faultstring(soap); + if (!*c && !*s && soap->fseterror) + soap->fseterror(soap, c, s); + if (!*c) + { if (soap->version == 2) + *c = "SOAP-ENV:Sender"; + else + *c = "SOAP-ENV:Client"; + } + if (*s) + return; + switch (soap->error) + { +#ifndef WITH_LEAN + case SOAP_CLI_FAULT: + *s = "Client fault"; + break; + case SOAP_SVR_FAULT: + *s = "Server fault"; + break; + case SOAP_TAG_MISMATCH: + *s = soap_set_validation_fault(soap, "tag name or namespace mismatch", NULL); + break; + case SOAP_TYPE: + *s = soap_set_validation_fault(soap, "data type mismatch ", soap->type); + break; + case SOAP_SYNTAX_ERROR: + *s = "Well-formedness violation"; + break; + case SOAP_NO_TAG: + *s = "No XML element tag"; + break; + case SOAP_MUSTUNDERSTAND: + *c = "SOAP-ENV:MustUnderstand"; + sprintf(soap->msgbuf, "The data in element '%s' must be understood but cannot be handled", soap->tag); + *s = soap->msgbuf; + break; + case SOAP_VERSIONMISMATCH: + *c = "SOAP-ENV:VersionMismatch"; + *s = "SOAP version mismatch or invalid SOAP message"; + break; + case SOAP_DATAENCODINGUNKNOWN: + *c = "SOAP-ENV:DataEncodingUnknown"; + *s = "Unsupported SOAP data encoding"; + break; + case SOAP_NAMESPACE: + *s = soap_set_validation_fault(soap, "namespace mismatch", NULL); + break; + case SOAP_FATAL_ERROR: + *s = "Fatal error"; + break; + case SOAP_NO_METHOD: + sprintf(soap->msgbuf, "Method '%s' not implemented: method name or namespace not recognized", soap->tag); + *s = soap->msgbuf; + break; + case SOAP_GET_METHOD: + *s = "HTTP GET method not implemented"; + break; + case SOAP_EOM: + *s = "Out of memory"; + break; + case SOAP_IOB: + *s = "Array index out of bounds"; + break; + case SOAP_NULL: + *s = soap_set_validation_fault(soap, "nil not allowed", NULL); + break; + case SOAP_MULTI_ID: + *s = soap_set_validation_fault(soap, "multiple definitions of id ", soap->id); + break; + case SOAP_MISSING_ID: + *s = soap_set_validation_fault(soap, "missing id for ref ", soap->id); + break; + case SOAP_HREF: + *s = soap_set_validation_fault(soap, "incompatible object ref ", soap->id); + break; + case SOAP_FAULT: + break; +#ifndef WITH_NOIO + case SOAP_UDP_ERROR: + *s = "Message too large for UDP packet"; + break; + case SOAP_TCP_ERROR: + *s = tcp_error(soap); + break; +#endif + case SOAP_HTTP_ERROR: + *s = "HTTP error"; + break; + case SOAP_SSL_ERROR: +#ifdef WITH_OPENSSL + *s = "SSL error"; +#else + *s = "OpenSSL not installed: recompile with -DWITH_OPENSSL"; +#endif + break; + case SOAP_PLUGIN_ERROR: + *s = "Plugin registry error"; + break; + case SOAP_DIME_ERROR: + *s = "DIME format error"; + break; + case SOAP_DIME_HREF: + *s = "DIME href to missing attachment"; + break; + case SOAP_DIME_MISMATCH: + *s = "DIME version/transmission error"; + break; + case SOAP_DIME_END: + *s = "End of DIME error"; + break; + case SOAP_MIME_ERROR: + *s = "MIME format error"; + break; + case SOAP_MIME_HREF: + *s = "MIME href to missing attachment"; + break; + case SOAP_MIME_END: + *s = "End of MIME error"; + break; + case SOAP_ZLIB_ERROR: +#ifdef WITH_ZLIB + sprintf(soap->msgbuf, "Zlib/gzip error: '%s'", soap->d_stream.msg?soap->d_stream.msg:""); + *s = soap->msgbuf; +#else + *s = "Zlib/gzip not installed for (de)compression: recompile with -DWITH_GZIP"; +#endif + break; + case SOAP_REQUIRED: + *s = soap_set_validation_fault(soap, "missing required attribute", NULL); + break; + case SOAP_PROHIBITED: + *s = soap_set_validation_fault(soap, "prohibited attribute present", NULL); + break; + case SOAP_OCCURS: + *s = soap_set_validation_fault(soap, "min/maxOccurs violation", NULL); + break; + case SOAP_LENGTH: + *s = soap_set_validation_fault(soap, "content length violation", NULL); + break; + case SOAP_STOP: + *s = "Stopped: no response sent"; + break; +#endif + case SOAP_EOF: +#ifndef WITH_NOIO + sprintf(soap->msgbuf, "End of file or no input: '%s'", soap_strerror(soap)); + *s = soap->msgbuf; + break; +#else + *s = "End of file or no input"; + break; +#endif + default: +#ifndef WITH_NOHTTP +#ifndef WITH_LEAN + if (soap->error > 200 && soap->error < 600) + { sprintf(soap->msgbuf, "HTTP Error: %d %s", soap->error, http_error(soap, soap->error)); + *s = soap->msgbuf; + } + else +#endif +#endif + { sprintf(soap->msgbuf, "Error %d", soap->error); + *s = soap->msgbuf; + } + } +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_send_fault(struct soap *soap) +{ register int status = soap->error; + int r = 1; + if (status == SOAP_STOP) + return status; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Sending back fault struct for error code %d\n", soap->error)); + soap->keep_alive = 0; /* to terminate connection */ + soap_set_fault(soap); +#ifndef WITH_NOIO +#ifndef WITH_LEAN + if (soap_valid_socket(soap->socket)) + { struct timeval timeout; + fd_set rfd, sfd; + timeout.tv_sec = 0; + timeout.tv_usec = 0; + FD_ZERO(&rfd); + FD_ZERO(&sfd); + FD_SET((SOAP_SOCKET)soap->socket, &rfd); + FD_SET((SOAP_SOCKET)soap->socket, &sfd); + r = select((SOAP_SOCKET)(soap->socket + 1), &rfd, &sfd, NULL, &timeout); + if (r > 0) + { if (!FD_ISSET((SOAP_SOCKET)soap->socket, &sfd) + || (FD_ISSET((SOAP_SOCKET)soap->socket, &rfd) + && recv((SOAP_SOCKET)soap->socket, soap->tmpbuf, 1, MSG_PEEK) < 0)) + r = 0; + } + } +#endif +#endif + if ((status != SOAP_EOF || (!soap->recv_timeout && !soap->send_timeout)) && r > 0) + { soap->error = SOAP_OK; + soap_serializeheader(soap); + soap_serializefault(soap); + soap_begin_count(soap); + if (soap->mode & SOAP_IO_LENGTH) + { soap_envelope_begin_out(soap); + soap_putheader(soap); + soap_body_begin_out(soap); + soap_putfault(soap); + soap_body_end_out(soap); + soap_envelope_end_out(soap); + } + if (soap_response(soap, status) + || soap_envelope_begin_out(soap) + || soap_putheader(soap) + || soap_body_begin_out(soap) + || soap_putfault(soap) + || soap_body_end_out(soap) + || soap_envelope_end_out(soap)) + return soap_closesock(soap); + soap_end_send(soap); + } + soap->error = status; + return soap_closesock(soap); +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_recv_fault(struct soap *soap) +{ register int status = soap->error; + DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Receiving SOAP Fault\n")); + soap->error = SOAP_OK; + if (soap_getfault(soap)) + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Error: soap_get_soapfault() failed. Is this a SOAP message at all?\n")); + *soap_faultcode(soap) = (soap->version == 2 ? "SOAP-ENV:Sender" : "SOAP-ENV:Client"); + soap->error = status; + soap_set_fault(soap); + } + else + { register const char *s = *soap_faultcode(soap); + if (!soap_match_tag(soap, s, "SOAP-ENV:Server") || !soap_match_tag(soap, s, "SOAP-ENV:Receiver")) + status = SOAP_SVR_FAULT; + else if (!soap_match_tag(soap, s, "SOAP-ENV:Client") || !soap_match_tag(soap, s, "SOAP-ENV:Sender")) + status = SOAP_CLI_FAULT; + else if (!soap_match_tag(soap, s, "SOAP-ENV:MustUnderstand")) + status = SOAP_MUSTUNDERSTAND; + else if (!soap_match_tag(soap, s, "SOAP-ENV:VersionMismatch")) + status = SOAP_VERSIONMISMATCH; + else + { DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Fault code %s\n", s)); + status = SOAP_FAULT; + } + if (soap_body_end_in(soap) + || soap_envelope_end_in(soap) + || soap_end_recv(soap)) + return soap_closesock(soap); + soap->error = status; + } + return soap_closesock(soap); +} +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_send_empty_response(struct soap *soap) +{ soap->count = 0; + if (soap_response(soap, SOAP_OK) || soap_end_send(soap)) + return soap_closesock(soap); + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOHTTP +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_recv_empty_response(struct soap *soap) +{ if (soap_begin_recv(soap) || soap_end_recv(soap)) + return soap_closesock(soap); + return SOAP_OK; +} +#endif +#endif + +/******************************************************************************/ +#ifndef WITH_NOIO +#ifndef PALM_1 +static const char* +soap_strerror(struct soap *soap) +{ register int err = soap->errnum; + if (err) + { +#ifndef WIN32 + return strerror(err); +#else + FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS, NULL, err, 0, (LPTSTR)&soap->errorstr, sizeof(soap->errorstr), NULL); + return soap->errorstr; +#endif + } + return "Operation interrupted or timed out"; +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_2 +static int +soap_set_error(struct soap *soap, const char *faultcode, const char *faultstring, const char *faultdetail, int soaperror) +{ *soap_faultcode(soap) = faultcode; + *soap_faultstring(soap) = faultstring; + if (faultdetail && *faultdetail) + { register const char **s = soap_faultdetail(soap); + if (s) + *s = faultdetail; + } + return soap->error = soaperror; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_sender_error(struct soap *soap, const char *faultstring, const char *faultdetail, int soaperror) +{ return soap_set_error(soap, soap->version == 2 ? "SOAP-ENV:Sender" : "SOAP-ENV:Client", faultstring, faultdetail, soaperror); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_set_receiver_error(struct soap *soap, const char *faultstring, const char *faultdetail, int soaperror) +{ return soap_set_error(soap, soap->version == 2 ? "SOAP-ENV:Receiver" : "SOAP-ENV:Server", faultstring, faultdetail, soaperror); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +static int +soap_copy_fault(struct soap *soap, const char *faultcode, const char *faultstring, const char *faultdetail) +{ char *s = NULL, *t = NULL; + if (faultstring) + s = soap_strdup(soap, faultstring); + if (faultdetail) + t = soap_strdup(soap, faultdetail); + return soap_set_error(soap, faultcode, s, t, SOAP_FAULT); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_sender_fault(struct soap *soap, const char *faultstring, const char *faultdetail) +{ return soap_copy_fault(soap, soap->version == 2 ? "SOAP-ENV:Sender" : "SOAP-ENV:Client", faultstring, faultdetail); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_receiver_fault(struct soap *soap, const char *faultstring, const char *faultdetail) +{ return soap_copy_fault(soap, soap->version == 2 ? "SOAP-ENV:Receiver" : "SOAP-ENV:Server", faultstring, faultdetail); +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +#ifndef WITH_NOSTDLIB +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_print_fault(struct soap *soap, FILE *fd) +{ if (soap->error) + { const char **s; + if (!*soap_faultcode(soap)) + soap_set_fault(soap); + fprintf(fd, "SOAP FAULT: %s\n\"%s\"\n", *soap_faultcode(soap), *soap_faultstring(soap)); + s = soap_faultdetail(soap); + if (s && *s) + fprintf(fd, "Detail: %s\n", *s); + } +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +#ifndef WITH_NOSTDLIB +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_print_fault_location(struct soap *soap, FILE *fd) +{ +#ifndef WITH_LEAN + int i, j, c1, c2; + if (soap->error && soap->buflen > 0) + { i = (int)soap->bufidx - 1; + if (i <= 0) + i = 0; + c1 = soap->buf[i]; + soap->buf[i] = '\0'; + if ((int)soap->buflen >= i + 1024) + j = i + 1023; + else + j = (int)soap->buflen - 1; + c2 = soap->buf[j]; + soap->buf[j] = '\0'; + fprintf(fd, "%s%c\n** HERE **\n", soap->buf, c1); + if (soap->bufidx < soap->buflen) + fprintf(fd, "%s\n", soap->buf + soap->bufidx); + soap->buf[i] = c1; + soap->buf[j] = c2; + } +#endif +} +#endif +#endif + +/******************************************************************************/ +#ifndef PALM_1 +SOAP_FMAC1 +int +SOAP_FMAC2 +soap_register_plugin_arg(struct soap *soap, int (*fcreate)(struct soap*, struct soap_plugin*, void*), void *arg) +{ register struct soap_plugin *p; + register int r; + if (!(p = (struct soap_plugin*)SOAP_MALLOC(soap, sizeof(struct soap_plugin)))) + return soap->error = SOAP_EOM; + p->id = NULL; + p->data = NULL; + p->fcopy = NULL; + p->fdelete = NULL; + r = fcreate(soap, p, arg); + if (!r && p->fdelete) + { p->next = soap->plugins; + soap->plugins = p; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Registered '%s' plugin\n", p->id)); + return SOAP_OK; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not register plugin '%s': plugin returned error %d (or fdelete callback not set)\n", p->id?p->id:"?", r)); + SOAP_FREE(soap, p); + return r; +} +#endif + +/******************************************************************************/ +#ifndef PALM_1 +static void * +fplugin(struct soap *soap, const char *id) +{ register struct soap_plugin *p; + for (p = soap->plugins; p; p = p->next) + if (p->id == id || !strcmp(p->id, id)) + return p->data; + return NULL; +} +#endif + +/******************************************************************************/ +#ifndef PALM_2 +SOAP_FMAC1 +void * +SOAP_FMAC2 +soap_lookup_plugin(struct soap *soap, const char *id) +{ return soap->fplugin(soap, id); +} +#endif + +/******************************************************************************/ +#ifdef __cplusplus +} +#endif + diff --git a/kresources/groupwise/soap/stdsoap2.h b/kresources/groupwise/soap/stdsoap2.h new file mode 100644 index 000000000..1f1255b5b --- /dev/null +++ b/kresources/groupwise/soap/stdsoap2.h @@ -0,0 +1,1952 @@ +/* + +stdsoap2.h 2.7.3 + +gSOAP runtime environment. + +gSOAP XML Web services tools +Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved. +This part of the software is released under one of the following licenses: +GPL, the gSOAP public license, or Genivia's license for commercial use. +-------------------------------------------------------------------------------- +Contributors: + +Wind River Systems, Inc., for the following additions (marked WR[...]) : + - vxWorks compatible + - Support for IPv6. +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +A commercial use license is available from Genivia, Inc., contact@genivia.com +-------------------------------------------------------------------------------- +*/ + +#ifdef WITH_SOAPDEFS_H +# include "soapdefs.h" /* include user-defined stuff */ +#endif + +#ifndef _THREAD_SAFE +# define _THREAD_SAFE +#endif + +#ifndef OPENSERVER +# ifndef _REENTRANT +# define _REENTRANT +# endif +#endif + +#ifndef SOAP_FMAC1 /* stdsoap2.h declaration macro */ +# define SOAP_FMAC1 +#endif + +#ifndef SOAP_FMAC2 /* stdsoap2.h declaration macro */ +# define SOAP_FMAC2 +#endif + +#ifndef SOAP_FMAC3 /* (de)serializer declaration macro */ +# define SOAP_FMAC3 +#endif + +#ifndef SOAP_FMAC3S /* string converter for (de)serializer declaration macro */ +# define SOAP_FMAC3S SOAP_FMAC3 +#endif + +#ifndef SOAP_FMAC4 /* (de)serializer declaration macro */ +# define SOAP_FMAC4 +#endif + +#ifndef SOAP_FMAC4S /* string converter for (de)serializer declaration macro */ +# define SOAP_FMAC4S SOAP_FMAC4 +#endif + +#ifndef SOAP_FMAC5 /* stub/skeleton declaration macro */ +# define SOAP_FMAC5 +#endif + +#ifndef SOAP_FMAC6 /* stub/skeleton declaration macro */ +# define SOAP_FMAC6 +#endif + +#ifndef SOAP_CMAC /* class declaration macro */ +# define SOAP_CMAC +#endif + +#ifndef SOAP_NMAC /* namespace table declaration macro */ +# define SOAP_NMAC +#endif + +#ifndef SOAP_SOURCE_STAMP +# define SOAP_SOURCE_STAMP(str) +#endif + +#ifdef WITH_LEANER +# ifndef WITH_LEAN +# define WITH_LEAN +# endif +#endif + +#ifdef WITH_LEAN +# ifdef WITH_COOKIES +# error "Cannot build WITH_LEAN code WITH_COOKIES enabled" +# endif +#endif + +#ifndef STDSOAP_H +#define STDSOAP_H + +#if defined(__vxworks) || defined(__VXWORKS__) +# define VXWORKS +#endif + +#ifdef _WIN32 +# ifndef WIN32 +# define WIN32 +# endif +#endif + +#ifdef UNDER_CE +# ifndef WIN32 +# define WIN32 +# endif +#endif + +#ifdef __BORLANDC__ +# ifdef __WIN32__ +# ifndef WIN32 +# define WIN32 +# endif +# endif +#endif + +#ifdef __CYGWIN__ +# ifndef CYGWIN +# define CYGWIN +# endif +#endif + +#ifdef __SYMBIAN32__ +# define SYMBIAN +# undef WIN32 +#endif + +#if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__) +# ifndef PALM +# define PALM +# endif +#endif + +#if defined(__hpux) +# ifndef HP_UX +# define HP_UX +# endif +#endif + +#ifdef __MVS__ +# ifndef OS390 +# define OS390 +# endif +#endif + +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# if defined(UNDER_CE) +# define WITH_LEAN +# define HAVE_SSCANF +# elif defined(WIN32) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# define SOAP_LONG_FORMAT "%I64d" +# define SOAP_ULONG_FORMAT "%I64u" +# elif defined(CYGWIN) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# elif defined(__APPLE__) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_TIMEGM +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# elif defined(_AIXVERSION_431) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# elif defined(HP_UX) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# elif defined(FREEBSD) || defined(__FreeBSD__) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_STRTOLL +# define HAVE_STRTOULL +# define HAVE_GETTIMEOFDAY +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# define SOAP_LONG_FORMAT "%qd" +# define SOAP_ULONG_FORMAT "%qu" +# elif defined(__VMS) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# elif defined(__GLIBC__) || defined(__GNU__) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_STRTOLL +# define HAVE_STRTOULL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_TIMEGM +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# define HAVE_ISNAN +# elif defined(__osf__) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_STRTOLL +# define HAVE_STRTOULL +# define HAVE_GETTIMEOFDAY +# define HAVE_SYS_TIMEB_H +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define __USE_STD_IOSTREAM +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# define SOAP_LONG_FORMAT "%ld" +# define SOAP_ULONG_FORMAT "%lu" +# elif defined(MAC_CARBON) +# define WITH_NOIO +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GETHOSTBYNAME_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# elif defined(PALM) +# define WITH_LEAN +# define HAVE_STRTOD /* strtod() is defined in palmFunctions.h */ +# include /* Needs to be included before unix headers */ +# include +# define IGNORE_STDIO_STUBS +# include +# define O_NONBLOCK FNONBIO +# include +# include "palmFunctions.h" +# elif defined(SYMBIAN) +# define WITH_LEAN +# define WITH_NONAMESPACES +# define HAVE_STRTOD /* use STRTOD since sscanf doesn't seem to work */ +# include +# include +# elif defined(VXWORKS) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_RAND_R +# define HAVE_PGMTIME_R +# define HAVE_PLOCALTIME_R +# define HAVE_MKTIME +# elif defined(OS390) +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MB +# else +/* Default asumptions on supported functions */ +# define HAVE_STRRCHR +# define HAVE_STRTOD +# define HAVE_SSCANF +# define HAVE_STRTOL +# define HAVE_STRTOUL +# define HAVE_SYS_TIMEB_H +# define HAVE_FTIME +# define HAVE_RAND_R +# define HAVE_GETHOSTBYNAME_R +# define HAVE_GMTIME_R +# define HAVE_LOCALTIME_R +# define HAVE_WCTOMB +# define HAVE_MBTOWC +# endif +#endif + +/* QNX does not have a working version of strtof */ +#if defined(__QNX__) || defined(QNX) +# undef HAVE_STRTOF +#endif + +#ifndef SOAP_LONG_FORMAT +# define SOAP_LONG_FORMAT "%lld" /* printf format for 64 bit ints */ +#endif + +#ifndef SOAP_ULONG_FORMAT +# define SOAP_ULONG_FORMAT "%llu" /* printf format for unsigned 64 bit ints */ +#endif + +#ifndef WITH_NOSTDLIB +# include +# ifndef PALM +# include +# include +# endif +# include +# include +#endif + +#if defined(__cplusplus) && !defined(WITH_LEAN) +# include +# include +#endif + +#ifdef WITH_NOHTTP +# ifndef WITH_NOIO +# define WITH_NOIO +# undef WITH_COOKIES +# endif +#endif + +#ifndef UNDER_CE +# ifndef PALM +# ifndef WITH_NOIO +# include +# include +# endif +# ifndef WITH_LEAN +# ifdef HAVE_SYS_TIMEB_H +# include /* for ftime() */ +# endif +# include +# endif +# endif +#endif + +#ifdef OPENSERVER +# include +# include +# include + extern int h_errno; +#endif + +#ifndef WITH_NOIO +# ifndef WIN32 +# ifndef PALM +# include +# ifdef VXWORKS +# include +# endif +# ifndef VXWORKS +# ifndef SYMBIAN +# include +# endif +# endif +# ifdef SUN_OS +# include /* SUN */ +# include /* SUN < 2.8 (?) */ +# endif +# ifdef VXWORKS +# include +# else +# include +# endif +# include +# ifdef OS390 +# include +# else +# include /* TCP_NODELAY */ +# endif +# include +# endif +# endif +#endif + +#ifdef WITH_FASTCGI +# include +#endif + +#ifdef WITH_OPENSSL +# define OPENSSL_NO_KRB5 +# include +# include +# include +# ifndef ALLOW_OLD_VERSIONS +# if (OPENSSL_VERSION_NUMBER < 0x00905100L) +# error "Must use OpenSSL 0.9.6 or later" +# endif +# endif +#endif + +#ifdef WITH_GZIP +# ifndef WITH_ZLIB +# define WITH_ZLIB +# endif +#endif + +#ifdef WITH_CASEINSENSITIVETAGS +# define SOAP_STRCMP soap_tag_cmp /* case insensitve XML element/attribute names */ +#else +# define SOAP_STRCMP strcmp /* case sensitive XML element/attribute names */ +#endif + +#ifdef WITH_ZLIB +# include +#endif + +#ifndef WITH_NOSTDLIB +# ifndef PALM +# include /* for isnan() */ +# endif +#endif + +#ifdef I_KNOW_WHAT_IM_DOING +#define DEBUG /* Uncomment to debug sending (in file SENT.log) receiving (in file RECV.log) and messages (in file TEST.log) */ +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WIN32 +# ifndef UNDER_CE +# include +# include +# endif +# include +/* # include */ /* Alternative: use winsock2 (not available with eVC) */ +/* WR[ */ +# ifdef WITH_IPV6 +# include +# include +# endif +#else +# ifdef VXWORKS +# include +# include +# include +# endif +/* ]WR */ +# ifndef WITH_NOIO +# ifndef PALM +# include +# include +# include +# include +# endif +# endif +#endif + +/* Portability: define SOAP_SOCKLEN_T */ +#if defined(SOCKLEN_T) +# define SOAP_SOCKLEN_T SOCKLEN_T +#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(_AIX) || defined(__NetBSD__) || defined(__DragonFly__) +# define SOAP_SOCKLEN_T socklen_t +#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(__osf__) || defined(VXWORKS) +# define SOAP_SOCKLEN_T int +#else +# define SOAP_SOCKLEN_T size_t +#endif + +#ifdef WIN32 +# define SOAP_SOCKET SOCKET +#else +# define SOAP_SOCKET int +# define closesocket(n) close(n) +#endif + +#define SOAP_INVALID_SOCKET (-1) +#define soap_valid_socket(n) ((n) != SOAP_INVALID_SOCKET) + +#if defined(SYMBIAN) +# define LONG64 long +# define ULONG64 unsigned LONG64 +#elif !defined(WIN32) || defined(__GLIBC__) || defined(__GNU__) +# ifndef LONG64 +# define LONG64 long long +# define ULONG64 unsigned LONG64 +# endif +#elif defined(UNDER_CE) +# define LONG64 __int64 +# define ULONG64 unsigned LONG64 +#elif defined(__BORLANDC__) +# define LONG64 __int64 +# define ULONG64 unsigned LONG64 +#endif + +#if defined(WIN32) +# define soap_int32 __int32 +#elif defined(SYMBIAN) +# define soap_int32 long +#elif defined(PALM) +# define soap_int32 Int32 +#else +# define soap_int32 int32_t +#endif + +#ifdef WIN32 +# define SOAP_ERANGE ERANGE +# define SOAP_EINTR WSAEINTR +# define SOAP_EAGAIN WSAEWOULDBLOCK +# define SOAP_EWOULDBLOCK WSAEWOULDBLOCK +# define SOAP_EINPROGRESS WSAEINPROGRESS +#else +# define SOAP_ERANGE ERANGE +# define SOAP_EINTR EINTR +# define SOAP_EAGAIN EAGAIN +# ifdef SYMBIAN +# define SOAP_EWOULDBLOCK 9898 +# define SOAP_EINPROGRESS 9899 +# else +# define SOAP_EWOULDBLOCK EWOULDBLOCK +# define SOAP_EINPROGRESS EINPROGRESS +# endif +#endif + +#ifdef WIN32 +# ifdef UNDER_CE +# define soap_errno GetLastError() +# define soap_socket_errno GetLastError() +# else +# define soap_errno GetLastError() +# define soap_socket_errno WSAGetLastError() +# endif +#else +# ifndef WITH_NOIO +# define soap_errno errno +# define soap_socket_errno errno +# else +# define soap_errno 0 +# define soap_socket_errno 0 +# endif +#endif + +#ifndef SOAP_BUFLEN +# ifdef WITH_UDP +# define SOAP_BUFLEN (65536) /* max UDP packet size */ +# else +# ifndef WITH_LEAN +# define SOAP_BUFLEN (65536) /* buffer length for socket packets, also used by gethostbyname_r so don't make this too small */ +# else +# define SOAP_BUFLEN (2048) +# endif +# endif +#endif +#ifndef SOAP_LABLEN +# ifndef WITH_LEAN +# define SOAP_LABLEN (256) /* initial look-aside buffer length */ +# else +# define SOAP_LABLEN (32) +# endif +#endif +#ifndef SOAP_PTRHASH +# ifndef WITH_LEAN +# define SOAP_PTRHASH (1024) /* size of pointer analysis hash table (must be power of 2) */ +# else +# define SOAP_PTRHASH (16) +# endif +#endif +#ifndef SOAP_IDHASH +# ifndef WITH_LEAN +# define SOAP_IDHASH (1999) /* prime size of hash table for parsed id/ref */ +# else +# define SOAP_IDHASH (19) /* 19, 199 */ +# endif +#endif +#ifndef SOAP_BLKLEN +# ifndef WITH_LEAN +# define SOAP_BLKLEN (256) /* size of blocks to collect long strings and XML attributes */ +# else +# define SOAP_BLKLEN (32) +# endif +#endif +#ifndef SOAP_TAGLEN +# ifndef WITH_LEAN +# define SOAP_TAGLEN (256) /* maximum length of XML element tag/attribute name or host/path name + 1 */ +# else +# define SOAP_TAGLEN (64) +# endif +#endif +#ifndef SOAP_HDRLEN +# ifndef WITH_LEAN +# define SOAP_HDRLEN (8192) /* maximum length of HTTP header line (must be >4096 to read cookies) */ +# else +# define SOAP_HDRLEN (1024) +# endif +#endif +#ifndef SOAP_MAXDIMS +# ifndef WITH_LEAN +# define SOAP_MAXDIMS (16) /* maximum array dimensions (array nestings) must be less than 64 to protect soap->tmpbuf */ +# else +# define SOAP_MAXDIMS (4) +# endif +#endif + +#ifndef SOAP_MAXLOGS +# define SOAP_MAXLOGS (3) /* max number of debug logs per struct soap environment */ +# define SOAP_INDEX_RECV (0) +# define SOAP_INDEX_SENT (1) +# define SOAP_INDEX_TEST (2) +#endif + +#ifndef SOAP_MAXKEEPALIVE +# define SOAP_MAXKEEPALIVE (100) /* max iterations to keep server connection alive */ +#endif + +#ifndef SOAP_MAXARRAYSIZE +# define SOAP_MAXARRAYSIZE (100000) /* "trusted" max size of inbound SOAP array for compound array allocation */ +#endif + +#ifdef VXWORKS +# ifdef __INCmathh +# include +# ifndef HAVE_ISNAN +# define HAVE_ISNAN +# endif +# define soap_isnan(num) isNan(num) +# endif +#endif + +#ifdef WIN32 +# include +# ifndef HAVE_ISNAN +# define HAVE_ISNAN +# endif +# define soap_isnan(num) _isnan(num) +#endif + +#ifdef SUN_OS +# define soap_isnan(n) isnan(n) +#endif + +#if !defined(HAVE_ISNAN) && (defined(_MATH_H) || defined(_MATH_INCLUDED)) +# define HAVE_ISNAN +#endif + +#ifndef soap_isnan +# ifdef HAVE_ISNAN +# define soap_isnan(n) isnan(n) +# else +# define soap_isnan(_) (0) +# endif +#endif + +extern const struct soap_double_nan { unsigned int n1, n2; } soap_double_nan; + +#ifdef VXWORKS +# ifndef FLT_MAX +# define FLT_MAX _ARCH_FLT_MAX +# endif +# ifndef DBL_MAX +# define DBL_MAX _ARCH_DBL_MAX +# endif +#endif + +#ifndef FLT_NAN +# ifdef HAVE_ISNAN +# define FLT_NAN (*(float*)&soap_double_nan) +# else +# define FLT_NAN (0.0) +# endif +#endif + +#ifndef FLT_PINFTY +# ifdef FLT_MAX +# define FLT_PINFTY FLT_MAX +# else +# ifdef HUGE_VAL +# define FLT_PINFTY (float)HUGE_VAL +# else +# ifdef FLOAT_MAX +# define FLT_PINFTY FLOAT_MAX +# else +# define FLT_PINFTY (3.40282347e+38F) +# endif +# endif +# endif +#endif + +#ifndef FLT_NINFTY +# define FLT_NINFTY (-FLT_PINFTY) +#endif + +#ifndef DBL_NAN +# ifdef HAVE_ISNAN +# define DBL_NAN (*(double*)&soap_double_nan) +# else +# define DBL_NAN (0.0) +# endif +#endif + +#ifndef DBL_PINFTY +# ifdef DBL_MAX +# define DBL_PINFTY DBL_MAX +# else +# ifdef HUGE_VAL +# define DBL_PINFTY (double)HUGE_VAL +# else +# ifdef DOUBLE_MAX +# define DBL_PINFTY DOUBLE_MAX +# else +# define DBL_PINFTY (1.7976931348623157e+308) +# endif +# endif +# endif +#endif + +#ifndef DBL_NINFTY +# define DBL_NINFTY (-DBL_PINFTY) +#endif + +#define soap_ispinfd(n) ((n) >= DBL_PINFTY) +#define soap_ispinff(n) ((n) >= FLT_PINFTY) +#define soap_isninfd(n) ((n) <= DBL_NINFTY) +#define soap_isninff(n) ((n) <= FLT_NINFTY) + +/* gSOAP error codes */ + +#define SOAP_EOF EOF +#define SOAP_ERR EOF +#define SOAP_OK 0 +#define SOAP_CLI_FAULT 1 +#define SOAP_SVR_FAULT 2 +#define SOAP_TAG_MISMATCH 3 +#define SOAP_TYPE 4 +#define SOAP_SYNTAX_ERROR 5 +#define SOAP_NO_TAG 6 +#define SOAP_IOB 7 +#define SOAP_MUSTUNDERSTAND 8 +#define SOAP_NAMESPACE 9 +/* #define SOAP_OBJ_MISMATCH 10 obsolete */ +#define SOAP_FATAL_ERROR 11 +#define SOAP_FAULT 12 +#define SOAP_NO_METHOD 13 +#define SOAP_GET_METHOD 14 +#define SOAP_EOM 15 +#define SOAP_NULL 16 +#define SOAP_MULTI_ID 17 +#define SOAP_MISSING_ID 18 +#define SOAP_HREF 19 +#define SOAP_UDP_ERROR 20 +#define SOAP_TCP_ERROR 21 +#define SOAP_HTTP_ERROR 22 +#define SOAP_SSL_ERROR 23 +#define SOAP_ZLIB_ERROR 24 +#define SOAP_DIME_ERROR 25 +#define SOAP_DIME_HREF 26 +#define SOAP_DIME_MISMATCH 27 +#define SOAP_DIME_END 28 +#define SOAP_MIME_ERROR 29 +#define SOAP_MIME_HREF 30 +#define SOAP_MIME_END 31 +#define SOAP_VERSIONMISMATCH 32 +#define SOAP_PLUGIN_ERROR 33 +#define SOAP_DATAENCODINGUNKNOWN 34 +#define SOAP_REQUIRED 35 +#define SOAP_PROHIBITED 36 +#define SOAP_OCCURS 37 +#define SOAP_LENGTH 38 + +#define soap_xml_error_check(e) ((e) == SOAP_TAG_MISMATCH || (e) == SOAP_TAG_END || (e) == SOAP_SYNTAX_ERROR || (e) == SOAP_NAMESPACE || (e) == SOAP_MULTI_ID || (e) == SOAP_MISSING_ID || (e) == SOAP_REQUIRED || (e) == SOAP_PROHIBITED || (e) == SOAP_OCCURS || (e) == SOAP_LENGTH || (e) == SOAP_NULL || (e) == SOAP_HREF) +#define soap_soap_error_check(e) ((e) == SOAP_CLI_FAULT || (e) == SOAP_SVR_FAULT || (e) == SOAP_VERSIONMISMATCH || (e) == SOAP_MUSTUNDERSTAND || (e) == SOAP_FAULT || (e) == SOAP_NO_METHOD) +#define soap_tcp_error_check(e) ((e) == SOAP_EOF || (e) == SOAP_TCP_ERROR) +#define soap_ssl_error_check(e) ((e) == SOAP_SSL_ERROR) +#define soap_zlib_error_check(e) ((e) == SOAP_ZLIB_ERROR) +#define soap_http_error_check(e) ((e) == SOAP_HTTP_ERROR || (e) == SOAP_GET_METHOD || ((e) >= 100 && (e) < 600)) + +/* gSOAP HTTP response status codes 100 to 599 are reserved */ + +/* Codes 600 to 999 are user definable */ + +/* Exceptional gSOAP HTTP response status codes >= 1000 */ + +#define SOAP_STOP 1000 /* No HTTP response */ +#define SOAP_HTML 1001 /* Custom HTML response */ +#define SOAP_FILE 1002 /* Custom file-based response */ + +/* gSOAP HTTP request status codes */ + +#define SOAP_POST 1003 +#define SOAP_GET 1104 + +/* gSOAP DIME */ + +#define SOAP_DIME_CF 0x01 +#define SOAP_DIME_ME 0x02 +#define SOAP_DIME_MB 0x04 +#define SOAP_DIME_VERSION 0x08 /* DIME version 1 */ +#define SOAP_DIME_MEDIA 0x10 +#define SOAP_DIME_ABSURI 0x20 + +/* gSOAP ZLIB */ + +#define SOAP_ZLIB_NONE 0x00 +#define SOAP_ZLIB_DEFLATE 0x01 +#define SOAP_ZLIB_INFLATE 0x02 +#define SOAP_ZLIB_GZIP 0x02 + +/* gSOAP transport, connection, and content encoding modes */ + +typedef soap_int32 soap_mode; + +#define SOAP_IO 0x00000003 /* IO mask */ +#define SOAP_IO_FLUSH 0x00000000 /* flush output immediately, no buffering */ +#define SOAP_IO_BUFFER 0x00000001 /* buffer output in packets of size SOAP_BUFLEN */ +#define SOAP_IO_STORE 0x00000002 /* store entire output to determine length for transport */ +#define SOAP_IO_CHUNK 0x00000003 /* use HTTP chunked transfer AND buffer packets */ + +#define SOAP_IO_UDP 0x00000004 +#define SOAP_IO_LENGTH 0x00000008 +#define SOAP_IO_KEEPALIVE 0x00000010 + +#define SOAP_ENC_LATIN 0x00800020 /* iso-8859-1 encoding */ +#define SOAP_ENC_XML 0x00000040 /* plain XML encoding, no HTTP header */ +#define SOAP_ENC_DIME 0x00000080 +#define SOAP_ENC_MIME 0x00000100 +#define SOAP_ENC_MTOM 0x00000200 +#define SOAP_ENC_ZLIB 0x00000400 +#define SOAP_ENC_SSL 0x00000800 + +#define SOAP_ENC 0x00000FFF /* IO and ENC mask */ + +#define SOAP_XML_STRICT 0x00001000 /* strict validation */ +#define SOAP_XML_CANONICAL 0x00002000 /* C14N canonical XML */ +#define SOAP_XML_TREE 0x00004000 +#define SOAP_XML_GRAPH 0x00008000 +#define SOAP_XML_NIL 0x00010000 +#define SOAP_XML_DOM 0x00020000 +#define SOAP_XML_SEC 0x00040000 /* reserved for WS security */ + +#define SOAP_C_NOIOB 0x00100000 +#define SOAP_C_UTFSTRING 0x00200000 +#define SOAP_C_MBSTRING 0x00400000 + +#define SOAP_DOM_TREE 0x01000000 +#define SOAP_DOM_NODE 0x02000000 + +#define SOAP_IO_DEFAULT SOAP_IO_FLUSH + +/* SSL client/server authentication settings */ + +#define SOAP_SSL_NO_AUTHENTICATION 0x00 /* for testing purposes */ +#define SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION 0x01 /* client requires server to authenticate */ +#define SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION 0x02 /* server requires client to authenticate */ + +#define SOAP_SSL_DEFAULT SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION + +/* */ + +#define SOAP_BEGIN 0 +#define SOAP_IN_ENVELOPE 2 +#define SOAP_IN_HEADER 3 +#define SOAP_END_HEADER 4 +#define SOAP_NO_BODY 5 +#define SOAP_IN_BODY 6 +#define SOAP_END_BODY 7 +#define SOAP_END_ENVELOPE 8 +#define SOAP_END 9 + +/* DEBUG macros */ + +#ifndef WITH_LEAN +# ifdef DEBUG +# ifndef SOAP_DEBUG +# define SOAP_DEBUG +# endif +# endif +#endif + +#ifdef SOAP_DEBUG +# define SOAP_MALLOC(soap, size) soap_track_malloc(soap, __FILE__, __LINE__, size) +# define SOAP_FREE(soap, ptr) soap_track_free(soap, __FILE__, __LINE__, ptr) +#endif + +#ifndef SOAP_MALLOC /* use libc malloc */ +# define SOAP_MALLOC(soap, size) malloc(size) +#endif + +#ifndef SOAP_FREE /* use libc free */ +# define SOAP_FREE(soap, ptr) free(ptr) +#endif + +#ifdef SOAP_DEBUG +# ifndef SOAP_MESSAGE +# define SOAP_MESSAGE fprintf +# endif +# ifndef DBGLOG +# define DBGLOG(DBGFILE, CMD) \ +{ if (soap)\ + { if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\ + soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\ + if (soap->fdebug[SOAP_INDEX_##DBGFILE])\ + { FILE *fdebug = soap->fdebug[SOAP_INDEX_##DBGFILE];\ + CMD;\ + fflush(fdebug);\ + }\ + }\ +} +# endif +# ifndef DBGMSG +# define DBGMSG(DBGFILE, MSG, LEN) \ +{ if (soap)\ + { if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\ + soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\ + if (soap->fdebug[SOAP_INDEX_##DBGFILE])\ + { fwrite((MSG), 1, (LEN), soap->fdebug[SOAP_INDEX_##DBGFILE]);\ + fflush(soap->fdebug[SOAP_INDEX_##DBGFILE]);\ + }\ + }\ +} +# endif +#else +# define DBGLOG(DBGFILE, CMD) +# define DBGMSG(DBGFILE, MSG, LEN) +#endif + +/* UCS-4 requires 32 bits (0-7FFFFFFF, the sign bit is used by gSOAP to distinguish XML entities) */ +typedef soap_int32 soap_wchar; + +struct Namespace +{ const char *id; + const char *ns; + const char *in; + char *out; +}; + +struct soap_nlist +{ struct soap_nlist *next; + unsigned int level; + short index; /* corresponding entry in ns mapping table */ + char *ns; /* only set when parsed ns URI is not in the ns mapping table */ + char id[1]; /* the actual string value flows into the allocated region below this struct */ +}; + +struct soap_blist +{ struct soap_blist *next; + char *ptr; + size_t size; +}; + +struct soap_array +{ void *__ptr; + int __size; +}; + +/* pointer serialization management */ +struct soap_plist +{ struct soap_plist *next; + const void *ptr; + const struct soap_array *array; + int type; + int id; + char mark1; + char mark2; +}; + +#ifdef SOAP_DEBUG +struct soap_mlist +{ struct soap_mlist *next; + const void *ptr; + const char *file; + int line; + short live; +}; +#endif + +/* class allocation list */ +struct soap_clist +{ struct soap_clist *next; + void *ptr; + int type; + int size; + void (*fdelete)(struct soap_clist*); +}; + +struct soap_attribute +{ struct soap_attribute *next; + char *value; + size_t size; + char *ns; + short visible; + char name[1]; /* the actual name string flows into the allocated region below this struct */ +}; + +struct soap_cookie +{ struct soap_cookie *next; + char *name; + char *value; + char *domain; + char *path; + long expire; /* client-side: local time to expire; server-side: seconds to expire */ + unsigned int version; + short secure; + short session; /* server-side */ + short env; /* server-side: got cookie from client and should not be (re)send */ + short modified; /* server-side: client cookie was modified and should be send */ +}; + +#ifdef __cplusplus +SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_next_multipart(struct soap_multipart*); + +class soap_multipart_iterator +{ public: + struct soap_multipart *content; + bool operator==(const soap_multipart_iterator& iter) const + { return content == iter.content; } + bool operator!=(const soap_multipart_iterator& iter) const + { return content != iter.content; } + struct soap_multipart &operator*() const + { return *content; } + soap_multipart_iterator &operator++() + { content = soap_next_multipart(content); return *this; } + soap_multipart_iterator() : content(NULL) + { } + soap_multipart_iterator(struct soap_multipart *p) : content(p) + { } +}; +#endif + +#ifndef WITH_LEANER +struct soap_dime +{ size_t count; + size_t size; + size_t chunksize; + size_t buflen; + char flags; + char *ptr; + const char *id; + const char *type; + const char *options; + struct soap_multipart *list; /* list of DIME attachments received */ + struct soap_multipart *first, *last; /* temporary in/out queue */ +#ifdef __cplusplus + soap_multipart_iterator begin() + { soap_multipart_iterator iter(list); return iter; }; + soap_multipart_iterator end() + { soap_multipart_iterator iter(NULL); return iter; }; +#endif +}; +#endif + +#ifndef WITH_LEANER +struct soap_mime +{ char *boundary; /* MIME boundary */ + const char *start; /* MIME start ID */ + struct soap_multipart *list; /* list of MIME attachments received */ + struct soap_multipart *first, *last; /* temporary in/out queue */ +#ifdef __cplusplus + soap_multipart_iterator begin() + { soap_multipart_iterator iter(list); return iter; }; + soap_multipart_iterator end() + { soap_multipart_iterator iter(NULL); return iter; }; +#endif +}; +#endif + +#ifndef WITH_LEANER +/* RFC2045 MIME content transfer encodings */ +enum soap_mime_encoding +{ SOAP_MIME_NONE, + SOAP_MIME_7BIT, + SOAP_MIME_8BIT, + SOAP_MIME_BINARY, + SOAP_MIME_QUOTED_PRINTABLE, + SOAP_MIME_BASE64, + SOAP_MIME_IETF_TOKEN, + SOAP_MIME_X_TOKEN +}; +#endif + +#ifndef WITH_LEANER +/* DIME/MIME multipart list */ +struct soap_multipart +{ struct soap_multipart *next; + char *ptr; /* points to raw data content */ + size_t size; /* size of data content */ + const char *id; /* DIME/MIME content ID or form data name */ + const char *type; /* DIME/MIME type (MIME type format) */ + const char *options; /* DIME options */ + enum soap_mime_encoding encoding; /* MIME Content-Transfer-Encoding */ + const char *location; /* MIME Content-Location (optional) */ + const char *description; /* MIME Content-Description (optional) */ +#ifdef __cplusplus + typedef soap_multipart_iterator iterator; +#endif +}; +#endif + +#ifndef WITH_LEANER +/* attachment DIME and MTOM XOP forwarding */ +struct soap_xlist +{ struct soap_xlist *next; + unsigned char **ptr; + int *size; + char *id; + char **type; + char **options; +}; +#endif + +#ifndef WITH_LEANER +struct soap_dom_attribute +{ struct soap_dom_attribute *next; + const char *nstr; + char *name; + char *data; + wchar_t *wide; + struct soap *soap; +#ifdef __cplusplus + struct soap_dom_attribute &set(const char *nstr, const char *name); /* set namespace and name */ + struct soap_dom_attribute &set(const char *data); /* set data */ + void unlink(); + soap_dom_attribute(); + soap_dom_attribute(struct soap *soap); + soap_dom_attribute(struct soap *soap, const char *nstr, const char *name, const char *data); + ~soap_dom_attribute(); +#endif +}; +#endif + +#ifndef WITH_LEANER +#ifdef __cplusplus +class soap_dom_iterator +{ public: + struct soap_dom_element *elt; + const char *nstr; + const char *name; + int type; + bool operator==(const soap_dom_iterator&) const; + bool operator!=(const soap_dom_iterator&) const; + struct soap_dom_element &operator*() const; + soap_dom_iterator &operator++(); + soap_dom_iterator(); + soap_dom_iterator(struct soap_dom_element*); + ~soap_dom_iterator(); +}; +#endif +#endif + +#ifndef WITH_LEANER +struct soap_dom_element +{ struct soap_dom_element *next; /* next sibling */ + struct soap_dom_element *prnt; /* parent */ + struct soap_dom_element *elts; /* first child element */ + struct soap_dom_attribute *atts; /* first child attribute */ + const char *nstr; /* namespace string */ + char *name; /* element tag name */ + char *data; /* element content data (with SOAP_C_UTFSTRING flag set) */ + wchar_t *wide; /* element content data */ + int type; /* optional: serialized C/C++ data type */ + void *node; /* optional: pointer to serialized C/C++ data */ + struct soap *soap; +#ifdef __cplusplus + typedef soap_dom_iterator iterator; + struct soap_dom_element &set(const char *nstr, const char *name); + struct soap_dom_element &set(const char *data); + struct soap_dom_element &set(void *node, int type); + struct soap_dom_element &add(struct soap_dom_element*); + struct soap_dom_element &add(struct soap_dom_element&); + struct soap_dom_element &add(struct soap_dom_attribute*); + struct soap_dom_element &add(struct soap_dom_attribute&); + soap_dom_iterator begin(); + soap_dom_iterator end(); + soap_dom_iterator find(const char *nstr, const char *name); + soap_dom_iterator find(int type); + void unlink(); + soap_dom_element(); + soap_dom_element(struct soap *soap); + soap_dom_element(struct soap *soap, const char *nstr, const char *name); + soap_dom_element(struct soap *soap, const char *nstr, const char *name, const char *data); + soap_dom_element(struct soap *soap, const char *nstr, const char *name, void *node, int type); + ~soap_dom_element(); +#endif +}; +#endif + +#if defined(__cplusplus) && !defined(WITH_LEAN) +} +extern std::ostream &operator<<(std::ostream&, const struct soap_dom_element&); +extern std::istream &operator>>(std::istream&, struct soap_dom_element&); +extern "C" { +#endif + +struct soap +{ short version; /* 1 = SOAP1.1 and 2 = SOAP1.2 (set automatically from namespace URI in nsmap table) */ + short copy; /* 1 = copy of another soap struct */ + soap_mode mode; + soap_mode imode; + soap_mode omode; + const char *float_format; /* points to user-definable format string for floats (<1024 chars) */ + const char *double_format; /* points to user-definable format string for doubles (<1024 chars) */ + const char *dime_id_format; /* points to user-definable format string for integer DIME id ( 0, gives socket recv timeout in seconds, < 0 in usec */ + int send_timeout; /* when > 0, gives socket send timeout in seconds, < 0 in usec */ + int connect_timeout; /* when > 0, gives socket connect() timeout in seconds, < 0 in usec */ + int accept_timeout; /* when > 0, gives socket accept() timeout in seconds, < 0 in usec */ + int socket_flags; /* socket recv() and send() flags, e.g. set to MSG_NOSIGNAL to disable sigpipe */ + int connect_flags; /* connect() SOL_SOCKET sockopt flags, e.g. set to SO_DEBUG to debug socket */ + int bind_flags; /* bind() SOL_SOCKET sockopt flags, e.g. set to SO_REUSEADDR to enable reuse */ + int accept_flags; /* accept() SOL_SOCKET sockopt flags */ + const struct Namespace *namespaces; /* Pointer to global namespace mapping table */ + struct Namespace *local_namespaces; /* Local namespace mapping table */ + struct soap_nlist *nlist; /* namespace stack */ + struct soap_blist *blist; /* block allocation stack */ + struct soap_clist *clist; /* class instance allocation list */ + void *alist; /* memory allocation list */ + struct soap_ilist *iht[SOAP_IDHASH]; + struct soap_plist *pht[SOAP_PTRHASH]; + struct SOAP_ENV__Header *header; + struct SOAP_ENV__Fault *fault; + void *user; /* to pass user-defined data */ + struct soap_plugin *plugins; /* linked list of plug-in data */ + char *userid; /* HTTP Basic authorization userid */ + char *passwd; /* HTTP Basic authorization passwd */ + int (*fpost)(struct soap*, const char*, const char*, int, const char*, const char*, size_t); + int (*fget)(struct soap*); + int (*fposthdr)(struct soap*, const char*, const char*); + int (*fresponse)(struct soap*, int, size_t); + int (*fparse)(struct soap*); + int (*fparsehdr)(struct soap*, const char*, const char*); + int (*fresolve)(struct soap*, const char*, struct in_addr* inaddr); + int (*fconnect)(struct soap*, const char*, const char*, int); + int (*fdisconnect)(struct soap*); + int (*fclosesocket)(struct soap*, SOAP_SOCKET); + int (*fshutdownsocket)(struct soap*, SOAP_SOCKET, int); + int (*fopen)(struct soap*, const char*, const char*, int); + int (*faccept)(struct soap*, int, struct sockaddr*, int *n); + int (*fclose)(struct soap*); + int (*fsend)(struct soap*, const char*, size_t); + size_t (*frecv)(struct soap*, char*, size_t); + int (*fpoll)(struct soap*); + void (*fseterror)(struct soap*, const char **c, const char **s); + int (*fignore)(struct soap*, const char*); + int (*fserveloop)(struct soap*); + void *(*fplugin)(struct soap*, const char*); +#ifndef WITH_LEANER + int (*fprepareinit)(struct soap*); + int (*fpreparesend)(struct soap*, const char*, size_t); + int (*fpreparerecv)(struct soap*, const char*, size_t); + void *(*fdimereadopen)(struct soap*, void*, const char*, const char*, const char*); + void *(*fdimewriteopen)(struct soap*, const char*, const char*, const char*); + void (*fdimereadclose)(struct soap*, void*); + void (*fdimewriteclose)(struct soap*, void*); + size_t (*fdimeread)(struct soap*, void*, char*, size_t); + int (*fdimewrite)(struct soap*, void*, const char*, size_t); +#endif + int master; + int socket; +#if defined(__cplusplus) && !defined(WITH_LEAN) + std::ostream *os; + std::istream *is; +#else + void *os; /* preserve alignment */ + void *is; /* preserve alignment */ +#endif +#ifndef UNDER_CE + int sendfd; + int recvfd; +#else + FILE *sendfd; + FILE *recvfd; +#endif +#ifdef WIN32 + char errorstr[256]; /* buf for FormatMessage() */ +#endif + size_t bufidx; /* index in soap.buf[] */ + size_t buflen; /* length of soap.buf[] content */ + soap_wchar ahead; /* parser lookahead */ + short cdata; /* CDATA parser state */ + short body; + unsigned int level; /* XML nesting level */ + size_t count; /* message length counter */ + size_t length; /* message length as set by HTTP header */ +#ifdef WITH_FAST + char *labbuf; /* look-aside buffer */ + size_t lablen; /* look-aside buffer allocated length */ + size_t labidx; /* look-aside buffer index to available part */ +#endif + char buf[SOAP_BUFLEN];/* send and receive buffer */ + char tmpbuf[1024]; /* in/output buffer for HTTP headers, simpleType values, attribute names, and DIME >=1024 bytes */ + char msgbuf[1024]; /* output buffer for (error) messages <=1024 bytes */ + char tag[SOAP_TAGLEN]; + char id[SOAP_TAGLEN]; + char href[SOAP_TAGLEN]; + char type[SOAP_TAGLEN]; + char arrayType[SOAP_TAGLEN]; + char arraySize[SOAP_TAGLEN]; + char arrayOffset[SOAP_TAGLEN]; + short other; + short root; + short position; + int positions[SOAP_MAXDIMS]; + struct soap_attribute *attributes; /* attribute list */ + short encoding; + short mustUnderstand; + short null; + short ns; + short part; + short alloced; + short peeked; + short keep_alive; + size_t chunksize; + size_t chunkbuflen; + char endpoint[SOAP_TAGLEN]; + char path[SOAP_TAGLEN]; + char host[SOAP_TAGLEN]; + char *action; + char *authrealm; /* HTTP authentication realm */ + char *prolog; /* XML declaration prolog */ + unsigned long ip; /* IP number */ + int port; /* port number */ + unsigned int max_keep_alive; + const char *proxy_host; /* Proxy Server host name */ + int proxy_port; /* Proxy Server port (default = 8080) */ + const char *proxy_userid; /* Proxy Authorization user name */ + const char *proxy_passwd; /* Proxy Authorization password */ + int status; /* -1 when request, else error code to be returned by server */ + int error; + int errmode; + int errnum; + unsigned long idnum; +#ifndef WITH_LEANER + struct soap_dom_element *dom; + struct soap_dime dime; + struct soap_mime mime; + struct soap_xlist *xlist; +#endif +#if !defined(WITH_LEAN) || defined(SOAP_DEBUG) + const char *logfile[SOAP_MAXLOGS]; + FILE *fdebug[SOAP_MAXLOGS]; + struct soap_mlist *mht[SOAP_PTRHASH]; +#endif +#ifndef WITH_LEAN + struct soap_cookie *cookies; + const char *cookie_domain; + const char *cookie_path; + int cookie_max; +#endif +#ifndef WITH_NOIO +#ifdef WITH_IPV6 + struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */ +#else + struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */ +#endif + size_t peerlen; +#endif +#ifdef WITH_OPENSSL + int (*fsslauth)(struct soap*); + int (*fsslverify)(int, X509_STORE_CTX*); + BIO *bio; + SSL *ssl; + SSL_CTX *ctx; + short require_server_auth; + short require_client_auth; + short rsa; /* when set, use RSA instead of DH */ + const char *keyfile; + const char *password; + const char *dhfile; + const char *cafile; + const char *capath; + const char *randfile; + SSL_SESSION *session; + char session_host[SOAP_TAGLEN]; + int session_port; +#endif +#ifdef WITH_ZLIB + short zlib_state; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_INFLATE */ + short zlib_in; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */ + short zlib_out; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */ + z_stream d_stream; /* decompression stream */ + char z_buf[SOAP_BUFLEN]; /* buffer */ + size_t z_buflen; + unsigned short z_level; /* compression level to be used (0=none, 1=fast to 9=best) */ + uLong z_crc; /* internal gzip crc */ + float z_ratio_in; /* detected compression ratio compressed_length/length of inbound message */ + float z_ratio_out; /* detected compression ratio compressed_length/length of outbound message */ +#endif +/* WR[ */ +#ifdef WMW_RPM_IO + void *rpmreqid; +#endif /* WMW_RPM_IO */ +/* ]WR */ +}; + +struct soap_code_map +{ long code; + const char *string; +}; + +/* forwarding list */ +struct soap_flist +{ struct soap_flist *next; + int type; + void *ptr; + unsigned int level; + void (*fcopy)(struct soap*, int, int, void*, const void*, size_t); +}; + +/* id-ref forwarding list */ +struct soap_ilist +{ struct soap_ilist *next; + int type; + size_t size; + void *link; + void *copy; + struct soap_flist *flist; + void *ptr; + unsigned int level; + char id[1]; /* the actual id string value flows into the allocated region below this struct */ +}; + +struct soap_plugin +{ struct soap_plugin *next; + const char *id; + void *data; + int (*fcopy)(struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src); + void (*fdelete)(struct soap *soap, struct soap_plugin *p); /* should delete fields of plugin only and not free(p) */ +}; + +#ifndef WITH_NONAMESPACES +extern SOAP_NMAC struct Namespace namespaces[]; +#endif + +#ifndef WITH_LEAN +# define soap_get0(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx]) +# define soap_get1(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx++]) +#else +soap_wchar soap_get0(struct soap*); +soap_wchar soap_get1(struct soap*); +#endif + +#define soap_revget1(soap) ((soap)->bufidx--) +#define soap_unget(soap, c) ((soap)->ahead = c) +#define soap_register_plugin(soap, plugin) soap_register_plugin_arg(soap, plugin, NULL) +#define soap_imode(soap, n) ((soap)->mode = (soap)->imode = (n)) +#define soap_set_imode(soap, n) ((soap)->mode = (soap)->imode |= (n)) +#define soap_clr_imode(soap, n) ((soap)->mode = (soap)->imode &= ~(n)) +#define soap_omode(soap, n) ((soap)->mode = (soap)->omode = (n)) +#define soap_set_omode(soap, n) ((soap)->mode = (soap)->omode |= (n)) +#define soap_clr_omode(soap, n) ((soap)->mode = (soap)->omode &= ~(n)) +#define soap_set_mode(soap, n) ((soap)->mode = ((soap)->imode |= (n), (soap)->omode |= (n))) +#define soap_clr_mode(soap, n) ((soap)->mode = ((soap)->imode &= ~(n), (soap)->omode &= ~(n))) +#define soap_destroy(soap) soap_delete((soap), NULL) + +#ifdef HAVE_STRRCHR +# define soap_strrchr(s, t) strrchr(s, t) +#else + SOAP_FMAC1 char* SOAP_FMAC2 soap_strrchr(const char *s, int t); +#endif + +#ifdef HAVE_STRTOL +# define soap_strtol(s, t, b) strtol(s, t, b) +#else + SOAP_FMAC1 long SOAP_FMAC2 soap_strtol(const char *s, char **t, int b); +#endif + +#ifdef HAVE_STRTOUL +# define soap_strtoul(s, t, b) strtoul(s, t, b) +#else + SOAP_FMAC1 unsigned long SOAP_FMAC2 soap_strtoul(const char *s, char **t, int b); +#endif + +#ifdef HAVE_RANDOM +# define soap_random (int)random() +#else +# define soap_random rand() +#endif + +#ifdef WITH_NOIDREF +# define soap_embedded(s, p, t) (0) +# define soap_id_lookup(s, i, p, t, n, k) (p) +# define soap_id_forward(s, h, p, st, tt, n, k, fc) (p) +# define soap_reference(s, a, t) (1) +# define soap_array_reference(s, p, a, n, t) (1) +# define soap_embed(s, p, a, n, t, pp) (0) +# define soap_embedded_id(s, i, p, t) (i) +# define soap_is_embedded(s, p) (0) +# define soap_is_single(s, p) (1) +# define soap_lookup_type(s, i) (0) +# define soap_getindependent(s) (0) +# define soap_putindependent(s) (0) +# define soap_getelement(s, n) (n) +# define soap_putelement(s, p, t, i, n) (0) +# define soap_markelement(s, p, n) (0) +#endif + +SOAP_FMAC1 void SOAP_FMAC2 soap_fault(struct soap*); +SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultcode(struct soap*); +SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultstring(struct soap*); +SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultdetail(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_serializeheader(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_putheader(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_getheader(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_serializefault(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_putfault(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_getfault(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_poll(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_connect_command(struct soap*, int, const char*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_connect(struct soap*, const char*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_bind(struct soap*, const char*, int, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_accept(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_accept(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_server_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*, const char*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_client_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_puthttphdr(struct soap*, int status, size_t count); + +SOAP_FMAC1 const char* SOAP_FMAC2 soap_get_header_attribute(struct soap*, const char*, const char*); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_key(char*, size_t, const char*); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_val(char*, size_t, const char*); + +SOAP_FMAC1 size_t SOAP_FMAC2 soap_hash(const char*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_endpoint(struct soap*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_flush_raw(struct soap*, const char*, size_t); +SOAP_FMAC1 int SOAP_FMAC2 soap_flush(struct soap*); +SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_get(struct soap*); +SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getchar(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_tag_cmp(const char*, const char*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_fault(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_sender_fault(struct soap*, const char*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_receiver_fault(struct soap*, const char*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_set_sender_error(struct soap*, const char*, const char*, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_set_receiver_error(struct soap*, const char*, const char*, int); + +SOAP_FMAC1 int SOAP_FMAC2 soap_send_raw(struct soap*, const char*, size_t); +SOAP_FMAC1 int SOAP_FMAC2 soap_recv_raw(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_recv(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_send(struct soap*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_send2(struct soap*, const char*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_send3(struct soap*, const char*, const char*, const char*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_pututf8(struct soap*, unsigned long); +SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getutf8(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_putbase64(struct soap*, const unsigned char*, int); +SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_getbase64(struct soap*, int*, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_puthex(struct soap*, const unsigned char*, int); +SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_gethex(struct soap*, int*); + +#ifndef WITH_LEANER +SOAP_FMAC1 int SOAP_FMAC2 soap_xop_forward(struct soap*, unsigned char**, int*, char**, char**, char**); +SOAP_FMAC1 int SOAP_FMAC2 soap_dime_forward(struct soap*, unsigned char**, int*, char**, char**, char**); +#endif + +#ifndef WITH_NOIDREF +SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup_id(struct soap*, void *p, int t, struct soap_plist**); +SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup(struct soap*, const void *p, int t, struct soap_plist**); +SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_enter(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**); +SOAP_FMAC1 int SOAP_FMAC2 soap_array_pointer_lookup(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**); +SOAP_FMAC1 int SOAP_FMAC2 soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type); +SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_lookup(struct soap*, const char*); +SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_enter(struct soap*, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_resolve(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_embedded(struct soap*, const void *p, int t); +SOAP_FMAC1 int SOAP_FMAC2 soap_reference(struct soap*, const void *p, int t); +SOAP_FMAC1 int SOAP_FMAC2 soap_array_reference(struct soap*, const void *p, const struct soap_array *a, int n, int t); +SOAP_FMAC1 int SOAP_FMAC2 soap_embedded_id(struct soap*, int id, const void *p, int t); +SOAP_FMAC1 int SOAP_FMAC2 soap_is_embedded(struct soap*, struct soap_plist*); +SOAP_FMAC1 int SOAP_FMAC2 soap_is_single(struct soap*, struct soap_plist*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_embedded(struct soap*, struct soap_plist*); +#endif + +SOAP_FMAC1 void SOAP_FMAC2 soap_begin_count(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_begin_send(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_end_send(struct soap*); + +SOAP_FMAC1 const struct soap_code_map* SOAP_FMAC2 soap_code(const struct soap_code_map*, const char *str); +SOAP_FMAC1 long SOAP_FMAC2 soap_int_code(const struct soap_code_map*, const char *str, long other); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_str_code(const struct soap_code_map*, long code); + +SOAP_FMAC1 int SOAP_FMAC2 soap_getline(struct soap*, char*, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_begin_recv(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_end_recv(struct soap*); + +SOAP_FMAC1 void* SOAP_FMAC2 soap_malloc(struct soap*, size_t); +SOAP_FMAC1 void SOAP_FMAC2 soap_dealloc(struct soap*, void*); +SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 soap_link(struct soap*, void*, int, int, void (*fdelete)(struct soap_clist*)); +SOAP_FMAC1 void SOAP_FMAC2 soap_unlink(struct soap*, const void*); +SOAP_FMAC1 void SOAP_FMAC2 soap_free(struct soap*); + +SOAP_FMAC1 void* SOAP_FMAC2 soap_track_malloc(struct soap*, const char*, int, size_t); +SOAP_FMAC1 void SOAP_FMAC2 soap_track_free(struct soap*, const char*, int, void*); + +#ifndef WITH_NOIDREF +SOAP_FMAC1 int SOAP_FMAC2 soap_lookup_type(struct soap*, const char *id); +SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k); +SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, const void*, size_t)); +#endif +SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*)); +SOAP_FMAC1 void SOAP_FMAC2 soap_fcopy(struct soap *soap, int st, int tt, void *p, const void *q, size_t n); + +SOAP_FMAC1 int SOAP_FMAC2 soap_size(const int *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_getoffsets(const char *, const int *, int *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_getsize(const char *, const char *, int *); +SOAP_FMAC1 int SOAP_FMAC2 soap_getsizes(const char *, int *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_getposition(const char *, int *); + +SOAP_FMAC1 char* SOAP_FMAC2 soap_putsize(struct soap*, const char *, int); +SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizesoffsets(struct soap*, const char *, const int *, const int *, int); +SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizes(struct soap*, const char *, const int *, int); +SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffset(struct soap*, int); +SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffsets(struct soap*, const int *, int); + +SOAP_FMAC1 int SOAP_FMAC2 soap_closesock(struct soap*); + +SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new(void); +SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new1(soap_mode); +SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new2(soap_mode, soap_mode); +SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy(struct soap*); +SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy_context(struct soap*,struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_init(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_init1(struct soap*, soap_mode); +SOAP_FMAC1 void SOAP_FMAC2 soap_init2(struct soap*, soap_mode, soap_mode); +SOAP_FMAC1 void SOAP_FMAC2 soap_done(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_cleanup(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_begin(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_end(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_delete(struct soap*, void*); + +#ifdef SOAP_DEBUG +SOAP_FMAC1 void SOAP_FMAC2 soap_set_recv_logfile(struct soap*, const char*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_sent_logfile(struct soap*, const char*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_test_logfile(struct soap*, const char*); +SOAP_FMAC1 void SOAP_FMAC2 soap_close_logfiles(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_open_logfile(struct soap*, int); +#endif + +SOAP_FMAC1 const char* SOAP_FMAC2 soap_token(struct soap*); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_value(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_match_tag(struct soap*, const char*, const char *); +SOAP_FMAC1 int SOAP_FMAC2 soap_match_array(struct soap*, const char*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_element(struct soap*, const char*, int, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_out(struct soap*, const char *tag, int id, const char *type); +SOAP_FMAC1 int SOAP_FMAC2 soap_array_begin_out(struct soap*, const char *tag, int id, const char *type, const char *offset); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_ref(struct soap*, const char *tag, int id, int href); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_href(struct soap*, const char *tag, int id, const char *ref, const char *val); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_null(struct soap*, const char *tag, int id, const char *type); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_result(struct soap*, const char *tag); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_out(struct soap*, const char *tag); +SOAP_FMAC1 int SOAP_FMAC2 soap_element_start_end_out(struct soap*, const char *tag); + +SOAP_FMAC1 int SOAP_FMAC2 soap_attribute(struct soap*, const char*, const char*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_in(struct soap*, const char *tag, int nillable); + +SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_in(struct soap*, const char *tag); + +SOAP_FMAC1 int SOAP_FMAC2 soap_peek_element(struct soap*); + +SOAP_FMAC1 void SOAP_FMAC2 soap_retry(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_revert(struct soap*); + +SOAP_FMAC1 char* SOAP_FMAC2 soap_strdup(struct soap*, const char*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_string_out(struct soap*, const char *s, int flag); +SOAP_FMAC1 char* SOAP_FMAC2 soap_string_in(struct soap*, int, long, long); + +#ifndef WITH_LEANER +SOAP_FMAC1 int SOAP_FMAC2 soap_wstring_out(struct soap*, const wchar_t *s, int flag); +SOAP_FMAC1 wchar_t* SOAP_FMAC2 soap_wstring_in(struct soap*, int, long, long); +#endif + +SOAP_FMAC1 int SOAP_FMAC2 soap_match_namespace(struct soap*, const char *, const char*, int n1, int n2); + +SOAP_FMAC1 int SOAP_FMAC2 soap_set_namespaces(struct soap*, struct Namespace*); + +SOAP_FMAC1 void SOAP_FMAC2 soap_pop_namespace(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_push_namespace(struct soap*, const char *,const char *); + +SOAP_FMAC1 int SOAP_FMAC2 soap_new_block(struct soap*); +SOAP_FMAC1 void* SOAP_FMAC2 soap_push_block(struct soap*, size_t); +SOAP_FMAC1 void SOAP_FMAC2 soap_pop_block(struct soap*); +SOAP_FMAC1 size_t SOAP_FMAC2 soap_size_block(struct soap*, size_t); +SOAP_FMAC1 char* SOAP_FMAC2 soap_first_block(struct soap*); +SOAP_FMAC1 char* SOAP_FMAC2 soap_next_block(struct soap*); +SOAP_FMAC1 size_t SOAP_FMAC2 soap_block_size(struct soap*); +SOAP_FMAC1 char* SOAP_FMAC2 soap_save_block(struct soap*, char*, int); +SOAP_FMAC1 void SOAP_FMAC2 soap_end_block(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_out(struct soap*); +SOAP_FMAC1 int soap_envelope_end_out(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_in(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_end_in(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_out(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_out(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_in(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_in(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_recv_header(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_response(struct soap*, int); + +SOAP_FMAC1 int SOAP_FMAC2 soap_send_empty_response(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_recv_empty_response(struct soap*); + +SOAP_FMAC1 int SOAP_FMAC2 soap_send_fault(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_recv_fault(struct soap*); + +#ifndef WITH_NOSTDLIB +SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault(struct soap*, FILE*); +SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault_location(struct soap*, FILE*); +#endif + +SOAP_FMAC1 int SOAP_FMAC2 soap_s2byte(struct soap*, const char*, char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2short(struct soap*, const char*, short*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2int(struct soap*, const char*, int*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2long(struct soap*, const char*, long*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2LONG64(struct soap*, const char*, LONG64*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2float(struct soap*, const char*, float*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2double(struct soap*, const char*, double*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedByte(struct soap*, const char*, unsigned char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedShort(struct soap*, const char*, unsigned short*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedInt(struct soap*, const char*, unsigned int*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedLong(struct soap*, const char*, unsigned long*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2ULONG64(struct soap*, const char*, ULONG64*); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2string(struct soap*, const char*, char**); +SOAP_FMAC1 int SOAP_FMAC2 soap_s2QName(struct soap*, const char*, char**); + +#ifndef WITH_LEAN +SOAP_FMAC1 int SOAP_FMAC2 soap_s2dateTime(struct soap*, const char*, time_t*); +SOAP_FMAC1 char* SOAP_FMAC2 soap_s2base64(struct soap*, const unsigned char*, char*, size_t); +SOAP_FMAC1 char* SOAP_FMAC2 soap_s2hex(struct soap*, const unsigned char*, char*, size_t); +#endif + +SOAP_FMAC1 const char* SOAP_FMAC2 soap_byte2s(struct soap*, char); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_short2s(struct soap*, short); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_int2s(struct soap*, int); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_long2s(struct soap*, long); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_LONG642s(struct soap*, LONG64); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_float2s(struct soap*, float); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_double2s(struct soap*, double); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedByte2s(struct soap*, unsigned char); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedShort2s(struct soap*, unsigned short); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedInt2s(struct soap*, unsigned int); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedLong2s(struct soap*, unsigned long); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_ULONG642s(struct soap*, ULONG64); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_QName2s(struct soap*, const char*); + +#ifndef WITH_LEAN +SOAP_FMAC1 const char* SOAP_FMAC2 soap_dateTime2s(struct soap*, time_t); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_base642s(struct soap*, const char*, char*, size_t, int*); +SOAP_FMAC1 const char* SOAP_FMAC2 soap_hex2s(struct soap*, const char*, char*, size_t, int*); +#endif + + +SOAP_FMAC1 int* SOAP_FMAC2 soap_inint(struct soap*, const char *tag, int *p, const char *, int); +SOAP_FMAC1 char* SOAP_FMAC2 soap_inbyte(struct soap*, const char *tag, char *p, const char *, int); +SOAP_FMAC1 long* SOAP_FMAC2 soap_inlong(struct soap*, const char *tag, long *p, const char *, int); +SOAP_FMAC1 LONG64* SOAP_FMAC2 soap_inLONG64(struct soap*, const char *tag, LONG64 *p, const char *, int); +SOAP_FMAC1 short* SOAP_FMAC2 soap_inshort(struct soap*, const char *tag, short *p, const char *, int); +SOAP_FMAC1 float* SOAP_FMAC2 soap_infloat(struct soap*, const char *tag, float *p, const char *, int); +SOAP_FMAC1 double* SOAP_FMAC2 soap_indouble(struct soap*, const char *tag, double *p, const char *, int); +SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_inunsignedByte(struct soap*, const char *tag, unsigned char *p, const char *, int); +SOAP_FMAC1 unsigned short* SOAP_FMAC2 soap_inunsignedShort(struct soap*, const char *tag, unsigned short *p, const char *, int); +SOAP_FMAC1 unsigned int* SOAP_FMAC2 soap_inunsignedInt(struct soap*, const char *tag, unsigned int *p, const char *, int); +SOAP_FMAC1 unsigned long* SOAP_FMAC2 soap_inunsignedLong(struct soap*, const char *tag, unsigned long *p, const char *, int); +SOAP_FMAC1 ULONG64* SOAP_FMAC2 soap_inULONG64(struct soap*, const char *tag, ULONG64 *p, const char *, int); +SOAP_FMAC1 char** SOAP_FMAC2 soap_instring(struct soap*, const char *tag, char **p, const char *, int, int, long, long); +SOAP_FMAC1 char** SOAP_FMAC2 soap_inliteral(struct soap*, const char *tag, char **p); + +#ifndef WITH_LEAN +SOAP_FMAC1 time_t* SOAP_FMAC2 soap_indateTime(struct soap*, const char *tag, time_t *p, const char *, int); +#endif + +#ifndef WITH_LEANER +SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwstring(struct soap*, const char *tag, wchar_t **p, const char *, int, long, long); +SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwliteral(struct soap*, const char *tag, wchar_t **p); +#endif + +SOAP_FMAC1 int SOAP_FMAC2 soap_outbyte(struct soap*, const char *tag, int id, const char *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outshort(struct soap*, const char *tag, int id, const short *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outint(struct soap*, const char *tag, int id, const int *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outlong(struct soap*, const char *tag, int id, const long *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outLONG64(struct soap*, const char *tag, int id, const LONG64 *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outfloat(struct soap*, const char *tag, int id, const float *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outdouble(struct soap*, const char *tag, int id, const double *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedByte(struct soap*, const char *tag, int id, const unsigned char *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedShort(struct soap*, const char *tag, int id, const unsigned short *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedInt(struct soap*, const char *tag, int id, const unsigned int *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedLong(struct soap*, const char *tag, int id, const unsigned long *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outULONG64(struct soap*, const char *tag, int id, const ULONG64 *p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outstring(struct soap*, const char *tag, int id, char *const*p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outliteral(struct soap*, const char *tag, char *const*p); + +#ifndef WITH_LEAN +SOAP_FMAC1 int SOAP_FMAC2 soap_outdateTime(struct soap*, const char *tag, int id, const time_t *p, const char *, int); +#endif + +#ifndef WITH_LEANER +SOAP_FMAC1 int SOAP_FMAC2 soap_outwstring(struct soap*, const char *tag, int id, wchar_t *const*p, const char *, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_outwliteral(struct soap*, const char *tag, wchar_t *const*p); +#endif + +#ifndef WITH_LEANER +SOAP_FMAC1 int SOAP_FMAC2 soap_attachment(struct soap *, const char*, int, const void*, const struct soap_array*, const char*, const char*, const char*, int, const char*, int); +SOAP_FMAC1 int SOAP_FMAC2 soap_move(struct soap*, long); +SOAP_FMAC1 size_t SOAP_FMAC2 soap_tell(struct soap*); +SOAP_FMAC1 char* SOAP_FMAC2 soap_dime_option(struct soap*, unsigned short, const char*); +SOAP_FMAC1 int SOAP_FMAC2 soap_getdimehdr(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_getdime(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_putdimehdr(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_putdime(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_getmimehdr(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_getmime(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_putmimehdr(struct soap*, struct soap_multipart*); +SOAP_FMAC1 int SOAP_FMAC2 soap_putmime(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_dime(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_mime(struct soap*, const char *boundary, const char *start); +SOAP_FMAC1 void SOAP_FMAC2 soap_clr_dime(struct soap*); +SOAP_FMAC1 void SOAP_FMAC2 soap_clr_mime(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_set_dime_attachment(struct soap*, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option); +SOAP_FMAC1 int SOAP_FMAC2 soap_set_mime_attachment(struct soap*, char *ptr, size_t size, enum soap_mime_encoding encoding, const char *type, const char *id, const char *location, const char *description); +SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_next_multipart(struct soap_multipart*); +#endif + +SOAP_FMAC1 int SOAP_FMAC2 soap_register_plugin_arg(struct soap*, int (*fcreate)(struct soap*, struct soap_plugin*, void*), void*); +SOAP_FMAC1 void* SOAP_FMAC2 soap_lookup_plugin(struct soap*, const char*); + +SOAP_FMAC1 const char* SOAP_FMAC2 soap_attr_value(struct soap *soap, const char *name, int flag); +SOAP_FMAC1 int SOAP_FMAC2 soap_set_attr(struct soap *soap, const char *name, const char *value); +SOAP_FMAC1 void SOAP_FMAC2 soap_clr_attr(struct soap *soap); + +#ifdef WITH_COOKIES +SOAP_FMAC1 size_t SOAP_FMAC2 soap_encode_cookie(const char*, char*, size_t); +SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_set_cookie(struct soap*, const char*, const char*, const char*, const char*); +SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_cookie(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern char* SOAP_FMAC2 soap_cookie_value(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern char* SOAP_FMAC2 soap_env_cookie_value(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern long SOAP_FMAC2 soap_cookie_expire(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_expire(struct soap*, const char*, long, const char*, const char*); +SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_session(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern int SOAP_FMAC2 soap_clr_cookie_session(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern void SOAP_FMAC2 soap_clr_cookie(struct soap*, const char*, const char*, const char*); +SOAP_FMAC1 extern int SOAP_FMAC2 soap_getenv_cookies(struct soap*); +SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_copy_cookies(struct soap*); +SOAP_FMAC1 extern void SOAP_FMAC2 soap_free_cookies(struct soap*); +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/kresources/groupwise/soap/stl.h b/kresources/groupwise/soap/stl.h new file mode 100644 index 000000000..649f471e5 --- /dev/null +++ b/kresources/groupwise/soap/stl.h @@ -0,0 +1,43 @@ +/* + +gSOAP XML Web services tools +Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved. + +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +*/ + +#import "stldeque.h" +#import "stllist.h" +#import "stlvector.h" +#import "stlset.h" diff --git a/kresources/groupwise/soap/stldeque.h b/kresources/groupwise/soap/stldeque.h new file mode 100644 index 000000000..ab0a9d102 --- /dev/null +++ b/kresources/groupwise/soap/stldeque.h @@ -0,0 +1,41 @@ +/* + +gSOAP XML Web services tools +Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved. + +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +*/ + +#include +template class std::deque; diff --git a/kresources/groupwise/soap/stllist.h b/kresources/groupwise/soap/stllist.h new file mode 100644 index 000000000..bcb7916b9 --- /dev/null +++ b/kresources/groupwise/soap/stllist.h @@ -0,0 +1,41 @@ +/* + +gSOAP XML Web services tools +Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved. + +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +*/ + +#include +template class std::list; diff --git a/kresources/groupwise/soap/stlset.h b/kresources/groupwise/soap/stlset.h new file mode 100644 index 000000000..5174e6b04 --- /dev/null +++ b/kresources/groupwise/soap/stlset.h @@ -0,0 +1,41 @@ +/* + +gSOAP XML Web services tools +Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved. + +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +*/ + +#include +template class std::set; diff --git a/kresources/groupwise/soap/stlvector.h b/kresources/groupwise/soap/stlvector.h new file mode 100644 index 000000000..4ae714c60 --- /dev/null +++ b/kresources/groupwise/soap/stlvector.h @@ -0,0 +1,41 @@ +/* + +gSOAP XML Web services tools +Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved. + +-------------------------------------------------------------------------------- +gSOAP public license. + +The contents of this file are subject to the gSOAP Public License Version 1.3 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at +http://www.cs.fsu.edu/~engelen/soaplicense.html +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. + +The Initial Developer of the Original Code is Robert A. van Engelen. +Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved. +-------------------------------------------------------------------------------- +GPL license. + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, MA 02111-1307 USA + +Author contact information: +engelen@genivia.com / engelen@acm.org +-------------------------------------------------------------------------------- +*/ + +#include +template class std::vector; diff --git a/kresources/groupwise/soap/typemap.dat b/kresources/groupwise/soap/typemap.dat new file mode 100644 index 000000000..5ff31a5c8 --- /dev/null +++ b/kresources/groupwise/soap/typemap.dat @@ -0,0 +1,143 @@ +# typemap.dat +# +# Use this file to define namespace prefix and type bindings for +# the generated header files by the 'wsdl2h' tool. typemap.dat is the +# default file processed by 'wsdl2h' to customize its output. You can use +# wsdl2h option -t to specify an alternate file. +# +# XML namespace prefix bindings can be provided to override the default +# choice of the ns1, ns2, ... prefixes generated by wsdl2h. It is highly +# recommended to provide namespace prefixes for your project's XML +# namespaces. In this way, changes to the WSDL (or newer releases of +# wsdl2h) will have a minimal impact on coding. +# Bindings for namespace prefixes are of the form: +# prefix = "URI" +# For example, to bind the 'wsse' prefix to the WS-Security extensions: +# wsse = "http://schemas.xmlsoap.org/ws/2002/04/secext" +# +# Type bindings can by provided to bind XML schema types to C/C++ types +# for your project. +# Type bindings are of the form: +# prefix__type = declaration | use | ptr-use +# where 'declaration' introduces the type in the header file, 'use' +# specifies how the type is used directly, 'ptr-use' specifies how the +# type is used as a pointer type. +# For example: +# xsd__string = | char* | char* +# After enabling this line, all XSD strings will be mapped to char*. Note +# that the 'declaration' part is empty in this case. +# +# Member data and functions can be provided to extend a generated struct +# or class. +# Class and struct extensions are of the form: +# prefix__type = $ member-declaration +# For example, to add a constructor and destructor to class myns__record: +# myns__record = $ myns__record(); +# myns__record = $ ~myns__record(); +# +# Any other material to be included in the generated header file can be +# provided by enclosing the text within brackets [ and ]. Brackets MUST +# appear at the start of a new line. +# For example, to include a note: +#[ +#// TODO: Don't forget to bind the namespace prefixes! +#] +# This comment appears as the first line in the generated header file. +# +#------------------------------------------------------------------------------- +#gSOAP XML Web services tools +#Copyright (C) 2004-2005, Robert van Engelen, Genivia Inc. All Rights Reserved. +#This software is released under one of the following two licenses: +#GPL or Genivia's license for commercial use. +#------------------------------------------------------------------------------- +#GPL license. +# +#This program is free software; you can redistribute it and/or modify it under +#the terms of the GNU General Public License as published by the Free Software +#Foundation; either version 2 of the License, or (at your option) any later +#version. +# +#This program is distributed in the hope that it will be useful, but WITHOUT ANY +#WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +#You should have received a copy of the GNU General Public License along with +#this program; if not, write to the Free Software Foundation, Inc., 59 Temple +#Place, Suite 330, Boston, MA 02111-1307 USA +# +#Author contact information: +#engelen@genivia.com / engelen@acm.org +#------------------------------------------------------------------------------- +#A commercial use license is available from Genivia, Inc., contact@genivia.com +#------------------------------------------------------------------------------- + +[ +// Reminder: Modify typemap.dat to customize the header file generated by wsdl2h +] + +# For WhiteMesa interoperability testing round 2: + +i = "http://www.soapinterop.org/" +s = "http://www.soapinterop.org/xsd" + +# Amazon Web Services: + +aws = "urn:PI/DevCentral/SoapService" + +# MTOM xop and xmime + +xop = +xmime = +xmlmime = + +xmime__contentType = | char* | char* +xmlmime__contentType = | char* | char* + +# WS-Addressing + +wsa = + +# Bindings for WS-* protocols: + +dsig = "http://www.w3.org/2000/09/xmldsig#" +xenc = "http://www.w3.org/2001/04/xmlenc#" +wsrp = "http://schemas.xmlsoap.org/rp/" +wsse = "http://schemas.xmlsoap.org/ws/2002/04/secext" +wsa3 = "http://schemas.xmlsoap.org/ws/2003/03/addressing" +wsp = "http://schemas.xmlsoap.org/ws/2004/09/policy" +wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + +# Remember: type bindings are given on a single line. +# Example XML schema and C/C++ type bindings: + +xsd__int = | int + +# Novell GroupWise +ngw = "http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" +ngwt = "http://schemas.novell.com/2005/01/GroupWise/types" +ngwm = "http://schemas.novell.com/2005/01/GroupWise/methods" +ngwe = "http://schemas.novell.com/2005/01/GroupWise/events" +xsd__dateTime = | char* | char* + +# With SOAP encoded arrays, the SOAP-ENC:arrayType attribute is defined +# but we really don't need it because we never use it + +SOAP_ENC__arrayType = | char* | char* + +# To use regular char* strings instead of std::string, use: + +# xsd__string = | char* | char* + +# WS-Policy imports wsu:Id + +wsu__Id = typedef char *wsu__Id; | wsu__Id | wsu__Id + +# To use regular char* strings serialized with xsi:type attributes, use: + +# xsd__string = typedef char *xsd__string; | xsd__string | xsd__string + +# More examples: + +# xsd__boolean = enum xsd__boolean { false_, true_ }; | enum xsd__boolean + +# xsd__base64Binary = class xsd__base64Binary { unsigned char *__ptr; int __size; }; | xsd__base64Binary | xsd__base64Binary diff --git a/kresources/groupwise/soap/types.xsd b/kresources/groupwise/soap/types.xsd new file mode 100644 index 000000000..d0416f8e1 --- /dev/null +++ b/kresources/groupwise/soap/types.xsd @@ -0,0 +1,1782 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Return the sent items id if this returnSentItemsId is true. The returnSentItemsId will be the first + id returned in the list. This is the id of the item that is created in the sent items + (a.k.a. outbox, itemSource=sent) folder. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The deltaInfo structure contains pointers or sequence numbers into a dynamic list. + count: + Input: The desired number of items to be returned in one read. + A count of "-1" means to return all the items in the list. + If omitted, all the items are returned. + Output: The actual number of items returned. + firstSequence: + Input: The sequence or position to start the read. + Output: The first valid sequence in the list. + lastSequence: + Input: N/A + Output: The last sequence number successfully read. + lastTimePORebuild: + The last time the administrator rebuilt the post office. A post office rebuild + resets all the sequence numbers. If a rebuild occurs, a resync is required before + new deltas can be applied to a local list. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FilterGroup comprises FilterOp "and", "or" or "not" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The number of seconds from GMT (UTC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Currently there is only one MessageBody part. The MessageBody part is + the text plain message body. The HTML message body will be an + attachment with a name "text.htm". The HTML message body can have + related part attachments. They are related if they come immediatelly + after the "text.htm" attachment and they have a "contentId" element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is the same logic as iCalendar (RFC 2445). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A calendar item will have opened, accepted and decliened (not deleted) + A box entry item will have opened and deleted + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The unique identifier is a application defined + string to uniquely identify an item. The string + can optionally consist of two parts. The first + part identifies a unique existence of an item. + The second part of the string optionally specifies + instance information. The first and second part of + the ID are separated by an '@'. For this reason + neither the first nor second part can contain an + '@' symbol. + + To determine whether or not two items are the + same item, the consumer of this API should + compare the first part of the ids of the two + items (i.e. all of the id up to the @ symbol). + + + + + + + + + + + + + + + + + + + + + + + + The UUID is the unique user ID on a given + email system. This is used in various + places to indicate that a sender or recipient + is an user internal to the collaboration + system instead of an external user (i.e. + internet address). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1