summaryrefslogtreecommitdiffstats
path: root/include/axis2_addr.h
blob: 3461c58fad9ded4f523ec22779bac149995b1750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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 WS-Addressing
      * @ingroup axis2
      * @{
      * @}
      */

    /**
      * @defgroup axis2_addr_consts WS-Addressing related constants
      * @ingroup axis2_addr
      * @{
      */

    /** @file axis2_addr.h */

    /* ====================== Common Message Addressing Properties =========== */
 
    /** WS-Addressing Message ID */
#define AXIS2_WSA_MESSAGE_ID "MessageID"

    /** WS-Addressing Relates To */
#define AXIS2_WSA_RELATES_TO "RelatesTo"

    /** WS-Addressing Relates To Relationship Type */
#define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE "RelationshipType"

    /** WS-Addressing To */
#define AXIS2_WSA_TO "To"

    /** WS-Addressing From */
#define AXIS2_WSA_FROM "From"

    /** WS-Addressing Reply To */
#define AXIS2_WSA_REPLY_TO "ReplyTo"

    /** WS-Addressing Fault To */
#define AXIS2_WSA_FAULT_TO "FaultTo"

    /** WS-Addressing Action */
#define AXIS2_WSA_ACTION "Action"

    /** WS-Addressing Mapping */
#define AXIS2_WSA_MAPPING "wsamapping"

    /* ====================== Common EPR Elements ============================ */

    /** End Pointer Reference Address */
#define EPR_ADDRESS "Address"

    /** End Pointer Reference Reference Parameters */
#define EPR_REFERENCE_PARAMETERS "ReferenceParameters"

    /** End Pointer Reference Service Name */
#define EPR_SERVICE_NAME "ServiceName"

    /** End Pointer Reference Reference Properties */
#define EPR_REFERENCE_PROPERTIES "ReferenceProperties"

    /** End Pointer Reference Port Type */
#define EPR_PORT_TYPE "PortType"

    /** End Pointer Reference Port Name */
#define EPR_SERVICE_NAME_PORT_NAME "PortName"

    /* ====================== Addressing Submission Version Constants ======== */

    /** WS-Addressing Namespace for Submission Version */
#define AXIS2_WSA_NAMESPACE_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing"

    /** WS-Addressing Relates To Relationship Type Default Value for Submission Version */
#define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE_SUBMISSION "wsa:Reply"

    /** WS-Addressing Anonymous URL for Submission Version */
#define AXIS2_WSA_ANONYMOUS_URL_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"

    /** WS-Addressing None URL for Submission Version */
#define AXIS2_WSA_NONE_URL_SUBMISSION "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/none"

    /* =====================Addressing 1.0 Final Version Constants =========== */

    /** WS-Addressing Namespace for 1.0 Final Version */
#define AXIS2_WSA_NAMESPACE "http://www.w3.org/2005/08/addressing"

    /** WS-Addressing Relates To Relationship Type Default Value for 1.0 Final Version */
#define AXIS2_WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE "http://www.w3.org/2005/08/addressing/reply"

    /** WS-Addressing Anonymous URL for 1.0 Final Version */
#define AXIS2_WSA_ANONYMOUS_URL "http://www.w3.org/2005/08/addressing/anonymous"

    /** WS-Addressing None URL for 1.0 Final Version */
#define AXIS2_WSA_NONE_URL "http://www.w3.org/2005/08/addressing/none"

    /* ======================================================================= */

    /** WS-Addressing Is Reference Parameter Attribute */
#define AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE "IsReferenceParameter"

    /** WS-Addressing Type Attribute Value */
#define AXIS2_WSA_TYPE_ATTRIBUTE_VALUE "true"

    /** WS-Addressing Interface Name */
#define AXIS2_WSA_INTERFACE_NAME "InterfaceName"

    /** WS-Addressing Service/Endpoint Name */
#define AXIS2_WSA_SERVICE_NAME_ENDPOINT_NAME "EndpointName"

    /** WS-Addressing Policies */
#define AXIS2_WSA_POLICIES "Policies"

    /** WS-Addressing Metadata */
#define AXIS2_WSA_METADATA "Metadata"

    /* ======================================================================= */

    /** WS-Addressing Version */
#define AXIS2_WSA_VERSION "WSAddressingVersion"

    /** WS-Addressing Default Prefix */
#define AXIS2_WSA_DEFAULT_PREFIX "wsa"

    /** WS-Addressing Prefixes for faults*/
#define AXIS2_WSA_PREFIX_FAULT_TO AXIS2_WSA_DEFAULT_PREFIX":"AXIS2_WSA_FAULT_TO

    /** WS-Addressing Prefixes for faults*/
#define AXIS2_WSA_PREFIX_REPLY_TO AXIS2_WSA_DEFAULT_PREFIX":"AXIS2_WSA_REPLY_TO

    /** WS-Addressing Prefixes for faults*/
#define AXIS2_WSA_PREFIX_TO AXIS2_WSA_DEFAULT_PREFIX":"AXIS2_WSA_TO 

    /** WS-Addressing Prefixes for faults*/
#define AXIS2_WSA_PREFIX_MESSAGE_ID AXIS2_WSA_DEFAULT_PREFIX":"AXIS2_WSA_MESSAGE_ID

    /** WS-Addressing Prefixes for faults*/
#define AXIS2_WSA_PREFIX_ACTION AXIS2_WSA_DEFAULT_PREFIX":"AXIS2_WSA_ACTION 

    /* ======================================================================= */

    /** WS-Addressing Param Service Group Context ID */
#define PARAM_SERVICE_GROUP_CONTEXT_ID "ServiceGroupContextIdFromAddressing"

#define AXIS2_ADDR_ADD_MUST_UNDERSTAND_TO_ADDR_HEADERS "addMustUnderstandToAddr"

    /** @} */

#ifdef __cplusplus
}
#endif

#endif                          /* AXIS2_ADDR_H */