Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

SoapEnvVersions.hpp

00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003  *
00004  *   Licensed under the Apache License, Version 2.0 (the "License");
00005  *   you may not use this file except in compliance with the License.
00006  *   You may obtain a copy of the License at
00007  *
00008  *       http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  *   Unless required by applicable law or agreed to in writing, software
00011  *   distributed under the License is distributed on an "AS IS" BASIS,
00012  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *   See the License for the specific language governing permissions and
00014  *   limitations under the License.
00015  *
00016  *
00017  * @author Roshan Weerasuriya (roshan@opensource.lk, roshan@jkcs.slt.lk)
00018  *
00019  */
00020 
00021 /* SoapEnvVersions.h:*/
00022 
00023 #include "GDefine.hpp"
00024 
00025 #ifdef WIN32
00026 #pragma warning (disable : 4786)
00027 #endif
00028 
00029 #ifndef __SOAPENVVERSIONS_H_OF_AXIS_INCLUDED___
00030 #define __SOAPENVVERSIONS_H_OF_AXIS_INCLUDED___
00031 
00032 /*
00033  * Here SKW stands for SoapKeyWord. This is a internal naming convension
00034  * for Axis C++.
00035  */
00036 typedef enum SOAP_WORDSTag 
00037 {
00038     SKW_ENVELOPE=0, /* this should always be 0 */
00039     SKW_HEADER,
00040     SKW_BODY,
00041     SKW_MUSTUNDERSTAND,
00042     SKW_ACTOR,
00043     SKW_ENCODING_STYLE,
00044     SKW_FAULT,
00045     SKW_FAULT_CODE,
00046     SKW_FAULT_STRING,
00047     SKW_FAULT_ACTOR,
00048     SKW_DETAIL,
00049     SKW_MULTIREF,
00050     
00051     SKW_TYPE,
00052     SKW_ARRAYTYPE,
00053     SKW_HREF,
00054     SKW_ID,
00055 
00056     SOAP_WORDS_LAST /*this should be the number of entries in this enum */
00057 } SOAP_WORDS;
00058 
00059 typedef enum SOAP_VERSIONTag 
00060 {
00061     SOAP_VER_1_1=0,
00062     SOAP_VER_1_2,
00063 
00064     VERSION_LAST
00065 } SOAP_VERSION;
00066 
00067 struct SoapEnvVersionsStruct 
00068 {    
00069     const AxisChar* pchNamespaceUri;
00070     const AxisChar* pchPrefix;
00071     const AxisChar* pchWords[SOAP_WORDS_LAST];
00072 };
00073 
00074 #endif
00075 

Generated on Fri Dec 3 18:43:42 2004 for AxisC++ by doxygen1.2.18