axiom_soap_const.h

00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  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 #ifndef AXIOM_SOAP_CONST_H
00019 #define AXIOM_SOAP_CONST_H
00020 
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029 
00036     typedef enum soap_version
00037     {
00038         AXIOM_SOAP_VERSION_NOT_SET = 0,
00039 
00040         AXIOM_SOAP11,
00041 
00042         AXIOM_SOAP12
00043     }axiom_soap_version;
00044 
00045 
00046 
00049 #define AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI "http://schemas.xmlsoap.org/soap/envelope/"
00050 
00051 #define AXIOM_SOAP11_ATTR_ACTOR "actor"
00052 
00053 #define AXIOM_SOAP11_SOAP_FAULT_CODE_LOCAL_NAME "faultcode"
00054 
00055 #define AXIOM_SOAP11_SOAP_FAULT_STRING_LOCAL_NAME "faultstring"
00056 
00057 #define AXIOM_SOAP11_SOAP_FAULT_ACTOR_LOCAL_NAME "faultactor"
00058 
00059 #define AXIOM_SOAP11_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
00060 
00061 #define AXIOM_SOAP11_CONTENT_TYPE "text/xml"
00062 
00063 #define AXIOM_SOAP11_FAULT_CODE_SENDER "Client"
00064 
00065 #define AXIOM_SOAP11_FAULT_CODE_RECEIVER "Server"
00066 
00067 #define AXIOM_SOAP11_SOAP_ACTOR_NEXT "http://schemas.xmlsoap.org/soap/actor/next"
00068 
00069 
00072 #define AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI "http://www.w3.org/2003/05/soap-envelope"
00073 
00074 #define AXIOM_SOAP12_SOAP_ROLE "role"
00075 
00076 #define AXIOM_SOAP12_SOAP_RELAY "relay"
00077 
00078 #define AXIOM_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME "Code"
00079 
00080 #define AXIOM_SOAP12_SOAP_FAULT_SUB_CODE_LOCAL_NAME "Subcode"
00081 
00082 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_LOCAL_NAME "Value"
00083 
00084 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_VERSION_MISMATCH "VersionMismatch"
00085 
00086 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_MUST_UNDERSTAND "MustUnderstant"
00087 
00088 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_DATA_ENCODING_UKNOWN "DataEncodingUnknown"
00089 
00090 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_SENDER "Sender"
00091 
00092 #define AXIOM_SOAP12_SOAP_FAULT_VALUE_RECEIVER "Receiver"
00093 
00096 #define AXIOM_SOAP12_SOAP_FAULT_REASON_LOCAL_NAME "Reason"
00097 
00098 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LOCAL_NAME "Text"
00099 
00100 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME "lang"
00101 
00102 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_URI "http://www.w3.org/XML/1998/namespace"
00103 
00104 #define AXIOM_SOAP12_SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX "xml"
00105 
00106 #define AXIOM_SOAP12_SOAP_FAULT_NODE_LOCAL_NAME "Node"
00107 
00108 #define AXIOM_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME "Detail"
00109 
00110 #define AXIOM_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME "Role"
00111 
00112 #define AXIOM_SOAP12_CONTENT_TYPE "application/soap+xml"
00113 
00114 #define AXIOM_SOAP12_FAULT_CODE_SENDER "Sender"
00115 
00116 #define AXIOM_SOAP12_FAULT_CODE_RECEIVER "Receiver"
00117 
00118 #define AXIOM_SOAP12_SOAP_ROLE_NEXT "http://www.w3.org/2003/05/soap-envelope/role/next"
00119 
00120 #define AXIOM_SOAP12_SOAP_ROLE_NONE "http://www.w3.org/2003/05/soap-envelope/role/none"
00121 
00122 #define SOAP12_SOAP_ROLE_ULTIMATE_RECEIVER "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
00123 
00124 #define AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX "soapenv"
00125 
00126 #define AXIOM_SOAP_ENVELOPE_LOCAL_NAME "Envelope"
00127 
00128 #define AXIOM_SOAP_HEADER_LOCAL_NAME "Header"
00129 
00130 #define AXIOM_SOAP_BODY_LOCAL_NAME "Body"
00131 
00132 #define AXIOM_SOAP_BODY_NAMESPACE_PREFIX AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX
00133 
00134 #define AXIOM_SOAP_BODY_FAULT_LOCAL_NAME "Fault"
00135 
00138 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND "mustUnderstand"
00139 
00140 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_TRUE "true"
00141 
00142 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_FALSE "false"
00143 
00144 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_0 "0"
00145 
00146 #define AXIOM_SOAP_ATTR_MUST_UNDERSTAND_1 "1"
00147 
00148 #define AXIOM_SOAP_FAULT_LOCAL_NAME "Fault"
00149 
00150 #define AXIOM_SOAP_FAULT_DETAIL_LOCAL_NAME "detail"
00151 
00152 #define AXIOM_SOAP_FAULT_NAMESPACE_PREFIX AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX
00153 
00154 #define AXIOM_SOAP_FAULT_DETAIL_EXCEPTION_ENTRY "Exception"
00155 
00156 #define AXIOM_SOAP_FAULT_CODE_VERSION_MISMATCH "env:VersionMismatch"
00157 
00158 #define AXIOM_SOAP_FAULT_CODE_MUST_UNDERSTAND "env:MustUnderstand"
00159 
00160 #define AXIOM_SOAP_FAULT_CODE_DATA_ENCODING_UNKNOWN "env:DataEncodingUnknown"
00161 
00162 #define AXIOM_SOAP_FAULT_CODE_SENDER ""
00163 
00164 #define AXIOM_SOAP_FAULT_CODE_RECEIVER ""
00165 
00166     /* MTOM related  */
00167 
00168 #define AXIS2_XOP_NAMESPACE_URI "http://www.w3.org/2004/08/xop/include"
00169 
00170 #define AXIS2_XOP_INCLUDE "Include"
00171 
00173 #ifdef __cplusplus
00174 }
00175 #endif
00176 
00177 #endif /* AXIOM_SOAP_CONSTANTS_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6