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

Generated on Tue Oct 3 22:35:46 2006 for Axis2/C by  doxygen 1.4.7