Source Code Cross Referenced for ServerMessages.java in  » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » resources » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » jax ws runtime » com.sun.xml.ws.resources 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.xml.ws.resources;
002:
003:        import com.sun.xml.ws.util.localization.Localizable;
004:        import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
005:        import com.sun.xml.ws.util.localization.Localizer;
006:
007:        /**
008:         * Defines string formatting method for each constant in the resource file
009:         * 
010:         */
011:        public final class ServerMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.ws.resources.server");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableRUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE() {
018:                return messageFactory
019:                        .getMessage("runtime.parser.missing.attribute.no.line");
020:            }
021:
022:            /**
023:             * missing attribute "{2}" in element "{1}" of runtime descriptor
024:             * 
025:             */
026:            public static String RUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE() {
027:                return localizer
028:                        .localize(localizableRUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE());
029:            }
030:
031:            public static Localizable localizableSTATEFUL_COOKIE_HEADER_INCORRECT(
032:                    Object arg0, Object arg1) {
033:                return messageFactory.getMessage(
034:                        "stateful.cookie.header.incorrect", arg0, arg1);
035:            }
036:
037:            /**
038:             * Invalid/expired {0} header value: {1}
039:             * 
040:             */
041:            public static String STATEFUL_COOKIE_HEADER_INCORRECT(Object arg0,
042:                    Object arg1) {
043:                return localizer
044:                        .localize(localizableSTATEFUL_COOKIE_HEADER_INCORRECT(
045:                                arg0, arg1));
046:            }
047:
048:            public static Localizable localizableNOT_IMPLEMENT_PROVIDER(
049:                    Object arg0) {
050:                return messageFactory
051:                        .getMessage("not.implement.provider", arg0);
052:            }
053:
054:            /**
055:             * "{0}" doesn't implement Provider
056:             * 
057:             */
058:            public static String NOT_IMPLEMENT_PROVIDER(Object arg0) {
059:                return localizer
060:                        .localize(localizableNOT_IMPLEMENT_PROVIDER(arg0));
061:            }
062:
063:            public static Localizable localizableSTATEFUL_REQURES_ADDRESSING(
064:                    Object arg0) {
065:                return messageFactory.getMessage("stateful.requres.addressing",
066:                        arg0);
067:            }
068:
069:            /**
070:             * Stateful web service {0} requires the WS-Addressing support to be enabled. Perhaps you are missing @Addressing
071:             * 
072:             */
073:            public static String STATEFUL_REQURES_ADDRESSING(Object arg0) {
074:                return localizer
075:                        .localize(localizableSTATEFUL_REQURES_ADDRESSING(arg0));
076:            }
077:
078:            public static Localizable localizableSOAPDECODER_ERR() {
079:                return messageFactory.getMessage("soapdecoder.err");
080:            }
081:
082:            /**
083:             * Error in decoding SOAP Message
084:             * 
085:             */
086:            public static String SOAPDECODER_ERR() {
087:                return localizer.localize(localizableSOAPDECODER_ERR());
088:            }
089:
090:            public static Localizable localizableRUNTIME_PARSER_INVALID_READER_STATE(
091:                    Object arg0) {
092:                return messageFactory.getMessage(
093:                        "runtime.parser.invalidReaderState", arg0);
094:            }
095:
096:            /**
097:             * error parsing runtime descriptor: {0}
098:             * 
099:             */
100:            public static String RUNTIME_PARSER_INVALID_READER_STATE(Object arg0) {
101:                return localizer
102:                        .localize(localizableRUNTIME_PARSER_INVALID_READER_STATE(arg0));
103:            }
104:
105:            public static Localizable localizableGENERATE_NON_STANDARD_WSDL() {
106:                return messageFactory.getMessage("generate.non.standard.wsdl");
107:            }
108:
109:            /**
110:             * Generating non-standard WSDL for the specified binding
111:             * 
112:             */
113:            public static String GENERATE_NON_STANDARD_WSDL() {
114:                return localizer
115:                        .localize(localizableGENERATE_NON_STANDARD_WSDL());
116:            }
117:
118:            public static Localizable localizableDISPATCH_CANNOT_FIND_METHOD(
119:                    Object arg0) {
120:                return messageFactory.getMessage("dispatch.cannotFindMethod",
121:                        arg0);
122:            }
123:
124:            /**
125:             * Cannot find dispatch method for {0}
126:             * 
127:             */
128:            public static String DISPATCH_CANNOT_FIND_METHOD(Object arg0) {
129:                return localizer
130:                        .localize(localizableDISPATCH_CANNOT_FIND_METHOD(arg0));
131:            }
132:
133:            public static Localizable localizableNO_CONTENT_TYPE() {
134:                return messageFactory.getMessage("no.contentType");
135:            }
136:
137:            /**
138:             * Request doesn't have a Content-Type
139:             * 
140:             */
141:            public static String NO_CONTENT_TYPE() {
142:                return localizer.localize(localizableNO_CONTENT_TYPE());
143:            }
144:
145:            public static Localizable localizableRUNTIME_PARSER_INVALID_VERSION_NUMBER() {
146:                return messageFactory
147:                        .getMessage("runtime.parser.invalidVersionNumber");
148:            }
149:
150:            /**
151:             * unsupported runtime descriptor version: {2}
152:             * 
153:             */
154:            public static String RUNTIME_PARSER_INVALID_VERSION_NUMBER() {
155:                return localizer
156:                        .localize(localizableRUNTIME_PARSER_INVALID_VERSION_NUMBER());
157:            }
158:
159:            public static Localizable localizablePROVIDER_INVALID_PARAMETER_TYPE(
160:                    Object arg0, Object arg1) {
161:                return messageFactory.getMessage(
162:                        "provider.invalid.parameterType", arg0, arg1);
163:            }
164:
165:            /**
166:             * "{0}" implements Provider but its type parameter {1} is incorrect
167:             * 
168:             */
169:            public static String PROVIDER_INVALID_PARAMETER_TYPE(Object arg0,
170:                    Object arg1) {
171:                return localizer
172:                        .localize(localizablePROVIDER_INVALID_PARAMETER_TYPE(
173:                                arg0, arg1));
174:            }
175:
176:            public static Localizable localizableWRONG_NO_PARAMETERS(Object arg0) {
177:                return messageFactory.getMessage("wrong.no.parameters", arg0);
178:            }
179:
180:            /**
181:             * Incorrect no of arguments for method "{0}"
182:             * 
183:             */
184:            public static String WRONG_NO_PARAMETERS(Object arg0) {
185:                return localizer.localize(localizableWRONG_NO_PARAMETERS(arg0));
186:            }
187:
188:            public static Localizable localizableANNOTATION_ONLY_ONCE(
189:                    Object arg0) {
190:                return messageFactory.getMessage("annotation.only.once", arg0);
191:            }
192:
193:            /**
194:             * Only one method should have the annotation "{0}"
195:             * 
196:             */
197:            public static String ANNOTATION_ONLY_ONCE(Object arg0) {
198:                return localizer
199:                        .localize(localizableANNOTATION_ONLY_ONCE(arg0));
200:            }
201:
202:            public static Localizable localizableALREADY_HTTPS_SERVER(
203:                    Object arg0) {
204:                return messageFactory.getMessage("already.https.server", arg0);
205:            }
206:
207:            /**
208:             * There is already a HTTPS server at : {0}
209:             * 
210:             */
211:            public static String ALREADY_HTTPS_SERVER(Object arg0) {
212:                return localizer
213:                        .localize(localizableALREADY_HTTPS_SERVER(arg0));
214:            }
215:
216:            public static Localizable localizableRUNTIME_PARSER_XML_READER(
217:                    Object arg0) {
218:                return messageFactory.getMessage("runtime.parser.xmlReader",
219:                        arg0);
220:            }
221:
222:            /**
223:             * error parsing runtime descriptor: {0}
224:             * 
225:             */
226:            public static String RUNTIME_PARSER_XML_READER(Object arg0) {
227:                return localizer
228:                        .localize(localizableRUNTIME_PARSER_XML_READER(arg0));
229:            }
230:
231:            public static Localizable localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(
232:                    Object arg0, Object arg1, Object arg2) {
233:                return messageFactory.getMessage(
234:                        "runtime.parser.wsdl.incorrectserviceport", arg0, arg1,
235:                        arg2);
236:            }
237:
238:            /**
239:             * could not get binding from WSDL! service: {0} or port {1} not found in the WSDL {2}.
240:             * It could be because service and port names do not match WSDL''s wsdl:service and wsdl:port names:
241:             *  1. service and port names are not there in deployment descriptor OR
242:             *  2. Either there is a typo in deployment descriptor''s service and port names OR
243:             *  3. The computed names from @WebService do not match wsdl:service and wsdl:port names
244:             * Suggest doing the following:
245:             *  1. Add/Correct entries for service and port names in deployment descriptor OR 
246:             *  2. Specify targetNamespace, serviceName, portName in @WebService on the endpoint class
247:             * 
248:             */
249:            public static String RUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(
250:                    Object arg0, Object arg1, Object arg2) {
251:                return localizer
252:                        .localize(localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(
253:                                arg0, arg1, arg2));
254:            }
255:
256:            public static Localizable localizableSERVER_RT_ERR(Object arg0) {
257:                return messageFactory.getMessage("server.rt.err", arg0);
258:            }
259:
260:            /**
261:             * Server Runtime Error: {0}
262:             * 
263:             */
264:            public static String SERVER_RT_ERR(Object arg0) {
265:                return localizer.localize(localizableSERVER_RT_ERR(arg0));
266:            }
267:
268:            public static Localizable localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(
269:                    Object arg0, Object arg1, Object arg2) {
270:                return messageFactory.getMessage(
271:                        "runtime.parser.invalidAttributeValue", arg0, arg1,
272:                        arg2);
273:            }
274:
275:            /**
276:             * invalid value for attribute "{2}" of element "{1}" in runtime descriptor (line {0})
277:             * 
278:             */
279:            public static String RUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(
280:                    Object arg0, Object arg1, Object arg2) {
281:                return localizer
282:                        .localize(localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(
283:                                arg0, arg1, arg2));
284:            }
285:
286:            public static Localizable localizableNO_CURRENT_PACKET() {
287:                return messageFactory.getMessage("no.current.packet");
288:            }
289:
290:            /**
291:             * This thread is not currently processing any web service request.
292:             * 
293:             */
294:            public static String NO_CURRENT_PACKET() {
295:                return localizer.localize(localizableNO_CURRENT_PACKET());
296:            }
297:
298:            public static Localizable localizableRUNTIME_PARSER_UNEXPECTED_CONTENT(
299:                    Object arg0) {
300:                return messageFactory.getMessage(
301:                        "runtime.parser.unexpectedContent", arg0);
302:            }
303:
304:            /**
305:             * unexpected content in runtime descriptor (line {0})
306:             * 
307:             */
308:            public static String RUNTIME_PARSER_UNEXPECTED_CONTENT(Object arg0) {
309:                return localizer
310:                        .localize(localizableRUNTIME_PARSER_UNEXPECTED_CONTENT(arg0));
311:            }
312:
313:            public static Localizable localizableSTATEFUL_COOKIE_HEADER_REQUIRED(
314:                    Object arg0) {
315:                return messageFactory.getMessage(
316:                        "stateful.cookie.header.required", arg0);
317:            }
318:
319:            /**
320:             * This is a stateful web service and {0} header is required.
321:             * 
322:             */
323:            public static String STATEFUL_COOKIE_HEADER_REQUIRED(Object arg0) {
324:                return localizer
325:                        .localize(localizableSTATEFUL_COOKIE_HEADER_REQUIRED(arg0));
326:            }
327:
328:            public static Localizable localizableNULL_IMPLEMENTOR() {
329:                return messageFactory.getMessage("null.implementor");
330:            }
331:
332:            /**
333:             * Implementor cannot be null
334:             * 
335:             */
336:            public static String NULL_IMPLEMENTOR() {
337:                return localizer.localize(localizableNULL_IMPLEMENTOR());
338:            }
339:
340:            public static Localizable localizableRUNTIME_PARSER_WSDL(Object arg0) {
341:                return messageFactory.getMessage("runtime.parser.wsdl", arg0);
342:            }
343:
344:            /**
345:             * exception during WSDL parsing: {0}
346:             * 
347:             */
348:            public static String RUNTIME_PARSER_WSDL(Object arg0) {
349:                return localizer.localize(localizableRUNTIME_PARSER_WSDL(arg0));
350:            }
351:
352:            public static Localizable localizableSOAPENCODER_ERR() {
353:                return messageFactory.getMessage("soapencoder.err");
354:            }
355:
356:            /**
357:             * Error in encoding SOAP Message
358:             * 
359:             */
360:            public static String SOAPENCODER_ERR() {
361:                return localizer.localize(localizableSOAPENCODER_ERR());
362:            }
363:
364:            public static Localizable localizableWSDL_REQUIRED() {
365:                return messageFactory.getMessage("wsdl.required");
366:            }
367:
368:            /**
369:             * wsdl is required
370:             * 
371:             */
372:            public static String WSDL_REQUIRED() {
373:                return localizer.localize(localizableWSDL_REQUIRED());
374:            }
375:
376:            public static Localizable localizableNOT_HTTP_CONTEXT_TYPE(
377:                    Object arg0) {
378:                return messageFactory.getMessage("not.HttpContext.type", arg0);
379:            }
380:
381:            /**
382:             * Required com.sun.net.httpserver.HttpContext. Got : {0}
383:             * 
384:             */
385:            public static String NOT_HTTP_CONTEXT_TYPE(Object arg0) {
386:                return localizer
387:                        .localize(localizableNOT_HTTP_CONTEXT_TYPE(arg0));
388:            }
389:
390:            public static Localizable localizablePORT_NAME_REQUIRED() {
391:                return messageFactory.getMessage("port.name.required");
392:            }
393:
394:            /**
395:             * Port QName is not found
396:             * 
397:             */
398:            public static String PORT_NAME_REQUIRED() {
399:                return localizer.localize(localizablePORT_NAME_REQUIRED());
400:            }
401:
402:            public static Localizable localizableWRONG_TNS_FOR_PORT(Object arg0) {
403:                return messageFactory.getMessage("wrong.tns.for.port", arg0);
404:            }
405:
406:            /**
407:             * Port namespace {0} doesn't match Service namespace {1}
408:             * 
409:             */
410:            public static String WRONG_TNS_FOR_PORT(Object arg0) {
411:                return localizer.localize(localizableWRONG_TNS_FOR_PORT(arg0));
412:            }
413:
414:            public static Localizable localizableRUNTIME_PARSER_WSDL_MULTIPLEBINDING(
415:                    Object arg0, Object arg1, Object arg2) {
416:                return messageFactory
417:                        .getMessage("runtime.parser.wsdl.multiplebinding",
418:                                arg0, arg1, arg2);
419:            }
420:
421:            /**
422:             * multiple bindings found for binding ID {0} for service {1} in WSDL {2}
423:             * 
424:             */
425:            public static String RUNTIME_PARSER_WSDL_MULTIPLEBINDING(
426:                    Object arg0, Object arg1, Object arg2) {
427:                return localizer
428:                        .localize(localizableRUNTIME_PARSER_WSDL_MULTIPLEBINDING(
429:                                arg0, arg1, arg2));
430:            }
431:
432:            public static Localizable localizableNON_UNIQUE_DISPATCH_QNAME(
433:                    Object arg0, Object arg1) {
434:                return messageFactory.getMessage("non.unique.dispatch.qname",
435:                        arg0, arg1);
436:            }
437:
438:            /**
439:             * 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.
440:             * 
441:             */
442:            public static String NON_UNIQUE_DISPATCH_QNAME(Object arg0,
443:                    Object arg1) {
444:                return localizer.localize(localizableNON_UNIQUE_DISPATCH_QNAME(
445:                        arg0, arg1));
446:            }
447:
448:            public static Localizable localizableALREADY_HTTP_SERVER(Object arg0) {
449:                return messageFactory.getMessage("already.http.server", arg0);
450:            }
451:
452:            /**
453:             * There is already a HTTP server at : {0} 
454:             * 
455:             */
456:            public static String ALREADY_HTTP_SERVER(Object arg0) {
457:                return localizer.localize(localizableALREADY_HTTP_SERVER(arg0));
458:            }
459:
460:            public static Localizable localizableCAN_NOT_GENERATE_WSDL(
461:                    Object arg0) {
462:                return messageFactory.getMessage("can.not.generate.wsdl", arg0);
463:            }
464:
465:            /**
466:             * Cannot generate WSDL for binding "{0}"
467:             * 
468:             */
469:            public static String CAN_NOT_GENERATE_WSDL(Object arg0) {
470:                return localizer
471:                        .localize(localizableCAN_NOT_GENERATE_WSDL(arg0));
472:            }
473:
474:            public static Localizable localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(
475:                    Object arg0, Object arg1) {
476:                return messageFactory.getMessage(
477:                        "runtime.parser.invalid.attribute.value", arg0, arg1);
478:            }
479:
480:            /**
481:             * invalid attribute value "{1}" in runtime descriptor (line {0})
482:             * 
483:             */
484:            public static String RUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(
485:                    Object arg0, Object arg1) {
486:                return localizer
487:                        .localize(localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(
488:                                arg0, arg1));
489:            }
490:
491:            public static Localizable localizableRUNTIME_PARSER_WRONG_ELEMENT(
492:                    Object arg0, Object arg1, Object arg2) {
493:                return messageFactory.getMessage(
494:                        "runtime.parser.wrong.element", arg0, arg1, arg2);
495:            }
496:
497:            /**
498:             * found element "{1}", expected "{2}" in runtime descriptor (line {0})
499:             * 
500:             */
501:            public static String RUNTIME_PARSER_WRONG_ELEMENT(Object arg0,
502:                    Object arg1, Object arg2) {
503:                return localizer
504:                        .localize(localizableRUNTIME_PARSER_WRONG_ELEMENT(arg0,
505:                                arg1, arg2));
506:            }
507:
508:            public static Localizable localizableRUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(
509:                    Object arg0, Object arg1, Object arg2) {
510:                return messageFactory.getMessage(
511:                        "runtimemodeler.invalidannotationOnImpl", arg0, arg1,
512:                        arg2);
513:            }
514:
515:            /**
516:             * 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}.
517:             * 
518:             */
519:            public static String RUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(
520:                    Object arg0, Object arg1, Object arg2) {
521:                return localizer
522:                        .localize(localizableRUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(
523:                                arg0, arg1, arg2));
524:            }
525:
526:            public static Localizable localizableRUNTIME_PARSER_WSDL_NOSERVICE() {
527:                return messageFactory
528:                        .getMessage("runtime.parser.wsdl.noservice");
529:            }
530:
531:            /**
532:             * can't apply binding! service {0} not found in the WSDL {1}
533:             * 
534:             */
535:            public static String RUNTIME_PARSER_WSDL_NOSERVICE() {
536:                return localizer
537:                        .localize(localizableRUNTIME_PARSER_WSDL_NOSERVICE());
538:            }
539:
540:            public static Localizable localizableSERVICE_NAME_REQUIRED() {
541:                return messageFactory.getMessage("service.name.required");
542:            }
543:
544:            /**
545:             * Service QName is not found
546:             * 
547:             */
548:            public static String SERVICE_NAME_REQUIRED() {
549:                return localizer.localize(localizableSERVICE_NAME_REQUIRED());
550:            }
551:
552:            public static Localizable localizablePROVIDER_NOT_PARAMETERIZED(
553:                    Object arg0) {
554:                return messageFactory.getMessage("provider.not.parameterized",
555:                        arg0);
556:            }
557:
558:            /**
559:             * "{0}" implements Provider but doesn't specify the type parameter
560:             * 
561:             */
562:            public static String PROVIDER_NOT_PARAMETERIZED(Object arg0) {
563:                return localizer
564:                        .localize(localizablePROVIDER_NOT_PARAMETERIZED(arg0));
565:            }
566:
567:            public static Localizable localizableRUNTIME_WSDL_PATCHER() {
568:                return messageFactory.getMessage("runtime.wsdl.patcher");
569:            }
570:
571:            /**
572:             * error while patching WSDL related document
573:             * 
574:             */
575:            public static String RUNTIME_WSDL_PATCHER() {
576:                return localizer.localize(localizableRUNTIME_WSDL_PATCHER());
577:            }
578:
579:            public static Localizable localizableRUNTIME_SAXPARSER_EXCEPTION(
580:                    Object arg0, Object arg1) {
581:                return messageFactory.getMessage("runtime.saxparser.exception",
582:                        arg0, arg1);
583:            }
584:
585:            /**
586:             * {0}
587:             * {1}
588:             * 
589:             */
590:            public static String RUNTIME_SAXPARSER_EXCEPTION(Object arg0,
591:                    Object arg1) {
592:                return localizer
593:                        .localize(localizableRUNTIME_SAXPARSER_EXCEPTION(arg0,
594:                                arg1));
595:            }
596:
597:            public static Localizable localizableRUNTIME_PARSER_WSDL_NOT_FOUND(
598:                    Object arg0) {
599:                return messageFactory.getMessage(
600:                        "runtime.parser.wsdl.not.found", arg0);
601:            }
602:
603:            /**
604:             * {0} is not found in the WAR file. Package it in the WAR file or correct it in sun-jaxws.xml.
605:             * 
606:             */
607:            public static String RUNTIME_PARSER_WSDL_NOT_FOUND(Object arg0) {
608:                return localizer
609:                        .localize(localizableRUNTIME_PARSER_WSDL_NOT_FOUND(arg0));
610:            }
611:
612:            public static Localizable localizableWRONG_PARAMETER_TYPE(
613:                    Object arg0) {
614:                return messageFactory.getMessage("wrong.parameter.type", arg0);
615:            }
616:
617:            /**
618:             * Incorrect argument types for method "{0}"
619:             * 
620:             */
621:            public static String WRONG_PARAMETER_TYPE(Object arg0) {
622:                return localizer
623:                        .localize(localizableWRONG_PARAMETER_TYPE(arg0));
624:            }
625:
626:            public static Localizable localizableRUNTIME_PARSER_CLASS_NOT_FOUND(
627:                    Object arg0) {
628:                return messageFactory.getMessage(
629:                        "runtime.parser.classNotFound", arg0);
630:            }
631:
632:            /**
633:             * class not found in runtime descriptor: {0}
634:             * 
635:             */
636:            public static String RUNTIME_PARSER_CLASS_NOT_FOUND(Object arg0) {
637:                return localizer
638:                        .localize(localizableRUNTIME_PARSER_CLASS_NOT_FOUND(arg0));
639:            }
640:
641:            public static Localizable localizableSTATIC_RESOURCE_INJECTION_ONLY(
642:                    Object arg0, Object arg1) {
643:                return messageFactory.getMessage(
644:                        "static.resource.injection.only", arg0, arg1);
645:            }
646:
647:            /**
648:             * Static resource {0} cannot be injected to non-static "{1}"
649:             * 
650:             */
651:            public static String STATIC_RESOURCE_INJECTION_ONLY(Object arg0,
652:                    Object arg1) {
653:                return localizer
654:                        .localize(localizableSTATIC_RESOURCE_INJECTION_ONLY(
655:                                arg0, arg1));
656:            }
657:
658:            public static Localizable localizableNOT_ZERO_PARAMETERS(Object arg0) {
659:                return messageFactory.getMessage("not.zero.parameters", arg0);
660:            }
661:
662:            /**
663:             * Method "{0}" shouldn''t have any arguments
664:             * 
665:             */
666:            public static String NOT_ZERO_PARAMETERS(Object arg0) {
667:                return localizer.localize(localizableNOT_ZERO_PARAMETERS(arg0));
668:            }
669:
670:            public static Localizable localizableDUPLICATE_PRIMARY_WSDL(
671:                    Object arg0) {
672:                return messageFactory
673:                        .getMessage("duplicate.primary.wsdl", arg0);
674:            }
675:
676:            /**
677:             * Metadata has more than one WSDL that has Service definiton for the endpoint. WSDL={0} is one such WSDL.
678:             * 
679:             */
680:            public static String DUPLICATE_PRIMARY_WSDL(Object arg0) {
681:                return localizer
682:                        .localize(localizableDUPLICATE_PRIMARY_WSDL(arg0));
683:            }
684:
685:            public static Localizable localizableDUPLICATE_ABSTRACT_WSDL(
686:                    Object arg0) {
687:                return messageFactory.getMessage("duplicate.abstract.wsdl",
688:                        arg0);
689:            }
690:
691:            /**
692:             * Metadata has more than one WSDL that has PortType definiton for the endpoint. WSDL={0} is one such WSDL.
693:             * 
694:             */
695:            public static String DUPLICATE_ABSTRACT_WSDL(Object arg0) {
696:                return localizer
697:                        .localize(localizableDUPLICATE_ABSTRACT_WSDL(arg0));
698:            }
699:
700:            public static Localizable localizableSTATEFUL_INVALID_WEBSERVICE_CONTEXT(
701:                    Object arg0) {
702:                return messageFactory.getMessage(
703:                        "stateful.invalid.webservice.context", arg0);
704:            }
705:
706:            /**
707:             * Not a WebServiceContext from JAX-WS RI: {0}
708:             * 
709:             */
710:            public static String STATEFUL_INVALID_WEBSERVICE_CONTEXT(Object arg0) {
711:                return localizer
712:                        .localize(localizableSTATEFUL_INVALID_WEBSERVICE_CONTEXT(arg0));
713:            }
714:
715:            public static Localizable localizableRUNTIME_PARSER_WSDL_NOBINDING() {
716:                return messageFactory
717:                        .getMessage("runtime.parser.wsdl.nobinding");
718:            }
719:
720:            /**
721:             * can't apply binding! no binding found for binding ID {0] for service {1} in WSDL {2}
722:             * 
723:             */
724:            public static String RUNTIME_PARSER_WSDL_NOBINDING() {
725:                return localizer
726:                        .localize(localizableRUNTIME_PARSER_WSDL_NOBINDING());
727:            }
728:
729:            public static Localizable localizableRUNTIME_PARSER_INVALID_ELEMENT(
730:                    Object arg0, Object arg1) {
731:                return messageFactory.getMessage(
732:                        "runtime.parser.invalidElement", arg0, arg1);
733:            }
734:
735:            /**
736:             * invalid element "{1}" in runtime descriptor (line {0})
737:             * 
738:             */
739:            public static String RUNTIME_PARSER_INVALID_ELEMENT(Object arg0,
740:                    Object arg1) {
741:                return localizer
742:                        .localize(localizableRUNTIME_PARSER_INVALID_ELEMENT(
743:                                arg0, arg1));
744:            }
745:
746:            public static Localizable localizableRUNTIME_PARSER_MISSING_ATTRIBUTE(
747:                    Object arg0, Object arg1, Object arg2) {
748:                return messageFactory.getMessage(
749:                        "runtime.parser.missing.attribute", arg0, arg1, arg2);
750:            }
751:
752:            /**
753:             * missing attribute "{2}" in element "{1}" of runtime descriptor (line {0})
754:             * 
755:             */
756:            public static String RUNTIME_PARSER_MISSING_ATTRIBUTE(Object arg0,
757:                    Object arg1, Object arg2) {
758:                return localizer
759:                        .localize(localizableRUNTIME_PARSER_MISSING_ATTRIBUTE(
760:                                arg0, arg1, arg2));
761:            }
762:
763:            public static Localizable localizableWRONG_FIELD_TYPE(Object arg0) {
764:                return messageFactory.getMessage("wrong.field.type", arg0);
765:            }
766:
767:            /**
768:             * Incorrect type for field "{0}"
769:             * 
770:             */
771:            public static String WRONG_FIELD_TYPE(Object arg0) {
772:                return localizer.localize(localizableWRONG_FIELD_TYPE(arg0));
773:            }
774:
775:            public static Localizable localizableDUPLICATE_PORT_KNOWN_HEADER(
776:                    Object arg0) {
777:                return messageFactory.getMessage("duplicate.portKnownHeader",
778:                        arg0);
779:            }
780:
781:            /**
782:             * Received SOAP message contains duplicate header: {0} for a bound parameter
783:             * 
784:             */
785:            public static String DUPLICATE_PORT_KNOWN_HEADER(Object arg0) {
786:                return localizer
787:                        .localize(localizableDUPLICATE_PORT_KNOWN_HEADER(arg0));
788:            }
789:
790:            public static Localizable localizableUNSUPPORTED_CONTENT_TYPE(
791:                    Object arg0, Object arg1) {
792:                return messageFactory.getMessage("unsupported.contentType",
793:                        arg0, arg1);
794:            }
795:
796:            /**
797:             * Unsupported Content-Type: {0} Supported ones are: {1}
798:             * 
799:             */
800:            public static String UNSUPPORTED_CONTENT_TYPE(Object arg0,
801:                    Object arg1) {
802:                return localizer.localize(localizableUNSUPPORTED_CONTENT_TYPE(
803:                        arg0, arg1));
804:            }
805:
806:            public static Localizable localizableFAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(
807:                    Object arg0, Object arg1, Object arg2) {
808:                return messageFactory.getMessage(
809:                        "failed.to.instantiate.instanceResolver", arg0, arg1,
810:                        arg2);
811:            }
812:
813:            /**
814:             * Unable to instantiate {0} (which is specified in {1} on {2})
815:             * 
816:             */
817:            public static String FAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(
818:                    Object arg0, Object arg1, Object arg2) {
819:                return localizer
820:                        .localize(localizableFAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(
821:                                arg0, arg1, arg2));
822:            }
823:
824:            public static Localizable localizableDD_MTOM_CONFLICT(Object arg0,
825:                    Object arg1) {
826:                return messageFactory
827:                        .getMessage("dd.mtom.conflict", arg0, arg1);
828:            }
829:
830:            /**
831:             * Error in Deployment Descriptor : MTOM Configuration in binding {0} conflicts with enable-mtom attribute value {1}
832:             * 
833:             */
834:            public static String DD_MTOM_CONFLICT(Object arg0, Object arg1) {
835:                return localizer.localize(localizableDD_MTOM_CONFLICT(arg0,
836:                        arg1));
837:            }
838:
839:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.