1 /* 2 * Copyright (c) 1997, 2016, 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 package com.sun.tools.internal.ws.resources; 27 28 import com.sun.istack.internal.localization.Localizable; 29 import com.sun.istack.internal.localization.LocalizableMessageFactory; 30 import com.sun.istack.internal.localization.Localizer; 31 32 import java.util.Locale; 33 import java.util.ResourceBundle; 34 35 36 /** 37 * Defines string formatting method for each constant in the resource file 38 * 39 */ 40 public final class WscompileMessages { 41 private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.wscompile"; 42 private final static LocalizableMessageFactory messageFactory = 43 new LocalizableMessageFactory(BUNDLE_NAME, WscompileMessages::getResourceBundle); 44 private final static Localizer localizer = new Localizer(); 45 46 private static ResourceBundle getResourceBundle(Locale locale) { 47 return ResourceBundle.getBundle(BUNDLE_NAME, locale); 48 } 49 50 public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) { 51 return messageFactory.getMessage("wsimport.archivingArtifacts", arg0); 52 } 53 54 /** 55 * 56 * Archiving the generated artifacts into {0}. 57 * 58 * 59 */ 60 public static String WSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) { 61 return localizer.localize(localizableWSIMPORT_ARCHIVING_ARTIFACTS(arg0)); 62 } 63 64 public static Localizable localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) { 65 return messageFactory.getMessage("wsgen.class.must.be.implementation.class", arg0); 66 } 67 68 /** 69 * The class "{0}" is not an endpoint implementation class. 70 * 71 */ 72 public static String WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) { 73 return localizer.localize(localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(arg0)); 74 } 75 76 public static Localizable localizableWSGEN_FULLVERSION(Object arg0) { 77 return messageFactory.getMessage("wsgen.fullversion", arg0); 78 } 79 80 /** 81 * wsgen full version "{0}" 82 * 83 */ 84 public static String WSGEN_FULLVERSION(Object arg0) { 85 return localizer.localize(localizableWSGEN_FULLVERSION(arg0)); 86 } 87 88 public static Localizable localizableWRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) { 89 return messageFactory.getMessage("wrapperTask.loadingIncorrectApi", arg0, arg1, arg2); 90 } 91 92 /** 93 * You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API. 94 * 95 */ 96 public static String WRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) { 97 return localizer.localize(localizableWRAPPER_TASK_LOADING_INCORRECT_API(arg0, arg1, arg2)); 98 } 99 100 public static Localizable localizableWSIMPORT_WSDLLOCATION_CLIENTJAR() { 101 return messageFactory.getMessage("wsimport.wsdllocation.clientjar"); 102 } 103 104 /** 105 * wsdlLocation cannot be specified when using clientJar option 106 * 107 */ 108 public static String WSIMPORT_WSDLLOCATION_CLIENTJAR() { 109 return localizer.localize(localizableWSIMPORT_WSDLLOCATION_CLIENTJAR()); 110 } 111 112 public static Localizable localizableWSIMPORT_VERSION(Object arg0) { 113 return messageFactory.getMessage("wsimport.version", arg0); 114 } 115 116 /** 117 * wsimport version "{0}" 118 * 119 */ 120 public static String WSIMPORT_VERSION(Object arg0) { 121 return localizer.localize(localizableWSIMPORT_VERSION(arg0)); 122 } 123 124 public static Localizable localizableWSGEN_CLASS_NOT_FOUND(Object arg0) { 125 return messageFactory.getMessage("wsgen.class.not.found", arg0); 126 } 127 128 /** 129 * Class not found: "{0}" 130 * 131 */ 132 public static String WSGEN_CLASS_NOT_FOUND(Object arg0) { 133 return localizer.localize(localizableWSGEN_CLASS_NOT_FOUND(arg0)); 134 } 135 136 public static Localizable localizableWSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) { 137 return messageFactory.getMessage("wsimport.httpRedirect", arg0, arg1); 138 } 139 140 /** 141 * Server returned HTTP Status code: "{0}", retrying with "{1}" 142 * 143 */ 144 public static String WSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) { 145 return localizer.localize(localizableWSIMPORT_HTTP_REDIRECT(arg0, arg1)); 146 } 147 148 public static Localizable localizableWSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) { 149 return messageFactory.getMessage("wsimport.authInfoNeeded", arg0, arg1, arg2); 150 } 151 152 /** 153 * {0}, "{1}" needs authorization, please provide authorization file with read access at {2} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//<url-path> 154 * 155 */ 156 public static String WSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) { 157 return localizer.localize(localizableWSIMPORT_AUTH_INFO_NEEDED(arg0, arg1, arg2)); 158 } 159 160 public static Localizable localizableWSGEN_USAGE_EXAMPLES() { 161 return messageFactory.getMessage("wsgen.usage.examples"); 162 } 163 164 /** 165 * 166 * Examples: 167 * wsgen -cp . example.Stock 168 * wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService' 169 * 170 * 171 */ 172 public static String WSGEN_USAGE_EXAMPLES() { 173 return localizer.localize(localizableWSGEN_USAGE_EXAMPLES()); 174 } 175 176 public static Localizable localizableWSIMPORT_FETCHING_METADATA() { 177 return messageFactory.getMessage("wsimport.fetchingMetadata"); 178 } 179 180 /** 181 * 182 * Downloading the WSDL and associated metadata 183 * 184 * 185 */ 186 public static String WSIMPORT_FETCHING_METADATA() { 187 return localizer.localize(localizableWSIMPORT_FETCHING_METADATA()); 188 } 189 190 public static Localizable localizableWSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) { 191 return messageFactory.getMessage("wsgen.invalid.protocol", arg0, arg1); 192 } 193 194 /** 195 * "{0}" is not a supported protocol. Supported protocols include: {1}. 196 * 197 */ 198 public static String WSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) { 199 return localizer.localize(localizableWSGEN_INVALID_PROTOCOL(arg0, arg1)); 200 } 201 202 public static Localizable localizableWSIMPORT_USAGE_EXAMPLES() { 203 return messageFactory.getMessage("wsimport.usage.examples"); 204 } 205 206 /** 207 * 208 * Examples: 209 * wsimport stock.wsdl -b stock.xml -b stock.xjb 210 * wsimport -d generated http://example.org/stock?wsdl 211 * 212 * 213 */ 214 public static String WSIMPORT_USAGE_EXAMPLES() { 215 return localizer.localize(localizableWSIMPORT_USAGE_EXAMPLES()); 216 } 217 218 public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) { 219 return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1); 220 } 221 222 /** 223 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option. 224 * 225 */ 226 public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) { 227 return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1)); 228 } 229 230 public static Localizable localizableWSIMPORT_MISSING_FILE() { 231 return messageFactory.getMessage("wsimport.missingFile"); 232 } 233 234 /** 235 * Missing WSDL_URI 236 * 237 */ 238 public static String WSIMPORT_MISSING_FILE() { 239 return localizer.localize(localizableWSIMPORT_MISSING_FILE()); 240 } 241 242 public static Localizable localizableWSIMPORT_USAGE_EXTENSIONS() { 243 return messageFactory.getMessage("wsimport.usage.extensions"); 244 } 245 246 /** 247 * 248 * Extensions: 249 * -XadditionalHeaders map headers not bound to request or response message to 250 * Java method parameters 251 * -Xauthfile file to carry authorization information in the format 252 * http://username:password@example.org/stock?wsdl 253 * -Xdebug print debug information 254 * -Xno-addressing-databinding enable binding of W3C EndpointReferenceType to Java 255 * -Xnocompile do not compile generated Java files 256 * -XdisableAuthenticator disable Authenticator used by JAX-WS RI, 257 * -Xauthfile option will be ignored if set 258 * -XdisableSSLHostnameVerification disable the SSL Hostname verification while fetching 259 * wsdls 260 * 261 */ 262 public static String WSIMPORT_USAGE_EXTENSIONS() { 263 return localizer.localize(localizableWSIMPORT_USAGE_EXTENSIONS()); 264 } 265 266 public static Localizable localizableWSIMPORT_USAGE(Object arg0) { 267 return messageFactory.getMessage("wsimport.usage", arg0); 268 } 269 270 /** 271 * Usage: {0} [options] <WSDL_URI> 272 * 273 * Use "wsimport -help" for a detailed description of options. 274 * 275 */ 276 public static String WSIMPORT_USAGE(Object arg0) { 277 return localizer.localize(localizableWSIMPORT_USAGE(arg0)); 278 } 279 280 public static Localizable localizableWSGEN_USAGE_EXTENSIONS() { 281 return messageFactory.getMessage("wsgen.usage.extensions"); 282 } 283 284 /** 285 * 286 * Extensions: 287 * -Xnocompile do not compile generated Java files 288 * 289 */ 290 public static String WSGEN_USAGE_EXTENSIONS() { 291 return localizer.localize(localizableWSGEN_USAGE_EXTENSIONS()); 292 } 293 294 public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) { 295 return messageFactory.getMessage("wscompile.existingOption", arg0); 296 } 297 298 /** 299 * Ignoring already defined option {0} 300 * 301 * 302 */ 303 public static String WSCOMPILE_EXISTING_OPTION(Object arg0) { 304 return localizer.localize(localizableWSCOMPILE_EXISTING_OPTION(arg0)); 305 } 306 307 public static Localizable localizableWSIMPORT_PARSING_WSDL() { 308 return messageFactory.getMessage("wsimport.ParsingWSDL"); 309 } 310 311 /** 312 * parsing WSDL... 313 * 314 * 315 * 316 */ 317 public static String WSIMPORT_PARSING_WSDL() { 318 return localizer.localize(localizableWSIMPORT_PARSING_WSDL()); 319 } 320 321 public static Localizable localizableWSGEN_MISSING_FILE() { 322 return messageFactory.getMessage("wsgen.missingFile"); 323 } 324 325 /** 326 * Missing SEI 327 * 328 */ 329 public static String WSGEN_MISSING_FILE() { 330 return localizer.localize(localizableWSGEN_MISSING_FILE()); 331 } 332 333 public static Localizable localizableWSIMPORT_HELP(Object arg0) { 334 return messageFactory.getMessage("wsimport.help", arg0); 335 } 336 337 /** 338 * 339 * Usage: {0} [options] <WSDL_URI> 340 * 341 * where [options] include: 342 * -b <path> specify jaxws/jaxb binding files or additional schemas 343 * (Each <path> must have its own -b) 344 * -B<jaxbOption> Pass this option to JAXB schema compiler 345 * -catalog <file> specify catalog file to resolve external entity references 346 * supports TR9401, XCatalog, and OASIS XML Catalog format. 347 * -classpath <path> specify where to find user class files and wsimport extensions 348 * -cp <path> specify where to find user class files and wsimport extensions 349 * -d <directory> specify where to place generated output files 350 * -encoding <encoding> specify character encoding used by source files 351 * -extension allow vendor extensions - functionality not specified 352 * by the specification. Use of extensions may 353 * result in applications that are not portable or 354 * may not interoperate with other implementations 355 * -help display help 356 * -httpproxy:<proxy> set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort 357 * (port defaults to 8080) 358 * -J<javacOption> pass this option to javac 359 * -keep keep generated files 360 * -p <pkg> specifies the target package 361 * -quiet suppress wsimport output 362 * -s <directory> specify where to place generated source files 363 * -target <version> generate code as per the given JAXWS spec version 364 * Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2 365 * e.g. 2.0 will generate compliant code for JAXWS 2.0 spec 366 * -verbose output messages about what the compiler is doing 367 * -version print version information 368 * -fullversion print full version information 369 * -wsdllocation <location> @WebServiceClient.wsdlLocation value 370 * -clientjar <jarfile> creates the jar file of the generated artifacts along with the 371 * WSDL metadata required for invoking the web service. 372 * -generateJWS generate stubbed JWS implementation file 373 * -implDestDir <directory> specify where to generate JWS implementation file 374 * -implServiceName <name> local portion of service name for generated JWS implementation 375 * -implPortName <name> local portion of port name for generated JWS implementation 376 * 377 */ 378 public static String WSIMPORT_HELP(Object arg0) { 379 return localizer.localize(localizableWSIMPORT_HELP(arg0)); 380 } 381 382 public static Localizable localizableWSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) { 383 return messageFactory.getMessage("wscompile.cant.get.compiler", arg0, arg1, arg2); 384 } 385 386 /** 387 * No Java compiler found. Perhaps environment/JDK problem? 388 * Used JVM: {0}, {1}/{2} 389 * 390 */ 391 public static String WSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) { 392 return localizer.localize(localizableWSCOMPILE_CANT_GET_COMPILER(arg0, arg1, arg2)); 393 } 394 395 public static Localizable localizableWSCOMPILE_ERROR(Object arg0) { 396 return messageFactory.getMessage("wscompile.error", arg0); 397 } 398 399 /** 400 * error: {0} 401 * 402 */ 403 public static String WSCOMPILE_ERROR(Object arg0) { 404 return localizer.localize(localizableWSCOMPILE_ERROR(arg0)); 405 } 406 407 public static Localizable localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) { 408 return messageFactory.getMessage("wsgen.protocol.without.extension", arg0); 409 } 410 411 /** 412 * The optional protocol "{0}" must be used in conjunction with the "-extension" option. 413 * 414 */ 415 public static String WSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) { 416 return localizer.localize(localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(arg0)); 417 } 418 419 public static Localizable localizableWSIMPORT_COMPILING_CODE() { 420 return messageFactory.getMessage("wsimport.CompilingCode"); 421 } 422 423 /** 424 * 425 * Compiling code... 426 * 427 * 428 */ 429 public static String WSIMPORT_COMPILING_CODE() { 430 return localizer.localize(localizableWSIMPORT_COMPILING_CODE()); 431 } 432 433 public static Localizable localizableWSIMPORT_READING_AUTH_FILE(Object arg0) { 434 return messageFactory.getMessage("wsimport.readingAuthFile", arg0); 435 } 436 437 /** 438 * Trying to read authorization file : "{0}"... 439 * 440 */ 441 public static String WSIMPORT_READING_AUTH_FILE(Object arg0) { 442 return localizer.localize(localizableWSIMPORT_READING_AUTH_FILE(arg0)); 443 } 444 445 public static Localizable localizableWSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) { 446 return messageFactory.getMessage("wscompile.unsupportedEncoding", arg0); 447 } 448 449 /** 450 * unsupported encoding: {0} 451 * 452 */ 453 public static String WSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) { 454 return localizer.localize(localizableWSCOMPILE_UNSUPPORTED_ENCODING(arg0)); 455 } 456 457 public static Localizable localizableWSGEN_NO_WEBSERVICES_CLASS(Object arg0) { 458 return messageFactory.getMessage("wsgen.no.webservices.class", arg0); 459 } 460 461 /** 462 * wsgen did not find any class with @WebService annotation. Please specify @WebService annotation on {0}. 463 * 464 */ 465 public static String WSGEN_NO_WEBSERVICES_CLASS(Object arg0) { 466 return localizer.localize(localizableWSGEN_NO_WEBSERVICES_CLASS(arg0)); 467 } 468 469 public static Localizable localizableWSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) { 470 return messageFactory.getMessage("wsimport.archiveArtifact", arg0, arg1); 471 } 472 473 /** 474 * Adding {0} to the archive {1} 475 * 476 */ 477 public static String WSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) { 478 return localizer.localize(localizableWSIMPORT_ARCHIVE_ARTIFACT(arg0, arg1)); 479 } 480 481 public static Localizable localizableWSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) { 482 return messageFactory.getMessage("wscompile.noSuchDirectory", arg0); 483 } 484 485 /** 486 * directory not found: {0} 487 * 488 */ 489 public static String WSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) { 490 return localizer.localize(localizableWSCOMPILE_NO_SUCH_DIRECTORY(arg0)); 491 } 492 493 public static Localizable localizableWSCOMPILE_INFO(Object arg0) { 494 return messageFactory.getMessage("wscompile.info", arg0); 495 } 496 497 /** 498 * info: {0} 499 * 500 */ 501 public static String WSCOMPILE_INFO(Object arg0) { 502 return localizer.localize(localizableWSCOMPILE_INFO(arg0)); 503 } 504 505 public static Localizable localizableWSIMPORT_MAX_REDIRECT_ATTEMPT() { 506 return messageFactory.getMessage("wsimport.maxRedirectAttempt"); 507 } 508 509 /** 510 * Can not get a WSDL maximum number of redirects(5) reached 511 * 512 */ 513 public static String WSIMPORT_MAX_REDIRECT_ATTEMPT() { 514 return localizer.localize(localizableWSIMPORT_MAX_REDIRECT_ATTEMPT()); 515 } 516 517 public static Localizable localizableWSIMPORT_WARNING_MESSAGE(Object arg0) { 518 return messageFactory.getMessage("wsimport.WarningMessage", arg0); 519 } 520 521 /** 522 * [WARNING] {0} 523 * 524 */ 525 public static String WSIMPORT_WARNING_MESSAGE(Object arg0) { 526 return localizer.localize(localizableWSIMPORT_WARNING_MESSAGE(arg0)); 527 } 528 529 public static Localizable localizableWSCOMPILE_INVALID_OPTION(Object arg0) { 530 return messageFactory.getMessage("wscompile.invalidOption", arg0); 531 } 532 533 /** 534 * unrecognized parameter {0} 535 * 536 */ 537 public static String WSCOMPILE_INVALID_OPTION(Object arg0) { 538 return localizer.localize(localizableWSCOMPILE_INVALID_OPTION(arg0)); 539 } 540 541 public static Localizable localizableWSIMPORT_ERROR_MESSAGE(Object arg0) { 542 return messageFactory.getMessage("wsimport.ErrorMessage", arg0); 543 } 544 545 /** 546 * [ERROR] {0} 547 * 548 */ 549 public static String WSIMPORT_ERROR_MESSAGE(Object arg0) { 550 return localizer.localize(localizableWSIMPORT_ERROR_MESSAGE(arg0)); 551 } 552 553 public static Localizable localizableWSIMPORT_GENERATING_CODE() { 554 return messageFactory.getMessage("wsimport.GeneratingCode"); 555 } 556 557 /** 558 * 559 * Generating code... 560 * 561 * 562 */ 563 public static String WSIMPORT_GENERATING_CODE() { 564 return localizer.localize(localizableWSIMPORT_GENERATING_CODE()); 565 } 566 567 public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) { 568 return messageFactory.getMessage("wsimport.NotAFileNorURL", arg0); 569 } 570 571 /** 572 * "{0}" is neither a file name nor an URL 573 * 574 */ 575 public static String WSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) { 576 return localizer.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0)); 577 } 578 579 public static Localizable localizableWSCOMPILE_WARNING(Object arg0) { 580 return messageFactory.getMessage("wscompile.warning", arg0); 581 } 582 583 /** 584 * warning: {0} 585 * 586 */ 587 public static String WSCOMPILE_WARNING(Object arg0) { 588 return localizer.localize(localizableWSCOMPILE_WARNING(arg0)); 589 } 590 591 public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { 592 return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2); 593 } 594 595 /** 596 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>. 597 * 598 */ 599 public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { 600 return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2)); 601 } 602 603 public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) { 604 return messageFactory.getMessage("wsimport.noSuchJaxbOption", arg0); 605 } 606 607 /** 608 * no such JAXB option: {0} 609 * 610 */ 611 public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) { 612 return localizer.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0)); 613 } 614 615 public static Localizable localizableWSGEN_VERSION(Object arg0) { 616 return messageFactory.getMessage("wsgen.version", arg0); 617 } 618 619 /** 620 * wsgen version "{0}" 621 * 622 */ 623 public static String WSGEN_VERSION(Object arg0) { 624 return localizer.localize(localizableWSGEN_VERSION(arg0)); 625 } 626 627 public static Localizable localizableWSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) { 628 return messageFactory.getMessage("wsimport.authFileNotFound", arg0, arg1); 629 } 630 631 /** 632 * Authorization file "{0}" not found. If the WSDL access needs Basic Authentication, please provide authorization file with read access at {1} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//<url-path> 633 * 634 */ 635 public static String WSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) { 636 return localizer.localize(localizableWSIMPORT_AUTH_FILE_NOT_FOUND(arg0, arg1)); 637 } 638 639 public static Localizable localizableWSIMPORT_DEBUG_MESSAGE(Object arg0) { 640 return messageFactory.getMessage("wsimport.DebugMessage", arg0); 641 } 642 643 /** 644 * [DEBUG] {0} 645 * 646 */ 647 public static String WSIMPORT_DEBUG_MESSAGE(Object arg0) { 648 return localizer.localize(localizableWSIMPORT_DEBUG_MESSAGE(arg0)); 649 } 650 651 public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) { 652 return messageFactory.getMessage("wsgen.could.not.create.file", arg0); 653 } 654 655 /** 656 * Could not create file: "{0}" 657 * 658 */ 659 public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) { 660 return localizer.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0)); 661 } 662 663 public static Localizable localizableWSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) { 664 return messageFactory.getMessage("wsgen.wsdl.arg.no.genwsdl", arg0); 665 } 666 667 /** 668 * The "{0}" option can only be in conjunction with the "-wsdl" option. 669 * 670 */ 671 public static String WSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) { 672 return localizer.localize(localizableWSGEN_WSDL_ARG_NO_GENWSDL(arg0)); 673 } 674 675 public static Localizable localizableWSGEN_HELP(Object arg0, Object arg1, Object arg2) { 676 return messageFactory.getMessage("wsgen.help", arg0, arg1, arg2); 677 } 678 679 /** 680 * 681 * Usage: {0} [options] <SEI> 682 * 683 * where [options] include: 684 * -classpath <path> specify where to find input class files and wsgen extensions 685 * -cp <path> specify where to find input class files and wsgen extensions 686 * -d <directory> specify where to place generated output files 687 * -encoding <encoding> specify character encoding used by source files 688 * -extension allow vendor extensions - functionality not specified 689 * by the specification. Use of extensions may 690 * result in applications that are not portable or 691 * may not interoperate with other implementations 692 * -help display help 693 * -J<javacOption> pass this option to javac 694 * -keep keep generated files 695 * -r <directory> resource destination directory, specify where to 696 * place resouce files such as WSDLs 697 * -s <directory> specify where to place generated source files 698 * -verbose output messages about what the compiler is doing 699 * -version print version information 700 * -fullversion print full version information 701 * -wsdl[:protocol] generate a WSDL file. The protocol is optional. 702 * Valid protocols are {1}, 703 * the default is soap1.1. 704 * The non standard protocols {2} 705 * can only be used in conjunction with the 706 * -extension option. 707 * -inlineSchemas inline schemas in the generated wsdl. Must be 708 * used in conjunction with the -wsdl option. 709 * -servicename <name> specify the Service name to use in the generated WSDL 710 * Used in conjunction with the -wsdl option. 711 * -portname <name> specify the Port name to use in the generated WSDL 712 * Used in conjunction with the -wsdl option. 713 * -x <file> specify External Web Service Metadata xml descriptor 714 * 715 */ 716 public static String WSGEN_HELP(Object arg0, Object arg1, Object arg2) { 717 return localizer.localize(localizableWSGEN_HELP(arg0, arg1, arg2)); 718 } 719 720 public static Localizable localizableWSIMPORT_INFO_MESSAGE(Object arg0) { 721 return messageFactory.getMessage("wsimport.InfoMessage", arg0); 722 } 723 724 /** 725 * [INFO] {0} 726 * 727 */ 728 public static String WSIMPORT_INFO_MESSAGE(Object arg0) { 729 return localizer.localize(localizableWSIMPORT_INFO_MESSAGE(arg0)); 730 } 731 732 public static Localizable localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() { 733 return messageFactory.getMessage("wsgen.inlineSchemas.only.with.wsdl"); 734 } 735 736 /** 737 * "-inlineSchemas" must be used in conjunction with the "-wsdl" option 738 * 739 */ 740 public static String WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() { 741 return localizer.localize(localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); 742 } 743 744 public static Localizable localizableWSGEN_SOAP_12_WITHOUT_EXTENSION() { 745 return messageFactory.getMessage("wsgen.soap12.without.extension"); 746 } 747 748 /** 749 * The optional protocol "Xsoap1.2" must be used in conjunction with the "-extension" option. 750 * 751 */ 752 public static String WSGEN_SOAP_12_WITHOUT_EXTENSION() { 753 return localizer.localize(localizableWSGEN_SOAP_12_WITHOUT_EXTENSION()); 754 } 755 756 public static Localizable localizableWSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) { 757 return messageFactory.getMessage("wsimport.ILLEGAL_AUTH_INFO", arg0); 758 } 759 760 /** 761 * "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//<url-path>. 762 * 763 */ 764 public static String WSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) { 765 return localizer.localize(localizableWSIMPORT_ILLEGAL_AUTH_INFO(arg0)); 766 } 767 768 public static Localizable localizableWSCOMPILE_COMPILATION_FAILED() { 769 return messageFactory.getMessage("wscompile.compilationFailed"); 770 } 771 772 /** 773 * compilation failed, errors should have been reported 774 * 775 */ 776 public static String WSCOMPILE_COMPILATION_FAILED() { 777 return localizer.localize(localizableWSCOMPILE_COMPILATION_FAILED()); 778 } 779 780 public static Localizable localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) { 781 return messageFactory.getMessage("wscompile.missingOptionArgument", arg0); 782 } 783 784 /** 785 * option "{0}" requires an argument 786 * 787 */ 788 public static String WSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) { 789 return localizer.localize(localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(arg0)); 790 } 791 792 public static Localizable localizableWSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) { 793 return messageFactory.getMessage("wsimport.document.download", arg0, arg1); 794 } 795 796 /** 797 * 798 * Downloading metadata document from {0} to {1} 799 * 800 */ 801 public static String WSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) { 802 return localizer.localize(localizableWSIMPORT_DOCUMENT_DOWNLOAD(arg0, arg1)); 803 } 804 805 public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) { 806 return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.non.soap.binding", arg0, arg1); 807 } 808 809 /** 810 * wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1} 811 * 812 */ 813 public static String WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) { 814 return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(arg0, arg1)); 815 } 816 817 public static Localizable localizableWSCOMPILE_DUPLICATE_OPTION(Object arg0) { 818 return messageFactory.getMessage("wscompile.duplicateOption", arg0); 819 } 820 821 /** 822 * duplicate option: {0} 823 * 824 */ 825 public static String WSCOMPILE_DUPLICATE_OPTION(Object arg0) { 826 return localizer.localize(localizableWSCOMPILE_DUPLICATE_OPTION(arg0)); 827 } 828 829 public static Localizable localizableWSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) { 830 return messageFactory.getMessage("wsimport.FailedToParse", arg0, arg1); 831 } 832 833 /** 834 * Failed to parse "{0}": {1} 835 * 836 */ 837 public static String WSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) { 838 return localizer.localize(localizableWSIMPORT_FAILED_TO_PARSE(arg0, arg1)); 839 } 840 841 public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) { 842 return messageFactory.getMessage("wsimport.no.wsdl", arg0); 843 } 844 845 /** 846 * Failed to read the WSDL document: {0}, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>. 847 * 848 */ 849 public static String WSIMPORT_NO_WSDL(Object arg0) { 850 return localizer.localize(localizableWSIMPORT_NO_WSDL(arg0)); 851 } 852 853 public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) { 854 return messageFactory.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1); 855 } 856 857 /** 858 * line {0} of {1} 859 * 860 */ 861 public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) { 862 return localizer.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1)); 863 } 864 865 public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 866 return messageFactory.getMessage("wsgen.servicename.missing.localname", arg0); 867 } 868 869 /** 870 * The service name "{0}" is missing a localname. 871 * 872 */ 873 public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 874 return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0)); 875 } 876 877 public static Localizable localizableWSGEN_USAGE(Object arg0) { 878 return messageFactory.getMessage("wsgen.usage", arg0); 879 } 880 881 /** 882 * Usage: {0} [options] <SEI> 883 * 884 * Use "wsgen -help" for a detailed description of options. 885 * 886 */ 887 public static String WSGEN_USAGE(Object arg0) { 888 return localizer.localize(localizableWSGEN_USAGE(arg0)); 889 } 890 891 public static Localizable localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 892 return messageFactory.getMessage("wsgen.servicename.missing.namespace", arg0); 893 } 894 895 /** 896 * The service name "{0}" is missing a namespace. 897 * 898 */ 899 public static String WSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 900 return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(arg0)); 901 } 902 903 public static Localizable localizableWSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) { 904 return messageFactory.getMessage("wsgen.invalid.transport", arg0, arg1); 905 } 906 907 /** 908 * "{0}" is not a supported transport. Supported transport includes: {1}. 909 * 910 */ 911 public static String WSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) { 912 return localizer.localize(localizableWSGEN_INVALID_TRANSPORT(arg0, arg1)); 913 } 914 915 public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) { 916 return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1); 917 } 918 919 /** 920 * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.Please specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:wsgen -wsdl:protocol XSoap1.2 -extenson {1} 921 * 922 */ 923 public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) { 924 return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1)); 925 } 926 927 public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { 928 return messageFactory.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0); 929 } 930 931 /** 932 * "{0}" is not a valid target version. "2.0" and "2.1" are supported. 933 * 934 */ 935 public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { 936 return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0)); 937 } 938 939 public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) { 940 return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0); 941 } 942 943 /** 944 * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort 945 * 946 */ 947 public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) { 948 return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0)); 949 } 950 951 public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { 952 return messageFactory.getMessage("wsgen.portname.missing.localname", arg0); 953 } 954 955 /** 956 * The port name "{0}" is missing a localname. 957 * 958 */ 959 public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { 960 return localizer.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0)); 961 } 962 963 public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) { 964 return messageFactory.getMessage("wsgen.portname.missing.namespace", arg0); 965 } 966 967 /** 968 * The port name "{0}" is missing a namespace. 969 * 970 */ 971 public static String WSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) { 972 return localizer.localize(localizableWSGEN_PORTNAME_MISSING_NAMESPACE(arg0)); 973 } 974 975 public static Localizable localizableWSIMPORT_FULLVERSION(Object arg0) { 976 return messageFactory.getMessage("wsimport.fullversion", arg0); 977 } 978 979 /** 980 * wsimport full version "{0}" 981 * 982 */ 983 public static String WSIMPORT_FULLVERSION(Object arg0) { 984 return localizer.localize(localizableWSIMPORT_FULLVERSION(arg0)); 985 } 986 987 } | 1 /* 2 * Copyright (c) 1997, 2017, 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 package com.sun.tools.internal.ws.resources; 27 28 import java.util.Locale; 29 import java.util.ResourceBundle; 30 import com.sun.istack.internal.localization.Localizable; 31 import com.sun.istack.internal.localization.LocalizableMessageFactory; 32 import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier; 33 import com.sun.istack.internal.localization.Localizer; 34 35 36 /** 37 * Defines string formatting method for each constant in the resource file 38 * 39 */ 40 public final class WscompileMessages { 41 42 private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.wscompile"; 43 private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new WscompileMessages.BundleSupplier()); 44 private final static Localizer LOCALIZER = new Localizer(); 45 46 public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) { 47 return MESSAGE_FACTORY.getMessage("wsimport.NotAFileNorURL", arg0); 48 } 49 50 /** 51 * "{0}" is neither a file name nor an URL 52 * 53 */ 54 public static String WSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) { 55 return LOCALIZER.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0)); 56 } 57 58 public static Localizable localizableWSGEN_USAGE_EXTENSIONS() { 59 return MESSAGE_FACTORY.getMessage("wsgen.usage.extensions"); 60 } 61 62 /** 63 * 64 * Extensions: 65 * -Xnocompile do not compile generated Java files 66 * 67 */ 68 public static String WSGEN_USAGE_EXTENSIONS() { 69 return LOCALIZER.localize(localizableWSGEN_USAGE_EXTENSIONS()); 70 } 71 72 public static Localizable localizableWSIMPORT_HELP(Object arg0) { 73 return MESSAGE_FACTORY.getMessage("wsimport.help", arg0); 74 } 75 76 /** 77 * 78 * Usage: {0} [options] <WSDL_URI> 79 * 80 * where [options] include: 81 * -b <path> specify jaxws/jaxb binding files or additional schemas 82 * (Each <path> must have its own -b) 83 * -B<jaxbOption> Pass this option to JAXB schema compiler 84 * -catalog <file> specify catalog file to resolve external entity references 85 * supports TR9401, XCatalog, and OASIS XML Catalog format. 86 * -classpath <path> specify where to find user class files and wsimport extensions 87 * -cp <path> specify where to find user class files and wsimport extensions 88 * -d <directory> specify where to place generated output files 89 * -encoding <encoding> specify character encoding used by source files 90 * -extension allow vendor extensions - functionality not specified 91 * by the specification. Use of extensions may 92 * result in applications that are not portable or 93 * may not interoperate with other implementations 94 * -help display help 95 * -httpproxy:<proxy> set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort 96 * (port defaults to 8080) 97 * -J<javacOption> pass this option to javac 98 * -keep keep generated files 99 * -p <pkg> specifies the target package 100 * -m <name> generate module-info.java with given Java module name 101 * -quiet suppress wsimport output 102 * -s <directory> specify where to place generated source files 103 * -target <version> generate code as per the given JAXWS spec version 104 * Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2 105 * e.g. 2.0 will generate compliant code for JAXWS 2.0 spec 106 * -verbose output messages about what the compiler is doing 107 * -version print version information 108 * -fullversion print full version information 109 * -wsdllocation <location> @WebServiceClient.wsdlLocation value 110 * -clientjar <jarfile> creates the jar file of the generated artifacts along with the 111 * WSDL metadata required for invoking the web service. 112 * -generateJWS generate stubbed JWS implementation file 113 * -implDestDir <directory> specify where to generate JWS implementation file 114 * -implServiceName <name> local portion of service name for generated JWS implementation 115 * -implPortName <name> local portion of port name for generated JWS implementation 116 * 117 */ 118 public static String WSIMPORT_HELP(Object arg0) { 119 return LOCALIZER.localize(localizableWSIMPORT_HELP(arg0)); 120 } 121 122 public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { 123 return MESSAGE_FACTORY.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0); 124 } 125 126 /** 127 * "{0}" is not a valid target version. "2.0" and "2.1" are supported. 128 * 129 */ 130 public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { 131 return LOCALIZER.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0)); 132 } 133 134 public static Localizable localizableWSIMPORT_USAGE_EXAMPLES() { 135 return MESSAGE_FACTORY.getMessage("wsimport.usage.examples"); 136 } 137 138 /** 139 * 140 * Examples: 141 * wsimport stock.wsdl -b stock.xml -b stock.xjb 142 * wsimport -d generated http://example.org/stock?wsdl 143 * 144 * 145 */ 146 public static String WSIMPORT_USAGE_EXAMPLES() { 147 return LOCALIZER.localize(localizableWSIMPORT_USAGE_EXAMPLES()); 148 } 149 150 public static Localizable localizableWSIMPORT_DEBUG_MESSAGE(Object arg0) { 151 return MESSAGE_FACTORY.getMessage("wsimport.DebugMessage", arg0); 152 } 153 154 /** 155 * [DEBUG] {0} 156 * 157 */ 158 public static String WSIMPORT_DEBUG_MESSAGE(Object arg0) { 159 return LOCALIZER.localize(localizableWSIMPORT_DEBUG_MESSAGE(arg0)); 160 } 161 162 public static Localizable localizableWSIMPORT_FULLVERSION(Object arg0) { 163 return MESSAGE_FACTORY.getMessage("wsimport.fullversion", arg0); 164 } 165 166 /** 167 * wsimport full version "{0}" 168 * 169 */ 170 public static String WSIMPORT_FULLVERSION(Object arg0) { 171 return LOCALIZER.localize(localizableWSIMPORT_FULLVERSION(arg0)); 172 } 173 174 public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) { 175 return MESSAGE_FACTORY.getMessage("wsimport.noSuchJaxbOption", arg0); 176 } 177 178 /** 179 * no such JAXB option: {0} 180 * 181 */ 182 public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) { 183 return LOCALIZER.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0)); 184 } 185 186 public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) { 187 return MESSAGE_FACTORY.getMessage("wsimport.ILLEGAL_PROXY", arg0); 188 } 189 190 /** 191 * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort 192 * 193 */ 194 public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) { 195 return LOCALIZER.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0)); 196 } 197 198 public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) { 199 return MESSAGE_FACTORY.getMessage("invoker.needEndorsed", arg0, arg1); 200 } 201 202 /** 203 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option. 204 * 205 */ 206 public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) { 207 return LOCALIZER.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1)); 208 } 209 210 public static Localizable localizableWSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) { 211 return MESSAGE_FACTORY.getMessage("wsimport.authInfoNeeded", arg0, arg1, arg2); 212 } 213 214 /** 215 * {0}, "{1}" needs authorization, please provide authorization file with read access at {2} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//<url-path> 216 * 217 */ 218 public static String WSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) { 219 return LOCALIZER.localize(localizableWSIMPORT_AUTH_INFO_NEEDED(arg0, arg1, arg2)); 220 } 221 222 public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) { 223 return MESSAGE_FACTORY.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1); 224 } 225 226 /** 227 * line {0} of {1} 228 * 229 */ 230 public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) { 231 return LOCALIZER.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1)); 232 } 233 234 public static Localizable localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) { 235 return MESSAGE_FACTORY.getMessage("wscompile.missingOptionArgument", arg0); 236 } 237 238 /** 239 * option "{0}" requires an argument 240 * 241 */ 242 public static String WSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) { 243 return LOCALIZER.localize(localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(arg0)); 244 } 245 246 public static Localizable localizableWSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) { 247 return MESSAGE_FACTORY.getMessage("wsimport.archiveArtifact", arg0, arg1); 248 } 249 250 /** 251 * Adding {0} to the archive {1} 252 * 253 */ 254 public static String WSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) { 255 return LOCALIZER.localize(localizableWSIMPORT_ARCHIVE_ARTIFACT(arg0, arg1)); 256 } 257 258 public static Localizable localizableWSGEN_USAGE(Object arg0) { 259 return MESSAGE_FACTORY.getMessage("wsgen.usage", arg0); 260 } 261 262 /** 263 * Usage: {0} [options] <SEI> 264 * 265 * Use "wsgen -help" for a detailed description of options. 266 * 267 */ 268 public static String WSGEN_USAGE(Object arg0) { 269 return LOCALIZER.localize(localizableWSGEN_USAGE(arg0)); 270 } 271 272 public static Localizable localizableWSIMPORT_USAGE_EXTENSIONS() { 273 return MESSAGE_FACTORY.getMessage("wsimport.usage.extensions"); 274 } 275 276 /** 277 * 278 * Extensions: 279 * -XadditionalHeaders map headers not bound to request or response message to 280 * Java method parameters 281 * -Xauthfile file to carry authorization information in the format 282 * http://username:password@example.org/stock?wsdl 283 * -Xdebug print debug information 284 * -Xno-addressing-databinding enable binding of W3C EndpointReferenceType to Java 285 * -Xnocompile do not compile generated Java files 286 * -XdisableAuthenticator disable Authenticator used by JAX-WS RI, 287 * -Xauthfile option will be ignored if set 288 * -XdisableSSLHostnameVerification disable the SSL Hostname verification while fetching 289 * wsdls 290 * 291 */ 292 public static String WSIMPORT_USAGE_EXTENSIONS() { 293 return LOCALIZER.localize(localizableWSIMPORT_USAGE_EXTENSIONS()); 294 } 295 296 public static Localizable localizableWSIMPORT_WARNING_MESSAGE(Object arg0) { 297 return MESSAGE_FACTORY.getMessage("wsimport.WarningMessage", arg0); 298 } 299 300 /** 301 * [WARNING] {0} 302 * 303 */ 304 public static String WSIMPORT_WARNING_MESSAGE(Object arg0) { 305 return LOCALIZER.localize(localizableWSIMPORT_WARNING_MESSAGE(arg0)); 306 } 307 308 public static Localizable localizableWSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) { 309 return MESSAGE_FACTORY.getMessage("wsgen.invalid.transport", arg0, arg1); 310 } 311 312 /** 313 * "{0}" is not a supported transport. Supported transport includes: {1}. 314 * 315 */ 316 public static String WSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) { 317 return LOCALIZER.localize(localizableWSGEN_INVALID_TRANSPORT(arg0, arg1)); 318 } 319 320 public static Localizable localizableWSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) { 321 return MESSAGE_FACTORY.getMessage("wsimport.document.download", arg0, arg1); 322 } 323 324 /** 325 * 326 * Downloading metadata document from {0} to {1} 327 * 328 */ 329 public static String WSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) { 330 return LOCALIZER.localize(localizableWSIMPORT_DOCUMENT_DOWNLOAD(arg0, arg1)); 331 } 332 333 public static Localizable localizableWSGEN_CLASS_NOT_FOUND(Object arg0) { 334 return MESSAGE_FACTORY.getMessage("wsgen.class.not.found", arg0); 335 } 336 337 /** 338 * Class not found: "{0}" 339 * 340 */ 341 public static String WSGEN_CLASS_NOT_FOUND(Object arg0) { 342 return LOCALIZER.localize(localizableWSGEN_CLASS_NOT_FOUND(arg0)); 343 } 344 345 public static Localizable localizableWSCOMPILE_DUPLICATE_OPTION(Object arg0) { 346 return MESSAGE_FACTORY.getMessage("wscompile.duplicateOption", arg0); 347 } 348 349 /** 350 * duplicate option: {0} 351 * 352 */ 353 public static String WSCOMPILE_DUPLICATE_OPTION(Object arg0) { 354 return LOCALIZER.localize(localizableWSCOMPILE_DUPLICATE_OPTION(arg0)); 355 } 356 357 public static Localizable localizableWSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) { 358 return MESSAGE_FACTORY.getMessage("wscompile.unsupportedEncoding", arg0); 359 } 360 361 /** 362 * unsupported encoding: {0} 363 * 364 */ 365 public static String WSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) { 366 return LOCALIZER.localize(localizableWSCOMPILE_UNSUPPORTED_ENCODING(arg0)); 367 } 368 369 public static Localizable localizableWSIMPORT_COMPILING_CODE() { 370 return MESSAGE_FACTORY.getMessage("wsimport.CompilingCode"); 371 } 372 373 /** 374 * 375 * Compiling code... 376 * 377 * 378 */ 379 public static String WSIMPORT_COMPILING_CODE() { 380 return LOCALIZER.localize(localizableWSIMPORT_COMPILING_CODE()); 381 } 382 383 public static Localizable localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 384 return MESSAGE_FACTORY.getMessage("wsgen.servicename.missing.namespace", arg0); 385 } 386 387 /** 388 * The service name "{0}" is missing a namespace. 389 * 390 */ 391 public static String WSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 392 return LOCALIZER.localize(localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(arg0)); 393 } 394 395 public static Localizable localizableWSIMPORT_MAX_REDIRECT_ATTEMPT() { 396 return MESSAGE_FACTORY.getMessage("wsimport.maxRedirectAttempt"); 397 } 398 399 /** 400 * Can not get a WSDL maximum number of redirects(5) reached 401 * 402 */ 403 public static String WSIMPORT_MAX_REDIRECT_ATTEMPT() { 404 return LOCALIZER.localize(localizableWSIMPORT_MAX_REDIRECT_ATTEMPT()); 405 } 406 407 public static Localizable localizableWSIMPORT_READING_AUTH_FILE(Object arg0) { 408 return MESSAGE_FACTORY.getMessage("wsimport.readingAuthFile", arg0); 409 } 410 411 /** 412 * Trying to read authorization file : "{0}"... 413 * 414 */ 415 public static String WSIMPORT_READING_AUTH_FILE(Object arg0) { 416 return LOCALIZER.localize(localizableWSIMPORT_READING_AUTH_FILE(arg0)); 417 } 418 419 public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) { 420 return MESSAGE_FACTORY.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1); 421 } 422 423 /** 424 * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.Please specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:wsgen -wsdl:protocol XSoap1.2 -extenson {1} 425 * 426 */ 427 public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) { 428 return LOCALIZER.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1)); 429 } 430 431 public static Localizable localizableWSIMPORT_INFO_MESSAGE(Object arg0) { 432 return MESSAGE_FACTORY.getMessage("wsimport.InfoMessage", arg0); 433 } 434 435 /** 436 * [INFO] {0} 437 * 438 */ 439 public static String WSIMPORT_INFO_MESSAGE(Object arg0) { 440 return LOCALIZER.localize(localizableWSIMPORT_INFO_MESSAGE(arg0)); 441 } 442 443 public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) { 444 return MESSAGE_FACTORY.getMessage("wscompile.existingOption", arg0); 445 } 446 447 /** 448 * Ignoring already defined option {0} 449 * 450 * 451 */ 452 public static String WSCOMPILE_EXISTING_OPTION(Object arg0) { 453 return LOCALIZER.localize(localizableWSCOMPILE_EXISTING_OPTION(arg0)); 454 } 455 456 public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) { 457 return MESSAGE_FACTORY.getMessage("wsgen.portname.missing.namespace", arg0); 458 } 459 460 /** 461 * The port name "{0}" is missing a namespace. 462 * 463 */ 464 public static String WSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) { 465 return LOCALIZER.localize(localizableWSGEN_PORTNAME_MISSING_NAMESPACE(arg0)); 466 } 467 468 public static Localizable localizableWSIMPORT_GENERATING_CODE() { 469 return MESSAGE_FACTORY.getMessage("wsimport.GeneratingCode"); 470 } 471 472 /** 473 * 474 * Generating code... 475 * 476 * 477 */ 478 public static String WSIMPORT_GENERATING_CODE() { 479 return LOCALIZER.localize(localizableWSIMPORT_GENERATING_CODE()); 480 } 481 482 public static Localizable localizableWSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) { 483 return MESSAGE_FACTORY.getMessage("wsimport.authFileNotFound", arg0, arg1); 484 } 485 486 /** 487 * Authorization file "{0}" not found. If the WSDL access needs Basic Authentication, please provide authorization file with read access at {1} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//<url-path> 488 * 489 */ 490 public static String WSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) { 491 return LOCALIZER.localize(localizableWSIMPORT_AUTH_FILE_NOT_FOUND(arg0, arg1)); 492 } 493 494 public static Localizable localizableWSIMPORT_WSDLLOCATION_CLIENTJAR() { 495 return MESSAGE_FACTORY.getMessage("wsimport.wsdllocation.clientjar"); 496 } 497 498 /** 499 * wsdlLocation cannot be specified when using clientJar option 500 * 501 */ 502 public static String WSIMPORT_WSDLLOCATION_CLIENTJAR() { 503 return LOCALIZER.localize(localizableWSIMPORT_WSDLLOCATION_CLIENTJAR()); 504 } 505 506 public static Localizable localizableWSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) { 507 return MESSAGE_FACTORY.getMessage("wsimport.FailedToParse", arg0, arg1); 508 } 509 510 /** 511 * Failed to parse "{0}": {1} 512 * 513 */ 514 public static String WSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) { 515 return LOCALIZER.localize(localizableWSIMPORT_FAILED_TO_PARSE(arg0, arg1)); 516 } 517 518 public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) { 519 return MESSAGE_FACTORY.getMessage("wsimport.no.wsdl", arg0); 520 } 521 522 /** 523 * Failed to read the WSDL document: {0}, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>. 524 * 525 */ 526 public static String WSIMPORT_NO_WSDL(Object arg0) { 527 return LOCALIZER.localize(localizableWSIMPORT_NO_WSDL(arg0)); 528 } 529 530 public static Localizable localizableWSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) { 531 return MESSAGE_FACTORY.getMessage("wsgen.invalid.protocol", arg0, arg1); 532 } 533 534 /** 535 * "{0}" is not a supported protocol. Supported protocols include: {1}. 536 * 537 */ 538 public static String WSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) { 539 return LOCALIZER.localize(localizableWSGEN_INVALID_PROTOCOL(arg0, arg1)); 540 } 541 542 public static Localizable localizableWSGEN_HELP(Object arg0, Object arg1, Object arg2) { 543 return MESSAGE_FACTORY.getMessage("wsgen.help", arg0, arg1, arg2); 544 } 545 546 /** 547 * 548 * Usage: {0} [options] <SEI> 549 * 550 * where [options] include: 551 * -classpath <path> specify where to find input class files and wsgen extensions 552 * -cp <path> specify where to find input class files and wsgen extensions 553 * -d <directory> specify where to place generated output files 554 * -encoding <encoding> specify character encoding used by source files 555 * -extension allow vendor extensions - functionality not specified 556 * by the specification. Use of extensions may 557 * result in applications that are not portable or 558 * may not interoperate with other implementations 559 * -help display help 560 * -J<javacOption> pass this option to javac 561 * -keep keep generated files 562 * -r <directory> resource destination directory, specify where to 563 * place resouce files such as WSDLs 564 * -s <directory> specify where to place generated source files 565 * -verbose output messages about what the compiler is doing 566 * -version print version information 567 * -fullversion print full version information 568 * -wsdl[:protocol] generate a WSDL file. The protocol is optional. 569 * Valid protocols are {1}, 570 * the default is soap1.1. 571 * The non standard protocols {2} 572 * can only be used in conjunction with the 573 * -extension option. 574 * -inlineSchemas inline schemas in the generated wsdl. Must be 575 * used in conjunction with the -wsdl option. 576 * -servicename <name> specify the Service name to use in the generated WSDL 577 * Used in conjunction with the -wsdl option. 578 * -portname <name> specify the Port name to use in the generated WSDL 579 * Used in conjunction with the -wsdl option. 580 * -x <file> specify External Web Service Metadata xml descriptor 581 * 582 */ 583 public static String WSGEN_HELP(Object arg0, Object arg1, Object arg2) { 584 return LOCALIZER.localize(localizableWSGEN_HELP(arg0, arg1, arg2)); 585 } 586 587 public static Localizable localizableWSIMPORT_USAGE(Object arg0) { 588 return MESSAGE_FACTORY.getMessage("wsimport.usage", arg0); 589 } 590 591 /** 592 * Usage: {0} [options] <WSDL_URI> 593 * 594 * Use "wsimport -help" for a detailed description of options. 595 * 596 */ 597 public static String WSIMPORT_USAGE(Object arg0) { 598 return LOCALIZER.localize(localizableWSIMPORT_USAGE(arg0)); 599 } 600 601 public static Localizable localizableWSCOMPILE_ERROR(Object arg0) { 602 return MESSAGE_FACTORY.getMessage("wscompile.error", arg0); 603 } 604 605 /** 606 * error: {0} 607 * 608 */ 609 public static String WSCOMPILE_ERROR(Object arg0) { 610 return LOCALIZER.localize(localizableWSCOMPILE_ERROR(arg0)); 611 } 612 613 public static Localizable localizableWSCOMPILE_WARNING(Object arg0) { 614 return MESSAGE_FACTORY.getMessage("wscompile.warning", arg0); 615 } 616 617 /** 618 * warning: {0} 619 * 620 */ 621 public static String WSCOMPILE_WARNING(Object arg0) { 622 return LOCALIZER.localize(localizableWSCOMPILE_WARNING(arg0)); 623 } 624 625 public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { 626 return MESSAGE_FACTORY.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2); 627 } 628 629 /** 630 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>. 631 * 632 */ 633 public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { 634 return LOCALIZER.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2)); 635 } 636 637 public static Localizable localizableWSIMPORT_VERSION(Object arg0) { 638 return MESSAGE_FACTORY.getMessage("wsimport.version", arg0); 639 } 640 641 /** 642 * wsimport version "{0}" 643 * 644 */ 645 public static String WSIMPORT_VERSION(Object arg0) { 646 return LOCALIZER.localize(localizableWSIMPORT_VERSION(arg0)); 647 } 648 649 public static Localizable localizableWSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) { 650 return MESSAGE_FACTORY.getMessage("wscompile.noSuchDirectory", arg0); 651 } 652 653 /** 654 * directory not found: {0} 655 * 656 */ 657 public static String WSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) { 658 return LOCALIZER.localize(localizableWSCOMPILE_NO_SUCH_DIRECTORY(arg0)); 659 } 660 661 public static Localizable localizableWSIMPORT_MISSING_FILE() { 662 return MESSAGE_FACTORY.getMessage("wsimport.missingFile"); 663 } 664 665 /** 666 * Missing WSDL_URI 667 * 668 */ 669 public static String WSIMPORT_MISSING_FILE() { 670 return LOCALIZER.localize(localizableWSIMPORT_MISSING_FILE()); 671 } 672 673 public static Localizable localizableWSCOMPILE_COMPILATION_FAILED() { 674 return MESSAGE_FACTORY.getMessage("wscompile.compilationFailed"); 675 } 676 677 /** 678 * compilation failed, errors should have been reported 679 * 680 */ 681 public static String WSCOMPILE_COMPILATION_FAILED() { 682 return LOCALIZER.localize(localizableWSCOMPILE_COMPILATION_FAILED()); 683 } 684 685 public static Localizable localizableWSIMPORT_PARSING_WSDL() { 686 return MESSAGE_FACTORY.getMessage("wsimport.ParsingWSDL"); 687 } 688 689 /** 690 * parsing WSDL... 691 * 692 * 693 * 694 */ 695 public static String WSIMPORT_PARSING_WSDL() { 696 return LOCALIZER.localize(localizableWSIMPORT_PARSING_WSDL()); 697 } 698 699 public static Localizable localizableWSGEN_USAGE_EXAMPLES() { 700 return MESSAGE_FACTORY.getMessage("wsgen.usage.examples"); 701 } 702 703 /** 704 * 705 * Examples: 706 * wsgen -cp . example.Stock 707 * wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService' 708 * 709 * 710 */ 711 public static String WSGEN_USAGE_EXAMPLES() { 712 return LOCALIZER.localize(localizableWSGEN_USAGE_EXAMPLES()); 713 } 714 715 public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) { 716 return MESSAGE_FACTORY.getMessage("wsimport.archivingArtifacts", arg0); 717 } 718 719 /** 720 * 721 * Archiving the generated artifacts into {0}. 722 * 723 * 724 */ 725 public static String WSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) { 726 return LOCALIZER.localize(localizableWSIMPORT_ARCHIVING_ARTIFACTS(arg0)); 727 } 728 729 public static Localizable localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) { 730 return MESSAGE_FACTORY.getMessage("wsgen.protocol.without.extension", arg0); 731 } 732 733 /** 734 * The optional protocol "{0}" must be used in conjunction with the "-extension" option. 735 * 736 */ 737 public static String WSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) { 738 return LOCALIZER.localize(localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(arg0)); 739 } 740 741 public static Localizable localizableWSGEN_MISSING_FILE() { 742 return MESSAGE_FACTORY.getMessage("wsgen.missingFile"); 743 } 744 745 /** 746 * Missing SEI 747 * 748 */ 749 public static String WSGEN_MISSING_FILE() { 750 return LOCALIZER.localize(localizableWSGEN_MISSING_FILE()); 751 } 752 753 public static Localizable localizableWSGEN_VERSION(Object arg0) { 754 return MESSAGE_FACTORY.getMessage("wsgen.version", arg0); 755 } 756 757 /** 758 * wsgen version "{0}" 759 * 760 */ 761 public static String WSGEN_VERSION(Object arg0) { 762 return LOCALIZER.localize(localizableWSGEN_VERSION(arg0)); 763 } 764 765 public static Localizable localizableWSGEN_NO_WEBSERVICES_CLASS(Object arg0) { 766 return MESSAGE_FACTORY.getMessage("wsgen.no.webservices.class", arg0); 767 } 768 769 /** 770 * wsgen did not find any class with @WebService annotation. Please specify @WebService annotation on {0}. 771 * 772 */ 773 public static String WSGEN_NO_WEBSERVICES_CLASS(Object arg0) { 774 return LOCALIZER.localize(localizableWSGEN_NO_WEBSERVICES_CLASS(arg0)); 775 } 776 777 public static Localizable localizableWSGEN_SOAP_12_WITHOUT_EXTENSION() { 778 return MESSAGE_FACTORY.getMessage("wsgen.soap12.without.extension"); 779 } 780 781 /** 782 * The optional protocol "Xsoap1.2" must be used in conjunction with the "-extension" option. 783 * 784 */ 785 public static String WSGEN_SOAP_12_WITHOUT_EXTENSION() { 786 return LOCALIZER.localize(localizableWSGEN_SOAP_12_WITHOUT_EXTENSION()); 787 } 788 789 public static Localizable localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) { 790 return MESSAGE_FACTORY.getMessage("wsgen.class.must.be.implementation.class", arg0); 791 } 792 793 /** 794 * The class "{0}" is not an endpoint implementation class. 795 * 796 */ 797 public static String WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) { 798 return LOCALIZER.localize(localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(arg0)); 799 } 800 801 public static Localizable localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() { 802 return MESSAGE_FACTORY.getMessage("wsgen.inlineSchemas.only.with.wsdl"); 803 } 804 805 /** 806 * "-inlineSchemas" must be used in conjunction with the "-wsdl" option 807 * 808 */ 809 public static String WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() { 810 return LOCALIZER.localize(localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); 811 } 812 813 public static Localizable localizableWRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) { 814 return MESSAGE_FACTORY.getMessage("wrapperTask.loadingIncorrectApi", arg0, arg1, arg2); 815 } 816 817 /** 818 * You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API. 819 * 820 */ 821 public static String WRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) { 822 return LOCALIZER.localize(localizableWRAPPER_TASK_LOADING_INCORRECT_API(arg0, arg1, arg2)); 823 } 824 825 public static Localizable localizableWSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) { 826 return MESSAGE_FACTORY.getMessage("wscompile.cant.get.compiler", arg0, arg1, arg2); 827 } 828 829 /** 830 * No Java compiler found. Perhaps environment/JDK problem? 831 * Used JVM: {0}, {1}/{2} 832 * 833 */ 834 public static String WSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) { 835 return LOCALIZER.localize(localizableWSCOMPILE_CANT_GET_COMPILER(arg0, arg1, arg2)); 836 } 837 838 public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 839 return MESSAGE_FACTORY.getMessage("wsgen.servicename.missing.localname", arg0); 840 } 841 842 /** 843 * The service name "{0}" is missing a localname. 844 * 845 */ 846 public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 847 return LOCALIZER.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0)); 848 } 849 850 public static Localizable localizableWSCOMPILE_INVALID_OPTION(Object arg0) { 851 return MESSAGE_FACTORY.getMessage("wscompile.invalidOption", arg0); 852 } 853 854 /** 855 * unrecognized parameter {0} 856 * 857 */ 858 public static String WSCOMPILE_INVALID_OPTION(Object arg0) { 859 return LOCALIZER.localize(localizableWSCOMPILE_INVALID_OPTION(arg0)); 860 } 861 862 public static Localizable localizableWSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) { 863 return MESSAGE_FACTORY.getMessage("wsimport.httpRedirect", arg0, arg1); 864 } 865 866 /** 867 * Server returned HTTP Status code: "{0}", retrying with "{1}" 868 * 869 */ 870 public static String WSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) { 871 return LOCALIZER.localize(localizableWSIMPORT_HTTP_REDIRECT(arg0, arg1)); 872 } 873 874 public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { 875 return MESSAGE_FACTORY.getMessage("wsgen.portname.missing.localname", arg0); 876 } 877 878 /** 879 * The port name "{0}" is missing a localname. 880 * 881 */ 882 public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { 883 return LOCALIZER.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0)); 884 } 885 886 public static Localizable localizableWSIMPORT_ERROR_MESSAGE(Object arg0) { 887 return MESSAGE_FACTORY.getMessage("wsimport.ErrorMessage", arg0); 888 } 889 890 /** 891 * [ERROR] {0} 892 * 893 */ 894 public static String WSIMPORT_ERROR_MESSAGE(Object arg0) { 895 return LOCALIZER.localize(localizableWSIMPORT_ERROR_MESSAGE(arg0)); 896 } 897 898 public static Localizable localizableWSGEN_FULLVERSION(Object arg0) { 899 return MESSAGE_FACTORY.getMessage("wsgen.fullversion", arg0); 900 } 901 902 /** 903 * wsgen full version "{0}" 904 * 905 */ 906 public static String WSGEN_FULLVERSION(Object arg0) { 907 return LOCALIZER.localize(localizableWSGEN_FULLVERSION(arg0)); 908 } 909 910 public static Localizable localizableWSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) { 911 return MESSAGE_FACTORY.getMessage("wsgen.wsdl.arg.no.genwsdl", arg0); 912 } 913 914 /** 915 * The "{0}" option can only be in conjunction with the "-wsdl" option. 916 * 917 */ 918 public static String WSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) { 919 return LOCALIZER.localize(localizableWSGEN_WSDL_ARG_NO_GENWSDL(arg0)); 920 } 921 922 public static Localizable localizableWSCOMPILE_INFO(Object arg0) { 923 return MESSAGE_FACTORY.getMessage("wscompile.info", arg0); 924 } 925 926 /** 927 * info: {0} 928 * 929 */ 930 public static String WSCOMPILE_INFO(Object arg0) { 931 return LOCALIZER.localize(localizableWSCOMPILE_INFO(arg0)); 932 } 933 934 public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) { 935 return MESSAGE_FACTORY.getMessage("wsgen.could.not.create.file", arg0); 936 } 937 938 /** 939 * Could not create file: "{0}" 940 * 941 */ 942 public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) { 943 return LOCALIZER.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0)); 944 } 945 946 public static Localizable localizableWSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) { 947 return MESSAGE_FACTORY.getMessage("wsimport.ILLEGAL_AUTH_INFO", arg0); 948 } 949 950 /** 951 * "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//<url-path>. 952 * 953 */ 954 public static String WSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) { 955 return LOCALIZER.localize(localizableWSIMPORT_ILLEGAL_AUTH_INFO(arg0)); 956 } 957 958 public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) { 959 return MESSAGE_FACTORY.getMessage("wsgen.cannot.gen.wsdl.for.non.soap.binding", arg0, arg1); 960 } 961 962 /** 963 * wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1} 964 * 965 */ 966 public static String WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) { 967 return LOCALIZER.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(arg0, arg1)); 968 } 969 970 public static Localizable localizableWSIMPORT_FETCHING_METADATA() { 971 return MESSAGE_FACTORY.getMessage("wsimport.fetchingMetadata"); 972 } 973 974 /** 975 * 976 * Downloading the WSDL and associated metadata 977 * 978 * 979 */ 980 public static String WSIMPORT_FETCHING_METADATA() { 981 return LOCALIZER.localize(localizableWSIMPORT_FETCHING_METADATA()); 982 } 983 984 private static class BundleSupplier 985 implements ResourceBundleSupplier 986 { 987 988 989 public ResourceBundle getResourceBundle(Locale locale) { 990 return ResourceBundle.getBundle(BUNDLE_NAME, locale); 991 } 992 993 } 994 995 } |