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/webserviceap.properties Tue Mar 06 16:09:35 2012 -0800 1.3 @@ -0,0 +1,160 @@ 1.4 +# 1.5 +# Copyright (c) 2005, 2010, 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 +# Usage not found. TODO Remove 1.30 +#webserviceap.nestedModelError=modeler error: {0} 1.31 +webserviceap.fileNotFound=error: file not found: {0} 1.32 +webserviceap.error=error: {0} 1.33 +webserviceap.warning=warning: {0} 1.34 +webserviceap.info=info: {0} 1.35 +webserviceap.compilationFailed=compilation failed, errors should have been reported 1.36 +webserviceap.succeeded: Success 1.37 + 1.38 +webserviceap.method.not.annotated=The method {0} on class {1} is not annotated. 1.39 +webserviceap.rpc.encoded.not.supported=The class {0} has a rpc/encoded SOAPBinding. Rpc/encoded SOAPBindings are not supported in JAXWS 2.0. 1.40 +webservice.encoded.not.supported=The {0} class has invalid SOAPBinding annotation. {1}/encoded SOAPBinding is not supported 1.41 +webserviceap.model.already.exists=model already exists 1.42 +webserviceap.endpointinterface.on.interface=Service endpoint interface\: {0} cannot have a WebService.endpointInterface annotation\: {1} 1.43 +webserviceap.java.typeNotFound=The type: {0} was not found in the mapping 1.44 +webserviceap.endpointinterfaces.do.not.match=The endpoint interface {0} does not match the interface {1}. 1.45 + 1.46 +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 1.47 +webserviceap.could.not.find.typedecl=Could not get TypeElement for:\ {0} in annotation processing round:\ {1} 1.48 + 1.49 +webserviceap.no.webservice.endpoint.found=A web service endpoint could not be found 1.50 + 1.51 +webserviceap.endpointinterface.has.no.webservice.annotation=The endpoint interface {0} must have a WebService annotation 1.52 + 1.53 +webserviceap.oneway.operation.cannot.have.return.type=The method {1} of class {0} is annotated @Oneway but has a return type. 1.54 + 1.55 +webserviceap.oneway.operation.cannot.have.holders=The method {1} of class {0} is annotated @Oneway but contains INOUT or OUT parameters (javax.xml.ws.Holder) 1.56 + 1.57 +webserviceap.oneway.operation.cannot.declare.exceptions=The method {1} of class {0} is annotated @Oneway but declares the exception {2} 1.58 + 1.59 +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=You cannot specify both HanlderChain and SOAPMessageHandlers annotations 1.60 + 1.61 +webserviceap.invalid.handlerchain.file.nohandler-config=The handlerchain file {0} is invalid, it does not contain a handler-config element 1.62 + 1.63 +webserviceap.could.not.find.handlerchain=Could not find the handlerchain {0} in the handler file {1} 1.64 + 1.65 +webserviceap.handlerclass.notspecified=A handler in the HandlerChain file\: {0} does not specify a handler-class 1.66 + 1.67 +webserviceap.init_param.format.error=a <init-param> element must have exactly 1 <param-name> and 1 <param-value> 1.68 + 1.69 +webserviceap.document.literal.bare.method.return.not.unique=Document literal bare methods must have a unique result name return type combination. Class {0} method\: {1}, result name\: {2} return type\: {3} 1.70 + 1.71 +webserviceap.document.literal.bare.method.not.unique=Document literal bare methods must have unique parameter names. Class\: {0} method\: {1} parameter name\: {2} 1.72 + 1.73 +webserviceap.document.literal.bare.cannot.have.more.than.one.out=Document literal bare methods must have a return value or one out parameter. Class\: {0} Method\: {1} 1.74 + 1.75 +webserviceap.document.literal.bare.must.have.only.one.in.parameter=Document literal bare methods must have no more than 1 non-header in parameter. Class\: {0} method\: {1} number of non-header parameters\: {2} 1.76 + 1.77 +webserviceap.document.literal.bare.must.have.one.in.or.out=Document literal bare methods must have at least one of: a return, an in parameter or an out parameter. Class\: {0} Method\: {1} 1.78 + 1.79 +webserviceap.holder.parameters.must.not.be.in.only=javax.xml.ws.Holder parameters must not be annotated with the WebParam.Mode.IN property. Class\: {0} method\: {1} parameter\: {2} 1.80 + 1.81 +webserviceap.document.bare.holder.parameters.must.not.be.inout=javax.xml.ws.Holder parameters in document bare operations must be WebParam.Mode.INOUT; Class\: {0} method\: {1} parameter\: {2} 1.82 + 1.83 +webserviceap.endpointinterface.class.not.found=The endpointInterface class {0} could not be found 1.84 + 1.85 +webserviceap.sei.cannot.contain.constant.values=A service endpoint interface cannot contain constant declaration\: Interface\: {0} field\: {1}. 1.86 + 1.87 +webserviceap.method.return.type.cannot.implement.remote=Method return types cannot implement java.rmi.Remote. Class\: {0} method\: {1} return type\: {2} 1.88 + 1.89 +webserviceap.method.parameter.types.cannot.implement.remote=Method parameter types cannot implement java.rmi.Remote. Class\: {0} method\: {1} parameter\: {2} type\: {3} 1.90 + 1.91 +webserviceap.operation.name.not.unique=Operation names must be unique. Class\: {0} method\: {1} operation name\: {2} 1.92 + 1.93 +webserviceap.method.request.wrapper.bean.name.not.unique=Request wrapper bean names must be unique and must not clash with other generated classes. Class\: {0} method {1} 1.94 + 1.95 +webserviceap.method.response.wrapper.bean.name.not.unique=Response wrapper bean names must be unique and must not clash with other generated classes. Class\: {0} method {1} 1.96 + 1.97 +webserviceap.method.exception.bean.name.not.unique=Exception bean names must be unique and must not clash with other generated classes. Class\: {0} exception {1} 1.98 + 1.99 +webserviceap.rpc.literal.parameters.must.have.webparam=All RPC literal parameters must have a WebParam annotation. Class\: {0} method\: {1} parameter {2} 1.100 + 1.101 +webserviceap.rpc.literal.webparams.must.specify.name=All RPC literal WebParams must specify a name. Class\: {0} method {1} parameter {2} 1.102 + 1.103 +webserviceap.rpc.literal.must.not.be.bare=RPC literal SOAPBindings must have parameterStyle WRAPPED. Class\: {0}. 1.104 + 1.105 +webserviceap.header.parameters.must.have.webparam.name=All WebParam annotations on header parameters must specify a name. Class\: {0} method {1} parameter {2} 1.106 + 1.107 +webserviceap.failed.to.find.handlerchain.file=Cannot find HandlerChain file. class\: {0}, file:\ {1} 1.108 + 1.109 +webserviceap.failed.to.parse.handlerchain.file=Failed to parse HandlerChain file. Class\: {0}, file\: {1} 1.110 + 1.111 +webserviceap.class.not.found=Class Not Found: {0} 1.112 + 1.113 +webserviceap.rpc.soapbinding.not.allowed.on.method=SOAPBinding.Style.RPC binding annotations are not allowed on methods. Class\: {0} Method\: {1} 1.114 + 1.115 +webserviceap.mixed.binding.style=Class\: {0} contains mixed bindings. SOAPBinding.Style.RPC and SOAPBinding.Style.DOCUMENT cannot be mixed. 1.116 + 1.117 +webserviceap.endpointinteface.plus.annotation=The @{0} annotation cannot be used in with @javax.jws.WebService.endpointInterface element. 1.118 + 1.119 +webserviceap.endpointinteface.plus.element=The @javax.jws.WebService.{0} element cannot be used in with @javax.jws.WebService.endpointInterface element. 1.120 + 1.121 +webserviceap.non.in.parameters.must.be.holder=Class:\ {0}, method: {1}, parameter: {2} is not WebParam.Mode.IN and is not of type javax.xml.ws.Holder. 1.122 + 1.123 +webserviceap.invalid.sei.annotation.element=The @javax.jws.WebService.{0} element cannot be specified on a service endpoint interface. Class\: {1} 1.124 + 1.125 +webserviceap.invalid.sei.annotation=The @{0} annotation cannot be used on a service endpoint interface. Class\: {1} 1.126 + 1.127 +webserviceap.invalid.sei.annotation.element.exclude=The @javax.jws.WebMethod({0}) cannot be used on a service endpoint interface. Class\: {1} method\: {2} 1.128 + 1.129 +webserviceap.invalid.webmethod.element.with.exclude=The @javax.jws.WebMethod.{0} element cannot be specified with the @javax.jws.WebMethod.exclude element. Class\: {1} method\: {2} 1.130 + 1.131 +webserviceap.doc.bare.no.out=Document/literal bare methods with no return type or OUT/INOUT parameters must be annotated as @Oneway. Class\: {0}, method: {1} 1.132 +webserviceap.doc.bare.return.and.out=Document/literal bare methods cannot have a return type and out parameters. Class\: {0}, method: {1} 1.133 +webserviceap.oneway.and.out=@Oneway methods cannot have out parameters. Class\: {0} method {1} 1.134 + 1.135 +webserviceap.webservice.class.not.public=Classes annotated with @javax.jws.WebService must be public. Class\: {0} 1.136 + 1.137 +webserviceap.webservice.class.is.final=Classes annotated with @javax.jws.WebService must not be final. Class\: {0} 1.138 + 1.139 +webserviceap.webservice.class.is.abstract=Classes annotated with @javax.jws.WebService must not be abstract. Class\: {0} 1.140 + 1.141 +webserviceap.webservice.class.is.innerclass.not.static=Inner classes annotated with @javax.jws.WebService must be static. Class\: {0} 1.142 + 1.143 +webserviceap.webservice.method.is.abstract=Classes annotated with @javax.jws.WebService must not have abstract methods. Class\: {0} Method: {1} 1.144 + 1.145 +webserviceap.webservice.method.is.static.or.final=Method annotated with @javax.jws.WebMethod must not be static or final. Class\: {0} Method: {1} 1.146 + 1.147 +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} 1.148 + 1.149 +webserviceap.webservice.no.default.constructor=Classes annotated with @javax.jws.WebService must have a public default constructor. Class\: {0} 1.150 + 1.151 +webserviceap.oneway.and.not.one.in=Document literal bare methods annotated with @javax.jws.Oneway must have one non-header IN parameter. Class\: {0} Method\: {1} 1.152 + 1.153 +webserviceap.doc.bare.no.return.and.no.out=Document literal bare methods that do not have a return value must have a single OUT/INOUT parameter. Class\: {0} Method\: {1} 1.154 + 1.155 +webserviceap.doc.bare.and.no.one.in=Document literal bare methods must have one non-header, IN/INOUT parameter. Class\: {0} Method\: {1} 1.156 + 1.157 +webserviceap.method.not.implemented=Methods in an endpointInterface must be implemented in the implementation class. Interface Class\:{0} Implementation Class\:{1} Method\: {2} 1.158 + 1.159 +webserviceap.no.package.class.must.have.targetnamespace=@javax.jws.Webservice annotated classes that do not belong to a package must have the @javax.jws.Webservice.targetNamespace element. Class\: {0} 1.160 + 1.161 +webserviceap.webservice.and.webserviceprovider=Classes cannot be annotated with both @javax.jws.WebService and @javax.xml.ws.WebServiceProvider. Class\: {0} 1.162 + 1.163 +webserviceap.invalid.soapbinding.parameterstyle= Incorrect usage of Annotation {0} on {1}, ParameterStyle can only be WRAPPED with RPC Style Web service.