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

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

mercurial