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

SoapEnvVersions.hpp

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

Generated on Tue May 17 02:30:31 2005 for AxisC++ by doxygen1.2.18