1 3 11 package com.sun.enterprise.jbi.serviceengine.util.soap; 12 13 import java.util.logging.Level ; 14 15 16 22 public interface SOAPConstants 23 { 24 27 int DEFAULT_MAX_THREADS = 10; 28 29 32 int DEFAULT_MIN_THREADS = 2; 33 34 37 int DEFAULT_THREAD_SLEEP_TIME = 100; 38 39 42 String FAULT_STRING_PROPERTY_NAME = "FAULT_STRING"; 43 44 47 String FAULT_CODE_PROPERTY_NAME = "FAULT_ACTOR"; 48 49 52 String HEADER_PROPERTY_NAME = "SoapHeader"; 53 54 57 String SOAP_ACTION_PROPERTY_NAME = "SOAP_ACTION_URI"; 58 59 62 String HTTP_RESPONSE_CODE = "HTTP_RESPONSE_CODE"; 63 64 67 int INTERNAL_SERVER_ERROR = 401; 68 69 72 int SERVICE_TIMEOUT = 403; 73 74 77 int BAD_REQUEST_FORMAT = 404; 78 79 82 int OPERATION_NOT_SUPPORTED = 405; 83 84 88 int SERVICE_NOT_ACTIVATED = 406; 89 90 94 int INVALID_SOAP_REQUEST_MESSAGE = 412; 95 96 99 int JBI_ERROR = 103; 100 101 104 int JBI_FAULT = 102; 105 106 109 int JBI_SUCCESS = 101; 110 111 114 int JBI_DONE = 100; 115 116 119 String IN_ONLY_PATTERN = "in-only"; 120 121 124 String ROBUST_IN_ONLY_PATTERN = "robust-in-only"; 125 126 129 String IN_OPTIONAL_OUT_PATTERN = "in-opt-out"; 130 131 134 String IN_OUT_PATTERN = "in-out"; 135 136 139 String OUT_ONLY_PATTERN = "out-only"; 140 141 144 String ROBUST_OUT_ONLY_PATTERN = "robust-out-only"; 145 146 149 String OUT_OPTIONAL_IN_PATTERN = "out-opt-in"; 150 151 154 String OUT_IN_PATTERN = "out-in"; 155 156 159 String HTTP_SCHEME = "http"; 160 161 164 String HTTPS_SCHEME = "https"; 165 166 169 String RPC_STYLE = "rpc"; 170 171 174 String DOCUMENT_STYLE = "document"; 175 176 179 String REGISTRY_FILE_NAME = "REGISTRY_FILE_NAME"; 180 181 184 String REGISTRY_FILE_LOCATION = "REGISTRY_FILE_LOCATION"; 185 186 189 String SCHEMA_DIR_NAME = "schema"; 190 191 194 String UTF_8 = "utf-8"; 195 196 199 String UTF_16 = "utf-16"; 200 201 204 String XML_CONTENT_TYPE = "text/xml"; 205 206 209 String XML_CONTENT_TYPE_CHARSET_UTF8 = "text/xml;charset=utf-8"; 210 211 214 String XML_CONTENT_TYPE_CHARSET_UTF16 = "text/xml;charset=utf-16"; 215 216 218 221 String SERVER_FAULT_CODE = "Server"; 222 223 226 String CLIENT_FAULT_CODE = "Client"; 227 228 231 String VERSION_MISMATCH_FAULT_CODE = "VersionMismatch"; 232 233 236 Level DEFAULT_LOG_LEVEL = Level.INFO; 237 238 241 String SOAP_PACKAGE_NAME = "com.sun.jbi.binding.soap"; 242 243 246 String THREAD_PACKAGE_NAME = SOAP_PACKAGE_NAME + ".threads"; 247 248 251 String CONFIG_PACKAGE_NAME = SOAP_PACKAGE_NAME + ".config"; 252 253 256 String OUTBOUND_PACKAGE_NAME = SOAP_PACKAGE_NAME + ".outbound"; 257 258 261 String UTIL_PACKAGE_NAME = SOAP_PACKAGE_NAME + ".util"; 262 263 266 String NEW_LINE = System.getProperty("line.separator"); 267 268 271 String HTTP_SERVLET_REQUEST = "http_servlet_request"; 272 273 276 String DEFAULT_OPERATION_NAME = "default"; 277 278 281 String SUBJECT = "subject"; 282 283 286 String JAXP_SCHEMA_LANGUAGE = 287 "http://java.sun.com/xml/jaxp/properties/schemaLanguage"; 288 289 292 String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema"; 293 294 297 String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource"; 298 299 302 String DEPLOY_SCHEMA_FILE = "endpoints.xsd"; 303 } 304 | Popular Tags |