webservices/wsstar/wsstarmessagehandlers/inc/wsstarmessagehandlerscons.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 #ifndef WSSTAR_MESSAGE_HANDLERS_CONS_H
       
    29 #define WSSTAR_MESSAGE_HANDLERS_CONS_H
       
    30 
       
    31 namespace WSStarAddressingConfig
       
    32     {
       
    33     _LIT8(KHandlerAddressingVersion,      "1.0");
       
    34     _LIT8(KHandlerAddressingXMLNS,        "urn:com.nokia.ws.wsstar.handler.addressing:1.0");
       
    35     _LIT8(KHandlerAddressingCue,          "com.nokia.ws.wsstar.handler.addressing");
       
    36     _LIT8(KHandlerAddressingLocalName,      "Handler");
       
    37     }
       
    38 
       
    39 namespace WSStarAddressing
       
    40     {
       
    41     _LIT8(KAddressingXmlns200403,    "http://schemas.xmlsoap.org/ws/2004/03/addressing");
       
    42     _LIT8(KAddressingXmlns200408,    "http://schemas.xmlsoap.org/ws/2004/08/addressing");
       
    43     _LIT8(KAddressingXmlns200412,    "http://www.w3.org/2004/12/addressing");
       
    44     _LIT8(KAddressingXmlns200502,    "http://www.w3.org/2005/02/addressing");
       
    45     _LIT8(KAddressingXmlns200503,    "http://www.w3.org/2005/03/addressing");
       
    46     _LIT8(KAddressingXmlns200508,    "http://www.w3.org/2005/08/addressing");
       
    47 
       
    48     _LIT8(KAddressingFaultActionXmlns,    "http://schemas.xmlsoap.org/ws/2004/08/addressing/fault");
       
    49     _LIT8(KAddressingPrefix,"wsa");
       
    50 
       
    51 
       
    52     _LIT8(KReplyToAnonymous200403, "http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous");
       
    53     _LIT8(KReplyToAnonymous200408, "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous");
       
    54     _LIT8(KReplyToAnonymous200412, "http://www.w3.org/2004/12/addressing/role/anonymous");
       
    55     _LIT8(KReplyToAnonymous200502, "http://www.w3.org/2005/02/addressing/role/anonymous");
       
    56     _LIT8(KReplyToAnonymous200503, "http://www.w3.org/2005/03/addressing/role/anonymous");
       
    57     _LIT8(KReplyToAnonymous200508, "http://www.w3.org/2005/08/addressing/role/anonymous");
       
    58     
       
    59 
       
    60     
       
    61     _LIT8(KActionName,"Action");
       
    62     _LIT8(KActionQName,"wsa:Action");
       
    63     _LIT8(KMessageIDName,"MessageID");
       
    64     _LIT8(KMessageIDQName,"wsa:MessageID");
       
    65     _LIT8(KToName,"To");
       
    66     _LIT8(KToQName,"wsa:To");
       
    67     _LIT8(KReplyToName,"ReplyTo");
       
    68     _LIT8(KReplyToQName,"wsa:ReplyTo");
       
    69     _LIT8(KFromName,"From");
       
    70     _LIT8(KFromQName,"wsa:From");
       
    71     _LIT8(KRelatesToName,"RelatesTo");
       
    72     _LIT8(KRelatesToQName,"wsa:RelatesTo");
       
    73     _LIT8(KAddressName,"Address");
       
    74     _LIT8(KAddressQName,"wsa:Address");
       
    75     _LIT8(KFaultToName, "FaultTo");
       
    76     _LIT8(KFaultToQName, "wsa:FaultTo");
       
    77     _LIT8(KEndpointReferenceName, "EndpointReference");
       
    78     _LIT8(KEndpointReferenceQName, "wsa:EndpointReference");
       
    79     _LIT8(KReferencePropertiesName, "ReferenceProperties");
       
    80     _LIT8(KReferencePropertiesQName, "wsa:ReferenceProperties");
       
    81 
       
    82     _LIT8(KRetryAfterName, "RetryAfter");
       
    83     _LIT8(KRetryAfterQName, "wsa:RetryAfter");
       
    84     }
       
    85 namespace WSStarAddressingFault
       
    86     {
       
    87     _LIT8(KInvalidHeader,    "InvalidMessageInformationHeader");
       
    88     _LIT8(KRequiredHeader,    "MessageInformationHeaderRequired");
       
    89     _LIT8(KDestinationUnreachable,    "DestinationUnreachable");
       
    90     _LIT8(KActionNotSupported,    "ActionNotSupported");
       
    91     _LIT8(KEndpointUnavailable,    "EndpointUnavailable");
       
    92 
       
    93     _LIT8(KInvalidHeaderFormatString8,
       
    94     "Fault.WS-Addressing : InvalidMessageInformationHeader in %S Detail: %S");
       
    95     _LIT8(KRequiredHeaderFormatString8,
       
    96     "Fault.WS-Addressing : MessageInformationHeaderRequired : %S ");
       
    97     _LIT8(KMissingTag, "Tag is missing");
       
    98     _LIT8(KInvalidUri, "EUriUtilsParserErrInvalidUri");
       
    99     }
       
   100 
       
   101 namespace WSStarSecurityFault
       
   102     {
       
   103     _LIT8(KUnsupportedAlgorithm, "Fault.WS-Security : UnsupportedAlgorithm");
       
   104     }
       
   105 
       
   106 namespace WSStarCredentialCollector
       
   107     {
       
   108     _LIT8(KSecurityUtilsPrefix,"wsu");
       
   109     _LIT8(KSecurityUtilsIdQName,"wsu:Id");
       
   110     _LIT8(KSecurityUtilsXmlns, "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd");        
       
   111     _LIT8(KSecurityUtilsTimestampName, "Timestamp");
       
   112     _LIT8(KSecurityUtilsCreatedName, "Created");
       
   113     }
       
   114 
       
   115 namespace WSPassport32
       
   116     {
       
   117     //tags
       
   118     _LIT8(KPassportXmlns,    "http://schemas.microsoft.com/Passport/SoapServices/PPCRL");
       
   119     _LIT8(KPassportPrefix,"ps");
       
   120     
       
   121     
       
   122     _LIT8(KAuthInfoTag,"AuthInfo");
       
   123     _LIT8(KAuthInfoQTag,"ps:AuthInfo");
       
   124     _LIT8(KHostingAppTag,"HostingApp");
       
   125     _LIT8(KHostingAppQTag,"ps:HostingApp");
       
   126     _LIT8(KBinaryVersionTag,"BinaryVersion");
       
   127     _LIT8(KBinaryVersionQTag,"ps:BinaryVersion");
       
   128     _LIT8(KUIVersionTag,"UIVersion");
       
   129     _LIT8(KUIVersionQTag,"ps:UIVersion");
       
   130     _LIT8(KCookiesTag,"Cookies");
       
   131     _LIT8(KCookiesQTag,"ps:Cookies");
       
   132     _LIT8(KRequestParamsTag,"RequestParams");
       
   133     _LIT8(KRequestParamsQTag,"ps:RequestParams");
       
   134     _LIT8(KRequestMultipleSecurityTokensTag , "RequestMultipleSecurityTokens");
       
   135     _LIT8(KRequestMultipleSecurityTokensQTag, "ps:RequestMultipleSecurityTokens");
       
   136     
       
   137     _LIT8(KPPAuthInfoAttrValue, "PPAuthInfo");
       
   138     
       
   139     //values
       
   140     _LIT8(KHostingAppTagValue,"{DF60E2DF-88AD-4526-AE21-83D130EF0F68}");
       
   141     _LIT8(KBinaryVersionTagValue,"3");
       
   142     _LIT8(KUIVersionTagValue,"1");
       
   143     _LIT8(KCookiesTagValue,"");
       
   144     _LIT8(KRequestParamsTagValue,"AQAAAAIAAABsYwQAAAAxMDMz");
       
   145     
       
   146     //passport faults
       
   147     _LIT8(KRedirectUrlTag,"redirectUrl");
       
   148     _LIT8(KPassportFaultNamespaceXmlns, "http://schemas.microsoft.com/Passport/SoapServices/SOAPFault");
       
   149     _LIT8(KCredProperty, "credProperty");
       
   150     _LIT8(KCredProperties, "credProperties");
       
   151     _LIT8(KName, "Name");
       
   152     _LIT8(KMainBrandID, "MainBrandID");
       
   153     _LIT8(KBrandIDList, "BrandIDList");
       
   154     _LIT8(KIsWinLiveUser, "IsWinLiveUser");
       
   155     _LIT8(KCID, "CID");
       
   156     }
       
   157 
       
   158 namespace WSStarAddressingEPR
       
   159     {
       
   160     _LIT8(KMwsPrefix,   "mws");
       
   161     _LIT8(KDeviceAddressName,   "DeviceAddress");
       
   162     _LIT8(KDeviceAddressQName,  "mws:DeviceAddress");
       
   163     }
       
   164     
       
   165 #endif // WSSTAR_MESSAGE_HANDLERS_CONS_H