# sandesha2_constants.h

    00001 /*
    00002  * Copyright 2004,2005 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License")
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 #ifndef SANDESHA2_CONSTANTS_H
    00018 #define SANDESHA2_CONSTANTS_H
    00019
    00020 #ifdef __cplusplus
    00021 extern "C"
    00022 {
    00023 #endif
    00024
    00033         #define SANDESHA2_SPEC_VERSION_1_0 "Spec_2005_02"
    00034         #define SANDESHA2_SPEC_VERSION_1_1 "Spec_2007_02"
    00035
    00039         #define SANDESHA2_SPEC_2005_02_NS_URI "http://schemas.xmlsoap.org/ws/2005/02/rm"
    00040
    00041         #define SANDESHA2_SPEC_2005_02_ACTION_CREATE_SEQ "http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"
    00042
    00043         #define SANDESHA2_SPEC_2005_02_ACTION_CREATE_SEQ_RESPONSE  "http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse"
    00044
    00045         #define SANDESHA2_SPEC_2005_02_ACTION_SEQ_ACKNOWLEDGEMENT  "http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement"
    00046
    00047         #define SANDESHA2_SPEC_2005_02_ACTION_TERMINATE_SEQ  "http://schemas.xmlsoap.org/ws/2005/02/rm/TerminateSequence"
    00048
    00049         #define SANDESHA2_SPEC_2005_02_ACTION_LAST_MESSAGE  "http://schemas.xmlsoap.org/ws/2005/02/rm/LastMessage"
    00050
    00051         #define SANDESHA2_SPEC_2005_02_SOAP_ACTION_CREATE_SEQ  "http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"
    00052
    00053         #define SANDESHA2_SPEC_2005_02_SOAP_ACTION_CREATE_SEQ_RESPONSE  "http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse"
    00054
    00055         #define SANDESHA2_SPEC_2005_02_SOAP_ACTION_SEQ_ACKNOWLEDGEMENT  "http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement"
    00056
    00057         #define SANDESHA2_SPEC_2005_02_SOAP_ACTION_TERMINATE_SEQ  "http://schemas.xmlsoap.org/ws/2005/02/rm/TerminateSequence"
    00058
    00059         #define SANDESHA2_SPEC_2005_02_SOAP_ACTION_LAST_MESSAGE  "http://schemas.xmlsoap.org/ws/2005/02/rm/LastMessage"
    00060
    00065         #define SANDESHA2_SPEC_2007_02_NS_URI  "http://docs.oasis-open.org/ws-rx/wsrm/200702"
    00066
    00067     #define MAKE_CONNECTION_SPEC_2007_02_NS_URI  "http://docs.oasis-open.org/ws-rx/wsmc/200702"
    00068
    00069         #define SANDESHA2_SPEC_2007_02_ACTION_CREATE_SEQ  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence"
    00070
    00071         #define SANDESHA2_SPEC_2007_02_ACTION_CREATE_SEQ_RESPONSE  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequenceResponse"
    00072
    00073         #define SANDESHA2_SPEC_2007_02_ACTION_SEQ_ACKNOWLEDGEMENT  "http://docs.oasis-open.org/ws-rx/wsrm/200702/SequenceAcknowledgement"
    00074
    00075         #define SANDESHA2_SPEC_2007_02_ACTION_TERMINATE_SEQ  "http://docs.oasis-open.org/ws-rx/wsrm/200702/TerminateSequence"
    00076
    00077         #define SANDESHA2_SPEC_2007_02_ACTION_TERMINATE_SEQ_RESPONSE  "http://docs.oasis-open.org/ws-rx/wsrm/200702/TerminateSequenceResponse"
    00078
    00079         #define SANDESHA2_SPEC_2007_02_ACTION_ACK_REQUEST  "http://docs.oasis-open.org/ws-rx/wsrm/200702/AckRequested"
    00080
    00081         #define SANDESHA2_SPEC_2007_02_ACTION_CLOSE_SEQ  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CloseSequence"
    00082
    00083         #define SANDESHA2_SPEC_2007_02_ACTION_CLOSE_SEQ_RESPONSE  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CloseSequenceResponse"
    00084         #define SANDESHA2_SPEC_2007_02_ACTION_MAKE_CONNECTION "http://docs.oasis-open.org/ws-rx/wsmc/200702/MakeConnection"
    00085
    00086         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_CREATE_SEQ  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence"
    00087
    00088         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_CREATE_SEQ_RESPONSE  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequenceResponse"
    00089
    00090         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_SEQ_ACKNOWLEDGEMENT  "http://docs.oasis-open.org/ws-rx/wsrm/200702/SequenceAcknowledgement"
    00091
    00092         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_TERMINATE_SEQ  "http://docs.oasis-open.org/ws-rx/wsrm/200702/TerminateSequence"
    00093
    00094         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_TERMINATE_SEQ_RESPONSE  "http://docs.oasis-open.org/ws-rx/wsrm/200702/TerminateSequenceResponse"
    00095
    00096         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_ACK_REQUEST  "http://docs.oasis-open.org/ws-rx/wsrm/200702/AckRequested"
    00097
    00098         #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_CLOSE_SEQ  "http://docs.oasis-open.org/ws-rx/wsrm/200702/CloseSequence"
    00099
    00100     #define SANDESHA2_SPEC_2007_02_SOAP_ACTION_MAKE_CONNECTION "http://docs.oasis-open.org/ws-rx/wsmc/200702/MakeConnection"
    00101
    00105         #define SANDESHA2_WSRM_COMMON_NS_PREFIX_RM  "wsrm"
    00106
    00107     #define SANDESHA2_WSMC_COMMON_NS_PREFIX_RM  "wsmc"
    00108
    00109         #define SANDESHA2_WSRM_COMMON_MSG_NUMBER  "MessageNumber"
    00110
    00111     #define SANDESHA2_WSRM_COMMON_LAST_MSG_NUMBER  "LastMsgNumber"
    00112
    00113         #define SANDESHA2_WSRM_COMMON_LAST_MSG  "LastMessage"
    00114
    00115         #define SANDESHA2_WSRM_COMMON_SEQ  "Sequence"
    00116
    00117         #define SANDESHA2_WSRM_COMMON_SEQ_OFFER  "Offer"
    00118
    00119         #define SANDESHA2_WSRM_COMMON_TERMINATE_SEQ  "TerminateSequence"
    00120
    00121         #define SANDESHA2_WSRM_COMMON_CLOSE_SEQ  "CloseSequence"
    00122
    00123         #define SANDESHA2_WSRM_COMMON_CLOSE_SEQ_RESPONSE  "CloseSequenceResponse"
    00124
    00125         #define SANDESHA2_WSRM_COMMON_TERMINATE_SEQ_RESPONSE  "TerminateSequenceResponse"
    00126
    00127         #define SANDESHA2_WSRM_COMMON_FAULT_CODE  "FaultCode"
    00128
    00129         #define SANDESHA2_WSRM_COMMON_SEQ_FAULT  "SequenceFault"
    00130
    00131         #define SANDESHA2_WSRM_COMMON_ACKS_TO  "AcksTo"
    00132
    00133         #define SANDESHA2_WSRM_COMMON_EXPIRES  "Expires"
    00134
    00135         #define SANDESHA2_WSRM_COMMON_CREATE_SEQ  "CreateSequence"
    00136
    00137         #define SANDESHA2_WSRM_COMMON_CREATE_SEQ_RESPONSE  "CreateSequenceResponse"
    00138
    00139         #define SANDESHA2_WSRM_COMMON_ACK_REQUESTED  "AckRequested"
    00140
    00141         #define SANDESHA2_WSRM_COMMON_ACK_RANGE  "AcknowledgementRange"
    00142
    00143         #define SANDESHA2_WSRM_COMMON_UPPER  "Upper"
    00144
    00145         #define SANDESHA2_WSRM_COMMON_LOWER  "Lower"
    00146
    00147         #define SANDESHA2_WSRM_COMMON_NACK  "Nack"
    00148
    00149         #define SANDESHA2_WSRM_COMMON_SEQ_ACK  "SequenceAcknowledgement"
    00150
    00151         #define SANDESHA2_WSRM_COMMON_IDENTIFIER  "Identifier"
    00152
    00153         #define SANDESHA2_WSRM_COMMON_ACCEPT  "Accept"
    00154
    00155         #define SANDESHA2_WSRM_COMMON_NONE  "None"
    00156
    00157         #define SANDESHA2_WSRM_COMMON_FINAL  "Final"
    00158
    00159     #define SANDESHA2_WSRM_COMMON_MESSAGE_PENDING "MessagePending"
    00160     #define SANDESHA2_WSRM_COMMON_PENDING "pending"
    00161     #define SANDESHA2_WSRM_COMMON_MAKE_CONNECTION "MakeConnection"
    00162     #define SANDESHA2_WSRM_COMMON_ENDPOINT "Endpoint"
    00163
    00164     /* Message Context Properties */
    00165     #define SANDESHA2_MSG_CTX_PROP_INTERNAL_SEQUENCE_ID "Sandesha2InternalSequenceId"
    00166     #define SANDESHA2_MSG_CTX_PROP_SEQUENCE_ID "WSRMSequenceId"
    00167     #define SANDESHA2_MSG_CTX_PROP_MESSAGE_NUMBER "WSRMMessageNumber"
    00168     #define SANDESHA2_MSG_CTX_PROP_SEQUENCE_PROPERTY_KEY "SequencePropertyKey"
    00169
    00173         #define SANDESHA2_WSA_NS_PREFIX_ADDRESSING  "wsa"
    00174
    00175         #define SANDESHA2_WSA_ADDRESS  "Address"
    00176
    00177     #define SANDESHA2_WSMC_ADDRESS  "Address"
    00178
    00179         #define SANDESHA2_WSA_SOAP_FAULT_ACTION  "http://schemas.xmlsoap.org/ws/2004/08/addressing/fault"
    00180
    00181
    00182     /* RSTR actions */
    00183
    00184     #define SECCONV_200502_REQUEST_ISSUE_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT"
    00185     #define SECCONV_200502_REPLY_ISSUE_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/SCT"
    00186     #define SECCONV_200502_REQUEST_AMEND_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Amend"
    00187     #define SECCONV_200502_REPLY_AMEND_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/SCT/Amend"
    00188     #define SECCONV_200502_REQUEST_RENEW_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Renew"
    00189     #define SECCONV_200502_REPLY_RENEW_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/SCT/Renew"
    00190     #define SECCONV_200502_REQUEST_CANCEL_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Cancel"
    00191     #define SECCONV_200502_REPLY_CANCEL_ACTION "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/SCT/Cancel"
    00192     #define SECCONV_200512_REQUEST_ISSUE_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT"
    00193     #define SECCONV_200512_REPLY_ISSUE_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCT"
    00194     #define SECCONV_200512_REQUEST_AMEND_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT/Amend"
    00195     #define SECCONV_200512_REPLY_AMEND_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCT/Amend"
    00196     #define SECCONV_200512_REQUEST_RENEW_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT/Renew"
    00197     #define SECCONV_200512_REPLY_RENEW_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCT/Renew"
    00198     #define SECCONV_200512_REQUEST_CANCEL_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT/Cancel"
    00199     #define SECCONV_200512_REPLY_CANCEL_ACTION "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCT/Cancel"
    00200
    00201
    00202
    00203         enum sandesha2_message_types
    00204         {
    00205                 SANDESHA2_MSG_TYPE_UNKNOWN = 0,
    00206                 SANDESHA2_MSG_TYPE_CREATE_SEQ, /* 1 */
    00207                 SANDESHA2_MSG_TYPE_CREATE_SEQ_RESPONSE, /* 2 */
    00208                 SANDESHA2_MSG_TYPE_APPLICATION, /* 3 */
    00209                 SANDESHA2_MSG_TYPE_ACK, /* 4 */
    00210                 SANDESHA2_MSG_TYPE_CLOSE_SEQ, /* 5 */
    00211                 SANDESHA2_MSG_TYPE_CLOSE_SEQ_RESPONSE, /* 6 */
    00212                 SANDESHA2_MSG_TYPE_TERMINATE_SEQ, /* 7 */
    00213                 SANDESHA2_MSG_TYPE_ACK_REQUEST, /* 8 */
    00214                 SANDESHA2_MSG_TYPE_TERMINATE_SEQ_RESPONSE, /* 9 */
    00215                 SANDESHA2_MSG_TYPE_FAULT_MSG, /* 10 */
    00216                 SANDESHA2_MSG_TYPE_MAX_MESSAGE_TYPE, /* 11 */
    00217         SANDESHA2_MSG_TYPE_MAKE_CONNECTION_MSG /* 12 */
    00218         };
    00219
    00220         enum sandesha2_message_parts
    00221         {
    00222                 SANDESHA2_MSG_PART_UNKNOWN = 0,
    00223                 SANDESHA2_MSG_PART_SEQ,
    00224                 SANDESHA2_MSG_PART_SEQ_ACKNOWLEDGEMENT,
    00225                 SANDESHA2_MSG_PART_ADDR_HEADERS,
    00226                 SANDESHA2_MSG_PART_CREATE_SEQ,
    00227                 SANDESHA2_MSG_PART_CREATE_SEQ_RESPONSE,
    00228                 SANDESHA2_MSG_PART_TERMINATE_SEQ,
    00229                 SANDESHA2_MSG_PART_CLOSE_SEQ,
    00230                 SANDESHA2_MSG_PART_CLOSE_SEQ_RESPONSE,
    00231                 SANDESHA2_MSG_PART_TERMINATE_SEQ_RESPONSE,
    00232                 SANDESHA2_MSG_PART_ACK_REQUEST,
    00233         SANDESHA2_MSG_PART_USES_SEQ_STR,
    00234                 SANDESHA2_MSG_PART_MAKE_CONNECTION,
    00235                 SANDESHA2_MSG_PART_MESSAGE_PENDING,
    00236                 SANDESHA2_MSG_PART_MAX_MSG_PART_ID
    00237         };
    00238
    00242         #define SANDESHA2_SEQ_PROP_RM_SPEC_VERSION  "WSRMSpecVersion"
    00243
    00244         /* This is not a seq property. This is used as the
    00245          * seqId to share data b/w seqs
    00246          */
    00247         #define SANDESHA2_SEQ_PROP_ALL_SEQS  "AllSequences"
    00248
    00249         /* Addressing version of a seq. All messages of a seq should
    00250          * have this addressing version
    00251          */
    00252         #define SANDESHA2_SEQ_PROP_ADDRESSING_NAMESPACE_VALUE  "AddressingNamespaceValue"
    00253
    00254         /* For incoming seqs this gives the msg no's of the messages that were
    00255          * received (may be an ack was sent - depending on the policy)
    00256          * For out going seqs this gives the messages that were sent and that
    00257          * were successfully acked by the other end point.
    00258          */
    00259         #define SANDESHA2_SEQ_PROP_CLIENT_COMPLETED_MESSAGES  "ClientCompletedMessages"
    00260
    00261         #define SANDESHA2_SEQ_PROP_SERVER_COMPLETED_MESSAGES  "ServerCompletedMessages"
    00262
    00263         #define SANDESHA2_SEQ_PROP_TO_EPR  "ToEPR"
    00264
    00265         #define SANDESHA2_SEQ_PROP_ACKS_TO_EPR  "acksToEPR"
    00266
    00267     #define SANDESHA2_SEQ_PROP_ACKS_TO_REF_PARAM  "acksToRefParam"
    00268
    00269         #define SANDESHA2_SEQUENCE_PROPERTY_RMS_SEQ_ID  "OutSequenceId"
    00270
    00271         #define SANDESHA2_SEQUENCE_PROPERTY_RMS_INTERNAL_SEQ_ID  "TempSequenceId"
    00272
    00273     #define SANDESHA2_SEQ_PROP_SPECIAL_INTERNAL_SEQ_ID  "SpecialIntSequenceId"
    00274
    00275         #define SANDESHA2_SEQ_PROP_REPLY_TO_EPR  "ReplyToEPR"
    00276
    00277         #define SANDESHA2_SEQ_PROP_APP_MSG_PROCESSOR_LIST  "AppMsgProcessorList"
    00278
    00279         #define SANDESHA2_SEQ_PROP_OUT_CREATE_SEQ_SENT  "OutCreateSeqSent"
    00280
    00281         #define SANDESHA2_SEQ_PROP_NEXT_MESSAGE_NUMBER  "NextMsgNo"
    00282
    00283     #define SANDESHA2_SEQ_PROP_LAST_OUT_MESSAGE_NUMBER  "LastOutMsgNo"
    00284
    00285         #define SANDESHA2_SEQ_PROP_INCOMING_SEQ_LIST  "IncomingSequenceList"
    00286
    00287         #define SANDESHA2_SEQ_PROP_CHECK_RESPONSE  "CheckResponse"
    00288
    00289         #define SANDESHA2_SEQ_PROP_OFFERED_SEQ  "OfferedSequence"
    00290
    00291         #define SANDESHA2_SEQ_PROP_TERMINATE_ADDED  "TerminateAdded"
    00292
    00293         #define SANDESHA2_SEQ_PROP_TERMINATE_RECEIVED  "TerminateReceived"
    00294
    00295         #define SANDESHA2_SEQ_PROP_LAST_ACTIVATED_TIME  "LastActivatedTime"
    00296
    00297         #define SANDESHA2_SEQ_PROP_NO_OF_OUTGOING_MSGS_ACKED  "NoOfOutGoingMessagesAcked"
    00298
    00299         #define SANDESHA2_SEQ_PROP_TRANSPORT_TO  "TransportTo"
    00300
    00301         #define SANDESHA2_SEQ_PROP_OUT_SEQ_ACKSTO  "OutSequenceAcksTo"
    00302
    00303         #define SANDESHA2_SEQ_PROP_SEQ_CLOSED  "SequenceClosed"
    00304
    00305         #define SANDESHA2_SEQ_PROP_SEQ_TERMINATED  "SequenceTerminated"
    00306
    00307         #define SANDESHA2_SEQ_PROP_SEQ_TIMED_OUT  "SequenceTimedOut"
    00308
    00309         #define SANDESHA2_SEQ_PROP_LAST_MESSAGE  "LastMessage"
    00310
    00311         #define SANDESHA2_SEQ_PROP_REQUEST_SIDE_SEQ_ID  "RequestSideSequenceID"                 //used only at the server side
    00312
    00313         #define SANDESHA2_SEQ_PROP_HIGHEST_IN_MSG_NUMBER  "HighestInMsgNumber"
    00314
    00315         #define SANDESHA2_SEQ_PROP_HIGHEST_IN_MSG_KEY  "HighestInMsgKey"
    00316
    00317         #define SANDESHA2_SEQ_PROP_HIGHEST_OUT_MSG_NUMBER  "HighestOutMsgNumber"
    00318
    00319     #define SANDESHA2_SEQ_PROP_HIGHEST_OUT_RELATES_TO "HighestOutRelatesTo"
    00320
    00321         #define SANDESHA2_SEQ_PROP_LAST_OUT_MESSAGE_NO  "LastOutMessage"
    00322
    00323         #define SANDESHA2_SEQ_PROP_LAST_IN_MESSAGE_NO  "LastInMessage"
    00324
    00325     #define SANDESHA2_SEQ_PROP_LAST_IN_MESSAGE_ID  "LastInMessageId"
    00326
    00327     #define SANDESHA2_SEQ_PROP_HIGHEST_IN_MSG_ID "HighestInMsgId"
    00328
    00329     #define SANDESHA2_SEQ_PROP_REPLAY "Replay"
    00330
    00331     #define SANDESHA2_SEQ_PROP_RELATED_MSG_ID "related_msg_id"
    00332
    00333     #define SANDESHA2_SEQ_PROP_MAKE_CONNECTION_OUT_PATH "make_connection_out_path"
    00334
    00338         #define SANDESHA2_SOAP_VERSION_1_1  1
    00339
    00340         #define SANDESHA2_SOAP_VERSION_1_2  2
    00341
    00345          /* Delivery Assurance */
    00346         #define SANDESHA2_QOS_IN_ORDER  "InOrder"
    00347
    00348         #define SANDESHA2_QOS_NOT_IN_ORDER  "NotInOrder"
    00349
    00350         #define SANDESHA2_QOS_DEFAULT_DELIVERY_ASSURANCE  IN_ORDER
    00351
    00352         /* Invocation Types */
    00353         #define SANDESHA2_QOS_EXACTLY_ONCE  "ExactlyOnce"
    00354
    00355         #define SANDESHA2_QOS_MORE_THAN_ONCE  "MoreThanOnce"
    00356
    00357         #define SANDESHA2_QOS_DEFAULT_INVOCATION_TYPE  "ExactlyOnce"
    00358
    00362         #define SANDESHA2_BEAN_MAP_CREATE_SEQUENCE  "CreateSequenceBeanMap"
    00363
    00364         #define SANDESHA2_BEAN_MAP_RETRANSMITTER  "RetransmitterBeanMap"
    00365
    00366         #define SANDESHA2_BEAN_MAP_SEQ_PROPERTY  "SequencePropertyBeanMap"
    00367
    00368         #define SANDESHA2_BEAN_MAP_STORAGE_MAP  "StorageMapBeanMap"
    00369
    00370         #define SANDESHA2_BEAN_MAP_NEXT_MESSAGE  "NextMsgBeanMap"
    00371
    00375         /* Fault subcodes */
    00376         #define SANDESHA2_SOAP_FAULT_SUBCODE_SEQ_TERMINATED  "wsrm:SequenceTerminated"
    00377
    00378         #define SANDESHA2_SOAP_FAULT_SUBCODE_SEQ_CLOSED  "wsrm:SequenceClosed"
    00379
    00380         #define SANDESHA2_SOAP_FAULT_SUBCODE_UNKNOWN_SEQ  "wsrm:UnknownSequence"
    00381
    00382         #define SANDESHA2_SOAP_FAULT_SUBCODE_INVALID_ACKNOWLEDGEMENT  "wsrm:InvalidAcknowledgement"
    00383
    00384         #define SANDESHA2_SOAP_FAULT_SUBCODE_MESSAGE_NUMBER_ROLEOVER  "wsrm:MessageNumberRollover"
    00385
    00386         #define SANDESHA2_SOAP_FAULT_SUBCODE_LAST_MESSAGE_NO_EXCEEDED  "wsrm:LastMessageNumberExceeded"
    00387
    00388         #define SANDESHA2_SOAP_FAULT_SUBCODE_CREATE_SEQ_REFUSED  "wsrm:CreateSequenceRefused"
    00389
    00390         /* Fault Types */
    00391         #define SANDESHA2_SOAP_FAULT_TYPE_UNKNOWN_SEQ  1
    00392
    00393         #define SANDESHA2_SOAP_FAULT_TYPE_MESSAGE_NUMBER_ROLLOVER  2
    00394
    00395         #define SANDESHA2_SOAP_FAULT_TYPE_INVALID_ACKNOWLEDGEMENT  3
    00396
    00397         #define SANDESHA2_SOAP_FAULT_TYPE_CREATE_SEQ_REFUSED  4
    00398
    00399         #define SANDESHA2_SOAP_FAULT_TYPE_LAST_MESSAGE_NO_EXCEEDED  5
    00400
    00401         #define SANDESHA2_PROPERTIES_RETRANSMISSION_INTERVAL  "RetransmissionInterval"
    00402
    00403         #define SANDESHA2_PROPERTIES_ACK_INTERVAL  "AcknowledgementInterval"
    00404
    00405         #define SANDESHA2_PROPERTIES_EXP_BACKOFF  "ExponentialBackoff"
    00406
    00407         #define SANDESHA2_PROPERTIES_INACTIVETIMEOUT  "InactivityTimeout"
    00408
    00409         #define SANDESHA2_PROPERTIES_INACTIVETIMEOUT_MEASURE  "InactivityTimeoutMeasure"
    00410
    00411     #define SANDESHA2_PROPERTIES_TERMINATE_DELAY  "TerminateDelay"
    00412
    00413     #define SANDESHA2_PROPERTIES_POLLING_DELAY  "PollingWaitTime"
    00414
    00415         #define SANDESHA2_PROPERTIES_STORAGE_MGR  "StorageManager"
    00416
    00417         #define SANDESHA2_PROPERTIES_IN_MEMORY_STORAGE_MGR  "InMemoryStorageManager"
    00418
    00419         #define SANDESHA2_PROPERTIES_PERM_STORAGE_MGR  "PermanentStorageManager"
    00420
    00421         #define SANDESHA2_PROPERTIES_INORDER_INVOCATION  "InvokeInOrder"
    00422
    00423         #define SANDESHA2_PROPERTIES_MSG_TYPES_TO_DROP  "MessageTypesToDrop"
    00424
    00425         #define SANDESHA2_PROPERTIES_RETR_COUNT  "RetransmissionCount"
    00426
    00427     #define SANDESHA2_PROPERTIES_MAX_RETRANS_COUNT "MaxRetransCount"
    00428
    00433         #define SANDESHA2_DEF_VAL_RETRANSMISSION_INTERVAL 20000
    00434
    00435         #define SANDESHA2_DEF_VAL_ACK_INTERVAL  4000
    00436
    00437         #define SANDESHA2_DEF_VAL_EXP_BACKOFF  AXIS2_TRUE
    00438
    00439         #define SANDESHA2_DEF_VAL_INACTIVETIMEOUT  -1
    00440         /*  this can be - seconds,minutes,hours,days */
    00441         #define SANDESHA2_DEF_VAL_INACTIVETIMEOUT_MEASURE  "seconds"
    00442
    00443         #define SANDESHA2_DEF_VAL_STORAGE_MGR  "InMemoryStorageManager"
    00444
    00445         #define SANDESHA2_DEF_VAL_IN_MEMORY_STORAGE_MGR  "InMemoryStorageManager"
    00446
    00447         #define SANDESHA2_DEF_VAL_PERM_STORAGE_MGR  "InMemoryStorageManager"
    00448
    00449         #define SANDESHA2_DEF_VAL_INORDER_INVOCATION  AXIS2_FALSE
    00450
    00451         #define SANDESHA2_DEF_VAL_MSG_TYPES_TO_DROP  "none"
    00452
    00453         #define SANDESHA2_DEF_VAL_RETR_COUNT  8
    00454
    00455         #define SANDESHA2_DEF_VAL_MAX_RETR_COUNT  10
    00456
    00457         #define SANDESHA2_IN_HANDLER_NAME  "SandeshaInHandler"
    00458
    00459         #define SANDESHA2_OUT_HANDLER_NAME  "SandeshaOutHandler"
    00460
    00461         #define SANDESHA2_GLOBAL_IN_HANDLER_NAME  "GlobalInHandler"
    00462
    00463         #define SANDESHA2_APPLICATION_PROCESSING_DONE  "Sandesha2AppProcessingDone"
    00464
    00465         #define SANDESHA2_ACK_WRITTEN  "AckWritten"
    00466
    00467         #define SANDESHA2_INVOKER_SLEEP_TIME  1  /*4 1 */
    00468
    00469         #define SANDESHA2_SENDER_SLEEP_TIME  1  /*seconds*/
    00470
    00471     #define SANDESHA2_POLLING_MANAGER_WAIT_TIME 3 /* 4 3 */
    00472
    00473         #define SANDESHA2_CLIENT_SLEEP_TIME  4 /* 32 16 */
    00474
    00475         #define SANDESHA2_TERMINATE_DELAY  4 /* In seconds */
    00476
    00477     #define SANDESHA2_POLLING_DELAY  4 /* In seconds */
    00478
    00479         #define SANDESHA2_TEMP_SEQ_ID  "uuid:tempID"
    00480
    00481         #define SANDESHA2_ACK_PROCSSED  "AckProcessed"
    00482
    00483         #define SANDESHA2_RM_ENABLE_KEY  "RMEnabled"
    00484
    00485         #define SANDESHA2_MAXIMUM_RETRANSMISSION_ATTEMPTS  5
    00486
    00487         #define SANDESHA2_PROPERTY_FILE  "sandesha2.properties"
    00488
    00489         #define SANDESHA2_VALUE_NONE  "none"
    00490
    00491         #define SANDESHA2_VALUE_EMPTY  "empty"
    00492
    00493         #define SANDESHA2_MESSAGE_STORE_KEY  "Sandesha2MessageStoreKey"
    00494
    00495         #define SANDESHA2_ORIGINAL_TRANSPORT_OUT_DESC  "Sandesha2OriginalTransportSender"
    00496
    00497     #define SANDESHA2_ORIGINAL_MSG_RECV  "Sandesha2OriginalMessageReceiver"
    00498
    00499         #define SANDESHA2_SET_SEND_TO_TRUE  "Sandesha2SetSendToTrue"
    00500
    00501         #define SANDESHA2_MESSAGE_TYPE  "Sandesha2MessageType"
    00502
    00503         /*Sender will send messages only if this property is null (not set) or true.*/
    00504         #define SANDESHA2_QUALIFIED_FOR_SENDING  "Sandesha2QualifiedForSending"
    00505
    00506         #define SANDESHA2_QNAME_SEPERATOR  ","
    00507
    00508         #define SANDESHA2_EXECUTIN_CHAIN_SEPERATOR  "."
    00509
    00510         #define SANDESHA2_INTERNAL_SEQ_PREFIX  "Sandesha2InternalSequence"
    00511
    00512         #define SANDESHA2_SANDESHA_PROPERTY_BEAN  "Sandesha2PropertyBean"
    00513
    00514         #define SANDESHA2_LIST_SEPERATOR ","
    00515
    00516         #define SANDESHA2_LIST_PART_SEPERATOR "-"
    00517
    00518         #define SANDESHA2_INMEMORY_STORAGE_MGR  "inmemory"
    00519
    00520         #define SANDESHA2_PERMANENT_STORAGE_MGR  "persistent"
    00521
    00522     #define SANDESHA2_MSG_CTX_MAP  "msg_ctx_map"
    00523
    00524         #define SANDESHA2_DEFAULT_STORAGE_MGR "persistent"
    00525
    00526         #define SANDESHA2_SENDER  "Sender"
    00527
    00528         #define SANDESHA2_INVOKER  "Invoker"
    00529
    00530     #define  SANDESHA2_POLLING_MGR "PollingManager"
    00531
    00532         #define SANDESHA2_STORAGE_MGR_PARAMETER   "Sandesha2StorageManager"
    00533
    00534         #define SANDESHA2_POST_FAILURE_MESSAGE  "PostFailureMessage"
    00535
    00536         #define SANDESHA2_REINJECTED_MESSAGE  "ReinjectedMessage"
    00537
    00538         #define SANDESHA2_MODULE_CLASS_LOADER  "Sandesha2ModuleClassLoader"
    00539
    00540     #define SANDESHA2_WSRM_ANON_URI_PREFIX "http://docs.oasis-open.org/ws-rx/wsrm/200702/anonymous"
    00541
    00542     #define AXIS2_WS_RM_ANONYMOUS_URL "http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?id="
    00543
    00547     #define SANDESHA2_MSG_CTX_IN_FLOW 1
    00548     #define SANDESHA2_MSG_CTX_IN_FAULT_FLOW 2
    00549     #define SANDESHA2_MSG_CTX_OUT_FLOW 3
    00550     #define SANDESHA2_MSG_CTX_OUT_FAULT_FLOW 4
    00551
    00552
    00553     #define SANDESHA2_IN_MESSAGE_STORAGE_KEY "InMsgStoreKey"
    00554     #define SANDESHA2_PERSISTANT_PROPERTY_SEPERATOR ",,,"
    00555     #define SANDESHA2_BUSY_WAIT_TIME 1
    00556     #define SANDESHA2_IS_SVR_SIDE "is_svr_side"
    00557     #define SANDESHA2_DB "sandesha2_db"
    00558     #define SANDESHA2_DB_SERVER "sandesha2_server"
    00559     #define SANDESHA2_DB_USER "db_user"
    00560     #define SANDESHA2_DB_PASSWORD "db_password"
    00561         #define SANDESHA2_SENDER_SLEEP  "SenderSleepTime"
    00562         #define SANDESHA2_INVOKER_SLEEP  "InvokerSleepTime"
    00563         #define SANDESHA2_MODULE  "sandesha2"
    00564         #define SANDESHA2_ISOLATED_LAST_MSG "isolated_last_msg"
    00565         #define SANDESHA2_PROPERTY_STRING "propstr"
    00566     #define RAMPART_CONTEXT "RampartContext"
    00567
    00568 #ifdef __cplusplus
    00569 }
    00570 #endif
    00571
    00572 #endif /*SANDESHA2_CONSTANTS_H*/