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