00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifdef WIN32
00018 #pragma warning (disable : 4786)
00019 #endif
00020
00021 #if !defined(AXIS_URIMAPPING_H__INCLUDED_)
00022 #define AXIS_URIMAPPING_H__INCLUDED_
00023
00024 enum URITYPE { URI_XSI, URI_XSD, URI_ENC, URI_ENVELOPE, URI_UNKNOWN};
00025 #include <map>
00026 #include <string>
00027 #include <axis/server/GDefine.h>
00028
00029 using namespace std;
00030
00031
00032
00033
00034
00035
00036
00037
00038 class URIMapping
00039 {
00040 public:
00041 static void Initialize();
00042 static map<AxisXMLString, URITYPE> m_sURIMap;
00043 static volatile bool m_bInit;
00044 URIMapping();
00045 virtual ~URIMapping();
00046 static URITYPE Map(const AxisXMLCh* uri);
00047 };
00048
00049 #endif