src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ServerMessages.java

Tue, 09 Apr 2013 14:51:13 +0100

author
alanb
date
Tue, 09 Apr 2013 14:51:13 +0100
changeset 368
0989ad8c0860
parent 286
f50545b5e2f1
child 637
9c07ef4934dd
permissions
-rw-r--r--

8010393: Update JAX-WS RI to 2.2.9-b12941
Reviewed-by: alanb, erikj
Contributed-by: miroslav.kos@oracle.com, martin.grebac@oracle.com

ohair@286 1 /*
alanb@368 2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
ohair@286 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@286 4 *
ohair@286 5 * This code is free software; you can redistribute it and/or modify it
ohair@286 6 * under the terms of the GNU General Public License version 2 only, as
ohair@286 7 * published by the Free Software Foundation. Oracle designates this
ohair@286 8 * particular file as subject to the "Classpath" exception as provided
ohair@286 9 * by Oracle in the LICENSE file that accompanied this code.
ohair@286 10 *
ohair@286 11 * This code is distributed in the hope that it will be useful, but WITHOUT
ohair@286 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@286 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@286 14 * version 2 for more details (a copy is included in the LICENSE file that
ohair@286 15 * accompanied this code).
ohair@286 16 *
ohair@286 17 * You should have received a copy of the GNU General Public License version
ohair@286 18 * 2 along with this work; if not, write to the Free Software Foundation,
ohair@286 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@286 20 *
ohair@286 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@286 22 * or visit www.oracle.com if you need additional information or have any
ohair@286 23 * questions.
ohair@286 24 */
ohair@286 25
ohair@286 26 package com.sun.xml.internal.ws.resources;
ohair@286 27
alanb@368 28 import com.sun.istack.internal.localization.Localizable;
alanb@368 29 import com.sun.istack.internal.localization.LocalizableMessageFactory;
alanb@368 30 import com.sun.istack.internal.localization.Localizer;
ohair@286 31
ohair@286 32
ohair@286 33 /**
ohair@286 34 * Defines string formatting method for each constant in the resource file
ohair@286 35 *
ohair@286 36 */
ohair@286 37 public final class ServerMessages {
ohair@286 38
ohair@286 39 private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.server");
ohair@286 40 private final static Localizer localizer = new Localizer();
ohair@286 41
ohair@286 42 public static Localizable localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICE(Object arg0, Object arg1) {
ohair@286 43 return messageFactory.getMessage("runtime.parser.wsdl.incorrectservice", arg0, arg1);
ohair@286 44 }
ohair@286 45
ohair@286 46 /**
ohair@286 47 * could not get binding from WSDL! service: {0} not found in the WSDL {1}.
ohair@286 48 * It could be because service name does not match WSDL''s wsdl:service name:
ohair@286 49 * 1. service name is not there in deployment descriptor OR
ohair@286 50 * 2. Either there is a typo in deployment descriptor''s service name OR
ohair@286 51 * 3. The computed names from @WebService do not match wsdl:service name
ohair@286 52 * OR
ohair@286 53 * 1. There is an error while parsing the wsdl and Service with name {0} is not found in the WSDLModel.
ohair@286 54 * Suggest doing the following:
ohair@286 55 * 1. Add/Correct entries for service name in deployment descriptor OR
ohair@286 56 * 2. Specify targetNamespace, serviceName in @WebService on the endpoint class
ohair@286 57 *
ohair@286 58 */
ohair@286 59 public static String RUNTIME_PARSER_WSDL_INCORRECTSERVICE(Object arg0, Object arg1) {
ohair@286 60 return localizer.localize(localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICE(arg0, arg1));
ohair@286 61 }
ohair@286 62
ohair@286 63 public static Localizable localizableRUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE() {
ohair@286 64 return messageFactory.getMessage("runtime.parser.missing.attribute.no.line");
ohair@286 65 }
ohair@286 66
ohair@286 67 /**
ohair@286 68 * missing attribute "{2}" in element "{1}" of runtime descriptor
ohair@286 69 *
ohair@286 70 */
ohair@286 71 public static String RUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE() {
ohair@286 72 return localizer.localize(localizableRUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE());
ohair@286 73 }
ohair@286 74
ohair@286 75 public static Localizable localizableSTATEFUL_COOKIE_HEADER_INCORRECT(Object arg0, Object arg1) {
ohair@286 76 return messageFactory.getMessage("stateful.cookie.header.incorrect", arg0, arg1);
ohair@286 77 }
ohair@286 78
ohair@286 79 /**
ohair@286 80 * Invalid/expired {0} header value: {1}
ohair@286 81 *
ohair@286 82 */
ohair@286 83 public static String STATEFUL_COOKIE_HEADER_INCORRECT(Object arg0, Object arg1) {
ohair@286 84 return localizer.localize(localizableSTATEFUL_COOKIE_HEADER_INCORRECT(arg0, arg1));
ohair@286 85 }
ohair@286 86
ohair@286 87 public static Localizable localizableNOT_IMPLEMENT_PROVIDER(Object arg0) {
ohair@286 88 return messageFactory.getMessage("not.implement.provider", arg0);
ohair@286 89 }
ohair@286 90
ohair@286 91 /**
ohair@286 92 * "{0}" doesn't implement Provider
ohair@286 93 *
ohair@286 94 */
ohair@286 95 public static String NOT_IMPLEMENT_PROVIDER(Object arg0) {
ohair@286 96 return localizer.localize(localizableNOT_IMPLEMENT_PROVIDER(arg0));
ohair@286 97 }
ohair@286 98
ohair@286 99 public static Localizable localizableSTATEFUL_REQURES_ADDRESSING(Object arg0) {
ohair@286 100 return messageFactory.getMessage("stateful.requres.addressing", arg0);
ohair@286 101 }
ohair@286 102
ohair@286 103 /**
ohair@286 104 * Stateful web service {0} requires the WS-Addressing support to be enabled. Perhaps you are missing @Addressing
ohair@286 105 *
ohair@286 106 */
ohair@286 107 public static String STATEFUL_REQURES_ADDRESSING(Object arg0) {
ohair@286 108 return localizer.localize(localizableSTATEFUL_REQURES_ADDRESSING(arg0));
ohair@286 109 }
ohair@286 110
ohair@286 111 public static Localizable localizableSOAPDECODER_ERR() {
ohair@286 112 return messageFactory.getMessage("soapdecoder.err");
ohair@286 113 }
ohair@286 114
ohair@286 115 /**
ohair@286 116 * Error in decoding SOAP Message
ohair@286 117 *
ohair@286 118 */
ohair@286 119 public static String SOAPDECODER_ERR() {
ohair@286 120 return localizer.localize(localizableSOAPDECODER_ERR());
ohair@286 121 }
ohair@286 122
ohair@286 123 public static Localizable localizableGENERATE_NON_STANDARD_WSDL() {
ohair@286 124 return messageFactory.getMessage("generate.non.standard.wsdl");
ohair@286 125 }
ohair@286 126
ohair@286 127 /**
ohair@286 128 * Generating non-standard WSDL for the specified binding
ohair@286 129 *
ohair@286 130 */
ohair@286 131 public static String GENERATE_NON_STANDARD_WSDL() {
ohair@286 132 return localizer.localize(localizableGENERATE_NON_STANDARD_WSDL());
ohair@286 133 }
ohair@286 134
ohair@286 135 public static Localizable localizableDISPATCH_CANNOT_FIND_METHOD(Object arg0) {
ohair@286 136 return messageFactory.getMessage("dispatch.cannotFindMethod", arg0);
ohair@286 137 }
ohair@286 138
ohair@286 139 /**
ohair@286 140 * Cannot find dispatch method for {0}
ohair@286 141 *
ohair@286 142 */
ohair@286 143 public static String DISPATCH_CANNOT_FIND_METHOD(Object arg0) {
ohair@286 144 return localizer.localize(localizableDISPATCH_CANNOT_FIND_METHOD(arg0));
ohair@286 145 }
ohair@286 146
ohair@286 147 public static Localizable localizableNO_CONTENT_TYPE() {
ohair@286 148 return messageFactory.getMessage("no.contentType");
ohair@286 149 }
ohair@286 150
ohair@286 151 /**
ohair@286 152 * Request doesn't have a Content-Type
ohair@286 153 *
ohair@286 154 */
ohair@286 155 public static String NO_CONTENT_TYPE() {
ohair@286 156 return localizer.localize(localizableNO_CONTENT_TYPE());
ohair@286 157 }
ohair@286 158
ohair@286 159 public static Localizable localizableRUNTIME_PARSER_INVALID_VERSION_NUMBER() {
ohair@286 160 return messageFactory.getMessage("runtime.parser.invalidVersionNumber");
ohair@286 161 }
ohair@286 162
ohair@286 163 /**
ohair@286 164 * unsupported runtime descriptor version: {2}
ohair@286 165 *
ohair@286 166 */
ohair@286 167 public static String RUNTIME_PARSER_INVALID_VERSION_NUMBER() {
ohair@286 168 return localizer.localize(localizableRUNTIME_PARSER_INVALID_VERSION_NUMBER());
ohair@286 169 }
ohair@286 170
ohair@286 171 public static Localizable localizablePROVIDER_INVALID_PARAMETER_TYPE(Object arg0, Object arg1) {
ohair@286 172 return messageFactory.getMessage("provider.invalid.parameterType", arg0, arg1);
ohair@286 173 }
ohair@286 174
ohair@286 175 /**
ohair@286 176 * "{0}" implements Provider but its type parameter {1} is incorrect
ohair@286 177 *
ohair@286 178 */
ohair@286 179 public static String PROVIDER_INVALID_PARAMETER_TYPE(Object arg0, Object arg1) {
ohair@286 180 return localizer.localize(localizablePROVIDER_INVALID_PARAMETER_TYPE(arg0, arg1));
ohair@286 181 }
ohair@286 182
ohair@286 183 public static Localizable localizableWRONG_NO_PARAMETERS(Object arg0) {
ohair@286 184 return messageFactory.getMessage("wrong.no.parameters", arg0);
ohair@286 185 }
ohair@286 186
ohair@286 187 /**
ohair@286 188 * Incorrect no of arguments for method "{0}"
ohair@286 189 *
ohair@286 190 */
ohair@286 191 public static String WRONG_NO_PARAMETERS(Object arg0) {
ohair@286 192 return localizer.localize(localizableWRONG_NO_PARAMETERS(arg0));
ohair@286 193 }
ohair@286 194
ohair@286 195 public static Localizable localizableANNOTATION_ONLY_ONCE(Object arg0) {
ohair@286 196 return messageFactory.getMessage("annotation.only.once", arg0);
ohair@286 197 }
ohair@286 198
ohair@286 199 /**
ohair@286 200 * Only one method should have the annotation "{0}"
ohair@286 201 *
ohair@286 202 */
ohair@286 203 public static String ANNOTATION_ONLY_ONCE(Object arg0) {
ohair@286 204 return localizer.localize(localizableANNOTATION_ONLY_ONCE(arg0));
ohair@286 205 }
ohair@286 206
ohair@286 207 public static Localizable localizableALREADY_HTTPS_SERVER(Object arg0) {
ohair@286 208 return messageFactory.getMessage("already.https.server", arg0);
ohair@286 209 }
ohair@286 210
ohair@286 211 /**
ohair@286 212 * There is already a HTTPS server at : {0}
ohair@286 213 *
ohair@286 214 */
ohair@286 215 public static String ALREADY_HTTPS_SERVER(Object arg0) {
ohair@286 216 return localizer.localize(localizableALREADY_HTTPS_SERVER(arg0));
ohair@286 217 }
ohair@286 218
ohair@286 219 public static Localizable localizableRUNTIME_PARSER_XML_READER(Object arg0) {
ohair@286 220 return messageFactory.getMessage("runtime.parser.xmlReader", arg0);
ohair@286 221 }
ohair@286 222
ohair@286 223 /**
ohair@286 224 * error parsing runtime descriptor: {0}
ohair@286 225 *
ohair@286 226 */
ohair@286 227 public static String RUNTIME_PARSER_XML_READER(Object arg0) {
ohair@286 228 return localizer.localize(localizableRUNTIME_PARSER_XML_READER(arg0));
ohair@286 229 }
ohair@286 230
ohair@286 231 public static Localizable localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(Object arg0, Object arg1, Object arg2) {
ohair@286 232 return messageFactory.getMessage("runtime.parser.wsdl.incorrectserviceport", arg0, arg1, arg2);
ohair@286 233 }
ohair@286 234
ohair@286 235 /**
ohair@286 236 * could not get binding from WSDL! service: {0} or port {1} not found in the WSDL {2}.
ohair@286 237 * It could be because service and port names do not match WSDL''s wsdl:service and wsdl:port names:
ohair@286 238 * 1. service and port names are not there in deployment descriptor OR
ohair@286 239 * 2. Either there is a typo in deployment descriptor''s service and port names OR
ohair@286 240 * 3. The computed names from @WebService do not match wsdl:service and wsdl:port names
ohair@286 241 * Suggest doing the following:
ohair@286 242 * 1. Add/Correct entries for service and port names in deployment descriptor OR
ohair@286 243 * 2. Specify targetNamespace, serviceName, portName in @WebService on the endpoint class
ohair@286 244 *
ohair@286 245 */
ohair@286 246 public static String RUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(Object arg0, Object arg1, Object arg2) {
ohair@286 247 return localizer.localize(localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(arg0, arg1, arg2));
ohair@286 248 }
ohair@286 249
ohair@286 250 public static Localizable localizableSERVER_RT_ERR(Object arg0) {
ohair@286 251 return messageFactory.getMessage("server.rt.err", arg0);
ohair@286 252 }
ohair@286 253
ohair@286 254 /**
ohair@286 255 * Server Runtime Error: {0}
ohair@286 256 *
ohair@286 257 */
ohair@286 258 public static String SERVER_RT_ERR(Object arg0) {
ohair@286 259 return localizer.localize(localizableSERVER_RT_ERR(arg0));
ohair@286 260 }
ohair@286 261
ohair@286 262 public static Localizable localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1, Object arg2) {
ohair@286 263 return messageFactory.getMessage("runtime.parser.invalidAttributeValue", arg0, arg1, arg2);
ohair@286 264 }
ohair@286 265
ohair@286 266 /**
ohair@286 267 * invalid value for attribute "{2}" of element "{1}" in runtime descriptor (line {0})
ohair@286 268 *
ohair@286 269 */
ohair@286 270 public static String RUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1, Object arg2) {
ohair@286 271 return localizer.localize(localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(arg0, arg1, arg2));
ohair@286 272 }
ohair@286 273
ohair@286 274 public static Localizable localizableNO_CURRENT_PACKET() {
ohair@286 275 return messageFactory.getMessage("no.current.packet");
ohair@286 276 }
ohair@286 277
ohair@286 278 /**
ohair@286 279 * This thread is not currently processing any web service request.
ohair@286 280 *
ohair@286 281 */
ohair@286 282 public static String NO_CURRENT_PACKET() {
ohair@286 283 return localizer.localize(localizableNO_CURRENT_PACKET());
ohair@286 284 }
ohair@286 285
ohair@286 286 public static Localizable localizableRUNTIME_PARSER_UNEXPECTED_CONTENT(Object arg0) {
ohair@286 287 return messageFactory.getMessage("runtime.parser.unexpectedContent", arg0);
ohair@286 288 }
ohair@286 289
ohair@286 290 /**
ohair@286 291 * unexpected content in runtime descriptor (line {0})
ohair@286 292 *
ohair@286 293 */
ohair@286 294 public static String RUNTIME_PARSER_UNEXPECTED_CONTENT(Object arg0) {
ohair@286 295 return localizer.localize(localizableRUNTIME_PARSER_UNEXPECTED_CONTENT(arg0));
ohair@286 296 }
ohair@286 297
ohair@286 298 public static Localizable localizableSTATEFUL_COOKIE_HEADER_REQUIRED(Object arg0) {
ohair@286 299 return messageFactory.getMessage("stateful.cookie.header.required", arg0);
ohair@286 300 }
ohair@286 301
ohair@286 302 /**
ohair@286 303 * This is a stateful web service and {0} header is required.
ohair@286 304 *
ohair@286 305 */
ohair@286 306 public static String STATEFUL_COOKIE_HEADER_REQUIRED(Object arg0) {
ohair@286 307 return localizer.localize(localizableSTATEFUL_COOKIE_HEADER_REQUIRED(arg0));
ohair@286 308 }
ohair@286 309
ohair@286 310 public static Localizable localizableNULL_IMPLEMENTOR() {
ohair@286 311 return messageFactory.getMessage("null.implementor");
ohair@286 312 }
ohair@286 313
ohair@286 314 /**
ohair@286 315 * Implementor cannot be null
ohair@286 316 *
ohair@286 317 */
ohair@286 318 public static String NULL_IMPLEMENTOR() {
ohair@286 319 return localizer.localize(localizableNULL_IMPLEMENTOR());
ohair@286 320 }
ohair@286 321
ohair@286 322 public static Localizable localizableRUNTIME_PARSER_WSDL(Object arg0) {
ohair@286 323 return messageFactory.getMessage("runtime.parser.wsdl", arg0);
ohair@286 324 }
ohair@286 325
ohair@286 326 /**
ohair@286 327 * exception during WSDL parsing: {0}
ohair@286 328 *
ohair@286 329 */
ohair@286 330 public static String RUNTIME_PARSER_WSDL(Object arg0) {
ohair@286 331 return localizer.localize(localizableRUNTIME_PARSER_WSDL(arg0));
ohair@286 332 }
ohair@286 333
ohair@286 334 public static Localizable localizableSOAPENCODER_ERR() {
ohair@286 335 return messageFactory.getMessage("soapencoder.err");
ohair@286 336 }
ohair@286 337
ohair@286 338 /**
ohair@286 339 * Error in encoding SOAP Message
ohair@286 340 *
ohair@286 341 */
ohair@286 342 public static String SOAPENCODER_ERR() {
ohair@286 343 return localizer.localize(localizableSOAPENCODER_ERR());
ohair@286 344 }
ohair@286 345
ohair@286 346 public static Localizable localizableWSDL_REQUIRED() {
ohair@286 347 return messageFactory.getMessage("wsdl.required");
ohair@286 348 }
ohair@286 349
ohair@286 350 /**
ohair@286 351 * wsdl is required
ohair@286 352 *
ohair@286 353 */
ohair@286 354 public static String WSDL_REQUIRED() {
ohair@286 355 return localizer.localize(localizableWSDL_REQUIRED());
ohair@286 356 }
ohair@286 357
ohair@286 358 public static Localizable localizableRUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(Object arg0) {
ohair@286 359 return messageFactory.getMessage("runtime.parser.wsdl.noservice.in.wsdlmodel", arg0);
ohair@286 360 }
ohair@286 361
ohair@286 362 /**
ohair@286 363 * There is an error in processing the WSDL {0} and no valid services are found.
ohair@286 364 *
ohair@286 365 */
ohair@286 366 public static String RUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(Object arg0) {
ohair@286 367 return localizer.localize(localizableRUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(arg0));
ohair@286 368 }
ohair@286 369
ohair@286 370 public static Localizable localizablePORT_NAME_REQUIRED() {
ohair@286 371 return messageFactory.getMessage("port.name.required");
ohair@286 372 }
ohair@286 373
ohair@286 374 /**
ohair@286 375 * Port QName is not found
ohair@286 376 *
ohair@286 377 */
ohair@286 378 public static String PORT_NAME_REQUIRED() {
ohair@286 379 return localizer.localize(localizablePORT_NAME_REQUIRED());
ohair@286 380 }
ohair@286 381
ohair@286 382 public static Localizable localizableWRONG_TNS_FOR_PORT(Object arg0) {
ohair@286 383 return messageFactory.getMessage("wrong.tns.for.port", arg0);
ohair@286 384 }
ohair@286 385
ohair@286 386 /**
ohair@286 387 * Port namespace {0} doesn't match Service namespace {1}
ohair@286 388 *
ohair@286 389 */
ohair@286 390 public static String WRONG_TNS_FOR_PORT(Object arg0) {
ohair@286 391 return localizer.localize(localizableWRONG_TNS_FOR_PORT(arg0));
ohair@286 392 }
ohair@286 393
ohair@286 394 public static Localizable localizableRUNTIME_PARSER_WSDL_MULTIPLEBINDING(Object arg0, Object arg1, Object arg2) {
ohair@286 395 return messageFactory.getMessage("runtime.parser.wsdl.multiplebinding", arg0, arg1, arg2);
ohair@286 396 }
ohair@286 397
ohair@286 398 /**
ohair@286 399 * multiple bindings found for binding ID {0} for service {1} in WSDL {2}
ohair@286 400 *
ohair@286 401 */
ohair@286 402 public static String RUNTIME_PARSER_WSDL_MULTIPLEBINDING(Object arg0, Object arg1, Object arg2) {
ohair@286 403 return localizer.localize(localizableRUNTIME_PARSER_WSDL_MULTIPLEBINDING(arg0, arg1, arg2));
ohair@286 404 }
ohair@286 405
ohair@286 406 public static Localizable localizableNOT_KNOW_HTTP_CONTEXT_TYPE(Object arg0, Object arg1, Object arg2) {
ohair@286 407 return messageFactory.getMessage("not.know.HttpContext.type", arg0, arg1, arg2);
ohair@286 408 }
ohair@286 409
ohair@286 410 /**
ohair@286 411 * Doesn''t support Endpoint.publish({0}). Known context types are {1}, and {2}
ohair@286 412 *
ohair@286 413 */
ohair@286 414 public static String NOT_KNOW_HTTP_CONTEXT_TYPE(Object arg0, Object arg1, Object arg2) {
ohair@286 415 return localizer.localize(localizableNOT_KNOW_HTTP_CONTEXT_TYPE(arg0, arg1, arg2));
ohair@286 416 }
ohair@286 417
ohair@286 418 public static Localizable localizableNON_UNIQUE_DISPATCH_QNAME(Object arg0, Object arg1) {
ohair@286 419 return messageFactory.getMessage("non.unique.dispatch.qname", arg0, arg1);
ohair@286 420 }
ohair@286 421
ohair@286 422 /**
ohair@286 423 * Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signature on the wire for successful dispatch. Methods {0} have the same request body block {1}. Method dispatching may fail, runtime will try to dispatch using SOAPAction. Another option is to enable AddressingFeature to enabled runtime to uniquely identify WSDL operation using wsa:Action header.
ohair@286 424 *
ohair@286 425 */
ohair@286 426 public static String NON_UNIQUE_DISPATCH_QNAME(Object arg0, Object arg1) {
ohair@286 427 return localizer.localize(localizableNON_UNIQUE_DISPATCH_QNAME(arg0, arg1));
ohair@286 428 }
ohair@286 429
ohair@286 430 public static Localizable localizableALREADY_HTTP_SERVER(Object arg0) {
ohair@286 431 return messageFactory.getMessage("already.http.server", arg0);
ohair@286 432 }
ohair@286 433
ohair@286 434 /**
ohair@286 435 * There is already a HTTP server at : {0}# {0} - probably URL/port of a server
ohair@286 436 *
ohair@286 437 */
ohair@286 438 public static String ALREADY_HTTP_SERVER(Object arg0) {
ohair@286 439 return localizer.localize(localizableALREADY_HTTP_SERVER(arg0));
ohair@286 440 }
ohair@286 441
ohair@286 442 public static Localizable localizableCAN_NOT_GENERATE_WSDL(Object arg0) {
ohair@286 443 return messageFactory.getMessage("can.not.generate.wsdl", arg0);
ohair@286 444 }
ohair@286 445
ohair@286 446 /**
ohair@286 447 * Cannot generate WSDL for binding "{0}"
ohair@286 448 *
ohair@286 449 */
ohair@286 450 public static String CAN_NOT_GENERATE_WSDL(Object arg0) {
ohair@286 451 return localizer.localize(localizableCAN_NOT_GENERATE_WSDL(arg0));
ohair@286 452 }
ohair@286 453
ohair@286 454 public static Localizable localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
ohair@286 455 return messageFactory.getMessage("runtime.parser.invalid.attribute.value", arg0, arg1);
ohair@286 456 }
ohair@286 457
ohair@286 458 /**
ohair@286 459 * invalid attribute value "{1}" in runtime descriptor (line {0})
ohair@286 460 *
ohair@286 461 */
ohair@286 462 public static String RUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
ohair@286 463 return localizer.localize(localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(arg0, arg1));
ohair@286 464 }
ohair@286 465
ohair@286 466 public static Localizable localizableRUNTIME_PARSER_WRONG_ELEMENT(Object arg0, Object arg1, Object arg2) {
ohair@286 467 return messageFactory.getMessage("runtime.parser.wrong.element", arg0, arg1, arg2);
ohair@286 468 }
ohair@286 469
ohair@286 470 /**
ohair@286 471 * found element "{1}", expected "{2}" in runtime descriptor (line {0})
ohair@286 472 *
ohair@286 473 */
ohair@286 474 public static String RUNTIME_PARSER_WRONG_ELEMENT(Object arg0, Object arg1, Object arg2) {
ohair@286 475 return localizer.localize(localizableRUNTIME_PARSER_WRONG_ELEMENT(arg0, arg1, arg2));
ohair@286 476 }
ohair@286 477
ohair@286 478 public static Localizable localizableRUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(Object arg0, Object arg1, Object arg2) {
ohair@286 479 return messageFactory.getMessage("runtimemodeler.invalidannotationOnImpl", arg0, arg1, arg2);
ohair@286 480 }
ohair@286 481
ohair@286 482 /**
ohair@286 483 * Invalid annotation: {0} on endpoint implementation class "{1}" - will be ignored. "{1}" is annotated with @WebService(endpointInterface="{2}"}, it must not be annotated with {0}, to fix it - put this annotation on the SEI {2}.
ohair@286 484 *
ohair@286 485 */
ohair@286 486 public static String RUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(Object arg0, Object arg1, Object arg2) {
ohair@286 487 return localizer.localize(localizableRUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(arg0, arg1, arg2));
ohair@286 488 }
ohair@286 489
ohair@286 490 public static Localizable localizableSERVICE_NAME_REQUIRED() {
ohair@286 491 return messageFactory.getMessage("service.name.required");
ohair@286 492 }
ohair@286 493
ohair@286 494 /**
ohair@286 495 * Service QName is not found
ohair@286 496 *
ohair@286 497 */
ohair@286 498 public static String SERVICE_NAME_REQUIRED() {
ohair@286 499 return localizer.localize(localizableSERVICE_NAME_REQUIRED());
ohair@286 500 }
ohair@286 501
ohair@286 502 public static Localizable localizablePROVIDER_NOT_PARAMETERIZED(Object arg0) {
ohair@286 503 return messageFactory.getMessage("provider.not.parameterized", arg0);
ohair@286 504 }
ohair@286 505
ohair@286 506 /**
ohair@286 507 * "{0}" implements Provider but doesn't specify the type parameter
ohair@286 508 *
ohair@286 509 */
ohair@286 510 public static String PROVIDER_NOT_PARAMETERIZED(Object arg0) {
ohair@286 511 return localizer.localize(localizablePROVIDER_NOT_PARAMETERIZED(arg0));
ohair@286 512 }
ohair@286 513
ohair@286 514 public static Localizable localizableRUNTIME_WSDL_PATCHER() {
ohair@286 515 return messageFactory.getMessage("runtime.wsdl.patcher");
ohair@286 516 }
ohair@286 517
ohair@286 518 /**
ohair@286 519 * error while patching WSDL related document
ohair@286 520 *
ohair@286 521 */
ohair@286 522 public static String RUNTIME_WSDL_PATCHER() {
ohair@286 523 return localizer.localize(localizableRUNTIME_WSDL_PATCHER());
ohair@286 524 }
ohair@286 525
ohair@286 526 public static Localizable localizableRUNTIME_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
ohair@286 527 return messageFactory.getMessage("runtime.saxparser.exception", arg0, arg1);
ohair@286 528 }
ohair@286 529
ohair@286 530 /**
ohair@286 531 * {0}
ohair@286 532 * {1}
ohair@286 533 *
ohair@286 534 */
ohair@286 535 public static String RUNTIME_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
ohair@286 536 return localizer.localize(localizableRUNTIME_SAXPARSER_EXCEPTION(arg0, arg1));
ohair@286 537 }
ohair@286 538
ohair@286 539 public static Localizable localizableWRONG_PARAMETER_TYPE(Object arg0) {
ohair@286 540 return messageFactory.getMessage("wrong.parameter.type", arg0);
ohair@286 541 }
ohair@286 542
ohair@286 543 /**
ohair@286 544 * Incorrect argument types for method "{0}"
ohair@286 545 *
ohair@286 546 */
ohair@286 547 public static String WRONG_PARAMETER_TYPE(Object arg0) {
ohair@286 548 return localizer.localize(localizableWRONG_PARAMETER_TYPE(arg0));
ohair@286 549 }
ohair@286 550
ohair@286 551 public static Localizable localizableRUNTIME_PARSER_WSDL_NOT_FOUND(Object arg0) {
ohair@286 552 return messageFactory.getMessage("runtime.parser.wsdl.not.found", arg0);
ohair@286 553 }
ohair@286 554
ohair@286 555 /**
ohair@286 556 * {0} is not found in the WAR file. Package it in the WAR file or correct it in sun-jaxws.xml.
ohair@286 557 *
ohair@286 558 */
ohair@286 559 public static String RUNTIME_PARSER_WSDL_NOT_FOUND(Object arg0) {
ohair@286 560 return localizer.localize(localizableRUNTIME_PARSER_WSDL_NOT_FOUND(arg0));
ohair@286 561 }
ohair@286 562
ohair@286 563 public static Localizable localizableRUNTIME_PARSER_CLASS_NOT_FOUND(Object arg0) {
ohair@286 564 return messageFactory.getMessage("runtime.parser.classNotFound", arg0);
ohair@286 565 }
ohair@286 566
ohair@286 567 /**
ohair@286 568 * class not found in runtime descriptor: {0}
ohair@286 569 *
ohair@286 570 */
ohair@286 571 public static String RUNTIME_PARSER_CLASS_NOT_FOUND(Object arg0) {
ohair@286 572 return localizer.localize(localizableRUNTIME_PARSER_CLASS_NOT_FOUND(arg0));
ohair@286 573 }
ohair@286 574
ohair@286 575 public static Localizable localizableUNSUPPORTED_CHARSET(Object arg0) {
ohair@286 576 return messageFactory.getMessage("unsupported.charset", arg0);
ohair@286 577 }
ohair@286 578
ohair@286 579 /**
ohair@286 580 * Unsupported charset "{0}" in the received message''s Content-Type
ohair@286 581 *
ohair@286 582 */
ohair@286 583 public static String UNSUPPORTED_CHARSET(Object arg0) {
ohair@286 584 return localizer.localize(localizableUNSUPPORTED_CHARSET(arg0));
ohair@286 585 }
ohair@286 586
ohair@286 587 public static Localizable localizableSTATIC_RESOURCE_INJECTION_ONLY(Object arg0, Object arg1) {
ohair@286 588 return messageFactory.getMessage("static.resource.injection.only", arg0, arg1);
ohair@286 589 }
ohair@286 590
ohair@286 591 /**
ohair@286 592 * Static resource {0} cannot be injected to non-static "{1}"
ohair@286 593 *
ohair@286 594 */
ohair@286 595 public static String STATIC_RESOURCE_INJECTION_ONLY(Object arg0, Object arg1) {
ohair@286 596 return localizer.localize(localizableSTATIC_RESOURCE_INJECTION_ONLY(arg0, arg1));
ohair@286 597 }
ohair@286 598
ohair@286 599 public static Localizable localizableNOT_ZERO_PARAMETERS(Object arg0) {
ohair@286 600 return messageFactory.getMessage("not.zero.parameters", arg0);
ohair@286 601 }
ohair@286 602
ohair@286 603 /**
ohair@286 604 * Method "{0}" shouldn''t have any arguments
ohair@286 605 *
ohair@286 606 */
ohair@286 607 public static String NOT_ZERO_PARAMETERS(Object arg0) {
ohair@286 608 return localizer.localize(localizableNOT_ZERO_PARAMETERS(arg0));
ohair@286 609 }
ohair@286 610
ohair@286 611 public static Localizable localizableDUPLICATE_PRIMARY_WSDL(Object arg0) {
ohair@286 612 return messageFactory.getMessage("duplicate.primary.wsdl", arg0);
ohair@286 613 }
ohair@286 614
ohair@286 615 /**
ohair@286 616 * Metadata has more than one WSDL that has Service definition for the endpoint. WSDL={0} is one such WSDL.
ohair@286 617 *
ohair@286 618 */
ohair@286 619 public static String DUPLICATE_PRIMARY_WSDL(Object arg0) {
ohair@286 620 return localizer.localize(localizableDUPLICATE_PRIMARY_WSDL(arg0));
ohair@286 621 }
ohair@286 622
ohair@286 623 public static Localizable localizableDUPLICATE_ABSTRACT_WSDL(Object arg0) {
ohair@286 624 return messageFactory.getMessage("duplicate.abstract.wsdl", arg0);
ohair@286 625 }
ohair@286 626
ohair@286 627 /**
ohair@286 628 * Metadata has more than one WSDL that has PortType definition for the endpoint. WSDL={0} is one such WSDL.
ohair@286 629 *
ohair@286 630 */
ohair@286 631 public static String DUPLICATE_ABSTRACT_WSDL(Object arg0) {
ohair@286 632 return localizer.localize(localizableDUPLICATE_ABSTRACT_WSDL(arg0));
ohair@286 633 }
ohair@286 634
ohair@286 635 public static Localizable localizableSTATEFUL_INVALID_WEBSERVICE_CONTEXT(Object arg0) {
ohair@286 636 return messageFactory.getMessage("stateful.invalid.webservice.context", arg0);
ohair@286 637 }
ohair@286 638
ohair@286 639 /**
ohair@286 640 * Not a WebServiceContext from JAX-WS RI: {0}
ohair@286 641 *
ohair@286 642 */
ohair@286 643 public static String STATEFUL_INVALID_WEBSERVICE_CONTEXT(Object arg0) {
ohair@286 644 return localizer.localize(localizableSTATEFUL_INVALID_WEBSERVICE_CONTEXT(arg0));
ohair@286 645 }
ohair@286 646
ohair@286 647 public static Localizable localizableRUNTIME_PARSER_INVALID_ELEMENT(Object arg0, Object arg1) {
ohair@286 648 return messageFactory.getMessage("runtime.parser.invalidElement", arg0, arg1);
ohair@286 649 }
ohair@286 650
ohair@286 651 /**
ohair@286 652 * invalid element "{1}" in runtime descriptor (line {0})
ohair@286 653 *
ohair@286 654 */
ohair@286 655 public static String RUNTIME_PARSER_INVALID_ELEMENT(Object arg0, Object arg1) {
ohair@286 656 return localizer.localize(localizableRUNTIME_PARSER_INVALID_ELEMENT(arg0, arg1));
ohair@286 657 }
ohair@286 658
ohair@286 659 public static Localizable localizableRUNTIME_PARSER_MISSING_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
ohair@286 660 return messageFactory.getMessage("runtime.parser.missing.attribute", arg0, arg1, arg2);
ohair@286 661 }
ohair@286 662
ohair@286 663 /**
ohair@286 664 * missing attribute "{2}" in element "{1}" of runtime descriptor (line {0})
ohair@286 665 *
ohair@286 666 */
ohair@286 667 public static String RUNTIME_PARSER_MISSING_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
ohair@286 668 return localizer.localize(localizableRUNTIME_PARSER_MISSING_ATTRIBUTE(arg0, arg1, arg2));
ohair@286 669 }
ohair@286 670
ohair@286 671 public static Localizable localizableWRONG_FIELD_TYPE(Object arg0) {
ohair@286 672 return messageFactory.getMessage("wrong.field.type", arg0);
ohair@286 673 }
ohair@286 674
ohair@286 675 /**
ohair@286 676 * Incorrect type for field "{0}"
ohair@286 677 *
ohair@286 678 */
ohair@286 679 public static String WRONG_FIELD_TYPE(Object arg0) {
ohair@286 680 return localizer.localize(localizableWRONG_FIELD_TYPE(arg0));
ohair@286 681 }
ohair@286 682
ohair@286 683 public static Localizable localizableDUPLICATE_PORT_KNOWN_HEADER(Object arg0) {
ohair@286 684 return messageFactory.getMessage("duplicate.portKnownHeader", arg0);
ohair@286 685 }
ohair@286 686
ohair@286 687 /**
ohair@286 688 * Received SOAP message contains duplicate header: {0} for a bound parameter
ohair@286 689 *
ohair@286 690 */
ohair@286 691 public static String DUPLICATE_PORT_KNOWN_HEADER(Object arg0) {
ohair@286 692 return localizer.localize(localizableDUPLICATE_PORT_KNOWN_HEADER(arg0));
ohair@286 693 }
ohair@286 694
ohair@286 695 public static Localizable localizableUNSUPPORTED_CONTENT_TYPE(Object arg0, Object arg1) {
ohair@286 696 return messageFactory.getMessage("unsupported.contentType", arg0, arg1);
ohair@286 697 }
ohair@286 698
ohair@286 699 /**
ohair@286 700 * Unsupported Content-Type: {0} Supported ones are: {1}
ohair@286 701 *
ohair@286 702 */
ohair@286 703 public static String UNSUPPORTED_CONTENT_TYPE(Object arg0, Object arg1) {
ohair@286 704 return localizer.localize(localizableUNSUPPORTED_CONTENT_TYPE(arg0, arg1));
ohair@286 705 }
ohair@286 706
ohair@286 707 public static Localizable localizableFAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(Object arg0, Object arg1, Object arg2) {
ohair@286 708 return messageFactory.getMessage("failed.to.instantiate.instanceResolver", arg0, arg1, arg2);
ohair@286 709 }
ohair@286 710
ohair@286 711 /**
ohair@286 712 * Unable to instantiate {0} (which is specified in {1} on {2})
ohair@286 713 *
ohair@286 714 */
ohair@286 715 public static String FAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(Object arg0, Object arg1, Object arg2) {
ohair@286 716 return localizer.localize(localizableFAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(arg0, arg1, arg2));
ohair@286 717 }
ohair@286 718
ohair@286 719 public static Localizable localizableDD_MTOM_CONFLICT(Object arg0, Object arg1) {
ohair@286 720 return messageFactory.getMessage("dd.mtom.conflict", arg0, arg1);
ohair@286 721 }
ohair@286 722
ohair@286 723 /**
ohair@286 724 * Error in Deployment Descriptor : MTOM Configuration in binding {0} conflicts with enable-mtom attribute value {1}
ohair@286 725 *
ohair@286 726 */
ohair@286 727 public static String DD_MTOM_CONFLICT(Object arg0, Object arg1) {
ohair@286 728 return localizer.localize(localizableDD_MTOM_CONFLICT(arg0, arg1));
ohair@286 729 }
ohair@286 730
ohair@286 731 }

mercurial