Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

axiom_soap_const.h

00001 /*
00002  * Copyright 2004,2005 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  #ifndef AXIOM_SOAP_CONST_H
00018  #define AXIOM_SOAP_CONST_H
00019  
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028 
00034 typedef enum soap_version
00035 {
00036     AXIOM_SOAP_VERSION_NOT_SET = 0,
00037     
00038     AXIOM_SOAP11,
00039     
00040     AXIOM_SOAP12    
00041 }axiom_soap_version;
00042 
00043 
00044 
00047 #define AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI "http://schemas.xmlsoap.org/soap/envelope/"
00048 
00049 #define AXIOM_SOAP11_ATTR_ACTOR "actor"
00050 
00051 #define AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME "faultcode"
00052 
00053 #define AXIOM_SOAP11_SOAP_FAULT_STRING_LOCAL_NAME "faultstring"
00054 
00055 #define AXIOM_SOAP11_SOAP_FAULT_ACTOR_LOCAL_NAME "faultactor"
00056 
00057 #define AXIOM_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
00058 
00059 #define AXIOM_SOAP11_CONTENT_TYPE "text/xml"
00060 
00061 #define AXIOM_SOAP11_FAULT_CODE_SENDER "Client"
00062 
00063 #define AXIOM_SOAP11_FAULT_CODE_RECEIVER "Server"
00064 
00065 #define AXIOM_SOAP11_SOAP_ACTOR_NEXT "http://schemas.xmlsoap.org/soap/actor/next"
00066 
00067 
00070 #define AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI "http://www.w3.org/2003/05/soap-envelope"
00071 
00072 #define AXIOM_SOAP12_SOAP_ROLE "role"
00073 
00074 #define AXIOM_SOAP12_SOAP_RELAY "relay"
00075 
00076 #define AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME "Code"
00077 
00078 #define AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME "Subcode"
00079 
00080 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME "Value"
00081 
00082 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_VERSION_MISMATCH "VersionMismatch"
00083 
00084 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_MUST_UNDERSTAND "MustUnderstant"
00085 
00086 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_DATA_ENCODING_UKNOWN "DataEncodingUnknown"
00087 
00088 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_SENDER "Sender"
00089 
00090 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_RECEIVER "Receiver"
00091 
00094 #define AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME "Reason"
00095 
00096 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LOCAL_NAME "Text"
00097 
00098 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME "lang"
00099 
00100 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_URI "http://www.w3.org/XML/1998/namespace"
00101 
00102 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX "xml"
00103 
00104 #define AXIOM_SOAP12_SOAP_FAULT_NODE_LOCAL_NAME "Node"
00105 
00106 #define AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME "Detail"
00107 
00108 #define AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME "Role"
00109 
00110 #define AXIOM_SOAP12_CONTENT_TYPE "application/soap+xml"
00111 
00112 #define AXIOM_SOAP12_FAULT_CODE_SENDER "Sender"
00113 
00114 #define AXIOM_SOAP12_FAULT_CODE_RECEIVER "Receiver"
00115 
00116 #define AXIOM_SOAP12_SOAP_ROLE_NEXT "http://www.w3.org/2003/05/soap-envelope/role/next"
00117 
00118 #define AXIOM_SOAP12_SOAP_ROLE_NONE "http://www.w3.org/2003/05/soap-envelope/role/none"
00119 
00120 #define SOAP12_SOAP_ROLE_ULTIMATE_RECEIVER "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
00121 
00122 #define AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX "soapenv"
00123 
00124 #define AXIOM_SOAP_ENVELOPE_LOCAL_NAME "Envelope"
00125 
00126 #define AXIOM_SOAP_HEADER_LOCAL_NAME "Header"
00127 
00128 #define AXIOM_SOAP_BODY_LOCAL_NAME "Body"
00129 
00130 #define AXIOM_SOAP_BODY_NAMESPACE_PREFIX AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX
00131 
00132 #define AXIOM_SOAP_BODY_FAULT_LOCAL_NAME "Fault"
00133 
00136 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND "mustUnderstand"
00137 
00138 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_TRUE "true"
00139 
00140 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_FALSE "false"
00141 
00142 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_0 "0"
00143 
00144 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_1 "1"
00145 
00146 #define AXIOM_SOAP_FAULT_LOCAL_NAME "Fault"
00147 
00148 #define AXIOM_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
00149 
00150 #define AXIOM_SOAP_FAULT_NAMESPACE_PREFIX AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX
00151 
00152 #define AXIOM_SOAP_FAULT_DETAIL_EXCEPTION_ENTRY "Exception"
00153 
00154 #define AXIOM_SOAP_FAULT_CODE_VERSION_MISMATCH "env:VersionMismatch"
00155 
00156 #define AXIOM_SOAP_FAULT_CODE_MUST_UNDERSTAND "env:MustUnderstand"
00157 
00158 #define AXIOM_SOAP_FAULT_CODE_DATA_ENCODING_UNKNOWN "env:DataEncodingUnknown"
00159 
00160 #define AXIOM_SOAP_FAULT_CODE_SENDER ""
00161 
00162 #define AXIOM_SOAP_FAULT_CODE_RECEIVER ""
00163 
00164 /* MTOM related  */
00165 
00166 #define AXIS2_XOP_NAMESPACE_URI "http://www.w3.org/2004/08/xop/include"
00167 
00168 #define AXIS2_XOP_INCLUDE "Include"
00169 
00171 #ifdef __cplusplus
00172 }
00173 #endif 
00174 
00175 #endif /* AXIOM_SOAP_CONSTANTS_H */

Generated on Fri Jun 16 18:02:30 2006 for Axis2/C by  doxygen 1.4.2