1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java Wed Apr 27 01:27:09 2016 +0800 1.3 @@ -0,0 +1,993 @@ 1.4 +/* 1.5 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.7 + * 1.8 + * This code is free software; you can redistribute it and/or modify it 1.9 + * under the terms of the GNU General Public License version 2 only, as 1.10 + * published by the Free Software Foundation. Oracle designates this 1.11 + * particular file as subject to the "Classpath" exception as provided 1.12 + * by Oracle in the LICENSE file that accompanied this code. 1.13 + * 1.14 + * This code is distributed in the hope that it will be useful, but WITHOUT 1.15 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.16 + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.17 + * version 2 for more details (a copy is included in the LICENSE file that 1.18 + * accompanied this code). 1.19 + * 1.20 + * You should have received a copy of the GNU General Public License version 1.21 + * 2 along with this work; if not, write to the Free Software Foundation, 1.22 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.23 + * 1.24 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.25 + * or visit www.oracle.com if you need additional information or have any 1.26 + * questions. 1.27 + */ 1.28 + 1.29 +package com.sun.tools.internal.ws.resources; 1.30 + 1.31 +import com.sun.istack.internal.localization.Localizable; 1.32 +import com.sun.istack.internal.localization.LocalizableMessageFactory; 1.33 +import com.sun.istack.internal.localization.Localizer; 1.34 + 1.35 + 1.36 +/** 1.37 + * Defines string formatting method for each constant in the resource file 1.38 + * 1.39 + */ 1.40 +public final class WscompileMessages { 1.41 + 1.42 + private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.tools.internal.ws.resources.wscompile"); 1.43 + private final static Localizer localizer = new Localizer(); 1.44 + 1.45 + public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) { 1.46 + return messageFactory.getMessage("wsimport.archivingArtifacts", arg0); 1.47 + } 1.48 + 1.49 + /** 1.50 + * 1.51 + * Archiving the generated artifacts into {0}. 1.52 + * 1.53 + * 1.54 + */ 1.55 + public static String WSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) { 1.56 + return localizer.localize(localizableWSIMPORT_ARCHIVING_ARTIFACTS(arg0)); 1.57 + } 1.58 + 1.59 + public static Localizable localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) { 1.60 + return messageFactory.getMessage("wsgen.class.must.be.implementation.class", arg0); 1.61 + } 1.62 + 1.63 + /** 1.64 + * The class "{0}" is not an endpoint implementation class. 1.65 + * 1.66 + */ 1.67 + public static String WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) { 1.68 + return localizer.localize(localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(arg0)); 1.69 + } 1.70 + 1.71 + public static Localizable localizableWSGEN_FULLVERSION(Object arg0) { 1.72 + return messageFactory.getMessage("wsgen.fullversion", arg0); 1.73 + } 1.74 + 1.75 + /** 1.76 + * wsgen full version "{0}" 1.77 + * 1.78 + */ 1.79 + public static String WSGEN_FULLVERSION(Object arg0) { 1.80 + return localizer.localize(localizableWSGEN_FULLVERSION(arg0)); 1.81 + } 1.82 + 1.83 + public static Localizable localizableWRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) { 1.84 + return messageFactory.getMessage("wrapperTask.loadingIncorrectApi", arg0, arg1, arg2); 1.85 + } 1.86 + 1.87 + /** 1.88 + * You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API. 1.89 + * 1.90 + */ 1.91 + public static String WRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) { 1.92 + return localizer.localize(localizableWRAPPER_TASK_LOADING_INCORRECT_API(arg0, arg1, arg2)); 1.93 + } 1.94 + 1.95 + public static Localizable localizableWSIMPORT_WSDLLOCATION_CLIENTJAR() { 1.96 + return messageFactory.getMessage("wsimport.wsdllocation.clientjar"); 1.97 + } 1.98 + 1.99 + /** 1.100 + * wsdlLocation cannot be specified when using clientJar option 1.101 + * 1.102 + */ 1.103 + public static String WSIMPORT_WSDLLOCATION_CLIENTJAR() { 1.104 + return localizer.localize(localizableWSIMPORT_WSDLLOCATION_CLIENTJAR()); 1.105 + } 1.106 + 1.107 + public static Localizable localizableWSIMPORT_VERSION(Object arg0) { 1.108 + return messageFactory.getMessage("wsimport.version", arg0); 1.109 + } 1.110 + 1.111 + /** 1.112 + * wsimport version "{0}" 1.113 + * 1.114 + */ 1.115 + public static String WSIMPORT_VERSION(Object arg0) { 1.116 + return localizer.localize(localizableWSIMPORT_VERSION(arg0)); 1.117 + } 1.118 + 1.119 + public static Localizable localizableWSGEN_CLASS_NOT_FOUND(Object arg0) { 1.120 + return messageFactory.getMessage("wsgen.class.not.found", arg0); 1.121 + } 1.122 + 1.123 + /** 1.124 + * Class not found: "{0}" 1.125 + * 1.126 + */ 1.127 + public static String WSGEN_CLASS_NOT_FOUND(Object arg0) { 1.128 + return localizer.localize(localizableWSGEN_CLASS_NOT_FOUND(arg0)); 1.129 + } 1.130 + 1.131 + public static Localizable localizableWSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) { 1.132 + return messageFactory.getMessage("wsimport.httpRedirect", arg0, arg1); 1.133 + } 1.134 + 1.135 + /** 1.136 + * Server returned HTTP Status code: "{0}", retrying with "{1}" 1.137 + * 1.138 + */ 1.139 + public static String WSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) { 1.140 + return localizer.localize(localizableWSIMPORT_HTTP_REDIRECT(arg0, arg1)); 1.141 + } 1.142 + 1.143 + public static Localizable localizableWSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) { 1.144 + return messageFactory.getMessage("wsimport.authInfoNeeded", arg0, arg1, arg2); 1.145 + } 1.146 + 1.147 + /** 1.148 + * {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> 1.149 + * 1.150 + */ 1.151 + public static String WSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) { 1.152 + return localizer.localize(localizableWSIMPORT_AUTH_INFO_NEEDED(arg0, arg1, arg2)); 1.153 + } 1.154 + 1.155 + public static Localizable localizableWSGEN_USAGE_EXAMPLES() { 1.156 + return messageFactory.getMessage("wsgen.usage.examples"); 1.157 + } 1.158 + 1.159 + /** 1.160 + * 1.161 + * Examples: 1.162 + * wsgen -cp . example.Stock 1.163 + * wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService' 1.164 + * 1.165 + * 1.166 + */ 1.167 + public static String WSGEN_USAGE_EXAMPLES() { 1.168 + return localizer.localize(localizableWSGEN_USAGE_EXAMPLES()); 1.169 + } 1.170 + 1.171 + public static Localizable localizableWSIMPORT_FETCHING_METADATA() { 1.172 + return messageFactory.getMessage("wsimport.fetchingMetadata"); 1.173 + } 1.174 + 1.175 + /** 1.176 + * 1.177 + * Downloading the WSDL and associated metadata 1.178 + * 1.179 + * 1.180 + */ 1.181 + public static String WSIMPORT_FETCHING_METADATA() { 1.182 + return localizer.localize(localizableWSIMPORT_FETCHING_METADATA()); 1.183 + } 1.184 + 1.185 + public static Localizable localizableWSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) { 1.186 + return messageFactory.getMessage("wsgen.invalid.protocol", arg0, arg1); 1.187 + } 1.188 + 1.189 + /** 1.190 + * "{0}" is not a supported protocol. Supported protocols include: {1}. 1.191 + * 1.192 + */ 1.193 + public static String WSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) { 1.194 + return localizer.localize(localizableWSGEN_INVALID_PROTOCOL(arg0, arg1)); 1.195 + } 1.196 + 1.197 + public static Localizable localizableWSIMPORT_USAGE_EXAMPLES() { 1.198 + return messageFactory.getMessage("wsimport.usage.examples"); 1.199 + } 1.200 + 1.201 + /** 1.202 + * 1.203 + * Examples: 1.204 + * wsimport stock.wsdl -b stock.xml -b stock.xjb 1.205 + * wsimport -d generated http://example.org/stock?wsdl 1.206 + * 1.207 + * 1.208 + */ 1.209 + public static String WSIMPORT_USAGE_EXAMPLES() { 1.210 + return localizer.localize(localizableWSIMPORT_USAGE_EXAMPLES()); 1.211 + } 1.212 + 1.213 + public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) { 1.214 + return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1); 1.215 + } 1.216 + 1.217 + /** 1.218 + * 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. 1.219 + * 1.220 + */ 1.221 + public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) { 1.222 + return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1)); 1.223 + } 1.224 + 1.225 + public static Localizable localizableWSIMPORT_MISSING_FILE() { 1.226 + return messageFactory.getMessage("wsimport.missingFile"); 1.227 + } 1.228 + 1.229 + /** 1.230 + * Missing WSDL_URI 1.231 + * 1.232 + */ 1.233 + public static String WSIMPORT_MISSING_FILE() { 1.234 + return localizer.localize(localizableWSIMPORT_MISSING_FILE()); 1.235 + } 1.236 + 1.237 + public static Localizable localizableWSIMPORT_USAGE_EXTENSIONS() { 1.238 + return messageFactory.getMessage("wsimport.usage.extensions"); 1.239 + } 1.240 + 1.241 + /** 1.242 + * 1.243 + * Extensions: 1.244 + * -XadditionalHeaders map headers not bound to request or response message to 1.245 + * Java method parameters 1.246 + * -Xauthfile file to carry authorization information in the format 1.247 + * http://username:password@example.org/stock?wsdl 1.248 + * -Xdebug print debug information 1.249 + * -Xno-addressing-databinding enable binding of W3C EndpointReferenceType to Java 1.250 + * -Xnocompile do not compile generated Java files 1.251 + * -XdisableAuthenticator disable Authenticator used by JAX-WS RI, 1.252 + * -Xauthfile option will be ignored if set 1.253 + * -XdisableSSLHostnameVerification disable the SSL Hostname verification while fetching 1.254 + * wsdls 1.255 + * 1.256 + */ 1.257 + public static String WSIMPORT_USAGE_EXTENSIONS() { 1.258 + return localizer.localize(localizableWSIMPORT_USAGE_EXTENSIONS()); 1.259 + } 1.260 + 1.261 + public static Localizable localizableWSIMPORT_USAGE(Object arg0) { 1.262 + return messageFactory.getMessage("wsimport.usage", arg0); 1.263 + } 1.264 + 1.265 + /** 1.266 + * Usage: {0} [options] <WSDL_URI> 1.267 + * 1.268 + * Use "wsimport -help" for a detailed description of options. 1.269 + * 1.270 + */ 1.271 + public static String WSIMPORT_USAGE(Object arg0) { 1.272 + return localizer.localize(localizableWSIMPORT_USAGE(arg0)); 1.273 + } 1.274 + 1.275 + public static Localizable localizableWSGEN_USAGE_EXTENSIONS() { 1.276 + return messageFactory.getMessage("wsgen.usage.extensions"); 1.277 + } 1.278 + 1.279 + /** 1.280 + * 1.281 + * Extensions: 1.282 + * -Xnocompile do not compile generated Java files 1.283 + * 1.284 + */ 1.285 + public static String WSGEN_USAGE_EXTENSIONS() { 1.286 + return localizer.localize(localizableWSGEN_USAGE_EXTENSIONS()); 1.287 + } 1.288 + 1.289 + public static Localizable localizablePLEASE() { 1.290 + return messageFactory.getMessage("Please"); 1.291 + } 1.292 + 1.293 + /** 1.294 + * specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example: 1.295 + * 1.296 + * 1.297 + * 1.298 + */ 1.299 + public static String PLEASE() { 1.300 + return localizer.localize(localizablePLEASE()); 1.301 + } 1.302 + 1.303 + public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) { 1.304 + return messageFactory.getMessage("wscompile.existingOption", arg0); 1.305 + } 1.306 + 1.307 + /** 1.308 + * Ignoring already defined option {0} 1.309 + * 1.310 + * 1.311 + */ 1.312 + public static String WSCOMPILE_EXISTING_OPTION(Object arg0) { 1.313 + return localizer.localize(localizableWSCOMPILE_EXISTING_OPTION(arg0)); 1.314 + } 1.315 + 1.316 + public static Localizable localizableWSIMPORT_PARSING_WSDL() { 1.317 + return messageFactory.getMessage("wsimport.ParsingWSDL"); 1.318 + } 1.319 + 1.320 + /** 1.321 + * parsing WSDL... 1.322 + * 1.323 + * 1.324 + * 1.325 + */ 1.326 + public static String WSIMPORT_PARSING_WSDL() { 1.327 + return localizer.localize(localizableWSIMPORT_PARSING_WSDL()); 1.328 + } 1.329 + 1.330 + public static Localizable localizableWSGEN_MISSING_FILE() { 1.331 + return messageFactory.getMessage("wsgen.missingFile"); 1.332 + } 1.333 + 1.334 + /** 1.335 + * Missing SEI 1.336 + * 1.337 + */ 1.338 + public static String WSGEN_MISSING_FILE() { 1.339 + return localizer.localize(localizableWSGEN_MISSING_FILE()); 1.340 + } 1.341 + 1.342 + public static Localizable localizableWSIMPORT_HELP(Object arg0) { 1.343 + return messageFactory.getMessage("wsimport.help", arg0); 1.344 + } 1.345 + 1.346 + /** 1.347 + * 1.348 + * Usage: {0} [options] <WSDL_URI> 1.349 + * 1.350 + * where [options] include: 1.351 + * -b <path> specify jaxws/jaxb binding files or additional schemas 1.352 + * (Each <path> must have its own -b) 1.353 + * -B<jaxbOption> Pass this option to JAXB schema compiler 1.354 + * -catalog <file> specify catalog file to resolve external entity references 1.355 + * supports TR9401, XCatalog, and OASIS XML Catalog format. 1.356 + * -classpath <path> specify where to find user class files and wsimport extensions 1.357 + * -cp <path> specify where to find user class files and wsimport extensions 1.358 + * -d <directory> specify where to place generated output files 1.359 + * -encoding <encoding> specify character encoding used by source files 1.360 + * -extension allow vendor extensions - functionality not specified 1.361 + * by the specification. Use of extensions may 1.362 + * result in applications that are not portable or 1.363 + * may not interoperate with other implementations 1.364 + * -help display help 1.365 + * -httpproxy:<proxy> set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort 1.366 + * (port defaults to 8080) 1.367 + * -J<javacOption> pass this option to javac 1.368 + * -keep keep generated files 1.369 + * -p <pkg> specifies the target package 1.370 + * -quiet suppress wsimport output 1.371 + * -s <directory> specify where to place generated source files 1.372 + * -target <version> generate code as per the given JAXWS spec version 1.373 + * Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2 1.374 + * e.g. 2.0 will generate compliant code for JAXWS 2.0 spec 1.375 + * -verbose output messages about what the compiler is doing 1.376 + * -version print version information 1.377 + * -fullversion print full version information 1.378 + * -wsdllocation <location> @WebServiceClient.wsdlLocation value 1.379 + * -clientjar <jarfile> creates the jar file of the generated artifacts along with the 1.380 + * WSDL metadata required for invoking the web service. 1.381 + * -generateJWS generate stubbed JWS implementation file 1.382 + * -implDestDir <directory> specify where to generate JWS implementation file 1.383 + * -implServiceName <name> local portion of service name for generated JWS implementation 1.384 + * -implPortName <name> local portion of port name for generated JWS implementation 1.385 + * 1.386 + */ 1.387 + public static String WSIMPORT_HELP(Object arg0) { 1.388 + return localizer.localize(localizableWSIMPORT_HELP(arg0)); 1.389 + } 1.390 + 1.391 + public static Localizable localizableWSCOMPILE_ERROR(Object arg0) { 1.392 + return messageFactory.getMessage("wscompile.error", arg0); 1.393 + } 1.394 + 1.395 + /** 1.396 + * error: {0} 1.397 + * 1.398 + */ 1.399 + public static String WSCOMPILE_ERROR(Object arg0) { 1.400 + return localizer.localize(localizableWSCOMPILE_ERROR(arg0)); 1.401 + } 1.402 + 1.403 + public static Localizable localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) { 1.404 + return messageFactory.getMessage("wsgen.protocol.without.extension", arg0); 1.405 + } 1.406 + 1.407 + /** 1.408 + * The optional protocol "{0}" must be used in conjunction with the "-extension" option. 1.409 + * 1.410 + */ 1.411 + public static String WSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) { 1.412 + return localizer.localize(localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(arg0)); 1.413 + } 1.414 + 1.415 + public static Localizable localizableWSIMPORT_COMPILING_CODE() { 1.416 + return messageFactory.getMessage("wsimport.CompilingCode"); 1.417 + } 1.418 + 1.419 + /** 1.420 + * 1.421 + * Compiling code... 1.422 + * 1.423 + * 1.424 + */ 1.425 + public static String WSIMPORT_COMPILING_CODE() { 1.426 + return localizer.localize(localizableWSIMPORT_COMPILING_CODE()); 1.427 + } 1.428 + 1.429 + public static Localizable localizableWSIMPORT_READING_AUTH_FILE(Object arg0) { 1.430 + return messageFactory.getMessage("wsimport.readingAuthFile", arg0); 1.431 + } 1.432 + 1.433 + /** 1.434 + * Trying to read authorization file : "{0}"... 1.435 + * 1.436 + */ 1.437 + public static String WSIMPORT_READING_AUTH_FILE(Object arg0) { 1.438 + return localizer.localize(localizableWSIMPORT_READING_AUTH_FILE(arg0)); 1.439 + } 1.440 + 1.441 + public static Localizable localizableWSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) { 1.442 + return messageFactory.getMessage("wscompile.unsupportedEncoding", arg0); 1.443 + } 1.444 + 1.445 + /** 1.446 + * unsupported encoding: {0} 1.447 + * 1.448 + */ 1.449 + public static String WSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) { 1.450 + return localizer.localize(localizableWSCOMPILE_UNSUPPORTED_ENCODING(arg0)); 1.451 + } 1.452 + 1.453 + public static Localizable localizableWSGEN_NO_WEBSERVICES_CLASS(Object arg0) { 1.454 + return messageFactory.getMessage("wsgen.no.webservices.class", arg0); 1.455 + } 1.456 + 1.457 + /** 1.458 + * wsgen did not find any class with @WebService annotation. Please specify @WebService annotation on {0}. 1.459 + * 1.460 + */ 1.461 + public static String WSGEN_NO_WEBSERVICES_CLASS(Object arg0) { 1.462 + return localizer.localize(localizableWSGEN_NO_WEBSERVICES_CLASS(arg0)); 1.463 + } 1.464 + 1.465 + public static Localizable localizableWSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) { 1.466 + return messageFactory.getMessage("wsimport.archiveArtifact", arg0, arg1); 1.467 + } 1.468 + 1.469 + /** 1.470 + * Adding {0} to the archive {1} 1.471 + * 1.472 + */ 1.473 + public static String WSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) { 1.474 + return localizer.localize(localizableWSIMPORT_ARCHIVE_ARTIFACT(arg0, arg1)); 1.475 + } 1.476 + 1.477 + public static Localizable localizableWSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) { 1.478 + return messageFactory.getMessage("wscompile.noSuchDirectory", arg0); 1.479 + } 1.480 + 1.481 + /** 1.482 + * directory not found: {0} 1.483 + * 1.484 + */ 1.485 + public static String WSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) { 1.486 + return localizer.localize(localizableWSCOMPILE_NO_SUCH_DIRECTORY(arg0)); 1.487 + } 1.488 + 1.489 + public static Localizable localizableWSCOMPILE_INFO(Object arg0) { 1.490 + return messageFactory.getMessage("wscompile.info", arg0); 1.491 + } 1.492 + 1.493 + /** 1.494 + * info: {0} 1.495 + * 1.496 + */ 1.497 + public static String WSCOMPILE_INFO(Object arg0) { 1.498 + return localizer.localize(localizableWSCOMPILE_INFO(arg0)); 1.499 + } 1.500 + 1.501 + public static Localizable localizableWSIMPORT_MAX_REDIRECT_ATTEMPT() { 1.502 + return messageFactory.getMessage("wsimport.maxRedirectAttempt"); 1.503 + } 1.504 + 1.505 + /** 1.506 + * Can not get a WSDL maximum number of redirects(5) reached 1.507 + * 1.508 + */ 1.509 + public static String WSIMPORT_MAX_REDIRECT_ATTEMPT() { 1.510 + return localizer.localize(localizableWSIMPORT_MAX_REDIRECT_ATTEMPT()); 1.511 + } 1.512 + 1.513 + public static Localizable localizableWSIMPORT_WARNING_MESSAGE(Object arg0) { 1.514 + return messageFactory.getMessage("wsimport.WarningMessage", arg0); 1.515 + } 1.516 + 1.517 + /** 1.518 + * [WARNING] {0} 1.519 + * 1.520 + */ 1.521 + public static String WSIMPORT_WARNING_MESSAGE(Object arg0) { 1.522 + return localizer.localize(localizableWSIMPORT_WARNING_MESSAGE(arg0)); 1.523 + } 1.524 + 1.525 + public static Localizable localizableWSCOMPILE_INVALID_OPTION(Object arg0) { 1.526 + return messageFactory.getMessage("wscompile.invalidOption", arg0); 1.527 + } 1.528 + 1.529 + /** 1.530 + * unrecognized parameter {0} 1.531 + * 1.532 + */ 1.533 + public static String WSCOMPILE_INVALID_OPTION(Object arg0) { 1.534 + return localizer.localize(localizableWSCOMPILE_INVALID_OPTION(arg0)); 1.535 + } 1.536 + 1.537 + public static Localizable localizableWSIMPORT_ERROR_MESSAGE(Object arg0) { 1.538 + return messageFactory.getMessage("wsimport.ErrorMessage", arg0); 1.539 + } 1.540 + 1.541 + /** 1.542 + * [ERROR] {0} 1.543 + * 1.544 + */ 1.545 + public static String WSIMPORT_ERROR_MESSAGE(Object arg0) { 1.546 + return localizer.localize(localizableWSIMPORT_ERROR_MESSAGE(arg0)); 1.547 + } 1.548 + 1.549 + public static Localizable localizableWSIMPORT_GENERATING_CODE() { 1.550 + return messageFactory.getMessage("wsimport.GeneratingCode"); 1.551 + } 1.552 + 1.553 + /** 1.554 + * 1.555 + * Generating code... 1.556 + * 1.557 + * 1.558 + */ 1.559 + public static String WSIMPORT_GENERATING_CODE() { 1.560 + return localizer.localize(localizableWSIMPORT_GENERATING_CODE()); 1.561 + } 1.562 + 1.563 + public static Localizable localizableWSGEN() { 1.564 + return messageFactory.getMessage("wsgen"); 1.565 + } 1.566 + 1.567 + /** 1.568 + * -wsdl:protocol XSoap1.2 -extenson {1} 1.569 + * 1.570 + */ 1.571 + public static String WSGEN() { 1.572 + return localizer.localize(localizableWSGEN()); 1.573 + } 1.574 + 1.575 + public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) { 1.576 + return messageFactory.getMessage("wsimport.NotAFileNorURL", arg0); 1.577 + } 1.578 + 1.579 + /** 1.580 + * "{0}" is neither a file name nor an URL 1.581 + * 1.582 + */ 1.583 + public static String WSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) { 1.584 + return localizer.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0)); 1.585 + } 1.586 + 1.587 + public static Localizable localizableWSCOMPILE_WARNING(Object arg0) { 1.588 + return messageFactory.getMessage("wscompile.warning", arg0); 1.589 + } 1.590 + 1.591 + /** 1.592 + * warning: {0} 1.593 + * 1.594 + */ 1.595 + public static String WSCOMPILE_WARNING(Object arg0) { 1.596 + return localizer.localize(localizableWSCOMPILE_WARNING(arg0)); 1.597 + } 1.598 + 1.599 + public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { 1.600 + return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2); 1.601 + } 1.602 + 1.603 + /** 1.604 + * 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}>. 1.605 + * 1.606 + */ 1.607 + public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { 1.608 + return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2)); 1.609 + } 1.610 + 1.611 + public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) { 1.612 + return messageFactory.getMessage("wsimport.noSuchJaxbOption", arg0); 1.613 + } 1.614 + 1.615 + /** 1.616 + * no such JAXB option: {0} 1.617 + * 1.618 + */ 1.619 + public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) { 1.620 + return localizer.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0)); 1.621 + } 1.622 + 1.623 + public static Localizable localizableWSGEN_VERSION(Object arg0) { 1.624 + return messageFactory.getMessage("wsgen.version", arg0); 1.625 + } 1.626 + 1.627 + /** 1.628 + * wsgen version "{0}" 1.629 + * 1.630 + */ 1.631 + public static String WSGEN_VERSION(Object arg0) { 1.632 + return localizer.localize(localizableWSGEN_VERSION(arg0)); 1.633 + } 1.634 + 1.635 + public static Localizable localizableWSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) { 1.636 + return messageFactory.getMessage("wsimport.authFileNotFound", arg0, arg1); 1.637 + } 1.638 + 1.639 + /** 1.640 + * 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> 1.641 + * 1.642 + */ 1.643 + public static String WSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) { 1.644 + return localizer.localize(localizableWSIMPORT_AUTH_FILE_NOT_FOUND(arg0, arg1)); 1.645 + } 1.646 + 1.647 + public static Localizable localizableWSIMPORT_DEBUG_MESSAGE(Object arg0) { 1.648 + return messageFactory.getMessage("wsimport.DebugMessage", arg0); 1.649 + } 1.650 + 1.651 + /** 1.652 + * [DEBUG] {0} 1.653 + * 1.654 + */ 1.655 + public static String WSIMPORT_DEBUG_MESSAGE(Object arg0) { 1.656 + return localizer.localize(localizableWSIMPORT_DEBUG_MESSAGE(arg0)); 1.657 + } 1.658 + 1.659 + public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) { 1.660 + return messageFactory.getMessage("wsgen.could.not.create.file", arg0); 1.661 + } 1.662 + 1.663 + /** 1.664 + * "Could not create file: "{0}" 1.665 + * 1.666 + */ 1.667 + public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) { 1.668 + return localizer.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0)); 1.669 + } 1.670 + 1.671 + public static Localizable localizableWSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) { 1.672 + return messageFactory.getMessage("wsgen.wsdl.arg.no.genwsdl", arg0); 1.673 + } 1.674 + 1.675 + /** 1.676 + * The "{0}" option can only be in conjunction with the "-wsdl" option. 1.677 + * 1.678 + */ 1.679 + public static String WSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) { 1.680 + return localizer.localize(localizableWSGEN_WSDL_ARG_NO_GENWSDL(arg0)); 1.681 + } 1.682 + 1.683 + public static Localizable localizableWSGEN_HELP(Object arg0, Object arg1, Object arg2) { 1.684 + return messageFactory.getMessage("wsgen.help", arg0, arg1, arg2); 1.685 + } 1.686 + 1.687 + /** 1.688 + * 1.689 + * Usage: {0} [options] <SEI> 1.690 + * 1.691 + * where [options] include: 1.692 + * -classpath <path> specify where to find input class files and wsgen extensions 1.693 + * -cp <path> specify where to find input class files and wsgen extensions 1.694 + * -d <directory> specify where to place generated output files 1.695 + * -encoding <encoding> specify character encoding used by source files 1.696 + * -extension allow vendor extensions - functionality not specified 1.697 + * by the specification. Use of extensions may 1.698 + * result in applications that are not portable or 1.699 + * may not interoperate with other implementations 1.700 + * -help display help 1.701 + * -J<javacOption> pass this option to javac 1.702 + * -keep keep generated files 1.703 + * -r <directory> resource destination directory, specify where to 1.704 + * place resouce files such as WSDLs 1.705 + * -s <directory> specify where to place generated source files 1.706 + * -verbose output messages about what the compiler is doing 1.707 + * -version print version information 1.708 + * -fullversion print full version information 1.709 + * -wsdl[:protocol] generate a WSDL file. The protocol is optional. 1.710 + * Valid protocols are {1}, 1.711 + * the default is soap1.1. 1.712 + * The non standard protocols {2} 1.713 + * can only be used in conjunction with the 1.714 + * -extension option. 1.715 + * -inlineSchemas inline schemas in the generated wsdl. Must be 1.716 + * used in conjunction with the -wsdl option. 1.717 + * -servicename <name> specify the Service name to use in the generated WSDL 1.718 + * Used in conjunction with the -wsdl option. 1.719 + * -portname <name> specify the Port name to use in the generated WSDL 1.720 + * Used in conjunction with the -wsdl option. 1.721 + * -x <file> specify External Web Service Metadata xml descriptor 1.722 + * 1.723 + */ 1.724 + public static String WSGEN_HELP(Object arg0, Object arg1, Object arg2) { 1.725 + return localizer.localize(localizableWSGEN_HELP(arg0, arg1, arg2)); 1.726 + } 1.727 + 1.728 + public static Localizable localizableWSIMPORT_INFO_MESSAGE(Object arg0) { 1.729 + return messageFactory.getMessage("wsimport.InfoMessage", arg0); 1.730 + } 1.731 + 1.732 + /** 1.733 + * [INFO] {0} 1.734 + * 1.735 + */ 1.736 + public static String WSIMPORT_INFO_MESSAGE(Object arg0) { 1.737 + return localizer.localize(localizableWSIMPORT_INFO_MESSAGE(arg0)); 1.738 + } 1.739 + 1.740 + public static Localizable localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() { 1.741 + return messageFactory.getMessage("wsgen.inlineSchemas.only.with.wsdl"); 1.742 + } 1.743 + 1.744 + /** 1.745 + * "-inlineSchemas" must be used in conjunction with the "-wsdl" option 1.746 + * 1.747 + */ 1.748 + public static String WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() { 1.749 + return localizer.localize(localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); 1.750 + } 1.751 + 1.752 + public static Localizable localizableWSGEN_SOAP_12_WITHOUT_EXTENSION() { 1.753 + return messageFactory.getMessage("wsgen.soap12.without.extension"); 1.754 + } 1.755 + 1.756 + /** 1.757 + * The optional protocol "Xsoap1.2" must be used in conjunction with the "-extension" option. 1.758 + * 1.759 + */ 1.760 + public static String WSGEN_SOAP_12_WITHOUT_EXTENSION() { 1.761 + return localizer.localize(localizableWSGEN_SOAP_12_WITHOUT_EXTENSION()); 1.762 + } 1.763 + 1.764 + public static Localizable localizableWSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) { 1.765 + return messageFactory.getMessage("wsimport.ILLEGAL_AUTH_INFO", arg0); 1.766 + } 1.767 + 1.768 + /** 1.769 + * "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//<url-path>. 1.770 + * 1.771 + */ 1.772 + public static String WSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) { 1.773 + return localizer.localize(localizableWSIMPORT_ILLEGAL_AUTH_INFO(arg0)); 1.774 + } 1.775 + 1.776 + public static Localizable localizableWSCOMPILE_COMPILATION_FAILED() { 1.777 + return messageFactory.getMessage("wscompile.compilationFailed"); 1.778 + } 1.779 + 1.780 + /** 1.781 + * compilation failed, errors should have been reported 1.782 + * 1.783 + */ 1.784 + public static String WSCOMPILE_COMPILATION_FAILED() { 1.785 + return localizer.localize(localizableWSCOMPILE_COMPILATION_FAILED()); 1.786 + } 1.787 + 1.788 + public static Localizable localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) { 1.789 + return messageFactory.getMessage("wscompile.missingOptionArgument", arg0); 1.790 + } 1.791 + 1.792 + /** 1.793 + * option "{0}" requires an argument 1.794 + * 1.795 + */ 1.796 + public static String WSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) { 1.797 + return localizer.localize(localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(arg0)); 1.798 + } 1.799 + 1.800 + public static Localizable localizableWSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) { 1.801 + return messageFactory.getMessage("wsimport.document.download", arg0, arg1); 1.802 + } 1.803 + 1.804 + /** 1.805 + * 1.806 + * Downloading metadata document from {0} to {1} 1.807 + * 1.808 + */ 1.809 + public static String WSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) { 1.810 + return localizer.localize(localizableWSIMPORT_DOCUMENT_DOWNLOAD(arg0, arg1)); 1.811 + } 1.812 + 1.813 + public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) { 1.814 + return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.non.soap.binding", arg0, arg1); 1.815 + } 1.816 + 1.817 + /** 1.818 + * wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1} 1.819 + * 1.820 + */ 1.821 + public static String WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) { 1.822 + return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(arg0, arg1)); 1.823 + } 1.824 + 1.825 + public static Localizable localizableWSCOMPILE_DUPLICATE_OPTION(Object arg0) { 1.826 + return messageFactory.getMessage("wscompile.duplicateOption", arg0); 1.827 + } 1.828 + 1.829 + /** 1.830 + * duplicate option: {0} 1.831 + * 1.832 + */ 1.833 + public static String WSCOMPILE_DUPLICATE_OPTION(Object arg0) { 1.834 + return localizer.localize(localizableWSCOMPILE_DUPLICATE_OPTION(arg0)); 1.835 + } 1.836 + 1.837 + public static Localizable localizableWSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) { 1.838 + return messageFactory.getMessage("wsimport.FailedToParse", arg0, arg1); 1.839 + } 1.840 + 1.841 + /** 1.842 + * Failed to parse "{0}": {1} 1.843 + * 1.844 + */ 1.845 + public static String WSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) { 1.846 + return localizer.localize(localizableWSIMPORT_FAILED_TO_PARSE(arg0, arg1)); 1.847 + } 1.848 + 1.849 + public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) { 1.850 + return messageFactory.getMessage("wsimport.no.wsdl", arg0); 1.851 + } 1.852 + 1.853 + /** 1.854 + * 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>. 1.855 + * 1.856 + */ 1.857 + public static String WSIMPORT_NO_WSDL(Object arg0) { 1.858 + return localizer.localize(localizableWSIMPORT_NO_WSDL(arg0)); 1.859 + } 1.860 + 1.861 + public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) { 1.862 + return messageFactory.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1); 1.863 + } 1.864 + 1.865 + /** 1.866 + * "line {0} of {1} 1.867 + * 1.868 + */ 1.869 + public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) { 1.870 + return localizer.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1)); 1.871 + } 1.872 + 1.873 + public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 1.874 + return messageFactory.getMessage("wsgen.servicename.missing.localname", arg0); 1.875 + } 1.876 + 1.877 + /** 1.878 + * The service name "{0}" is missing a localname. 1.879 + * 1.880 + */ 1.881 + public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 1.882 + return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0)); 1.883 + } 1.884 + 1.885 + public static Localizable localizableWSGEN_USAGE(Object arg0) { 1.886 + return messageFactory.getMessage("wsgen.usage", arg0); 1.887 + } 1.888 + 1.889 + /** 1.890 + * Usage: {0} [options] <SEI> 1.891 + * 1.892 + * Use "wsgen -help" for a detailed description of options. 1.893 + * 1.894 + */ 1.895 + public static String WSGEN_USAGE(Object arg0) { 1.896 + return localizer.localize(localizableWSGEN_USAGE(arg0)); 1.897 + } 1.898 + 1.899 + public static Localizable localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 1.900 + return messageFactory.getMessage("wsgen.servicename.missing.namespace", arg0); 1.901 + } 1.902 + 1.903 + /** 1.904 + * The service name "{0}" is missing a namespace. 1.905 + * 1.906 + */ 1.907 + public static String WSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 1.908 + return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(arg0)); 1.909 + } 1.910 + 1.911 + public static Localizable localizableWSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) { 1.912 + return messageFactory.getMessage("wsgen.invalid.transport", arg0, arg1); 1.913 + } 1.914 + 1.915 + /** 1.916 + * "{0}" is not a supported transport. Supported transport includes: {1}. 1.917 + * 1.918 + */ 1.919 + public static String WSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) { 1.920 + return localizer.localize(localizableWSGEN_INVALID_TRANSPORT(arg0, arg1)); 1.921 + } 1.922 + 1.923 + public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) { 1.924 + return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1); 1.925 + } 1.926 + 1.927 + /** 1.928 + * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}. 1.929 + * 1.930 + * 1.931 + */ 1.932 + public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) { 1.933 + return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1)); 1.934 + } 1.935 + 1.936 + public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { 1.937 + return messageFactory.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0); 1.938 + } 1.939 + 1.940 + /** 1.941 + * "{0}" is not a valid target version. "2.0" and "2.1" are supported. 1.942 + * 1.943 + */ 1.944 + public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { 1.945 + return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0)); 1.946 + } 1.947 + 1.948 + public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) { 1.949 + return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0); 1.950 + } 1.951 + 1.952 + /** 1.953 + * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort 1.954 + * 1.955 + */ 1.956 + public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) { 1.957 + return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0)); 1.958 + } 1.959 + 1.960 + public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { 1.961 + return messageFactory.getMessage("wsgen.portname.missing.localname", arg0); 1.962 + } 1.963 + 1.964 + /** 1.965 + * The port name "{0}" is missing a localname. 1.966 + * 1.967 + */ 1.968 + public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { 1.969 + return localizer.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0)); 1.970 + } 1.971 + 1.972 + public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) { 1.973 + return messageFactory.getMessage("wsgen.portname.missing.namespace", arg0); 1.974 + } 1.975 + 1.976 + /** 1.977 + * The port name "{0}" is missing a namespace. 1.978 + * 1.979 + */ 1.980 + public static String WSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) { 1.981 + return localizer.localize(localizableWSGEN_PORTNAME_MISSING_NAMESPACE(arg0)); 1.982 + } 1.983 + 1.984 + public static Localizable localizableWSIMPORT_FULLVERSION(Object arg0) { 1.985 + return messageFactory.getMessage("wsimport.fullversion", arg0); 1.986 + } 1.987 + 1.988 + /** 1.989 + * wsimport full version "{0}" 1.990 + * 1.991 + */ 1.992 + public static String WSIMPORT_FULLVERSION(Object arg0) { 1.993 + return localizer.localize(localizableWSIMPORT_FULLVERSION(arg0)); 1.994 + } 1.995 + 1.996 +}