You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/12/07 02:50:17 UTC

svn commit: r354651 - /webservices/axis2/trunk/c/include/axis2_addr.h

Author: samisa
Date: Tue Dec  6 17:50:13 2005
New Revision: 354651

URL: http://svn.apache.org/viewcvs?rev=354651&view=rev
Log:
Addressing constands initial version

Added:
    webservices/axis2/trunk/c/include/axis2_addr.h

Added: webservices/axis2/trunk/c/include/axis2_addr.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_addr.h?rev=354651&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_addr.h (added)
+++ webservices/axis2/trunk/c/include/axis2_addr.h Tue Dec  6 17:50:13 2005
@@ -0,0 +1,81 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef AXIS2_ADDR_H
+#define AXIS2_ADDR_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @defgroup axis2_addr_consts Addressing related constants
+ * @ingroup axis2_addr
+ * @{
+ */
+
+    /* ====================== Common Message Addressing Properties ===========*/
+    #define AXIS2_WSA_MESSAGE_ID "MessageID"
+    #define AXIS2_WSA_RELATES_TO "RelatesTo"
+    #define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE "RelationshipType"
+    #define AXIS2_WSA_TO "To"
+    #define AXIS2_WSA_FROM "From"
+    #define AXIS2_WSA_REPLY_TO "ReplyTo"
+    #define AXIS2_WSA_FAULT_TO "FaultTo"
+    #define AXIS2_WSA_ACTION "Action"
+
+    /* ====================== Common EPR Elements ============================*/
+    #define EPR_ADDRESS "Address"
+    #define EPR_REFERENCE_PARAMETERS "ReferenceParameters"
+    #define EPR_SERVICE_NAME "ServiceName"
+
+    /* ====================== Addressing Submission Version Constants ========*/
+    #define AXIS2_WSA_NAMESPACE "http://schemas.xmlsoap.org/ws/2004/08/addressing"
+    #define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE "wsa:Reply"
+    #define AXIS2_WSA_ANONYMOUS_URL "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
+
+    #define EPR_REFERENCE_PROPERTIES "ReferenceProperties"
+    #define EPR_PORT_TYPE "PortType"
+    #define EPR_SERVICE_NAME_PORT_NAME "PortName"
+
+    /* =====================Addressing 1.0 Final Version Constants ===========*/
+    #define AXIS2_WSA_NAMESPACE "http://www.w3.org/2005/08/addressing"
+    #define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE "http://www.w3.org/2005/08/addressing/reply"
+    #define AXIS2_WSA_ANONYMOUS_URL "http://www.w3.org/2005/08/addressing/anonymous"
+
+    #define AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE "IsReferenceParameter"
+    #define AXIS2_WSA_TYPE_ATTRIBUTE_VALUE "true"
+
+    #define AXIS2_WSA_INTERFACE_NAME "InterfaceName"
+    #define AXIS2_WSA_SERVICE_NAME_ENDPOINT_NAME "EndpointName"
+    #define AXIS2_WSA_POLICIES "Policies"
+    #define AXIS2_WSA_METADATA "Metadata"
+        
+    /* =======================================================================*/
+
+    #define WS_ADDRESSING_VERSION "WSAddressingVersion"
+    #define AXIS2_WSA_DEFAULT_PREFIX "wsa"
+
+    #define PARAM_SERVICE_GROUP_CONTEXT_ID "ServiceGroupContextIdFromAddressing"
+
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif    /* AXIS2_ADDR_H */