feat(jdk8): move files to new folder to avoid resources compiled.

This commit is contained in:
2025-09-07 15:25:52 +08:00
parent 3f0047bf6f
commit 8c35cfb1c0
17415 changed files with 217 additions and 213 deletions

View File

@@ -0,0 +1,390 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class AddressingMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.addressing");
private final static Localizer localizer = new Localizer();
public static Localizable localizableNON_ANONYMOUS_RESPONSE_ONEWAY() {
return messageFactory.getMessage("nonAnonymous.response.oneway");
}
/**
* Ignoring non-anonymous response for one-way message
*
*/
public static String NON_ANONYMOUS_RESPONSE_ONEWAY() {
return localizer.localize(localizableNON_ANONYMOUS_RESPONSE_ONEWAY());
}
public static Localizable localizableNULL_WSA_HEADERS() {
return messageFactory.getMessage("null.wsa.headers");
}
/**
* No WS-Addressing headers found processing the server inbound request
*
*/
public static String NULL_WSA_HEADERS() {
return localizer.localize(localizableNULL_WSA_HEADERS());
}
public static Localizable localizableUNKNOWN_WSA_HEADER() {
return messageFactory.getMessage("unknown.wsa.header");
}
/**
* Unknown WS-Addressing header
*
*/
public static String UNKNOWN_WSA_HEADER() {
return localizer.localize(localizableUNKNOWN_WSA_HEADER());
}
public static Localizable localizableNULL_ACTION() {
return messageFactory.getMessage("null.action");
}
/**
* Populating request Addressing headers and found null Action
*
*/
public static String NULL_ACTION() {
return localizer.localize(localizableNULL_ACTION());
}
public static Localizable localizableINVALID_WSAW_ANONYMOUS(Object arg0) {
return messageFactory.getMessage("invalid.wsaw.anonymous", arg0);
}
/**
* Invalid value obtained from wsaw:Anonymous: "{0}"
*
*/
public static String INVALID_WSAW_ANONYMOUS(Object arg0) {
return localizer.localize(localizableINVALID_WSAW_ANONYMOUS(arg0));
}
public static Localizable localizableNULL_SOAP_VERSION() {
return messageFactory.getMessage("null.soap.version");
}
/**
* Unexpected null SOAP version
*
*/
public static String NULL_SOAP_VERSION() {
return localizer.localize(localizableNULL_SOAP_VERSION());
}
public static Localizable localizableWSDL_BOUND_OPERATION_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("wsdlBoundOperation.notFound", arg0);
}
/**
* Cannot find an operation in wsdl:binding for "{0}"
*
*/
public static String WSDL_BOUND_OPERATION_NOT_FOUND(Object arg0) {
return localizer.localize(localizableWSDL_BOUND_OPERATION_NOT_FOUND(arg0));
}
public static Localizable localizableNON_UNIQUE_OPERATION_SIGNATURE(Object arg0, Object arg1, Object arg2, Object arg3) {
return messageFactory.getMessage("non.unique.operation.signature", arg0, arg1, arg2, arg3);
}
/**
* Operations in a port should have unique operation signature to successfuly identify a associated wsdl operation for a message. WSDL operation {0} and {1} have the same operation signature, wsa:Action "{2}" and request body block "{3}", Method dispatching may fail at runtime. Use unique wsa:Action for each operation
*
*/
public static String NON_UNIQUE_OPERATION_SIGNATURE(Object arg0, Object arg1, Object arg2, Object arg3) {
return localizer.localize(localizableNON_UNIQUE_OPERATION_SIGNATURE(arg0, arg1, arg2, arg3));
}
public static Localizable localizableNON_ANONYMOUS_RESPONSE() {
return messageFactory.getMessage("nonAnonymous.response");
}
/**
* Sending 202 and processing non-anonymous response
*
*/
public static String NON_ANONYMOUS_RESPONSE() {
return localizer.localize(localizableNON_ANONYMOUS_RESPONSE());
}
public static Localizable localizableVALIDATION_SERVER_NULL_ACTION() {
return messageFactory.getMessage("validation.server.nullAction");
}
/**
* Validating inbound Addressing headers on server and found null Action
*
*/
public static String VALIDATION_SERVER_NULL_ACTION() {
return localizer.localize(localizableVALIDATION_SERVER_NULL_ACTION());
}
public static Localizable localizableFAULT_TO_CANNOT_PARSE() {
return messageFactory.getMessage("faultTo.cannot.parse");
}
/**
* FaultTo header cannot be parsed
*
*/
public static String FAULT_TO_CANNOT_PARSE() {
return localizer.localize(localizableFAULT_TO_CANNOT_PARSE());
}
public static Localizable localizableVALIDATION_CLIENT_NULL_ACTION() {
return messageFactory.getMessage("validation.client.nullAction");
}
/**
* Validating inbound Addressing headers on client and found null Action
*
*/
public static String VALIDATION_CLIENT_NULL_ACTION() {
return localizer.localize(localizableVALIDATION_CLIENT_NULL_ACTION());
}
public static Localizable localizableNULL_MESSAGE() {
return messageFactory.getMessage("null.message");
}
/**
* Null message found when processing the server inbound request and WS-Addressing is required
*
*/
public static String NULL_MESSAGE() {
return localizer.localize(localizableNULL_MESSAGE());
}
public static Localizable localizableACTION_NOT_SUPPORTED_EXCEPTION(Object arg0) {
return messageFactory.getMessage("action.not.supported.exception", arg0);
}
/**
* Action: "{0}" not supported
*
*/
public static String ACTION_NOT_SUPPORTED_EXCEPTION(Object arg0) {
return localizer.localize(localizableACTION_NOT_SUPPORTED_EXCEPTION(arg0));
}
public static Localizable localizableNON_ANONYMOUS_RESPONSE_NULL_HEADERS(Object arg0) {
return messageFactory.getMessage("nonAnonymous.response.nullHeaders", arg0);
}
/**
* No response headers found in non-anonymous response from "{0}"
*
*/
public static String NON_ANONYMOUS_RESPONSE_NULL_HEADERS(Object arg0) {
return localizer.localize(localizableNON_ANONYMOUS_RESPONSE_NULL_HEADERS(arg0));
}
public static Localizable localizableNON_ANONYMOUS_RESPONSE_SENDING(Object arg0) {
return messageFactory.getMessage("nonAnonymous.response.sending", arg0);
}
/**
* Sending non-anonymous reply to "{0}"
*
*/
public static String NON_ANONYMOUS_RESPONSE_SENDING(Object arg0) {
return localizer.localize(localizableNON_ANONYMOUS_RESPONSE_SENDING(arg0));
}
public static Localizable localizableREPLY_TO_CANNOT_PARSE() {
return messageFactory.getMessage("replyTo.cannot.parse");
}
/**
* ReplyTo header cannot be parsed
*
*/
public static String REPLY_TO_CANNOT_PARSE() {
return localizer.localize(localizableREPLY_TO_CANNOT_PARSE());
}
public static Localizable localizableINVALID_ADDRESSING_HEADER_EXCEPTION(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.addressing.header.exception", arg0, arg1);
}
/**
* Invalid WS-Addressing header: "{0}",Reason: "{1}"
*
*/
public static String INVALID_ADDRESSING_HEADER_EXCEPTION(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_ADDRESSING_HEADER_EXCEPTION(arg0, arg1));
}
public static Localizable localizableWSAW_ANONYMOUS_PROHIBITED() {
return messageFactory.getMessage("wsaw.anonymousProhibited");
}
/**
* Operation has "prohibited" value for wsaw:anonymous in the WSDL, Addressing must be disabled and SOAP message need to be hand-crafted
*
*/
public static String WSAW_ANONYMOUS_PROHIBITED() {
return localizer.localize(localizableWSAW_ANONYMOUS_PROHIBITED());
}
public static Localizable localizableNULL_WSDL_PORT() {
return messageFactory.getMessage("null.wsdlPort");
}
/**
* Populating request Addressing headers and found null WSDLPort
*
*/
public static String NULL_WSDL_PORT() {
return localizer.localize(localizableNULL_WSDL_PORT());
}
public static Localizable localizableADDRESSING_SHOULD_BE_ENABLED() {
return messageFactory.getMessage("addressing.should.be.enabled.");
}
/**
* Addressing is not enabled
*
*/
public static String ADDRESSING_SHOULD_BE_ENABLED() {
return localizer.localize(localizableADDRESSING_SHOULD_BE_ENABLED());
}
public static Localizable localizableNULL_ADDRESSING_VERSION() {
return messageFactory.getMessage("null.addressing.version");
}
/**
* Unexpected null Addressing version
*
*/
public static String NULL_ADDRESSING_VERSION() {
return localizer.localize(localizableNULL_ADDRESSING_VERSION());
}
public static Localizable localizableMISSING_HEADER_EXCEPTION(Object arg0) {
return messageFactory.getMessage("missing.header.exception", arg0);
}
/**
* Missing WS-Addressing header: "{0}"
*
*/
public static String MISSING_HEADER_EXCEPTION(Object arg0) {
return localizer.localize(localizableMISSING_HEADER_EXCEPTION(arg0));
}
public static Localizable localizableNULL_PACKET() {
return messageFactory.getMessage("null.packet");
}
/**
* Populating request Addressing headers and found null Packet
*
*/
public static String NULL_PACKET() {
return localizer.localize(localizableNULL_PACKET());
}
public static Localizable localizableWRONG_ADDRESSING_VERSION(Object arg0, Object arg1) {
return messageFactory.getMessage("wrong.addressing.version", arg0, arg1);
}
/**
* Expected "{0}" version of WS-Addressing but found "{1}"
*
*/
public static String WRONG_ADDRESSING_VERSION(Object arg0, Object arg1) {
return localizer.localize(localizableWRONG_ADDRESSING_VERSION(arg0, arg1));
}
public static Localizable localizableADDRESSING_NOT_ENABLED(Object arg0) {
return messageFactory.getMessage("addressing.notEnabled", arg0);
}
/**
* Addressing is not enabled, {0} should not be included in the pipeline"
*
*/
public static String ADDRESSING_NOT_ENABLED(Object arg0) {
return localizer.localize(localizableADDRESSING_NOT_ENABLED(arg0));
}
public static Localizable localizableNON_ANONYMOUS_UNKNOWN_PROTOCOL(Object arg0) {
return messageFactory.getMessage("nonAnonymous.unknown.protocol", arg0);
}
/**
* Unknown protocol: "{0}"
*
*/
public static String NON_ANONYMOUS_UNKNOWN_PROTOCOL(Object arg0) {
return localizer.localize(localizableNON_ANONYMOUS_UNKNOWN_PROTOCOL(arg0));
}
public static Localizable localizableNULL_HEADERS() {
return messageFactory.getMessage("null.headers");
}
/**
* No headers found when processing the server inbound request and WS-Addressing is required
*
*/
public static String NULL_HEADERS() {
return localizer.localize(localizableNULL_HEADERS());
}
public static Localizable localizableNULL_BINDING() {
return messageFactory.getMessage("null.binding");
}
/**
* Populating request Addressing headers and found null Binding
*
*/
public static String NULL_BINDING() {
return localizer.localize(localizableNULL_BINDING());
}
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class BindingApiMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.bindingApi");
private final static Localizer localizer = new Localizer();
public static Localizable localizableBINDING_API_NO_FAULT_MESSAGE_NAME() {
return messageFactory.getMessage("binding.api.no.fault.message.name");
}
/**
* Fault message name must not be null.
*
*/
public static String BINDING_API_NO_FAULT_MESSAGE_NAME() {
return localizer.localize(localizableBINDING_API_NO_FAULT_MESSAGE_NAME());
}
}

View File

@@ -0,0 +1,346 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ClientMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.client");
private final static Localizer localizer = new Localizer();
public static Localizable localizableFAILED_TO_PARSE(Object arg0, Object arg1) {
return messageFactory.getMessage("failed.to.parse", arg0, arg1);
}
/**
* Failed to access the WSDL at: {0}. It failed with:
* {1}.
*
*/
public static String FAILED_TO_PARSE(Object arg0, Object arg1) {
return localizer.localize(localizableFAILED_TO_PARSE(arg0, arg1));
}
public static Localizable localizableINVALID_BINDING_ID(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.binding.id", arg0, arg1);
}
/**
* Invalid binding id: {0}. Must be: {1}
*
*/
public static String INVALID_BINDING_ID(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_BINDING_ID(arg0, arg1));
}
public static Localizable localizableEPR_WITHOUT_ADDRESSING_ON() {
return messageFactory.getMessage("epr.without.addressing.on");
}
/**
* EPR is specified without enabling WS-Addressing support.
*
*/
public static String EPR_WITHOUT_ADDRESSING_ON() {
return localizer.localize(localizableEPR_WITHOUT_ADDRESSING_ON());
}
public static Localizable localizableINVALID_SERVICE_NO_WSDL(Object arg0) {
return messageFactory.getMessage("invalid.service.no.wsdl", arg0);
}
/**
* No wsdl metadata for service: {0}, can't create proxy! Try creating Service by providing a WSDL URL
*
*/
public static String INVALID_SERVICE_NO_WSDL(Object arg0) {
return localizer.localize(localizableINVALID_SERVICE_NO_WSDL(arg0));
}
public static Localizable localizableINVALID_SOAP_ROLE_NONE() {
return messageFactory.getMessage("invalid.soap.role.none");
}
/**
* Cannot set SOAP 1.2 role "none"
*
*/
public static String INVALID_SOAP_ROLE_NONE() {
return localizer.localize(localizableINVALID_SOAP_ROLE_NONE());
}
public static Localizable localizableUNDEFINED_BINDING(Object arg0) {
return messageFactory.getMessage("undefined.binding", arg0);
}
/**
* Undefined binding: {0}
*
*/
public static String UNDEFINED_BINDING(Object arg0) {
return localizer.localize(localizableUNDEFINED_BINDING(arg0));
}
public static Localizable localizableHTTP_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("http.not.found", arg0);
}
/**
* HTTP Status-Code 404: Not Found - {0}
*
*/
public static String HTTP_NOT_FOUND(Object arg0) {
return localizer.localize(localizableHTTP_NOT_FOUND(arg0));
}
public static Localizable localizableINVALID_EPR_PORT_NAME(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.epr.port.name", arg0, arg1);
}
/**
* EndpointName specified in EPR {0} is not a WSDL port QName, valid Ports are {1}
*
*/
public static String INVALID_EPR_PORT_NAME(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_EPR_PORT_NAME(arg0, arg1));
}
public static Localizable localizableFAILED_TO_PARSE_WITH_MEX(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("failed.to.parseWithMEX", arg0, arg1, arg2);
}
/**
* Failed to access the WSDL at: {0}. It failed with:
* {1}.
* Retrying with MEX gave:
* {2}
*
*/
public static String FAILED_TO_PARSE_WITH_MEX(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableFAILED_TO_PARSE_WITH_MEX(arg0, arg1, arg2));
}
public static Localizable localizableHTTP_STATUS_CODE(Object arg0, Object arg1) {
return messageFactory.getMessage("http.status.code", arg0, arg1);
}
/**
* The server sent HTTP status code {0}: {1}
*
*/
public static String HTTP_STATUS_CODE(Object arg0, Object arg1) {
return localizer.localize(localizableHTTP_STATUS_CODE(arg0, arg1));
}
public static Localizable localizableINVALID_ADDRESS(Object arg0) {
return messageFactory.getMessage("invalid.address", arg0);
}
/**
* Invalid address: {0}
*
*/
public static String INVALID_ADDRESS(Object arg0) {
return localizer.localize(localizableINVALID_ADDRESS(arg0));
}
public static Localizable localizableUNDEFINED_PORT_TYPE(Object arg0) {
return messageFactory.getMessage("undefined.portType", arg0);
}
/**
* Undefined port type: {0}
*
*/
public static String UNDEFINED_PORT_TYPE(Object arg0) {
return localizer.localize(localizableUNDEFINED_PORT_TYPE(arg0));
}
public static Localizable localizableWSDL_CONTAINS_NO_SERVICE(Object arg0) {
return messageFactory.getMessage("wsdl.contains.no.service", arg0);
}
/**
* WSDL {0} contains no service definition.
*
*/
public static String WSDL_CONTAINS_NO_SERVICE(Object arg0) {
return localizer.localize(localizableWSDL_CONTAINS_NO_SERVICE(arg0));
}
public static Localizable localizableINVALID_SOAP_ACTION() {
return messageFactory.getMessage("invalid.soap.action");
}
/**
* A valid SOAPAction should be set in the RequestContext when Addressing is enabled, Use BindingProvider.SOAPACTION_URI_PROPERTY to set it.
*
*/
public static String INVALID_SOAP_ACTION() {
return localizer.localize(localizableINVALID_SOAP_ACTION());
}
public static Localizable localizableNON_LOGICAL_HANDLER_SET(Object arg0) {
return messageFactory.getMessage("non.logical.handler.set", arg0);
}
/**
* Cannot set {0} on binding. Handler must be a LogicalHandler.
*
*/
public static String NON_LOGICAL_HANDLER_SET(Object arg0) {
return localizer.localize(localizableNON_LOGICAL_HANDLER_SET(arg0));
}
public static Localizable localizableLOCAL_CLIENT_FAILED(Object arg0) {
return messageFactory.getMessage("local.client.failed", arg0);
}
/**
* local transport error: {0}
*
*/
public static String LOCAL_CLIENT_FAILED(Object arg0) {
return localizer.localize(localizableLOCAL_CLIENT_FAILED(arg0));
}
public static Localizable localizableRUNTIME_WSDLPARSER_INVALID_WSDL(Object arg0, Object arg1, Object arg2, Object arg3) {
return messageFactory.getMessage("runtime.wsdlparser.invalidWSDL", arg0, arg1, arg2, arg3);
}
/**
* Invalid WSDL {0}, expected {1} found {2} at (line{3})
*
*/
public static String RUNTIME_WSDLPARSER_INVALID_WSDL(Object arg0, Object arg1, Object arg2, Object arg3) {
return localizer.localize(localizableRUNTIME_WSDLPARSER_INVALID_WSDL(arg0, arg1, arg2, arg3));
}
public static Localizable localizableWSDL_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("wsdl.not.found", arg0);
}
/**
* WSDL url {0} is not accessible.
*
*/
public static String WSDL_NOT_FOUND(Object arg0) {
return localizer.localize(localizableWSDL_NOT_FOUND(arg0));
}
public static Localizable localizableHTTP_CLIENT_FAILED(Object arg0) {
return messageFactory.getMessage("http.client.failed", arg0);
}
/**
* HTTP transport error: {0}
*
*/
public static String HTTP_CLIENT_FAILED(Object arg0) {
return localizer.localize(localizableHTTP_CLIENT_FAILED(arg0));
}
public static Localizable localizableINVALID_SERVICE_NAME_NULL(Object arg0) {
return messageFactory.getMessage("invalid.service.name.null", arg0);
}
/**
* {0} is not a valid service
*
*/
public static String INVALID_SERVICE_NAME_NULL(Object arg0) {
return localizer.localize(localizableINVALID_SERVICE_NAME_NULL(arg0));
}
public static Localizable localizableINVALID_WSDL_URL(Object arg0) {
return messageFactory.getMessage("invalid.wsdl.url", arg0);
}
/**
* Invalid WSDL URL: {0}
*
*/
public static String INVALID_WSDL_URL(Object arg0) {
return localizer.localize(localizableINVALID_WSDL_URL(arg0));
}
public static Localizable localizableINVALID_PORT_NAME(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.port.name", arg0, arg1);
}
/**
* {0} is not a valid port. Valid ports are: {1}
*
*/
public static String INVALID_PORT_NAME(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_PORT_NAME(arg0, arg1));
}
public static Localizable localizableINVALID_SERVICE_NAME(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.service.name", arg0, arg1);
}
/**
* {0} is not a valid service. Valid services are: {1}
*
*/
public static String INVALID_SERVICE_NAME(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_SERVICE_NAME(arg0, arg1));
}
public static Localizable localizableUNSUPPORTED_OPERATION(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("unsupported.operation", arg0, arg1, arg2);
}
/**
* {0} not supported with {1}. Must be: {2}
*
*/
public static String UNSUPPORTED_OPERATION(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableUNSUPPORTED_OPERATION(arg0, arg1, arg2));
}
public static Localizable localizableFAILED_TO_PARSE_EPR(Object arg0) {
return messageFactory.getMessage("failed.to.parse.epr", arg0);
}
/**
* Failed to parse EPR: {0}
*
*/
public static String FAILED_TO_PARSE_EPR(Object arg0) {
return localizer.localize(localizableFAILED_TO_PARSE_EPR(arg0));
}
}

View File

@@ -0,0 +1,234 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class DispatchMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.dispatch");
private final static Localizer localizer = new Localizer();
public static Localizable localizableINVALID_NULLARG_XMLHTTP_REQUEST_METHOD(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.nullarg.xmlhttp.request.method", arg0, arg1);
}
/**
* A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals {0} with a Null invocation Argument is not allowed. Must be: {1}
*
*/
public static String INVALID_NULLARG_XMLHTTP_REQUEST_METHOD(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_NULLARG_XMLHTTP_REQUEST_METHOD(arg0, arg1));
}
public static Localizable localizableINVALID_NULLARG_URI() {
return messageFactory.getMessage("invalid.nullarg.uri");
}
/**
* Endpoint address URI is not allowed with a null argument
*
*/
public static String INVALID_NULLARG_URI() {
return localizer.localize(localizableINVALID_NULLARG_URI());
}
public static Localizable localizableINVALID_SOAPMESSAGE_DISPATCH_MSGMODE(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.soapmessage.dispatch.msgmode", arg0, arg1);
}
/**
* Can not create Dispatch<SOAPMessage> of {0}. Must be {1}.
*
*/
public static String INVALID_SOAPMESSAGE_DISPATCH_MSGMODE(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_SOAPMESSAGE_DISPATCH_MSGMODE(arg0, arg1));
}
public static Localizable localizableINVALID_RESPONSE_DESERIALIZATION() {
return messageFactory.getMessage("invalid.response.deserialization");
}
/**
* Failed to deserialize the response.
*
*/
public static String INVALID_RESPONSE_DESERIALIZATION() {
return localizer.localize(localizableINVALID_RESPONSE_DESERIALIZATION());
}
public static Localizable localizableINVALID_QUERY_LEADING_CHAR(Object arg0) {
return messageFactory.getMessage("invalid.query.leading.char", arg0);
}
/**
* Leading '?' of MessageContext.QUERY_STRING: {0} is not valid. Remove '?' and run again.
*
*/
public static String INVALID_QUERY_LEADING_CHAR(Object arg0) {
return localizer.localize(localizableINVALID_QUERY_LEADING_CHAR(arg0));
}
public static Localizable localizableINVALID_QUERY_STRING(Object arg0) {
return messageFactory.getMessage("invalid.query.string", arg0);
}
/**
* Unable to resolve endpoint address using the supplied query string: {0}.
*
*/
public static String INVALID_QUERY_STRING(Object arg0) {
return localizer.localize(localizableINVALID_QUERY_STRING(arg0));
}
public static Localizable localizableDUPLICATE_PORT(Object arg0) {
return messageFactory.getMessage("duplicate.port", arg0);
}
/**
* WSDLPort {0} already exists. Can not create a port of the same QName.
*
*/
public static String DUPLICATE_PORT(Object arg0) {
return localizer.localize(localizableDUPLICATE_PORT(arg0));
}
public static Localizable localizableINVALID_DATASOURCE_DISPATCH_BINDING(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.datasource.dispatch.binding", arg0, arg1);
}
/**
* Can not create Dispatch<DataSource> with {0}. Must be: {1}
*
*/
public static String INVALID_DATASOURCE_DISPATCH_BINDING(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_DATASOURCE_DISPATCH_BINDING(arg0, arg1));
}
public static Localizable localizableINVALID_DATASOURCE_DISPATCH_MSGMODE(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.datasource.dispatch.msgmode", arg0, arg1);
}
/**
* Can not create Dispatch<DataSource> of Service.Mode.PAYLOAD{0}. Must be: {1}
*
*/
public static String INVALID_DATASOURCE_DISPATCH_MSGMODE(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_DATASOURCE_DISPATCH_MSGMODE(arg0, arg1));
}
public static Localizable localizableINVALID_NULLARG_SOAP_MSGMODE(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.nullarg.soap.msgmode", arg0, arg1);
}
/**
* SOAP/HTTP Binding in {0} is not allowed with a null invocation argument. Must be: {1}
*
*/
public static String INVALID_NULLARG_SOAP_MSGMODE(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_NULLARG_SOAP_MSGMODE(arg0, arg1));
}
public static Localizable localizableINVALID_URI(Object arg0) {
return messageFactory.getMessage("invalid.uri", arg0);
}
/**
* Endpoint String: {0} is and invalid URI.
*
*/
public static String INVALID_URI(Object arg0) {
return localizer.localize(localizableINVALID_URI(arg0));
}
public static Localizable localizableINVALID_SOAPMESSAGE_DISPATCH_BINDING(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.soapmessage.dispatch.binding", arg0, arg1);
}
/**
* Can not create Dispatch<SOAPMessage> with {0} Binding. Must be: {1} Binding.
*
*/
public static String INVALID_SOAPMESSAGE_DISPATCH_BINDING(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_SOAPMESSAGE_DISPATCH_BINDING(arg0, arg1));
}
public static Localizable localizableINVALID_URI_PATH_QUERY(Object arg0, Object arg1) {
return messageFactory.getMessage("invalid.uri.path.query", arg0, arg1);
}
/**
* Unable to construct a URI with this path info {0} and this query string {1}.
*
*/
public static String INVALID_URI_PATH_QUERY(Object arg0, Object arg1) {
return localizer.localize(localizableINVALID_URI_PATH_QUERY(arg0, arg1));
}
public static Localizable localizableINVALID_RESPONSE() {
return messageFactory.getMessage("invalid.response");
}
/**
* No response returned.
*
*/
public static String INVALID_RESPONSE() {
return localizer.localize(localizableINVALID_RESPONSE());
}
public static Localizable localizableINVALID_URI_RESOLUTION(Object arg0) {
return messageFactory.getMessage("invalid.uri.resolution", arg0);
}
/**
* Unable to resolve endpoint address using the supplied path: {0}.
*
*/
public static String INVALID_URI_RESOLUTION(Object arg0) {
return localizer.localize(localizableINVALID_URI_RESOLUTION(arg0));
}
public static Localizable localizableINVALID_URI_DECODE() {
return messageFactory.getMessage("invalid.uri.decode");
}
/**
* Unable to decode the resolved endpoint using UTF-8 encoding.
*
*/
public static String INVALID_URI_DECODE() {
return localizer.localize(localizableINVALID_URI_DECODE());
}
}

View File

@@ -0,0 +1,150 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class EncodingMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.encoding");
private final static Localizer localizer = new Localizer();
public static Localizable localizableFAILED_TO_READ_RESPONSE(Object arg0) {
return messageFactory.getMessage("failed.to.read.response", arg0);
}
/**
* Failed to read a response: {0}
*
*/
public static String FAILED_TO_READ_RESPONSE(Object arg0) {
return localizer.localize(localizableFAILED_TO_READ_RESPONSE(arg0));
}
public static Localizable localizableEXCEPTION_INCORRECT_TYPE(Object arg0) {
return messageFactory.getMessage("exception.incorrectType", arg0);
}
/**
* incorrect type. Expected java.lang.Exception, found {0}
*
*/
public static String EXCEPTION_INCORRECT_TYPE(Object arg0) {
return localizer.localize(localizableEXCEPTION_INCORRECT_TYPE(arg0));
}
public static Localizable localizableEXCEPTION_NOTFOUND(Object arg0) {
return messageFactory.getMessage("exception.notfound", arg0);
}
/**
* exception class: {0} not found in the model!
*
*/
public static String EXCEPTION_NOTFOUND(Object arg0) {
return localizer.localize(localizableEXCEPTION_NOTFOUND(arg0));
}
public static Localizable localizableXSD_UNEXPECTED_ELEMENT_NAME(Object arg0, Object arg1) {
return messageFactory.getMessage("xsd.unexpectedElementName", arg0, arg1);
}
/**
* unexpected element name: expected={0}, actual: {1}
*
*/
public static String XSD_UNEXPECTED_ELEMENT_NAME(Object arg0, Object arg1) {
return localizer.localize(localizableXSD_UNEXPECTED_ELEMENT_NAME(arg0, arg1));
}
public static Localizable localizableNESTED_DESERIALIZATION_ERROR(Object arg0) {
return messageFactory.getMessage("nestedDeserializationError", arg0);
}
/**
* deserialization error: {0}
*
*/
public static String NESTED_DESERIALIZATION_ERROR(Object arg0) {
return localizer.localize(localizableNESTED_DESERIALIZATION_ERROR(arg0));
}
public static Localizable localizableNESTED_ENCODING_ERROR(Object arg0) {
return messageFactory.getMessage("nestedEncodingError", arg0);
}
/**
* encoding error: {0}
*
*/
public static String NESTED_ENCODING_ERROR(Object arg0) {
return localizer.localize(localizableNESTED_ENCODING_ERROR(arg0));
}
public static Localizable localizableXSD_UNKNOWN_PREFIX(Object arg0) {
return messageFactory.getMessage("xsd.unknownPrefix", arg0);
}
/**
* unknown prefix "{0}"
*
*/
public static String XSD_UNKNOWN_PREFIX(Object arg0) {
return localizer.localize(localizableXSD_UNKNOWN_PREFIX(arg0));
}
public static Localizable localizableNESTED_SERIALIZATION_ERROR(Object arg0) {
return messageFactory.getMessage("nestedSerializationError", arg0);
}
/**
* serialization error: {0}
*
*/
public static String NESTED_SERIALIZATION_ERROR(Object arg0) {
return localizer.localize(localizableNESTED_SERIALIZATION_ERROR(arg0));
}
public static Localizable localizableNO_SUCH_CONTENT_ID(Object arg0) {
return messageFactory.getMessage("noSuchContentId", arg0);
}
/**
* There''s no attachment for the content ID "{0}"
*
*/
public static String NO_SUCH_CONTENT_ID(Object arg0) {
return localizer.localize(localizableNO_SUCH_CONTENT_ID(arg0));
}
}

View File

@@ -0,0 +1,126 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class HandlerMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.handler");
private final static Localizer localizer = new Localizer();
public static Localizable localizableHANDLER_MESSAGE_CONTEXT_INVALID_CLASS(Object arg0, Object arg1) {
return messageFactory.getMessage("handler.messageContext.invalid.class", arg0, arg1);
}
/**
* "{0}" is not an allowed value for the property "{1}"
*
*/
public static String HANDLER_MESSAGE_CONTEXT_INVALID_CLASS(Object arg0, Object arg1) {
return localizer.localize(localizableHANDLER_MESSAGE_CONTEXT_INVALID_CLASS(arg0, arg1));
}
public static Localizable localizableCANNOT_EXTEND_HANDLER_DIRECTLY(Object arg0) {
return messageFactory.getMessage("cannot.extend.handler.directly", arg0);
}
/**
* Handler {0} must implement LogicalHandler or SOAPHandler.
*
*/
public static String CANNOT_EXTEND_HANDLER_DIRECTLY(Object arg0) {
return localizer.localize(localizableCANNOT_EXTEND_HANDLER_DIRECTLY(arg0));
}
public static Localizable localizableHANDLER_NOT_VALID_TYPE(Object arg0) {
return messageFactory.getMessage("handler.not.valid.type", arg0);
}
/**
* {0} does not implement one of the handler interfaces.
*
*/
public static String HANDLER_NOT_VALID_TYPE(Object arg0) {
return localizer.localize(localizableHANDLER_NOT_VALID_TYPE(arg0));
}
public static Localizable localizableCANNOT_INSTANTIATE_HANDLER(Object arg0, Object arg1) {
return messageFactory.getMessage("cannot.instantiate.handler", arg0, arg1);
}
/**
* Unable to instantiate handler: {0} because: {1}
*
*/
public static String CANNOT_INSTANTIATE_HANDLER(Object arg0, Object arg1) {
return localizer.localize(localizableCANNOT_INSTANTIATE_HANDLER(arg0, arg1));
}
public static Localizable localizableHANDLER_CHAIN_CONTAINS_HANDLER_ONLY(Object arg0) {
return messageFactory.getMessage("handler.chain.contains.handler.only", arg0);
}
/**
* A HandlerChain can only contain Handler instances: {0}
*
*/
public static String HANDLER_CHAIN_CONTAINS_HANDLER_ONLY(Object arg0) {
return localizer.localize(localizableHANDLER_CHAIN_CONTAINS_HANDLER_ONLY(arg0));
}
public static Localizable localizableHANDLER_NESTED_ERROR(Object arg0) {
return messageFactory.getMessage("handler.nestedError", arg0);
}
/**
* handler error: {0}
*
*/
public static String HANDLER_NESTED_ERROR(Object arg0) {
return localizer.localize(localizableHANDLER_NESTED_ERROR(arg0));
}
public static Localizable localizableHANDLER_PREDESTROY_IGNORE(Object arg0) {
return messageFactory.getMessage("handler.predestroy.ignore", arg0);
}
/**
* Exception ignored from invoking handler @PreDestroy method: {0}
*
*/
public static String HANDLER_PREDESTROY_IGNORE(Object arg0) {
return localizer.localize(localizableHANDLER_PREDESTROY_IGNORE(arg0));
}
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class HttpserverMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.httpserver");
private final static Localizer localizer = new Localizer();
public static Localizable localizableUNEXPECTED_HTTP_METHOD(Object arg0) {
return messageFactory.getMessage("unexpected.http.method", arg0);
}
/**
* Cannot handle HTTP method: {0}
*
*/
public static String UNEXPECTED_HTTP_METHOD(Object arg0) {
return localizer.localize(localizableUNEXPECTED_HTTP_METHOD(arg0));
}
}

View File

@@ -0,0 +1,138 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ManagementMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.management");
private final static Localizer localizer = new Localizer();
public static Localizable localizableWSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE(Object arg0) {
return messageFactory.getMessage("WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE", arg0);
}
/**
* WSM1008: Expected an integer as value of the endpointDisposeDelay attribute, got this instead: "{0}".
*
*/
public static String WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE(Object arg0) {
return localizer.localize(localizableWSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE(arg0));
}
public static Localizable localizableWSM_1004_EXPECTED_XML_TAG(Object arg0, Object arg1) {
return messageFactory.getMessage("WSM_1004_EXPECTED_XML_TAG", arg0, arg1);
}
/**
* WSM1004: Expected tag <{0}> but instead read <{1}>.
*
*/
public static String WSM_1004_EXPECTED_XML_TAG(Object arg0, Object arg1) {
return localizer.localize(localizableWSM_1004_EXPECTED_XML_TAG(arg0, arg1));
}
public static Localizable localizableWSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION() {
return messageFactory.getMessage("WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION");
}
/**
* WSM1007: Failed to create a ModelTranslator instance.
*
*/
public static String WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION() {
return localizer.localize(localizableWSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION());
}
public static Localizable localizableWSM_1002_EXPECTED_MANAGEMENT_ASSERTION(Object arg0) {
return messageFactory.getMessage("WSM_1002_EXPECTED_MANAGEMENT_ASSERTION", arg0);
}
/**
* WSM1002: Expected policy assertion {0} in this namespace.
*
*/
public static String WSM_1002_EXPECTED_MANAGEMENT_ASSERTION(Object arg0) {
return localizer.localize(localizableWSM_1002_EXPECTED_MANAGEMENT_ASSERTION(arg0));
}
public static Localizable localizableWSM_1006_CLIENT_MANAGEMENT_ENABLED() {
return messageFactory.getMessage("WSM_1006_CLIENT_MANAGEMENT_ENABLED");
}
/**
* WSM1006: The management property of the ManagedClient policy assertion is set to on. Clients cannot be managed and this setting will be ignored.
*
*/
public static String WSM_1006_CLIENT_MANAGEMENT_ENABLED() {
return localizer.localize(localizableWSM_1006_CLIENT_MANAGEMENT_ENABLED());
}
public static Localizable localizableWSM_1001_FAILED_ASSERTION(Object arg0) {
return messageFactory.getMessage("WSM_1001_FAILED_ASSERTION", arg0);
}
/**
* WSM1001: Failed to get policy assertion {0}.
*
*/
public static String WSM_1001_FAILED_ASSERTION(Object arg0) {
return localizer.localize(localizableWSM_1001_FAILED_ASSERTION(arg0));
}
public static Localizable localizableWSM_1005_EXPECTED_COMMUNICATION_CHILD() {
return messageFactory.getMessage("WSM_1005_EXPECTED_COMMUNICATION_CHILD");
}
/**
* WSM1005: Expected to find a CommunicationServerImplementation tag as child node of CommunicationServerImplementations.
*
*/
public static String WSM_1005_EXPECTED_COMMUNICATION_CHILD() {
return localizer.localize(localizableWSM_1005_EXPECTED_COMMUNICATION_CHILD());
}
public static Localizable localizableWSM_1003_MANAGEMENT_ASSERTION_MISSING_ID(Object arg0) {
return messageFactory.getMessage("WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID", arg0);
}
/**
* WSM1003: Policy assertion {0} must have id attribute when management is enabled.
*
*/
public static String WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID(Object arg0) {
return localizer.localize(localizableWSM_1003_MANAGEMENT_ASSERTION_MISSING_ID(arg0));
}
}

View File

@@ -0,0 +1,402 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ModelerMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.modeler");
private final static Localizer localizer = new Localizer();
public static Localizable localizableNESTED_MODELER_ERROR(Object arg0) {
return messageFactory.getMessage("nestedModelerError", arg0);
}
/**
* runtime modeler error: {0}
*
*/
public static String NESTED_MODELER_ERROR(Object arg0) {
return localizer.localize(localizableNESTED_MODELER_ERROR(arg0));
}
public static Localizable localizableRUNTIME_MODELER_WSFEATURE_NO_FTRCONSTRUCTOR(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.wsfeature.no.ftrconstructor", arg0, arg1);
}
/**
* Annotation {0} is not recognizable, at least one constructor of {1} should be marked with @FeatureConstructor
*
*/
public static String RUNTIME_MODELER_WSFEATURE_NO_FTRCONSTRUCTOR(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_WSFEATURE_NO_FTRCONSTRUCTOR(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_EXTERNAL_METADATA_UNABLE_TO_READ(Object arg0) {
return messageFactory.getMessage("runtime.modeler.external.metadata.unable.to.read", arg0);
}
/**
* Unable to read metadata file {0}. Check configuration/deployment.
*
*/
public static String RUNTIME_MODELER_EXTERNAL_METADATA_UNABLE_TO_READ(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_EXTERNAL_METADATA_UNABLE_TO_READ(arg0));
}
public static Localizable localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_PUBLIC(Object arg0) {
return messageFactory.getMessage("runtime.modeler.webmethod.must.be.public", arg0);
}
/**
* @WebMethod is not allowed on a non-public method {0}
*
*/
public static String RUNTIME_MODELER_WEBMETHOD_MUST_BE_PUBLIC(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_PUBLIC(arg0));
}
public static Localizable localizableRUNTIME_MODELER_WRAPPER_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("runtime.modeler.wrapper.not.found", arg0);
}
/**
* Wrapper class {0} is not found. Have you run annotation processing to generate them?
*
*/
public static String RUNTIME_MODELER_WRAPPER_NOT_FOUND(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_WRAPPER_NOT_FOUND(arg0));
}
public static Localizable localizableRUNTIME_MODELER_MTOM_CONFLICT(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.mtom.conflict", arg0, arg1);
}
/**
* Error in @BindingType: MTOM Configuration in binding identifier {0} conflicts with feature @MTOM {1}
*
*/
public static String RUNTIME_MODELER_MTOM_CONFLICT(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_MTOM_CONFLICT(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_EXTERNAL_METADATA_GENERIC(Object arg0) {
return messageFactory.getMessage("runtime.modeler.external.metadata.generic", arg0);
}
/**
* An error occurred while processing external WS metadata; check configuration/deployment. Nested error: {0}.
*
*/
public static String RUNTIME_MODELER_EXTERNAL_METADATA_GENERIC(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_EXTERNAL_METADATA_GENERIC(arg0));
}
public static Localizable localizableRUNTIME_MODELER_FEATURE_CONFLICT(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.feature.conflict", arg0, arg1);
}
/**
* Feature {0} in implementation conflicts with {1} in WSDL configuration
*
*/
public static String RUNTIME_MODELER_FEATURE_CONFLICT(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_FEATURE_CONFLICT(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_INVALID_SOAPBINDING_PARAMETERSTYLE(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.invalid.soapbinding.parameterstyle", arg0, arg1);
}
/**
* Incorrect usage of Annotation {0} on {1}, ParameterStyle can only be WRAPPED with RPC Style Web service.
*
*/
public static String RUNTIME_MODELER_INVALID_SOAPBINDING_PARAMETERSTYLE(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_INVALID_SOAPBINDING_PARAMETERSTYLE(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_WSFEATURE_MORETHANONE_FTRCONSTRUCTOR(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.wsfeature.morethanone.ftrconstructor", arg0, arg1);
}
/**
* Annotation {0} is illegal, Only one constructor of {1} can be marked as @FeatureConstructor
*
*/
public static String RUNTIME_MODELER_WSFEATURE_MORETHANONE_FTRCONSTRUCTOR(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_WSFEATURE_MORETHANONE_FTRCONSTRUCTOR(arg0, arg1));
}
public static Localizable localizableNOT_A_VALID_BARE_METHOD(Object arg0, Object arg1) {
return messageFactory.getMessage("not.a.valid.bare.method", arg0, arg1);
}
/**
* SEI {0} has method {1} annotated as BARE but it has more than one parameter bound to body. This is invalid. Please annotate the method with annotation: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
*
*/
public static String NOT_A_VALID_BARE_METHOD(Object arg0, Object arg1) {
return localizer.localize(localizableNOT_A_VALID_BARE_METHOD(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_NO_PACKAGE(Object arg0) {
return messageFactory.getMessage("runtime.modeler.no.package", arg0);
}
/**
* A @WebService.targetNamespace must be specified on classes with no package. Class: {0}
*
*/
public static String RUNTIME_MODELER_NO_PACKAGE(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_NO_PACKAGE(arg0));
}
public static Localizable localizableRUNTIME_MODELER_NO_WEBSERVICE_ANNOTATION(Object arg0) {
return messageFactory.getMessage("runtime.modeler.no.webservice.annotation", arg0);
}
/**
* A WebService annotation is not present on class: {0}
*
*/
public static String RUNTIME_MODELER_NO_WEBSERVICE_ANNOTATION(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_NO_WEBSERVICE_ANNOTATION(arg0));
}
public static Localizable localizableRUNTIME_MODELER_ADDRESSING_RESPONSES_NOSUCHMETHOD(Object arg0) {
return messageFactory.getMessage("runtime.modeler.addressing.responses.nosuchmethod", arg0);
}
/**
* JAX-WS 2.1 API is loaded from {0}, But JAX-WS runtime requires JAX-WS 2.2 API. Use the endorsed standards override mechanism to load JAX-WS 2.2 API
*
*/
public static String RUNTIME_MODELER_ADDRESSING_RESPONSES_NOSUCHMETHOD(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_ADDRESSING_RESPONSES_NOSUCHMETHOD(arg0));
}
public static Localizable localizableRUNTIME_MODELER_EXTERNAL_METADATA_WRONG_FORMAT(Object arg0) {
return messageFactory.getMessage("runtime.modeler.external.metadata.wrong.format", arg0);
}
/**
* Unable to read metadata from {0}. Is the format correct?
*
*/
public static String RUNTIME_MODELER_EXTERNAL_METADATA_WRONG_FORMAT(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_EXTERNAL_METADATA_WRONG_FORMAT(arg0));
}
public static Localizable localizableRUNTIME_MODELER_ONEWAY_OPERATION_NO_OUT_PARAMETERS(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.oneway.operation.no.out.parameters", arg0, arg1);
}
/**
* oneway operation should not have OUT parameters class: {0} method: {1}
*
*/
public static String RUNTIME_MODELER_ONEWAY_OPERATION_NO_OUT_PARAMETERS(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_ONEWAY_OPERATION_NO_OUT_PARAMETERS(arg0, arg1));
}
public static Localizable localizableUNABLE_TO_CREATE_JAXB_CONTEXT() {
return messageFactory.getMessage("unable.to.create.JAXBContext");
}
/**
* Unable to create JAXBContext
*
*/
public static String UNABLE_TO_CREATE_JAXB_CONTEXT() {
return localizer.localize(localizableUNABLE_TO_CREATE_JAXB_CONTEXT());
}
public static Localizable localizableRUNTIME_MODELER_NO_OPERATIONS(Object arg0) {
return messageFactory.getMessage("runtime.modeler.no.operations", arg0);
}
/**
* The web service defined by the class {0} does not contain any valid WebMethods.
*
*/
public static String RUNTIME_MODELER_NO_OPERATIONS(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_NO_OPERATIONS(arg0));
}
public static Localizable localizableRUNTIME_MODELER_ONEWAY_OPERATION_NO_CHECKED_EXCEPTIONS(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.modeler.oneway.operation.no.checked.exceptions", arg0, arg1, arg2);
}
/**
* Oneway operation should not throw any checked exceptions class: {0} method: {1} throws: {2}
*
*/
public static String RUNTIME_MODELER_ONEWAY_OPERATION_NO_CHECKED_EXCEPTIONS(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_MODELER_ONEWAY_OPERATION_NO_CHECKED_EXCEPTIONS(arg0, arg1, arg2));
}
public static Localizable localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATIC(Object arg0) {
return messageFactory.getMessage("runtime.modeler.webmethod.must.be.nonstatic", arg0);
}
/**
* @WebMethod is not allowed on a static method {0}
*
*/
public static String RUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATIC(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATIC(arg0));
}
public static Localizable localizableRUNTIME_MODELER_METHOD_NOT_FOUND(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.method.not.found", arg0, arg1);
}
/**
* method: {0} could not be found on class: {1}
*
*/
public static String RUNTIME_MODELER_METHOD_NOT_FOUND(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_METHOD_NOT_FOUND(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_CLASS_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("runtime.modeler.class.not.found", arg0);
}
/**
* class: {0} could not be found
*
*/
public static String RUNTIME_MODELER_CLASS_NOT_FOUND(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_CLASS_NOT_FOUND(arg0));
}
public static Localizable localizableRUNTIME_MODELER_SOAPBINDING_CONFLICT(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.modeler.soapbinding.conflict", arg0, arg1, arg2);
}
/**
* SOAPBinding Style {0} for method {1} conflicts with global SOAPBinding Style {2}
*
*/
public static String RUNTIME_MODELER_SOAPBINDING_CONFLICT(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_MODELER_SOAPBINDING_CONFLICT(arg0, arg1, arg2));
}
public static Localizable localizableRUNTIME_MODELER_CANNOT_GET_SERVICE_NAME_FROM_INTERFACE(Object arg0) {
return messageFactory.getMessage("runtime.modeler.cannot.get.serviceName.from.interface", arg0);
}
/**
* The serviceName cannot be retrieved from an interface. class {0}
*
*/
public static String RUNTIME_MODELER_CANNOT_GET_SERVICE_NAME_FROM_INTERFACE(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_CANNOT_GET_SERVICE_NAME_FROM_INTERFACE(arg0));
}
public static Localizable localizableRUNTIME_MODELER_ENDPOINT_INTERFACE_NO_WEBSERVICE(Object arg0) {
return messageFactory.getMessage("runtime.modeler.endpoint.interface.no.webservice", arg0);
}
/**
* The Endpoint Interface: {0} does not have WebService Annotation
*
*/
public static String RUNTIME_MODELER_ENDPOINT_INTERFACE_NO_WEBSERVICE(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_ENDPOINT_INTERFACE_NO_WEBSERVICE(arg0));
}
public static Localizable localizableRUNTIME_MODELER_EXTERNAL_METADATA_UNSUPPORTED_SCHEMA(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.external.metadata.unsupported.schema", arg0, arg1);
}
/**
* Unsupported metadata file schema {0}. Supported schemes are {1}.
*
*/
public static String RUNTIME_MODELER_EXTERNAL_METADATA_UNSUPPORTED_SCHEMA(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_EXTERNAL_METADATA_UNSUPPORTED_SCHEMA(arg0, arg1));
}
public static Localizable localizableRUNTIMEMODELER_INVALID_SOAPBINDING_ON_METHOD(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtimemodeler.invalid.soapbindingOnMethod", arg0, arg1, arg2);
}
/**
* Invalid annotation: {0} on Method {1} in Class {2}, A method cannot be annotated with @SOAPBinding with Style "RPC"
*
*/
public static String RUNTIMEMODELER_INVALID_SOAPBINDING_ON_METHOD(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIMEMODELER_INVALID_SOAPBINDING_ON_METHOD(arg0, arg1, arg2));
}
public static Localizable localizableRUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.portname.servicename.namespace.mismatch", arg0, arg1);
}
/**
* The namespace of the serviceName "{0}" and the namespace of the portName "{1}" must match
*
*/
public static String RUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_WSFEATURE_ILLEGAL_FTRCONSTRUCTOR(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.modeler.wsfeature.illegal.ftrconstructor", arg0, arg1);
}
/**
* Annotation {0} is illegal, In {1} @FeatureConstructor value doesn't match the constructor parameters
*
*/
public static String RUNTIME_MODELER_WSFEATURE_ILLEGAL_FTRCONSTRUCTOR(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_MODELER_WSFEATURE_ILLEGAL_FTRCONSTRUCTOR(arg0, arg1));
}
public static Localizable localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATICFINAL(Object arg0) {
return messageFactory.getMessage("runtime.modeler.webmethod.must.be.nonstaticfinal", arg0);
}
/**
* @WebMethod is not allowed on a static or final method {0}
*
*/
public static String RUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATICFINAL(Object arg0) {
return localizer.localize(localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATICFINAL(arg0));
}
}

View File

@@ -0,0 +1,294 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class PolicyMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.policy");
private final static Localizer localizer = new Localizer();
public static Localizable localizableWSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL() {
return messageFactory.getMessage("WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL");
}
/**
* WSP1007: Policy exception occurred when finishing WSDL parsing.
*
*/
public static String WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL() {
return localizer.localize(localizableWSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL());
}
public static Localizable localizableWSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE() {
return messageFactory.getMessage("WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE");
}
/**
* WSP1002: Unable to marshall policy or it's reference. See original exception for more details.
*
*/
public static String WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE() {
return localizer.localize(localizableWSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE());
}
public static Localizable localizableWSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED(Object arg0, Object arg1) {
return messageFactory.getMessage("WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED", arg0, arg1);
}
/**
* WSP1015: Server side assertion validation failed for "{0}" assertion. Assertion was evaluated as "{1}".
*
*/
public static String WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED(Object arg0, Object arg1) {
return localizer.localize(localizableWSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED(arg0, arg1));
}
public static Localizable localizableWSP_1017_MAP_UPDATE_FAILED() {
return messageFactory.getMessage("WSP_1017_MAP_UPDATE_FAILED");
}
/**
* WSP1048: Policy map setup failed - exception occurred while trying to modify policy map content.
*
*/
public static String WSP_1017_MAP_UPDATE_FAILED() {
return localizer.localize(localizableWSP_1017_MAP_UPDATE_FAILED());
}
public static Localizable localizableWSP_1010_NO_POLICIES_DEFINED() {
return messageFactory.getMessage("WSP_1010_NO_POLICIES_DEFINED");
}
/**
* WSP1010: No policies defined.
*
*/
public static String WSP_1010_NO_POLICIES_DEFINED() {
return localizer.localize(localizableWSP_1010_NO_POLICIES_DEFINED());
}
public static Localizable localizableWSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL(Object arg0) {
return messageFactory.getMessage("WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL", arg0);
}
/**
* WSP1008: Not marshalling policy, wsdl subject is null for "{0}".
*
*/
public static String WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL(Object arg0) {
return localizer.localize(localizableWSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL(arg0));
}
public static Localizable localizableWSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL() {
return messageFactory.getMessage("WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL");
}
/**
* WSP1009: Policy map was null, not marshalling any policies.
*
*/
public static String WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL() {
return localizer.localize(localizableWSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL());
}
public static Localizable localizableWSP_1020_DUPLICATE_ID(Object arg0) {
return messageFactory.getMessage("WSP_1020_DUPLICATE_ID", arg0);
}
/**
* WSP1020: Found two policies in one document with the same id: "{0}".
*
*/
public static String WSP_1020_DUPLICATE_ID(Object arg0) {
return localizer.localize(localizableWSP_1020_DUPLICATE_ID(arg0));
}
public static Localizable localizableWSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME(Object arg0, Object arg1) {
return messageFactory.getMessage("WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME", arg0, arg1);
}
/**
* WSP1003: Unable to check element name for class "{0}" and WSDL name "{1}".
*
*/
public static String WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME(Object arg0, Object arg1) {
return localizer.localize(localizableWSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME(arg0, arg1));
}
public static Localizable localizableWSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT(Object arg0) {
return messageFactory.getMessage("WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT", arg0);
}
/**
* WSP1013: Exception occurred while reading policy element. Following was read so far: {0}.
*
*/
public static String WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT(Object arg0) {
return localizer.localize(localizableWSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT(arg0));
}
public static Localizable localizableWSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL() {
return messageFactory.getMessage("WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL");
}
/**
* WSP1006: Policy map extender can not be null.
*
*/
public static String WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL() {
return localizer.localize(localizableWSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL());
}
public static Localizable localizableWSP_1018_FAILED_TO_MARSHALL_POLICY(Object arg0) {
return messageFactory.getMessage("WSP_1018_FAILED_TO_MARSHALL_POLICY", arg0);
}
/**
* WSP1018: Failed to marshal policy "{0}".
*
*/
public static String WSP_1018_FAILED_TO_MARSHALL_POLICY(Object arg0) {
return localizer.localize(localizableWSP_1018_FAILED_TO_MARSHALL_POLICY(arg0));
}
public static Localizable localizableWSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST(Object arg0) {
return messageFactory.getMessage("WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST", arg0);
}
/**
* WSP1005: Failed to find policy referenced by URI "{0}".
*
*/
public static String WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST(Object arg0) {
return localizer.localize(localizableWSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST(arg0));
}
public static Localizable localizableWSP_1016_POLICY_ID_NULL_OR_DUPLICATE(Object arg0) {
return messageFactory.getMessage("WSP_1016_POLICY_ID_NULL_OR_DUPLICATE", arg0);
}
/**
* WSP1016: The policy is not added because it has no ID or a policy with the same ID was already added: {0}.
*
*/
public static String WSP_1016_POLICY_ID_NULL_OR_DUPLICATE(Object arg0) {
return localizer.localize(localizableWSP_1016_POLICY_ID_NULL_OR_DUPLICATE(arg0));
}
public static Localizable localizableWSP_1014_CAN_NOT_FIND_POLICY(Object arg0) {
return messageFactory.getMessage("WSP_1014_CAN_NOT_FIND_POLICY", arg0);
}
/**
* WSP1014: Can not find policy "{0}" that is referenced in from the WSDL. Please, check your policy references in the WSDL.
*
*/
public static String WSP_1014_CAN_NOT_FIND_POLICY(Object arg0) {
return localizer.localize(localizableWSP_1014_CAN_NOT_FIND_POLICY(arg0));
}
public static Localizable localizableWSP_1012_FAILED_CONFIGURE_WSDL_MODEL() {
return messageFactory.getMessage("WSP_1012_FAILED_CONFIGURE_WSDL_MODEL");
}
/**
* WSP1012: Failed to configure wsdl model.
*
*/
public static String WSP_1012_FAILED_CONFIGURE_WSDL_MODEL() {
return localizer.localize(localizableWSP_1012_FAILED_CONFIGURE_WSDL_MODEL());
}
public static Localizable localizableWSP_1021_FAULT_NOT_BOUND(Object arg0) {
return messageFactory.getMessage("WSP_1021_FAULT_NOT_BOUND", arg0);
}
/**
* WSP1021: Fault "{0}" not bound. Check names in port and binding definitions.
*
*/
public static String WSP_1021_FAULT_NOT_BOUND(Object arg0) {
return localizer.localize(localizableWSP_1021_FAULT_NOT_BOUND(arg0));
}
public static Localizable localizableWSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(Object arg0) {
return messageFactory.getMessage("WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT", arg0);
}
/**
* WSP1011: Failed to retrieve effective policy for subject: {0}.
*
*/
public static String WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(Object arg0) {
return localizer.localize(localizableWSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(arg0));
}
public static Localizable localizableWSP_1019_CREATE_EMPTY_POLICY_MAP() {
return messageFactory.getMessage("WSP_1019_CREATE_EMPTY_POLICY_MAP");
}
/**
* WSP1019: Failed to find any configuration file. Creating new empty policy map.
*
*/
public static String WSP_1019_CREATE_EMPTY_POLICY_MAP() {
return localizer.localize(localizableWSP_1019_CREATE_EMPTY_POLICY_MAP());
}
public static Localizable localizableWSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE() {
return messageFactory.getMessage("WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE");
}
/**
* WSP1001: XMLStreamException occurred when reading policy reference element.
*
*/
public static String WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE() {
return localizer.localize(localizableWSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE());
}
public static Localizable localizableWSP_1004_POLICY_URIS_CAN_NOT_BE_NULL() {
return messageFactory.getMessage("WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL");
}
/**
* WSP1004: Policy URIs can not be null.
*
*/
public static String WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL() {
return localizer.localize(localizableWSP_1004_POLICY_URIS_CAN_NOT_BE_NULL());
}
}

View File

@@ -0,0 +1,162 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ProviderApiMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.providerApi");
private final static Localizer localizer = new Localizer();
public static Localizable localizableNULL_ADDRESS_SERVICE_ENDPOINT() {
return messageFactory.getMessage("null.address.service.endpoint");
}
/**
* Address in an EPR cannot be null, when serviceName or portName is null
*
*/
public static String NULL_ADDRESS_SERVICE_ENDPOINT() {
return localizer.localize(localizableNULL_ADDRESS_SERVICE_ENDPOINT());
}
public static Localizable localizableNO_WSDL_NO_PORT(Object arg0) {
return messageFactory.getMessage("no.wsdl.no.port", arg0);
}
/**
* WSDL Metadata not available to create the proxy, either Service instance or ServiceEndpointInterface {0} should have WSDL information
*
*/
public static String NO_WSDL_NO_PORT(Object arg0) {
return localizer.localize(localizableNO_WSDL_NO_PORT(arg0));
}
public static Localizable localizableNULL_SERVICE() {
return messageFactory.getMessage("null.service");
}
/**
* serviceName can't be null when portName is specified
*
*/
public static String NULL_SERVICE() {
return localizer.localize(localizableNULL_SERVICE());
}
public static Localizable localizableNULL_ADDRESS() {
return messageFactory.getMessage("null.address");
}
/**
* Address in an EPR cannot be null
*
*/
public static String NULL_ADDRESS() {
return localizer.localize(localizableNULL_ADDRESS());
}
public static Localizable localizableNULL_PORTNAME() {
return messageFactory.getMessage("null.portname");
}
/**
* EPR doesn't have EndpointName in the Metadata
*
*/
public static String NULL_PORTNAME() {
return localizer.localize(localizableNULL_PORTNAME());
}
public static Localizable localizableNOTFOUND_SERVICE_IN_WSDL(Object arg0, Object arg1) {
return messageFactory.getMessage("notfound.service.in.wsdl", arg0, arg1);
}
/**
* Service: {0} not found in WSDL: {1}
*
*/
public static String NOTFOUND_SERVICE_IN_WSDL(Object arg0, Object arg1) {
return localizer.localize(localizableNOTFOUND_SERVICE_IN_WSDL(arg0, arg1));
}
public static Localizable localizableNULL_EPR() {
return messageFactory.getMessage("null.epr");
}
/**
* EndpointReference is null
*
*/
public static String NULL_EPR() {
return localizer.localize(localizableNULL_EPR());
}
public static Localizable localizableNULL_WSDL() {
return messageFactory.getMessage("null.wsdl");
}
/**
* EPR doesn't have WSDL Metadata which is needed for the current operation
*
*/
public static String NULL_WSDL() {
return localizer.localize(localizableNULL_WSDL());
}
public static Localizable localizableNOTFOUND_PORT_IN_WSDL(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("notfound.port.in.wsdl", arg0, arg1, arg2);
}
/**
* Port: {0} not a valid port in Service: {1} in WSDL: {2}
*
*/
public static String NOTFOUND_PORT_IN_WSDL(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableNOTFOUND_PORT_IN_WSDL(arg0, arg1, arg2));
}
public static Localizable localizableERROR_WSDL(Object arg0) {
return messageFactory.getMessage("error.wsdl", arg0);
}
/**
* Error in parsing WSDL: {0}
*
*/
public static String ERROR_WSDL(Object arg0) {
return localizer.localize(localizableERROR_WSDL(arg0));
}
}

View File

@@ -0,0 +1,90 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class SenderMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.sender");
private final static Localizer localizer = new Localizer();
public static Localizable localizableSENDER_REQUEST_ILLEGAL_VALUE_FOR_CONTENT_NEGOTIATION(Object arg0) {
return messageFactory.getMessage("sender.request.illegalValueForContentNegotiation", arg0);
}
/**
* illegal value for content negotiation property "{0}"
*
*/
public static String SENDER_REQUEST_ILLEGAL_VALUE_FOR_CONTENT_NEGOTIATION(Object arg0) {
return localizer.localize(localizableSENDER_REQUEST_ILLEGAL_VALUE_FOR_CONTENT_NEGOTIATION(arg0));
}
public static Localizable localizableSENDER_RESPONSE_CANNOT_DECODE_FAULT_DETAIL() {
return messageFactory.getMessage("sender.response.cannotDecodeFaultDetail");
}
/**
* fault detail cannot be decoded
*
*/
public static String SENDER_RESPONSE_CANNOT_DECODE_FAULT_DETAIL() {
return localizer.localize(localizableSENDER_RESPONSE_CANNOT_DECODE_FAULT_DETAIL());
}
public static Localizable localizableSENDER_NESTED_ERROR(Object arg0) {
return messageFactory.getMessage("sender.nestedError", arg0);
}
/**
* sender error: {0}
*
*/
public static String SENDER_NESTED_ERROR(Object arg0) {
return localizer.localize(localizableSENDER_NESTED_ERROR(arg0));
}
public static Localizable localizableSENDER_REQUEST_MESSAGE_NOT_READY() {
return messageFactory.getMessage("sender.request.messageNotReady");
}
/**
* message not ready to be sent
*
*/
public static String SENDER_REQUEST_MESSAGE_NOT_READY() {
return localizer.localize(localizableSENDER_REQUEST_MESSAGE_NOT_READY());
}
}

View File

@@ -0,0 +1,731 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ServerMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.server");
private final static Localizer localizer = new Localizer();
public static Localizable localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICE(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.parser.wsdl.incorrectservice", arg0, arg1);
}
/**
* could not get binding from WSDL! service: {0} not found in the WSDL {1}.
* It could be because service name does not match WSDL''s wsdl:service name:
* 1. service name is not there in deployment descriptor OR
* 2. Either there is a typo in deployment descriptor''s service name OR
* 3. The computed names from @WebService do not match wsdl:service name
* OR
* 1. There is an error while parsing the wsdl and Service with name {0} is not found in the WSDLModel.
* Suggest doing the following:
* 1. Add/Correct entries for service name in deployment descriptor OR
* 2. Specify targetNamespace, serviceName in @WebService on the endpoint class
*
*/
public static String RUNTIME_PARSER_WSDL_INCORRECTSERVICE(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICE(arg0, arg1));
}
public static Localizable localizableRUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE() {
return messageFactory.getMessage("runtime.parser.missing.attribute.no.line");
}
/**
* missing attribute "{2}" in element "{1}" of runtime descriptor
*
*/
public static String RUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE() {
return localizer.localize(localizableRUNTIME_PARSER_MISSING_ATTRIBUTE_NO_LINE());
}
public static Localizable localizableSTATEFUL_COOKIE_HEADER_INCORRECT(Object arg0, Object arg1) {
return messageFactory.getMessage("stateful.cookie.header.incorrect", arg0, arg1);
}
/**
* Invalid/expired {0} header value: {1}
*
*/
public static String STATEFUL_COOKIE_HEADER_INCORRECT(Object arg0, Object arg1) {
return localizer.localize(localizableSTATEFUL_COOKIE_HEADER_INCORRECT(arg0, arg1));
}
public static Localizable localizableNOT_IMPLEMENT_PROVIDER(Object arg0) {
return messageFactory.getMessage("not.implement.provider", arg0);
}
/**
* "{0}" doesn't implement Provider
*
*/
public static String NOT_IMPLEMENT_PROVIDER(Object arg0) {
return localizer.localize(localizableNOT_IMPLEMENT_PROVIDER(arg0));
}
public static Localizable localizableSTATEFUL_REQURES_ADDRESSING(Object arg0) {
return messageFactory.getMessage("stateful.requres.addressing", arg0);
}
/**
* Stateful web service {0} requires the WS-Addressing support to be enabled. Perhaps you are missing @Addressing
*
*/
public static String STATEFUL_REQURES_ADDRESSING(Object arg0) {
return localizer.localize(localizableSTATEFUL_REQURES_ADDRESSING(arg0));
}
public static Localizable localizableSOAPDECODER_ERR() {
return messageFactory.getMessage("soapdecoder.err");
}
/**
* Error in decoding SOAP Message
*
*/
public static String SOAPDECODER_ERR() {
return localizer.localize(localizableSOAPDECODER_ERR());
}
public static Localizable localizableGENERATE_NON_STANDARD_WSDL() {
return messageFactory.getMessage("generate.non.standard.wsdl");
}
/**
* Generating non-standard WSDL for the specified binding
*
*/
public static String GENERATE_NON_STANDARD_WSDL() {
return localizer.localize(localizableGENERATE_NON_STANDARD_WSDL());
}
public static Localizable localizableDISPATCH_CANNOT_FIND_METHOD(Object arg0) {
return messageFactory.getMessage("dispatch.cannotFindMethod", arg0);
}
/**
* Cannot find dispatch method for {0}
*
*/
public static String DISPATCH_CANNOT_FIND_METHOD(Object arg0) {
return localizer.localize(localizableDISPATCH_CANNOT_FIND_METHOD(arg0));
}
public static Localizable localizableNO_CONTENT_TYPE() {
return messageFactory.getMessage("no.contentType");
}
/**
* Request doesn't have a Content-Type
*
*/
public static String NO_CONTENT_TYPE() {
return localizer.localize(localizableNO_CONTENT_TYPE());
}
public static Localizable localizableRUNTIME_PARSER_INVALID_VERSION_NUMBER() {
return messageFactory.getMessage("runtime.parser.invalidVersionNumber");
}
/**
* unsupported runtime descriptor version: {2}
*
*/
public static String RUNTIME_PARSER_INVALID_VERSION_NUMBER() {
return localizer.localize(localizableRUNTIME_PARSER_INVALID_VERSION_NUMBER());
}
public static Localizable localizablePROVIDER_INVALID_PARAMETER_TYPE(Object arg0, Object arg1) {
return messageFactory.getMessage("provider.invalid.parameterType", arg0, arg1);
}
/**
* "{0}" implements Provider but its type parameter {1} is incorrect
*
*/
public static String PROVIDER_INVALID_PARAMETER_TYPE(Object arg0, Object arg1) {
return localizer.localize(localizablePROVIDER_INVALID_PARAMETER_TYPE(arg0, arg1));
}
public static Localizable localizableWRONG_NO_PARAMETERS(Object arg0) {
return messageFactory.getMessage("wrong.no.parameters", arg0);
}
/**
* Incorrect no of arguments for method "{0}"
*
*/
public static String WRONG_NO_PARAMETERS(Object arg0) {
return localizer.localize(localizableWRONG_NO_PARAMETERS(arg0));
}
public static Localizable localizableANNOTATION_ONLY_ONCE(Object arg0) {
return messageFactory.getMessage("annotation.only.once", arg0);
}
/**
* Only one method should have the annotation "{0}"
*
*/
public static String ANNOTATION_ONLY_ONCE(Object arg0) {
return localizer.localize(localizableANNOTATION_ONLY_ONCE(arg0));
}
public static Localizable localizableALREADY_HTTPS_SERVER(Object arg0) {
return messageFactory.getMessage("already.https.server", arg0);
}
/**
* There is already a HTTPS server at : {0}
*
*/
public static String ALREADY_HTTPS_SERVER(Object arg0) {
return localizer.localize(localizableALREADY_HTTPS_SERVER(arg0));
}
public static Localizable localizableRUNTIME_PARSER_XML_READER(Object arg0) {
return messageFactory.getMessage("runtime.parser.xmlReader", arg0);
}
/**
* error parsing runtime descriptor: {0}
*
*/
public static String RUNTIME_PARSER_XML_READER(Object arg0) {
return localizer.localize(localizableRUNTIME_PARSER_XML_READER(arg0));
}
public static Localizable localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.parser.wsdl.incorrectserviceport", arg0, arg1, arg2);
}
/**
* could not get binding from WSDL! service: {0} or port {1} not found in the WSDL {2}.
* It could be because service and port names do not match WSDL''s wsdl:service and wsdl:port names:
* 1. service and port names are not there in deployment descriptor OR
* 2. Either there is a typo in deployment descriptor''s service and port names OR
* 3. The computed names from @WebService do not match wsdl:service and wsdl:port names
* Suggest doing the following:
* 1. Add/Correct entries for service and port names in deployment descriptor OR
* 2. Specify targetNamespace, serviceName, portName in @WebService on the endpoint class
*
*/
public static String RUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(arg0, arg1, arg2));
}
public static Localizable localizableSERVER_RT_ERR(Object arg0) {
return messageFactory.getMessage("server.rt.err", arg0);
}
/**
* Server Runtime Error: {0}
*
*/
public static String SERVER_RT_ERR(Object arg0) {
return localizer.localize(localizableSERVER_RT_ERR(arg0));
}
public static Localizable localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.parser.invalidAttributeValue", arg0, arg1, arg2);
}
/**
* invalid value for attribute "{2}" of element "{1}" in runtime descriptor (line {0})
*
*/
public static String RUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(arg0, arg1, arg2));
}
public static Localizable localizableNO_CURRENT_PACKET() {
return messageFactory.getMessage("no.current.packet");
}
/**
* This thread is not currently processing any web service request.
*
*/
public static String NO_CURRENT_PACKET() {
return localizer.localize(localizableNO_CURRENT_PACKET());
}
public static Localizable localizableRUNTIME_PARSER_UNEXPECTED_CONTENT(Object arg0) {
return messageFactory.getMessage("runtime.parser.unexpectedContent", arg0);
}
/**
* unexpected content in runtime descriptor (line {0})
*
*/
public static String RUNTIME_PARSER_UNEXPECTED_CONTENT(Object arg0) {
return localizer.localize(localizableRUNTIME_PARSER_UNEXPECTED_CONTENT(arg0));
}
public static Localizable localizableSTATEFUL_COOKIE_HEADER_REQUIRED(Object arg0) {
return messageFactory.getMessage("stateful.cookie.header.required", arg0);
}
/**
* This is a stateful web service and {0} header is required.
*
*/
public static String STATEFUL_COOKIE_HEADER_REQUIRED(Object arg0) {
return localizer.localize(localizableSTATEFUL_COOKIE_HEADER_REQUIRED(arg0));
}
public static Localizable localizableNULL_IMPLEMENTOR() {
return messageFactory.getMessage("null.implementor");
}
/**
* Implementor cannot be null
*
*/
public static String NULL_IMPLEMENTOR() {
return localizer.localize(localizableNULL_IMPLEMENTOR());
}
public static Localizable localizableRUNTIME_PARSER_WSDL(Object arg0) {
return messageFactory.getMessage("runtime.parser.wsdl", arg0);
}
/**
* exception during WSDL parsing: {0}
*
*/
public static String RUNTIME_PARSER_WSDL(Object arg0) {
return localizer.localize(localizableRUNTIME_PARSER_WSDL(arg0));
}
public static Localizable localizableSOAPENCODER_ERR() {
return messageFactory.getMessage("soapencoder.err");
}
/**
* Error in encoding SOAP Message
*
*/
public static String SOAPENCODER_ERR() {
return localizer.localize(localizableSOAPENCODER_ERR());
}
public static Localizable localizableWSDL_REQUIRED() {
return messageFactory.getMessage("wsdl.required");
}
/**
* wsdl is required
*
*/
public static String WSDL_REQUIRED() {
return localizer.localize(localizableWSDL_REQUIRED());
}
public static Localizable localizableRUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(Object arg0) {
return messageFactory.getMessage("runtime.parser.wsdl.noservice.in.wsdlmodel", arg0);
}
/**
* There is an error in processing the WSDL {0} and no valid services are found.
*
*/
public static String RUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(Object arg0) {
return localizer.localize(localizableRUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(arg0));
}
public static Localizable localizablePORT_NAME_REQUIRED() {
return messageFactory.getMessage("port.name.required");
}
/**
* Port QName is not found
*
*/
public static String PORT_NAME_REQUIRED() {
return localizer.localize(localizablePORT_NAME_REQUIRED());
}
public static Localizable localizableWRONG_TNS_FOR_PORT(Object arg0) {
return messageFactory.getMessage("wrong.tns.for.port", arg0);
}
/**
* Port namespace {0} doesn't match Service namespace {1}
*
*/
public static String WRONG_TNS_FOR_PORT(Object arg0) {
return localizer.localize(localizableWRONG_TNS_FOR_PORT(arg0));
}
public static Localizable localizableRUNTIME_PARSER_WSDL_MULTIPLEBINDING(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.parser.wsdl.multiplebinding", arg0, arg1, arg2);
}
/**
* multiple bindings found for binding ID {0} for service {1} in WSDL {2}
*
*/
public static String RUNTIME_PARSER_WSDL_MULTIPLEBINDING(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_PARSER_WSDL_MULTIPLEBINDING(arg0, arg1, arg2));
}
public static Localizable localizableNOT_KNOW_HTTP_CONTEXT_TYPE(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("not.know.HttpContext.type", arg0, arg1, arg2);
}
/**
* Doesn''t support Endpoint.publish({0}). Known context types are {1}, and {2}
*
*/
public static String NOT_KNOW_HTTP_CONTEXT_TYPE(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableNOT_KNOW_HTTP_CONTEXT_TYPE(arg0, arg1, arg2));
}
public static Localizable localizableNON_UNIQUE_DISPATCH_QNAME(Object arg0, Object arg1) {
return messageFactory.getMessage("non.unique.dispatch.qname", arg0, arg1);
}
/**
* Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signature on the wire for successful dispatch. Methods {0} have the same request body block {1}. Method dispatching may fail, runtime will try to dispatch using SOAPAction. Another option is to enable AddressingFeature to enabled runtime to uniquely identify WSDL operation using wsa:Action header.
*
*/
public static String NON_UNIQUE_DISPATCH_QNAME(Object arg0, Object arg1) {
return localizer.localize(localizableNON_UNIQUE_DISPATCH_QNAME(arg0, arg1));
}
public static Localizable localizableALREADY_HTTP_SERVER(Object arg0) {
return messageFactory.getMessage("already.http.server", arg0);
}
/**
* There is already a HTTP server at : {0}# {0} - probably URL/port of a server
*
*/
public static String ALREADY_HTTP_SERVER(Object arg0) {
return localizer.localize(localizableALREADY_HTTP_SERVER(arg0));
}
public static Localizable localizableCAN_NOT_GENERATE_WSDL(Object arg0) {
return messageFactory.getMessage("can.not.generate.wsdl", arg0);
}
/**
* Cannot generate WSDL for binding "{0}"
*
*/
public static String CAN_NOT_GENERATE_WSDL(Object arg0) {
return localizer.localize(localizableCAN_NOT_GENERATE_WSDL(arg0));
}
public static Localizable localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.parser.invalid.attribute.value", arg0, arg1);
}
/**
* invalid attribute value "{1}" in runtime descriptor (line {0})
*
*/
public static String RUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_PARSER_INVALID_ATTRIBUTE_VALUE(arg0, arg1));
}
public static Localizable localizableRUNTIME_PARSER_WRONG_ELEMENT(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.parser.wrong.element", arg0, arg1, arg2);
}
/**
* found element "{1}", expected "{2}" in runtime descriptor (line {0})
*
*/
public static String RUNTIME_PARSER_WRONG_ELEMENT(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_PARSER_WRONG_ELEMENT(arg0, arg1, arg2));
}
public static Localizable localizableRUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtimemodeler.invalidannotationOnImpl", arg0, arg1, arg2);
}
/**
* Invalid annotation: {0} on endpoint implementation class "{1}" - will be ignored. "{1}" is annotated with @WebService(endpointInterface="{2}"}, it must not be annotated with {0}, to fix it - put this annotation on the SEI {2}.
*
*/
public static String RUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIMEMODELER_INVALIDANNOTATION_ON_IMPL(arg0, arg1, arg2));
}
public static Localizable localizableSERVICE_NAME_REQUIRED() {
return messageFactory.getMessage("service.name.required");
}
/**
* Service QName is not found
*
*/
public static String SERVICE_NAME_REQUIRED() {
return localizer.localize(localizableSERVICE_NAME_REQUIRED());
}
public static Localizable localizablePROVIDER_NOT_PARAMETERIZED(Object arg0) {
return messageFactory.getMessage("provider.not.parameterized", arg0);
}
/**
* "{0}" implements Provider but doesn't specify the type parameter
*
*/
public static String PROVIDER_NOT_PARAMETERIZED(Object arg0) {
return localizer.localize(localizablePROVIDER_NOT_PARAMETERIZED(arg0));
}
public static Localizable localizableRUNTIME_WSDL_PATCHER() {
return messageFactory.getMessage("runtime.wsdl.patcher");
}
/**
* error while patching WSDL related document
*
*/
public static String RUNTIME_WSDL_PATCHER() {
return localizer.localize(localizableRUNTIME_WSDL_PATCHER());
}
public static Localizable localizableRUNTIME_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.saxparser.exception", arg0, arg1);
}
/**
* {0}
* {1}
*
*/
public static String RUNTIME_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_SAXPARSER_EXCEPTION(arg0, arg1));
}
public static Localizable localizableWRONG_PARAMETER_TYPE(Object arg0) {
return messageFactory.getMessage("wrong.parameter.type", arg0);
}
/**
* Incorrect argument types for method "{0}"
*
*/
public static String WRONG_PARAMETER_TYPE(Object arg0) {
return localizer.localize(localizableWRONG_PARAMETER_TYPE(arg0));
}
public static Localizable localizableRUNTIME_PARSER_WSDL_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("runtime.parser.wsdl.not.found", arg0);
}
/**
* {0} is not found in the WAR file. Package it in the WAR file or correct it in sun-jaxws.xml.
*
*/
public static String RUNTIME_PARSER_WSDL_NOT_FOUND(Object arg0) {
return localizer.localize(localizableRUNTIME_PARSER_WSDL_NOT_FOUND(arg0));
}
public static Localizable localizableRUNTIME_PARSER_CLASS_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("runtime.parser.classNotFound", arg0);
}
/**
* class not found in runtime descriptor: {0}
*
*/
public static String RUNTIME_PARSER_CLASS_NOT_FOUND(Object arg0) {
return localizer.localize(localizableRUNTIME_PARSER_CLASS_NOT_FOUND(arg0));
}
public static Localizable localizableUNSUPPORTED_CHARSET(Object arg0) {
return messageFactory.getMessage("unsupported.charset", arg0);
}
/**
* Unsupported charset "{0}" in the received message''s Content-Type
*
*/
public static String UNSUPPORTED_CHARSET(Object arg0) {
return localizer.localize(localizableUNSUPPORTED_CHARSET(arg0));
}
public static Localizable localizableSTATIC_RESOURCE_INJECTION_ONLY(Object arg0, Object arg1) {
return messageFactory.getMessage("static.resource.injection.only", arg0, arg1);
}
/**
* Static resource {0} cannot be injected to non-static "{1}"
*
*/
public static String STATIC_RESOURCE_INJECTION_ONLY(Object arg0, Object arg1) {
return localizer.localize(localizableSTATIC_RESOURCE_INJECTION_ONLY(arg0, arg1));
}
public static Localizable localizableNOT_ZERO_PARAMETERS(Object arg0) {
return messageFactory.getMessage("not.zero.parameters", arg0);
}
/**
* Method "{0}" shouldn''t have any arguments
*
*/
public static String NOT_ZERO_PARAMETERS(Object arg0) {
return localizer.localize(localizableNOT_ZERO_PARAMETERS(arg0));
}
public static Localizable localizableDUPLICATE_PRIMARY_WSDL(Object arg0) {
return messageFactory.getMessage("duplicate.primary.wsdl", arg0);
}
/**
* Metadata has more than one WSDL that has Service definition for the endpoint. WSDL={0} is one such WSDL.
*
*/
public static String DUPLICATE_PRIMARY_WSDL(Object arg0) {
return localizer.localize(localizableDUPLICATE_PRIMARY_WSDL(arg0));
}
public static Localizable localizableDUPLICATE_ABSTRACT_WSDL(Object arg0) {
return messageFactory.getMessage("duplicate.abstract.wsdl", arg0);
}
/**
* Metadata has more than one WSDL that has PortType definition for the endpoint. WSDL={0} is one such WSDL.
*
*/
public static String DUPLICATE_ABSTRACT_WSDL(Object arg0) {
return localizer.localize(localizableDUPLICATE_ABSTRACT_WSDL(arg0));
}
public static Localizable localizableSTATEFUL_INVALID_WEBSERVICE_CONTEXT(Object arg0) {
return messageFactory.getMessage("stateful.invalid.webservice.context", arg0);
}
/**
* Not a WebServiceContext from JAX-WS RI: {0}
*
*/
public static String STATEFUL_INVALID_WEBSERVICE_CONTEXT(Object arg0) {
return localizer.localize(localizableSTATEFUL_INVALID_WEBSERVICE_CONTEXT(arg0));
}
public static Localizable localizableRUNTIME_PARSER_INVALID_ELEMENT(Object arg0, Object arg1) {
return messageFactory.getMessage("runtime.parser.invalidElement", arg0, arg1);
}
/**
* invalid element "{1}" in runtime descriptor (line {0})
*
*/
public static String RUNTIME_PARSER_INVALID_ELEMENT(Object arg0, Object arg1) {
return localizer.localize(localizableRUNTIME_PARSER_INVALID_ELEMENT(arg0, arg1));
}
public static Localizable localizableRUNTIME_PARSER_MISSING_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("runtime.parser.missing.attribute", arg0, arg1, arg2);
}
/**
* missing attribute "{2}" in element "{1}" of runtime descriptor (line {0})
*
*/
public static String RUNTIME_PARSER_MISSING_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableRUNTIME_PARSER_MISSING_ATTRIBUTE(arg0, arg1, arg2));
}
public static Localizable localizableWRONG_FIELD_TYPE(Object arg0) {
return messageFactory.getMessage("wrong.field.type", arg0);
}
/**
* Incorrect type for field "{0}"
*
*/
public static String WRONG_FIELD_TYPE(Object arg0) {
return localizer.localize(localizableWRONG_FIELD_TYPE(arg0));
}
public static Localizable localizableDUPLICATE_PORT_KNOWN_HEADER(Object arg0) {
return messageFactory.getMessage("duplicate.portKnownHeader", arg0);
}
/**
* Received SOAP message contains duplicate header: {0} for a bound parameter
*
*/
public static String DUPLICATE_PORT_KNOWN_HEADER(Object arg0) {
return localizer.localize(localizableDUPLICATE_PORT_KNOWN_HEADER(arg0));
}
public static Localizable localizableUNSUPPORTED_CONTENT_TYPE(Object arg0, Object arg1) {
return messageFactory.getMessage("unsupported.contentType", arg0, arg1);
}
/**
* Unsupported Content-Type: {0} Supported ones are: {1}
*
*/
public static String UNSUPPORTED_CONTENT_TYPE(Object arg0, Object arg1) {
return localizer.localize(localizableUNSUPPORTED_CONTENT_TYPE(arg0, arg1));
}
public static Localizable localizableFAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("failed.to.instantiate.instanceResolver", arg0, arg1, arg2);
}
/**
* Unable to instantiate {0} (which is specified in {1} on {2})
*
*/
public static String FAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableFAILED_TO_INSTANTIATE_INSTANCE_RESOLVER(arg0, arg1, arg2));
}
public static Localizable localizableDD_MTOM_CONFLICT(Object arg0, Object arg1) {
return messageFactory.getMessage("dd.mtom.conflict", arg0, arg1);
}
/**
* Error in Deployment Descriptor : MTOM Configuration in binding {0} conflicts with enable-mtom attribute value {1}
*
*/
public static String DD_MTOM_CONFLICT(Object arg0, Object arg1) {
return localizer.localize(localizableDD_MTOM_CONFLICT(arg0, arg1));
}
}

View File

@@ -0,0 +1,114 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class SoapMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.soap");
private final static Localizer localizer = new Localizer();
public static Localizable localizableSOAP_FAULT_CREATE_ERR(Object arg0) {
return messageFactory.getMessage("soap.fault.create.err", arg0);
}
/**
* Couldn''t create SOAP Fault due to exception: {0}
*
*/
public static String SOAP_FAULT_CREATE_ERR(Object arg0) {
return localizer.localize(localizableSOAP_FAULT_CREATE_ERR(arg0));
}
public static Localizable localizableSOAP_MSG_FACTORY_CREATE_ERR(Object arg0) {
return messageFactory.getMessage("soap.msg.factory.create.err", arg0);
}
/**
* Couldn''t create SOAP message factory due to exception: {0}
*
*/
public static String SOAP_MSG_FACTORY_CREATE_ERR(Object arg0) {
return localizer.localize(localizableSOAP_MSG_FACTORY_CREATE_ERR(arg0));
}
public static Localizable localizableSOAP_MSG_CREATE_ERR(Object arg0) {
return messageFactory.getMessage("soap.msg.create.err", arg0);
}
/**
* Couldn''t create SOAP message due to exception: {0}
*
*/
public static String SOAP_MSG_CREATE_ERR(Object arg0) {
return localizer.localize(localizableSOAP_MSG_CREATE_ERR(arg0));
}
public static Localizable localizableSOAP_FACTORY_CREATE_ERR(Object arg0) {
return messageFactory.getMessage("soap.factory.create.err", arg0);
}
/**
* Couldn''t create SOAP factory due to exception: {0}
*
*/
public static String SOAP_FACTORY_CREATE_ERR(Object arg0) {
return localizer.localize(localizableSOAP_FACTORY_CREATE_ERR(arg0));
}
public static Localizable localizableSOAP_PROTOCOL_INVALID_FAULT_CODE(Object arg0) {
return messageFactory.getMessage("soap.protocol.invalidFaultCode", arg0);
}
/**
* Invalid fault code: {0}
*
*/
public static String SOAP_PROTOCOL_INVALID_FAULT_CODE(Object arg0) {
return localizer.localize(localizableSOAP_PROTOCOL_INVALID_FAULT_CODE(arg0));
}
public static Localizable localizableSOAP_VERSION_MISMATCH_ERR(Object arg0, Object arg1) {
return messageFactory.getMessage("soap.version.mismatch.err", arg0, arg1);
}
/**
* Couldn''t create SOAP message. Expecting Envelope in namespace {0}, but got {1}
*
*/
public static String SOAP_VERSION_MISMATCH_ERR(Object arg0, Object arg1) {
return localizer.localize(localizableSOAP_VERSION_MISMATCH_ERR(arg0, arg1));
}
}

View File

@@ -0,0 +1,306 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class StreamingMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.streaming");
private final static Localizer localizer = new Localizer();
public static Localizable localizableFASTINFOSET_DECODING_NOT_ACCEPTED() {
return messageFactory.getMessage("fastinfoset.decodingNotAccepted");
}
/**
* Fast Infoset decoding is not accepted
*
*/
public static String FASTINFOSET_DECODING_NOT_ACCEPTED() {
return localizer.localize(localizableFASTINFOSET_DECODING_NOT_ACCEPTED());
}
public static Localizable localizableSTAX_CANT_CREATE() {
return messageFactory.getMessage("stax.cantCreate");
}
/**
* Unable to create StAX reader or writer
*
*/
public static String STAX_CANT_CREATE() {
return localizer.localize(localizableSTAX_CANT_CREATE());
}
public static Localizable localizableSTREAMING_IO_EXCEPTION(Object arg0) {
return messageFactory.getMessage("streaming.ioException", arg0);
}
/**
* XML parsing error: {0}
*
*/
public static String STREAMING_IO_EXCEPTION(Object arg0) {
return localizer.localize(localizableSTREAMING_IO_EXCEPTION(arg0));
}
public static Localizable localizableSOURCEREADER_INVALID_SOURCE(Object arg0) {
return messageFactory.getMessage("sourcereader.invalidSource", arg0);
}
/**
* Unable to create reader from source "{0}"
*
*/
public static String SOURCEREADER_INVALID_SOURCE(Object arg0) {
return localizer.localize(localizableSOURCEREADER_INVALID_SOURCE(arg0));
}
public static Localizable localizableXMLREADER_UNEXPECTED_STATE(Object arg0, Object arg1) {
return messageFactory.getMessage("xmlreader.unexpectedState", arg0, arg1);
}
/**
* unexpected XML reader state. expected: {0} but found: {1}
*
*/
public static String XMLREADER_UNEXPECTED_STATE(Object arg0, Object arg1) {
return localizer.localize(localizableXMLREADER_UNEXPECTED_STATE(arg0, arg1));
}
public static Localizable localizableWOODSTOX_CANT_LOAD(Object arg0) {
return messageFactory.getMessage("woodstox.cant.load", arg0);
}
/**
* Unable to load Woodstox class {0}
*
*/
public static String WOODSTOX_CANT_LOAD(Object arg0) {
return localizer.localize(localizableWOODSTOX_CANT_LOAD(arg0));
}
public static Localizable localizableXMLREADER_IO_EXCEPTION(Object arg0) {
return messageFactory.getMessage("xmlreader.ioException", arg0);
}
/**
* XML reader error: {0}
*
*/
public static String XMLREADER_IO_EXCEPTION(Object arg0) {
return localizer.localize(localizableXMLREADER_IO_EXCEPTION(arg0));
}
public static Localizable localizableFASTINFOSET_NO_IMPLEMENTATION() {
return messageFactory.getMessage("fastinfoset.noImplementation");
}
/**
* Unable to locate compatible implementation of Fast Infoset in classpath
*
*/
public static String FASTINFOSET_NO_IMPLEMENTATION() {
return localizer.localize(localizableFASTINFOSET_NO_IMPLEMENTATION());
}
public static Localizable localizableINVALID_PROPERTY_VALUE_INTEGER(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("invalid.property.value.integer", arg0, arg1, arg2);
}
/**
* Ignoring system property "{0}" as value "{1}" is invalid, property value must be a valid integer. Using default value "{2}".
*
*/
public static String INVALID_PROPERTY_VALUE_INTEGER(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableINVALID_PROPERTY_VALUE_INTEGER(arg0, arg1, arg2));
}
public static Localizable localizableXMLWRITER_IO_EXCEPTION(Object arg0) {
return messageFactory.getMessage("xmlwriter.ioException", arg0);
}
/**
* XML writer error: {0}
*
*/
public static String XMLWRITER_IO_EXCEPTION(Object arg0) {
return localizer.localize(localizableXMLWRITER_IO_EXCEPTION(arg0));
}
public static Localizable localizableXMLREADER_UNEXPECTED_CHARACTER_CONTENT(Object arg0) {
return messageFactory.getMessage("xmlreader.unexpectedCharacterContent", arg0);
}
/**
* XML reader error: unexpected character content: "{0}"
*
*/
public static String XMLREADER_UNEXPECTED_CHARACTER_CONTENT(Object arg0) {
return localizer.localize(localizableXMLREADER_UNEXPECTED_CHARACTER_CONTENT(arg0));
}
public static Localizable localizableSTREAMING_PARSE_EXCEPTION(Object arg0) {
return messageFactory.getMessage("streaming.parseException", arg0);
}
/**
* XML parsing error: {0}
*
*/
public static String STREAMING_PARSE_EXCEPTION(Object arg0) {
return localizer.localize(localizableSTREAMING_PARSE_EXCEPTION(arg0));
}
public static Localizable localizableXMLWRITER_NO_PREFIX_FOR_URI(Object arg0) {
return messageFactory.getMessage("xmlwriter.noPrefixForURI", arg0);
}
/**
* XML writer error: no prefix for URI: "{0}"
*
*/
public static String XMLWRITER_NO_PREFIX_FOR_URI(Object arg0) {
return localizer.localize(localizableXMLWRITER_NO_PREFIX_FOR_URI(arg0));
}
public static Localizable localizableXMLREADER_NESTED_ERROR(Object arg0) {
return messageFactory.getMessage("xmlreader.nestedError", arg0);
}
/**
* XML reader error: {0}
*
*/
public static String XMLREADER_NESTED_ERROR(Object arg0) {
return localizer.localize(localizableXMLREADER_NESTED_ERROR(arg0));
}
public static Localizable localizableINVALID_PROPERTY_VALUE_LONG(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("invalid.property.value.long", arg0, arg1, arg2);
}
/**
* Ignoring system property "{0}" as value "{1}" is invalid, property value must be a valid long. Using default value "{2}".
*
*/
public static String INVALID_PROPERTY_VALUE_LONG(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableINVALID_PROPERTY_VALUE_LONG(arg0, arg1, arg2));
}
public static Localizable localizableSTAXREADER_XMLSTREAMEXCEPTION(Object arg0) {
return messageFactory.getMessage("staxreader.xmlstreamexception", arg0);
}
/**
* XML stream reader exception: {0}
*
*/
public static String STAXREADER_XMLSTREAMEXCEPTION(Object arg0) {
return localizer.localize(localizableSTAXREADER_XMLSTREAMEXCEPTION(arg0));
}
public static Localizable localizableXMLWRITER_NESTED_ERROR(Object arg0) {
return messageFactory.getMessage("xmlwriter.nestedError", arg0);
}
/**
* XML writer error: {0}
*
*/
public static String XMLWRITER_NESTED_ERROR(Object arg0) {
return localizer.localize(localizableXMLWRITER_NESTED_ERROR(arg0));
}
public static Localizable localizableXMLREADER_ILLEGAL_STATE_ENCOUNTERED(Object arg0) {
return messageFactory.getMessage("xmlreader.illegalStateEncountered", arg0);
}
/**
* XML reader internal error: illegal state ({0})
*
*/
public static String XMLREADER_ILLEGAL_STATE_ENCOUNTERED(Object arg0) {
return localizer.localize(localizableXMLREADER_ILLEGAL_STATE_ENCOUNTERED(arg0));
}
public static Localizable localizableXMLREADER_UNEXPECTED_STATE_TAG(Object arg0, Object arg1) {
return messageFactory.getMessage("xmlreader.unexpectedState.tag", arg0, arg1);
}
/**
* unexpected XML tag. expected: {0} but found: {1}
*
*/
public static String XMLREADER_UNEXPECTED_STATE_TAG(Object arg0, Object arg1) {
return localizer.localize(localizableXMLREADER_UNEXPECTED_STATE_TAG(arg0, arg1));
}
public static Localizable localizableXMLREADER_UNEXPECTED_STATE_MESSAGE(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("xmlreader.unexpectedState.message", arg0, arg1, arg2);
}
/**
* unexpected XML reader state. expected: {0} but found: {1}. {2}
*
*/
public static String XMLREADER_UNEXPECTED_STATE_MESSAGE(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableXMLREADER_UNEXPECTED_STATE_MESSAGE(arg0, arg1, arg2));
}
public static Localizable localizableXMLREADER_PARSE_EXCEPTION(Object arg0) {
return messageFactory.getMessage("xmlreader.parseException", arg0);
}
/**
* XML parsing error: {0}
*
*/
public static String XMLREADER_PARSE_EXCEPTION(Object arg0) {
return localizer.localize(localizableXMLREADER_PARSE_EXCEPTION(arg0));
}
public static Localizable localizableXMLRECORDER_RECORDING_ENDED() {
return messageFactory.getMessage("xmlrecorder.recording.ended");
}
/**
* no more recorded elements available
*
*/
public static String XMLRECORDER_RECORDING_ENDED() {
return localizer.localize(localizableXMLRECORDER_RECORDING_ENDED());
}
}

View File

@@ -0,0 +1,282 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class TubelineassemblyMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.tubelineassembly");
private final static Localizer localizer = new Localizer();
public static Localizable localizableMASM_0019_MSG_LOGGING_SYSTEM_PROPERTY_ILLEGAL_VALUE(Object arg0, Object arg1) {
return messageFactory.getMessage("MASM0019_MSG_LOGGING_SYSTEM_PROPERTY_ILLEGAL_VALUE", arg0, arg1);
}
/**
* MASM0019: Illegal logging level value "{1}" stored in the {0} message logging system property. Using default logging level.
*
*/
public static String MASM_0019_MSG_LOGGING_SYSTEM_PROPERTY_ILLEGAL_VALUE(Object arg0, Object arg1) {
return localizer.localize(localizableMASM_0019_MSG_LOGGING_SYSTEM_PROPERTY_ILLEGAL_VALUE(arg0, arg1));
}
public static Localizable localizableMASM_0009_CANNOT_FORM_VALID_URL(Object arg0) {
return messageFactory.getMessage("MASM0009_CANNOT_FORM_VALID_URL", arg0);
}
/**
* MASM0009: Cannot form a valid URL from the resource name "{0}". For more details see the nested exception.
*
*/
public static String MASM_0009_CANNOT_FORM_VALID_URL(Object arg0) {
return localizer.localize(localizableMASM_0009_CANNOT_FORM_VALID_URL(arg0));
}
public static Localizable localizableMASM_0005_NO_DEFAULT_TUBELINE_IN_DEFAULT_CFG_FILE(Object arg0) {
return messageFactory.getMessage("MASM0005_NO_DEFAULT_TUBELINE_IN_DEFAULT_CFG_FILE", arg0);
}
/**
* MASM0005: No default tubeline is defined in the default [ {0} ] configuration file
*
*/
public static String MASM_0005_NO_DEFAULT_TUBELINE_IN_DEFAULT_CFG_FILE(Object arg0) {
return localizer.localize(localizableMASM_0005_NO_DEFAULT_TUBELINE_IN_DEFAULT_CFG_FILE(arg0));
}
public static Localizable localizableMASM_0003_DEFAULT_CFG_FILE_NOT_LOADED(Object arg0) {
return messageFactory.getMessage("MASM0003_DEFAULT_CFG_FILE_NOT_LOADED", arg0);
}
/**
* MASM0003: Default [ {0} ] configuration file was not loaded
*
*/
public static String MASM_0003_DEFAULT_CFG_FILE_NOT_LOADED(Object arg0) {
return localizer.localize(localizableMASM_0003_DEFAULT_CFG_FILE_NOT_LOADED(arg0));
}
public static Localizable localizableMASM_0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE(Object arg0, Object arg1) {
return messageFactory.getMessage("MASM0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE", arg0, arg1);
}
/**
* MASM0018: Message logging {0} system property detected to be set to value {1}
*
*/
public static String MASM_0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE(Object arg0, Object arg1) {
return localizer.localize(localizableMASM_0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE(arg0, arg1));
}
public static Localizable localizableMASM_0001_DEFAULT_CFG_FILE_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("MASM0001_DEFAULT_CFG_FILE_NOT_FOUND", arg0);
}
/**
* MASM0001: Default configuration file [ {0} ] was not found
*
*/
public static String MASM_0001_DEFAULT_CFG_FILE_NOT_FOUND(Object arg0) {
return localizer.localize(localizableMASM_0001_DEFAULT_CFG_FILE_NOT_FOUND(arg0));
}
public static Localizable localizableMASM_0020_ERROR_CREATING_URI_FROM_GENERATED_STRING(Object arg0) {
return messageFactory.getMessage("MASM0020_ERROR_CREATING_URI_FROM_GENERATED_STRING", arg0);
}
/**
* MASM0020: Unable to create a new URI instance for generated endpoint URI string [ {0} ]
*
*/
public static String MASM_0020_ERROR_CREATING_URI_FROM_GENERATED_STRING(Object arg0) {
return localizer.localize(localizableMASM_0020_ERROR_CREATING_URI_FROM_GENERATED_STRING(arg0));
}
public static Localizable localizableMASM_0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY(Object arg0) {
return messageFactory.getMessage("MASM0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY", arg0);
}
/**
* MASM0016: Unable to instantiate Tube factory class [ {0} ]
*
*/
public static String MASM_0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY(Object arg0) {
return localizer.localize(localizableMASM_0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY(arg0));
}
public static Localizable localizableMASM_0012_LOADING_VIA_SERVLET_CONTEXT(Object arg0, Object arg1) {
return messageFactory.getMessage("MASM0012_LOADING_VIA_SERVLET_CONTEXT", arg0, arg1);
}
/**
* MASM0012: Trying to load [ {0} ] via servlet context [ {1} ]
*
*/
public static String MASM_0012_LOADING_VIA_SERVLET_CONTEXT(Object arg0, Object arg1) {
return localizer.localize(localizableMASM_0012_LOADING_VIA_SERVLET_CONTEXT(arg0, arg1));
}
public static Localizable localizableMASM_0010_ERROR_READING_CFG_FILE_FROM_LOCATION(Object arg0) {
return messageFactory.getMessage("MASM0010_ERROR_READING_CFG_FILE_FROM_LOCATION", arg0);
}
/**
* MASM0010: Unable to unmarshall metro config file from location [ {0} ]
*
*/
public static String MASM_0010_ERROR_READING_CFG_FILE_FROM_LOCATION(Object arg0) {
return localizer.localize(localizableMASM_0010_ERROR_READING_CFG_FILE_FROM_LOCATION(arg0));
}
public static Localizable localizableMASM_0004_NO_TUBELINES_SECTION_IN_DEFAULT_CFG_FILE(Object arg0) {
return messageFactory.getMessage("MASM0004_NO_TUBELINES_SECTION_IN_DEFAULT_CFG_FILE", arg0);
}
/**
* MASM0004: No <tubelines> section found in the default [ {0} ] configuration file
*
*/
public static String MASM_0004_NO_TUBELINES_SECTION_IN_DEFAULT_CFG_FILE(Object arg0) {
return localizer.localize(localizableMASM_0004_NO_TUBELINES_SECTION_IN_DEFAULT_CFG_FILE(arg0));
}
public static Localizable localizableMASM_0013_ERROR_INVOKING_SERVLET_CONTEXT_METHOD(Object arg0) {
return messageFactory.getMessage("MASM0013_ERROR_INVOKING_SERVLET_CONTEXT_METHOD", arg0);
}
/**
* MASM0013: Unable to invoke {0} method on servlet context instance
*
*/
public static String MASM_0013_ERROR_INVOKING_SERVLET_CONTEXT_METHOD(Object arg0) {
return localizer.localize(localizableMASM_0013_ERROR_INVOKING_SERVLET_CONTEXT_METHOD(arg0));
}
public static Localizable localizableMASM_0007_APP_CFG_FILE_NOT_FOUND() {
return messageFactory.getMessage("MASM0007_APP_CFG_FILE_NOT_FOUND");
}
/**
* MASM0007: No application metro.xml configuration file found.
*
*/
public static String MASM_0007_APP_CFG_FILE_NOT_FOUND() {
return localizer.localize(localizableMASM_0007_APP_CFG_FILE_NOT_FOUND());
}
public static Localizable localizableMASM_0002_DEFAULT_CFG_FILE_LOCATED(Object arg0, Object arg1) {
return messageFactory.getMessage("MASM0002_DEFAULT_CFG_FILE_LOCATED", arg0, arg1);
}
/**
* MASM0002: Default [ {0} ] configuration file located at [ {1} ]
*
*/
public static String MASM_0002_DEFAULT_CFG_FILE_LOCATED(Object arg0, Object arg1) {
return localizer.localize(localizableMASM_0002_DEFAULT_CFG_FILE_LOCATED(arg0, arg1));
}
public static Localizable localizableMASM_0014_UNABLE_TO_LOAD_CLASS(Object arg0) {
return messageFactory.getMessage("MASM0014_UNABLE_TO_LOAD_CLASS", arg0);
}
/**
* MASM0014: Unable to load [ {0} ] class
*
*/
public static String MASM_0014_UNABLE_TO_LOAD_CLASS(Object arg0) {
return localizer.localize(localizableMASM_0014_UNABLE_TO_LOAD_CLASS(arg0));
}
public static Localizable localizableMASM_0006_APP_CFG_FILE_LOCATED(Object arg0) {
return messageFactory.getMessage("MASM0006_APP_CFG_FILE_LOCATED", arg0);
}
/**
* MASM0006: Application metro.xml configuration file located at [ {0} ]
*
*/
public static String MASM_0006_APP_CFG_FILE_LOCATED(Object arg0) {
return localizer.localize(localizableMASM_0006_APP_CFG_FILE_LOCATED(arg0));
}
public static Localizable localizableMASM_0017_UNABLE_TO_LOAD_TUBE_FACTORY_CLASS(Object arg0) {
return messageFactory.getMessage("MASM0017_UNABLE_TO_LOAD_TUBE_FACTORY_CLASS", arg0);
}
/**
* MASM0017: Unable to load Tube factory class [ {0} ]
*
*/
public static String MASM_0017_UNABLE_TO_LOAD_TUBE_FACTORY_CLASS(Object arg0) {
return localizer.localize(localizableMASM_0017_UNABLE_TO_LOAD_TUBE_FACTORY_CLASS(arg0));
}
public static Localizable localizableMASM_0008_INVALID_URI_REFERENCE(Object arg0) {
return messageFactory.getMessage("MASM0008_INVALID_URI_REFERENCE", arg0);
}
/**
* MASM0008: Invalid URI reference [ {0} ]
*
*/
public static String MASM_0008_INVALID_URI_REFERENCE(Object arg0) {
return localizer.localize(localizableMASM_0008_INVALID_URI_REFERENCE(arg0));
}
public static Localizable localizableMASM_0011_LOADING_RESOURCE(Object arg0, Object arg1) {
return messageFactory.getMessage("MASM0011_LOADING_RESOURCE", arg0, arg1);
}
/**
* MASM0011: Trying to load [ {0} ] via parent resouce loader [ {1} ]
*
*/
public static String MASM_0011_LOADING_RESOURCE(Object arg0, Object arg1) {
return localizer.localize(localizableMASM_0011_LOADING_RESOURCE(arg0, arg1));
}
public static Localizable localizableMASM_0015_CLASS_DOES_NOT_IMPLEMENT_INTERFACE(Object arg0, Object arg1) {
return messageFactory.getMessage("MASM0015_CLASS_DOES_NOT_IMPLEMENT_INTERFACE", arg0, arg1);
}
/**
* MASM0015: Class [ {0} ] does not implement [ {1} ] interface
*
*/
public static String MASM_0015_CLASS_DOES_NOT_IMPLEMENT_INTERFACE(Object arg0, Object arg1) {
return localizer.localize(localizableMASM_0015_CLASS_DOES_NOT_IMPLEMENT_INTERFACE(arg0, arg1));
}
}

View File

@@ -0,0 +1,138 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class UtilMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.util");
private final static Localizer localizer = new Localizer();
public static Localizable localizableUTIL_LOCATION(Object arg0, Object arg1) {
return messageFactory.getMessage("util.location", arg0, arg1);
}
/**
* at line {0} of {1}
*
*/
public static String UTIL_LOCATION(Object arg0, Object arg1) {
return localizer.localize(localizableUTIL_LOCATION(arg0, arg1));
}
public static Localizable localizableUTIL_FAILED_TO_PARSE_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
return messageFactory.getMessage("util.failed.to.parse.handlerchain.file", arg0, arg1);
}
/**
* Could not parse handler chain file {1} for class {0}
*
*/
public static String UTIL_FAILED_TO_PARSE_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
return localizer.localize(localizableUTIL_FAILED_TO_PARSE_HANDLERCHAIN_FILE(arg0, arg1));
}
public static Localizable localizableUTIL_PARSER_WRONG_ELEMENT(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("util.parser.wrong.element", arg0, arg1, arg2);
}
/**
* found element "{1}", expected "{2}" in handler chain configuration (line {0})
*
*/
public static String UTIL_PARSER_WRONG_ELEMENT(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableUTIL_PARSER_WRONG_ELEMENT(arg0, arg1, arg2));
}
public static Localizable localizableUTIL_HANDLER_CLASS_NOT_FOUND(Object arg0) {
return messageFactory.getMessage("util.handler.class.not.found", arg0);
}
/**
* "Class: {0} could not be found"
*
*/
public static String UTIL_HANDLER_CLASS_NOT_FOUND(Object arg0) {
return localizer.localize(localizableUTIL_HANDLER_CLASS_NOT_FOUND(arg0));
}
public static Localizable localizableUTIL_HANDLER_ENDPOINT_INTERFACE_NO_WEBSERVICE(Object arg0) {
return messageFactory.getMessage("util.handler.endpoint.interface.no.webservice", arg0);
}
/**
* "The Endpoint Interface: {0} does not have WebService Annotation"
*
*/
public static String UTIL_HANDLER_ENDPOINT_INTERFACE_NO_WEBSERVICE(Object arg0) {
return localizer.localize(localizableUTIL_HANDLER_ENDPOINT_INTERFACE_NO_WEBSERVICE(arg0));
}
public static Localizable localizableUTIL_HANDLER_NO_WEBSERVICE_ANNOTATION(Object arg0) {
return messageFactory.getMessage("util.handler.no.webservice.annotation", arg0);
}
/**
* "A WebService annotation is not present on class: {0}"
*
*/
public static String UTIL_HANDLER_NO_WEBSERVICE_ANNOTATION(Object arg0) {
return localizer.localize(localizableUTIL_HANDLER_NO_WEBSERVICE_ANNOTATION(arg0));
}
public static Localizable localizableUTIL_FAILED_TO_FIND_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
return messageFactory.getMessage("util.failed.to.find.handlerchain.file", arg0, arg1);
}
/**
* Could not find handler chain file {1} for class {0}
*
*/
public static String UTIL_FAILED_TO_FIND_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
return localizer.localize(localizableUTIL_FAILED_TO_FIND_HANDLERCHAIN_FILE(arg0, arg1));
}
public static Localizable localizableUTIL_HANDLER_CANNOT_COMBINE_SOAPMESSAGEHANDLERS() {
return messageFactory.getMessage("util.handler.cannot.combine.soapmessagehandlers");
}
/**
* You must use HanlderChain annotation, not SOAPMessageHandlers
*
*/
public static String UTIL_HANDLER_CANNOT_COMBINE_SOAPMESSAGEHANDLERS() {
return localizer.localize(localizableUTIL_HANDLER_CANNOT_COMBINE_SOAPMESSAGEHANDLERS());
}
}

View File

@@ -0,0 +1,79 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class WsdlmodelMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.wsdlmodel");
private final static Localizer localizer = new Localizer();
public static Localizable localizableWSDL_PORTADDRESS_EPRADDRESS_NOT_MATCH(Object arg0, Object arg1, Object arg2) {
return messageFactory.getMessage("wsdl.portaddress.epraddress.not.match", arg0, arg1, arg2);
}
/**
* For Port: {0}, service location {1} does not match address {2} in the EndpointReference
*
*/
public static String WSDL_PORTADDRESS_EPRADDRESS_NOT_MATCH(Object arg0, Object arg1, Object arg2) {
return localizer.localize(localizableWSDL_PORTADDRESS_EPRADDRESS_NOT_MATCH(arg0, arg1, arg2));
}
public static Localizable localizableWSDL_IMPORT_SHOULD_BE_WSDL(Object arg0) {
return messageFactory.getMessage("wsdl.import.should.be.wsdl", arg0);
}
/**
* Import of {0} is violation of BP 1.1 R2001. Proceeding with a warning.
* R2001 A DESCRIPTION must only use the WSDL "import" statement to import another WSDL description.
*
*/
public static String WSDL_IMPORT_SHOULD_BE_WSDL(Object arg0) {
return localizer.localize(localizableWSDL_IMPORT_SHOULD_BE_WSDL(arg0));
}
public static Localizable localizableMEX_METADATA_SYSTEMID_NULL() {
return messageFactory.getMessage("Mex.metadata.systemid.null");
}
/**
* MEX WSDL metadata can not be parsed, the systemId is of the MEX source is null.
*
*/
public static String MEX_METADATA_SYSTEMID_NULL() {
return localizer.localize(localizableMEX_METADATA_SYSTEMID_NULL());
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,174 @@
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.xml.internal.ws.resources;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
import com.sun.istack.internal.localization.Localizer;
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class XmlmessageMessages {
private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("com.sun.xml.internal.ws.resources.xmlmessage");
private final static Localizer localizer = new Localizer();
public static Localizable localizableXML_NULL_HEADERS() {
return messageFactory.getMessage("xml.null.headers");
}
/**
* Invalid argument. MimeHeaders=null
*
*/
public static String XML_NULL_HEADERS() {
return localizer.localize(localizableXML_NULL_HEADERS());
}
public static Localizable localizableXML_SET_PAYLOAD_ERR() {
return messageFactory.getMessage("xml.set.payload.err");
}
/**
* Couldn't set Payload in XMLMessage
*
*/
public static String XML_SET_PAYLOAD_ERR() {
return localizer.localize(localizableXML_SET_PAYLOAD_ERR());
}
public static Localizable localizableXML_CONTENT_TYPE_MUSTBE_MULTIPART() {
return messageFactory.getMessage("xml.content-type.mustbe.multipart");
}
/**
* Content-Type needs to be Multipart/Related and with type=text/xml
*
*/
public static String XML_CONTENT_TYPE_MUSTBE_MULTIPART() {
return localizer.localize(localizableXML_CONTENT_TYPE_MUSTBE_MULTIPART());
}
public static Localizable localizableXML_UNKNOWN_CONTENT_TYPE() {
return messageFactory.getMessage("xml.unknown.Content-Type");
}
/**
* Unrecognized Content-Type
*
*/
public static String XML_UNKNOWN_CONTENT_TYPE() {
return localizer.localize(localizableXML_UNKNOWN_CONTENT_TYPE());
}
public static Localizable localizableXML_GET_DS_ERR() {
return messageFactory.getMessage("xml.get.ds.err");
}
/**
* Couldn't get DataSource
*
*/
public static String XML_GET_DS_ERR() {
return localizer.localize(localizableXML_GET_DS_ERR());
}
public static Localizable localizableXML_CONTENT_TYPE_PARSE_ERR() {
return messageFactory.getMessage("xml.Content-Type.parse.err");
}
/**
* Error while parsing MimeHeaders for Content-Type
*
*/
public static String XML_CONTENT_TYPE_PARSE_ERR() {
return localizer.localize(localizableXML_CONTENT_TYPE_PARSE_ERR());
}
public static Localizable localizableXML_GET_SOURCE_ERR() {
return messageFactory.getMessage("xml.get.source.err");
}
/**
* Couldn't return Source
*
*/
public static String XML_GET_SOURCE_ERR() {
return localizer.localize(localizableXML_GET_SOURCE_ERR());
}
public static Localizable localizableXML_CANNOT_INTERNALIZE_MESSAGE() {
return messageFactory.getMessage("xml.cannot.internalize.message");
}
/**
* Cannot create XMLMessage
*
*/
public static String XML_CANNOT_INTERNALIZE_MESSAGE() {
return localizer.localize(localizableXML_CANNOT_INTERNALIZE_MESSAGE());
}
public static Localizable localizableXML_NO_CONTENT_TYPE() {
return messageFactory.getMessage("xml.no.Content-Type");
}
/**
* MimeHeaders doesn't contain Content-Type header
*
*/
public static String XML_NO_CONTENT_TYPE() {
return localizer.localize(localizableXML_NO_CONTENT_TYPE());
}
public static Localizable localizableXML_ROOT_PART_INVALID_CONTENT_TYPE(Object arg0) {
return messageFactory.getMessage("xml.root.part.invalid.Content-Type", arg0);
}
/**
* Bad Content-Type for Root Part : {0}
*
*/
public static String XML_ROOT_PART_INVALID_CONTENT_TYPE(Object arg0) {
return localizer.localize(localizableXML_ROOT_PART_INVALID_CONTENT_TYPE(arg0));
}
public static Localizable localizableXML_INVALID_CONTENT_TYPE(Object arg0) {
return messageFactory.getMessage("xml.invalid.content-type", arg0);
}
/**
* Invalid Content-Type: {0}
*
*/
public static String XML_INVALID_CONTENT_TYPE(Object arg0) {
return localizer.localize(localizableXML_INVALID_CONTENT_TYPE(arg0));
}
}