www.pudn.com > EasySoap++-0.6.1.rar > SOAPNamespaces.h
/*
* EasySoap++ - A C++ library for SOAP (Simple Object Access Protocol)
* Copyright (C) 2001 David Crowley; SciTegic, Inc.
*
* 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; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: SOAPNamespaces.h,v 1.5 2002/05/20 16:56:11 jgorlick Exp $
*/
#ifndef __SOAPNamesSpaces_h__
#define __SOAPNamesSpaces_h__
BEGIN_EASYSOAP_NAMESPACE
/**
*
*/
class EASYSOAP_EXPORT SOAPEnc
{
public:
static const char *base;
//
// for locating the document root
static const SOAPQName root;
//
// For array encodings.
static const SOAPQName Array;
static const SOAPQName arrayType;
static const SOAPQName offset;
static const SOAPQName position;
//
// This was for before there was a base64
// type in the XML Schema
static const SOAPQName base64;
};
/**
*
*/
class EASYSOAP_EXPORT SOAPEnv
{
public:
static const char *base;
static const SOAPQName Body;
static const SOAPQName Header;
static const SOAPQName Envelope;
static const SOAPQName Fault;
static const SOAPQName encodingStyle;
//
// For headers
static const SOAPQName mustUnderstand;
static const SOAPQName actor;
};
/**
*
*/
class EASYSOAP_EXPORT XMLSchema2001
{
public:
static const char *xsi;
static const char *xsd;
static const SOAPQName type;
static const SOAPQName nil;
//
//// some basic types
static const SOAPQName string;
static const SOAPQName boolean;
static const SOAPQName decimal;
static const SOAPQName float_;
static const SOAPQName double_;
static const SOAPQName duration;
static const SOAPQName dateTime;
static const SOAPQName time;
static const SOAPQName date;
static const SOAPQName base64Binary;
static const SOAPQName hexBinary;
//
//// derived types
static const SOAPQName integer;
static const SOAPQName nonPositiveInteger;
static const SOAPQName long_;
static const SOAPQName int_;
static const SOAPQName short_;
static const SOAPQName byte;
static const SOAPQName nonNegativeInteger;
static const SOAPQName unsignedLong;
static const SOAPQName unsignedInt;
static const SOAPQName unsignedShort;
static const SOAPQName unsignedByte;
static const SOAPQName positiveInteger;
};
/**
*
*/
class EASYSOAP_EXPORT XMLSchema1999
{
public:
static const char *xsi;
static const char *xsd;
static const SOAPQName type;
static const SOAPQName null;
};
class EASYSOAP_EXPORT CWMP
{
public:
static const char *base;
static const SOAPQName fault;
};
END_EASYSOAP_NAMESPACE
#endif // __SOAPNamesSpaces_h__