axiom_soap_const.h

00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef AXIOM_SOAP_CONST_H
00020 #define AXIOM_SOAP_CONST_H
00021 
00026 #ifdef __cplusplus
00027 extern "C"
00028 {
00029 #endif
00030 
00037     typedef enum soap_version
00038     {
00039         AXIOM_SOAP_VERSION_NOT_SET = 0,
00040 
00041         AXIOM_SOAP11,
00042 
00043         AXIOM_SOAP12
00044     } axiom_soap_version;
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 
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 "MustUnderstand"
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 "soapenv:VersionMismatch"
00155 
00156 #define AXIOM_SOAP_FAULT_CODE_MUST_UNDERSTAND "soapenv:MustUnderstand"
00157 
00158 #define AXIOM_SOAP_FAULT_CODE_DATA_ENCODING_UNKNOWN "soapenv: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 
00172 #ifdef __cplusplus
00173 }
00174 #endif
00175 
00176 #endif                          /* AXIOM_SOAP_CONSTANTS_H */

Generated on Fri Apr 17 11:49:42 2009 for Axis2/C by  doxygen 1.5.3