1 16 package org.apache.axis2; 17 18 21 public class Constants { 22 25 public static final int SOAP_STYLE_RPC_ENCODED = 1000; 26 27 30 public static final int SOAP_STYLE_RPC_LITERAL = 1001; 31 32 35 public static final int SOAP_STYLE_DOC_LITERAL_WRAPPED = 1002; 36 37 40 public static final String APPLICATION_SCOPE = "application"; 41 42 45 public static final String SESSION_SCOPE = "session"; 46 47 50 public static final String MESSAGE_SCOPE = "message"; 51 52 55 public static final String PHASE_SERVICE = "service"; 56 57 60 public static final String PHASE_TRANSPORT = "transport"; 61 62 65 public static final String PHASE_GLOBAL = "global"; 66 67 70 public static final String SESSION_CONTEXT_PROPERTY = "SessionContext"; 71 72 75 public static final String TRANSPORT_TCP = "tcp"; 76 77 80 public static final String TRANSPORT_HTTP = "http"; 81 82 public static final String TRANSPORT_COMMONS_HTTP = "commons-http"; 83 84 public static final String TRANSPORT_MAIL = "mail"; 85 86 public static final String TRANSPORT_JMS = "jms"; 87 88 public static final String TRANSPORT_LOCAL = "local"; 89 90 93 public static final String REQUEST_URL_PREFIX = "/services"; 94 95 public static final String LISTSERVICES = "listServices"; 96 97 public static final String LIST_SERVICE_FOR_MODULE_ENGAMNET = "listoperation"; 98 99 102 public static final String ADMIN_LISTSERVICES = "listService"; 103 104 public static final String LIST_MODULES = "listModules"; 105 106 public static final String LIST_GLOABLLY_ENGAGED_MODULES = "globalModules"; 107 108 public static final String LIST_PHASES = "listPhases"; 109 110 public static final String ENGAGE_GLOBAL_MODULE = "engagingglobally"; 111 public static final String ENGAGE_MODULE_TO_SERVICE = "engageToService"; 112 113 public static final String ADMIN_LOGGING = "adminloging"; 114 115 public static final String VIEW_GLOBAL_HANDLERS = "viewGlobalHandlers"; 116 public static final String SELECT_SERVICE = "selectService"; 117 public static final String VIEW_SERVICE_HANDLERS = "viewServiceHandlers"; 118 119 122 public static final String SERVICE_MAP = "servicemap"; 123 124 public static final String OPEARTION_MAP = "operationmap"; 125 128 public static final String MODULE_MAP = "modulemap"; 129 130 public static final String MODULE_ENGAMENT = "module_engaging"; 131 132 public static final String GLOBAL_HANDLERS = "axisconfig"; 133 public static final String SERVICE_HANDLERS = "serviceHandlers"; 134 135 public static final String PHASE_LIST = "phaseList"; 136 137 public static final String LIST_OPERATIONS_FOR_THE_SERVICE = "listOperations"; 138 139 public static final String ENGAGE_STATUS = "engagestatus"; 140 141 144 public static final String ERROR_SERVICE_MAP = "errprservicemap"; 145 public static final String ERROR_MODULE_MAP = "errormodulesmap"; 146 147 public static final String IS_FAULTY = "Fault"; 148 149 public static final String MODULE_ADDRESSING = "addressing"; 150 151 public static final String USER_NAME = "userName"; 152 public static final String PASSWORD = "password"; 153 154 157 public static final String SINGLE_SERVICE = "singleservice"; 158 public static final String WSDL_CONTENT = "wsdl"; 159 160 163 public static final char METHOD_NAME_ESCAPE_CHARACTOR = '?'; 164 165 public static final String LOGGED = "Logged"; 166 167 168 public static interface Configuration { 169 public static final String ENABLE_REST = "enableREST"; 170 public static final String ENABLE_MTOM = "enableMTOM"; 172 public static final String ATTACHMENT_TEMP_DIR = "attachmentDIR"; 173 public static final String CACHE_ATTACHMENTS = "cacheAttachments"; 174 } 175 public static final String VALUE_TRUE = "true"; 176 public static final String VALUE_FALSE = "false"; 177 public static final String CONTAINER_MANAGED = "ContainerManaged"; 178 public static final String RESPONSE_WRITTEN = "CONTENT_WRITTEN"; 179 180 181 public static final String TESTING_PATH = "target/test-resources/"; 182 184 public static final String TESTING_REPOSITORY = TESTING_PATH+ "samples"; 185 186 187 188 189 public static interface REST_WITH_GET{ 190 public static final String GET_PARAMETER_OPERATION = "operation"; 191 public static final String GET_PARAMETER_URL = "http://ws.apache.org/goGetWithREST"; 192 193 } 194 195 196 } 197 | Popular Tags |