src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile.properties

changeset 286
f50545b5e2f1
child 368
0989ad8c0860
equal deleted inserted replaced
284:88b85470e72c 286:f50545b5e2f1
1 #
2 # Copyright (c) 2005, 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 wsimport.usage=Usage: {0} [options] <WSDL_URI>\n\n\
27 Use "wsimport -help" for a detailed description of options.
28
29 wsimport.help=\nUsage: {0} [options] <WSDL_URI>\n\n\
30 \where [options] include:\n\
31 \ -b <path> specify jaxws/jaxb binding files or additional schemas\n\
32 \ (Each <path> must have its own -b)\n\
33 \ -B<jaxbOption> Pass this option to JAXB schema compiler\n\
34 \ -catalog <file> specify catalog file to resolve external entity references\n\
35 \ supports TR9401, XCatalog, and OASIS XML Catalog format.\n\
36 \ -d <directory> specify where to place generated output files\n\
37 \ -encoding <encoding> specify character encoding used by source files\n\
38 \ -extension allow vendor extensions - functionality not specified\n\
39 \ by the specification. Use of extensions may\n\
40 \ result in applications that are not portable or\n\
41 \ may not interoperate with other implementations\n\
42 \ -help display help\n\
43 \ -httpproxy:<host>:<port> specify a HTTP proxy server (port defaults to 8080)\n\
44 \ -keep keep generated files\n\
45 \ -p <pkg> specifies the target package\n\
46 \ -quiet suppress wsimport output\n\
47 \ -s <directory> specify where to place generated source files\n\
48 \ -target <version> generate code as per the given JAXWS spec version\n\
49 \ Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2\n\
50 \ e.g. 2.0 will generate compliant code for JAXWS 2.0 spec\n\
51 \ -verbose output messages about what the compiler is doing\n\
52 \ -version print version information\n\
53 \ -fullversion print full version information\n\
54 \ -wsdllocation <location> @WebServiceClient.wsdlLocation value\n\
55 \ -clientjar <jarfile> Creates the jar file of the generated artifacts along with the\n\
56 \ WSDL metadata required for invoking the web service.\n\
57 \ -generateJWS generate stubbed JWS implementation file\n\
58 \ -implDestDir <directory> specify where to generate JWS implementation file\n\
59 \ -implServiceName <name> local portion of service name for generated JWS implementation\n\
60 \ -implPortName <name> local portion of port name for generated JWS implementation
61
62 wsimport.usage.extensions=\n\
63 \Extensions:\n\
64 \ -XadditionalHeaders map headers not bound to request or response message to \n\
65 \ Java method parameters\n\
66 \ -Xauthfile file to carry authorization information in the format \n\
67 \ http://username:password@example.org/stock?wsdl\n\
68 \ -Xdebug print debug information\n\
69 \ -Xno-addressing-databinding enable binding of W3C EndpointReferenceType to Java\n\
70 \ -Xnocompile do not compile generated Java files\n\
71 \ -XdisableAuthenticator disable Authenticator used by JAX-WS RI,\n\
72 \ -Xauthfile option will be ignored if set\n\
73 \ -XdisableSSLHostnameVerification disable the SSL Hostname verification while fetching\n\
74 \ wsdls
75
76
77 wsimport.usage.examples=\n\
78 \Examples:\n\
79 \ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\
80 \ wsimport -d generated http://example.org/stock?wsdl\n\
81
82 #{0} - version number
83 wsimport.version=wsimport version \"{0}\"
84
85 #{0} - full version number
86 wsimport.fullversion=wsimport full version \"{0}\"
87
88 wsgen.usage=Usage: {0} [options] <SEI>\n\n\
89 Use "wsgen -help" for a detailed description of options.
90
91 wsgen.help=\nUsage: {0} [options] <SEI>\n\n\
92 \where [options] include:\n\
93 \ -classpath <path> specify where to find input class files\n\
94 \ -cp <path> same as -classpath <path>\n\
95 \ -d <directory> specify where to place generated output files\n\
96 \ -encoding <encoding> specify character encoding used by source files\n\
97 \ -extension allow vendor extensions - functionality not specified\n\
98 \ by the specification. Use of extensions may\n\
99 \ result in applications that are not portable or\n\
100 \ may not interoperate with other implementations\n\
101 \ -help display help\n\
102 \ -keep keep generated files\n\
103 \ -r <directory> resource destination directory, specify where to\n\
104 \ place resouce files such as WSDLs\n\
105 \ -s <directory> specify where to place generated source files\n\
106 \ -verbose output messages about what the compiler is doing\n\
107 \ -version print version information\n\
108 \ -fullversion print full version information\n\
109 \ -wsdl[:protocol] generate a WSDL file. The protocol is optional.\n\
110 \ Valid protocols are {1},\n\
111 \ the default is soap1.1.\n\
112 \ The non stanadard protocols {2}\n\
113 \ can only be used in conjunction with the\n\
114 \ -extension option.\n\
115 \ -inlineSchemas inline schemas in the generated wsdl. Must be\n\
116 \ used in conjunction with the -wsdl option.\n\
117 \ -servicename <name> specify the Service name to use in the generated WSDL\n\
118 \ Used in conjunction with the -wsdl option.\n\
119 \ -portname <name> specify the Port name to use in the generated WSDL\n\
120 \ Used in conjunction with the -wsdl option.
121
122
123 wsgen.usage.examples=\n\
124 \Examples:\n\
125 \ wsgen -cp . example.Stock\n\
126 \ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n\
127
128 #{0} - version number
129 wsgen.version=wsgen version \"{0}\"
130
131 #{0} - full version number
132 wsgen.fullversion=wsgen full version \"{0}\"
133
134 wrapperTask.needEndorsed=\
135 You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. \
136 Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), \
137 or set xendorsed="true" on <{2}>.
138
139 # {0}, {2} - version (e.g. 2.1), {1} - absolute class location
140 wrapperTask.loadingIncorrectApi=\
141 You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API.
142
143 invoker.needEndorsed=\
144 You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. \
145 Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), \
146 or use -Xendorsed option.
147
148
149 #
150 # Generic Messages
151 #
152 wscompile.invalidOption=unrecognized parameter {0}
153 wsimport.noSuchJaxbOption=no such JAXB option: {0}
154
155 wscompile.error=error: {0}
156 wscompile.warning=warning: {0}
157 wscompile.info=info: {0}
158 wscompile.duplicateOption=duplicate option: {0}
159 wscompile.noSuchDirectory=directory not found: {0}
160 # wscompile.missingOptionArgument
161 wscompile.missingOptionArgument=option \"{0}\" requires an argument
162 wscompile.compilationFailed=compilation failed, errors should have been reported
163 wscompile.unsupportedEncoding=unsupported encoding: {0}
164
165 wsimport.missingFile=Missing WSDL_URI
166
167 wsgen.invalid.protocol=\"{0}\" is not a supported protocol. Supported protocols include: {1}.
168 wsgen.invalid.transport=\"{0}\" is not a supported transport. Supported transport includes: {1}.
169 wsgen.class.not.found=Class not found: \"{0}\"
170 wsgen.could.not.create.file="Could not create file: "\{0}\"
171 wsgen.missingFile=Missing SEI
172 wsgen.soap12.without.extension=The optional protocol \"Xsoap1.2\" must be used in conjunction with the \"-extension\" option.
173 wsgen.protocol.without.extension=The optional protocol \"{0}\" must be used in conjunction with the \"-extension\" option.
174 wsgen.wsdl.arg.no.genwsdl=The \"{0}\" option can only be in conjunction with the "-wsdl" option.
175 wsgen.servicename.missing.namespace=The service name \"{0}\" is missing a namespace.
176 wsgen.servicename.missing.localname=The service name \"{0}\" is missing a localname.
177 wsgen.portname.missing.namespace=The port name \"{0}\" is missing a namespace.
178 wsgen.portname.missing.localname=The port name \"{0}\" is missing a localname.
179 wsgen.class.must.be.implementation.class=The class \"{0}\" is not an endpoint implementation class.
180 wsimport.NotAFileNorURL = \
181 "{0}" is neither a file name nor an URL
182
183 wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1}
184
185 wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.\n
186 Please specify \"-extension\" and \"-wsdl:protocol XSoap1.2\" switches. For example:\n\n
187 wsgen -wsdl:protocol XSoap1.2 -extenson {1}
188 wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" must be used in conjunction with the \"-wsdl\" option
189
190 wsgen.no.webservices.class=wsgen did not find any class with @WebService annotation. Please specify @WebService annotation on {0}.
191
192 wsimport.no.wsdl=Failed to read the WSDL document: {0}, because 1) could not find the document; /\
193 2) the document could not be read; \
194 3) the root element of the document is not <wsdl:definitions>.
195
196 wsimport.FailedToParse = \
197 Failed to parse "{0}": {1}
198
199 wsimport.ParsingWSDL=parsing WSDL...\n\n
200 wsimport.GeneratingCode=\nGenerating code...\n
201 wsimport.CompilingCode=\nCompiling code...\n
202 wsimport.ILLEGAL_TARGET_VERSION = \
203 "{0}" is not a valid target version. "2.0" and "2.1" are supported.
204
205 wsimport.ILLEGAL_AUTH_INFO = \
206 "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//<url-path>.
207
208 wsimport.readingAuthFile = \
209 Trying to read authorization file : "{0}"...
210
211 # {0} - path to current authorization file, {1} - path to metro authorization file
212 wsimport.authFileNotFound = \
213 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>
214
215 # {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//
216 wsimport.authInfoNeeded = \
217 {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>
218
219 wsimport.AUTH_INFO_LINENO = \
220 "line {0} of {1}
221
222
223 wsimport.ErrorMessage = \
224 [ERROR] {0}
225
226 wsimport.WarningMessage = \
227 [WARNING] {0}
228
229 wsimport.InfoMessage = \
230 [INFO] {0}
231
232 wsimport.DebugMessage = \
233 [DEBUG] {0}
234
235 wsimport.httpRedirect = \
236 Server returned HTTP Status code: "{0}", retrying with "{1}"
237
238 wsimport.maxRedirectAttempt = \
239 Can not get a WSDL maximum number of redirects(5) reached
240
241 wsimport.wsdllocation.clientjar = \
242 wsdlLocation cannot be specified when using clientJar option
243 # {0} - path to a zip file
244 wsimport.archivingArtifacts=\nArchiving the generated artifacts into {0}.\n
245 wsimport.archiveArtifact=Adding {0} to the archive {1}
246 wsimport.fetchingMetadata=\nDownloading the WSDL and associated metadata\n
247 # {0} - URI, {1} - path to a file
248 wsimport.document.download=\nDownloading metadata document from {0} to {1}

mercurial