1 //%LICENSE////////////////////////////////////////////////////////////////
3 // Licensed to The Open Group (TOG) under one or more contributor license
4 // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 // this work for additional information regarding copyright ownership.
6 // Each contributor licenses this file to you under the OpenPegasus Open
7 // Source License; you may not use this file except in compliance with the
10 // Permission is hereby granted, free of charge, to any person obtaining a
11 // copy of this software and associated documentation files (the "Software"),
12 // to deal in the Software without restriction, including without limitation
13 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 // and/or sell copies of the Software, and to permit persons to whom the
15 // Software is furnished to do so, subject to the following conditions:
17 // The above copyright notice and this permission notice shall be included
18 // in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 //////////////////////////////////////////////////////////////////////////
30 //%/////////////////////////////////////////////////////////////////////////////
32 #ifndef Pegasus_WsmConstants_h
33 #define Pegasus_WsmConstants_h
35 #include <Pegasus/Common/Config.h>
36 #include <Pegasus/Common/CIMName.h>
39 // Message Queue Names
42 #define PEGASUS_QUEUENAME_WSMREQDECODER "WsmRequestDecoder"
43 #define PEGASUS_QUEUENAME_WSMRESPENCODER "WsmResponseEncoder"
44 #define PEGASUS_QUEUENAME_WSMPROCESSOR "WsmProcessor"
47 // Minimum allowable value for MaxEnvelopeSize
50 #define WSM_MIN_MAXENVELOPESIZE_VALUE 8192
56 #define WSM_ADDRESS_ANONYMOUS \
57 "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
59 // See DSP0227 R5.2-1, R6-1, and R7.1-7.
60 #define WSM_RESOURCEURI_ALLCLASSES \
61 "http://schemas.dmtf.org/wbem/wscim/1/*"
63 #define WSM_RESOURCEURI_CIMSCHEMAV2 \
64 "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2"
71 #define WSM_ACTION_GET \
72 "http://schemas.xmlsoap.org/ws/2004/09/transfer/Get"
74 #define WSM_ACTION_GET_RESPONSE \
75 "http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse"
77 #define WSM_ACTION_PUT \
78 "http://schemas.xmlsoap.org/ws/2004/09/transfer/Put"
80 #define WSM_ACTION_PUT_RESPONSE \
81 "http://schemas.xmlsoap.org/ws/2004/09/transfer/PutResponse"
83 #define WSM_ACTION_CREATE \
84 "http://schemas.xmlsoap.org/ws/2004/09/transfer/Create"
86 #define WSM_ACTION_CREATE_RESPONSE \
87 "http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse"
89 #define WSM_ACTION_DELETE \
90 "http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete"
92 #define WSM_ACTION_DELETE_RESPONSE \
93 "http://schemas.xmlsoap.org/ws/2004/09/transfer/DeleteResponse"
95 #define WSM_ACTION_ENUMERATE \
96 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate"
98 #define WSM_ACTION_ENUMERATE_RESPONSE \
99 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse"
101 #define WSM_ACTION_PULL \
102 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull"
104 #define WSM_ACTION_PULL_RESPONSE \
105 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse"
107 #define WSM_ACTION_RELEASE \
108 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/Release"
110 #define WSM_ACTION_RELEASE_RESPONSE \
111 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/ReleaseResponse"
113 #define WSM_ACTION_WSMAN_FAULT \
114 "http://schemas.dmtf.org/wbem/wsman/1/wsman/fault"
116 #define WSM_ACTION_WSA_FAULT \
117 "http://schemas.xmlsoap.org/ws/2004/08/addressing/fault"
119 #define WSM_ACTION_WXF_FAULT \
120 "http://schemas.xmlsoap.org/ws/2004/09/transfer/fault"
122 #define WSM_ACTION_WSEN_FAULT \
123 "http://schemas.xmlsoap.org/ws/2004/09/enumeration/fault"
125 #define WSM_ACTION_WSE_FAULT \
126 "http://schemas.xmlsoap.org/ws/2004/08/eventing/fault"
130 // WS-Management FaultDetail URI values
133 #define WSMAN_FAULTDETAIL_ACTIONMISMATCH \
134 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/ActionMismatch"
136 #define WSMAN_FAULTDETAIL_ADDRESSINGMODE \
137 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/AddressingMode"
139 #define WSMAN_FAULTDETAIL_CHARACTERSET \
140 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/CharacterSet"
142 #define WSMAN_FAULTDETAIL_FRAGMENTLEVELACCESS \
143 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/FragmentLevelAccess"
145 #define WSMAN_FAULTDETAIL_INVALIDRESOURCEURI \
146 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidResourceURI"
148 #define WSMAN_FAULTDETAIL_INVALIDVALUE \
149 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidValue"
151 #define WSMAN_FAULTDETAIL_LOCALE \
152 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/Locale"
154 #define WSMAN_FAULTDETAIL_OPERATIONTIMEOUT \
155 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/OperationTimeout"
157 #define WSMAN_FAULTDETAIL_TYPEMISMATCH \
158 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/TypeMismatch"
160 #define WSMAN_FAULTDETAIL_UNEXPECTEDSELECTORS \
161 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/UnexpectedSelectors"
163 #define WSMAN_FAULTDETAIL_MINIMUMENVELOPELIMIT \
164 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/MinimumEnvelopeLimit"
166 #define WSMAN_FAULTDETAIL_MAXENVELOPESIZE \
167 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/MaxEnvelopeSize"
169 #define WSMAN_FAULTDETAIL_UNREPORTABLESUCCESS \
170 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/UnreportableSuccess"
172 #define WSMAN_FAULTDETAIL_ENUMERATION_MODE_UNSUPPORTED \
173 "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/EnumerationMode"
175 enum WsmbPolymorphismMode
179 WSMB_PM_EXCLUDE_SUBCLASS_PROPERTIES,
180 WSMB_PM_INCLUDE_SUBCLASS_PROPERTIES
183 enum WsenEnumerationMode
188 WSEN_EM_OBJECT_AND_EPR
192 PEGASUS_NAMESPACE_BEGIN
195 // CIM Namespace Names
198 extern const CIMNamespaceName PEGASUS_DEFAULT_WSM_NAMESPACE;
200 PEGASUS_NAMESPACE_END
202 #endif /* Pegasus_WsmConstants_h */